10 messages in net.sourceforge.lists.courier-sqwebmailRe: [sqwebmail] Multiple views on one...
FromSent OnAttachments
Remco RijndersNov 22, 2005 4:57 am 
Sam VarshavchikNov 22, 2005 3:41 pm 
Remco RijndersNov 22, 2005 11:02 pm 
Sam VarshavchikNov 23, 2005 3:18 am 
Petri RiihikallioNov 23, 2005 7:48 am 
Remco RijndersNov 23, 2005 7:54 am 
Petri RiihikallioNov 23, 2005 1:17 pm 
Brian CandlerNov 24, 2005 1:11 am 
Remco RijndersNov 27, 2005 10:36 pm 
Brian CandlerNov 28, 2005 11:37 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [sqwebmail] Multiple views on one mailbox?Actions...
From:Brian Candler (B.Ca@pobox.com)
Date:Nov 28, 2005 11:37:20 pm
List:net.sourceforge.lists.courier-sqwebmail

On Mon, Nov 28, 2005 at 07:36:47AM +0100, Remco Rijnders wrote:

If that's all they want, then just assign multiple logins to the same mailbox. For example, using userdb:

a@example.com<tab>home=/path/to/home|uid=123|gid=123|systempw=xxxxx b@example.com<tab>home=/path/to/home|uid=123|gid=123|systempw=yyyyy

Then you can login as either a@example.com or b@example.com, in which case that's the address for outgoing mail (unless you've overridden it using sqwebmail preferences), but still have the same inbox.

However, if you also want to have incoming mail for a@example.com and b@example.com to be handled as separate mailboxes (private to those users), whilst these two users can both simultaneously access the mailbox for in@example.com, then you definitely need virtual shared folders.

Hi Brian,

That's what I originally did, but when I log in I then get the following error:

Unable to open the maildir for this account -- the maildir doesn't exist or has incorrect ownership or permissions.

I use mysql based authentication: +---------------------------+---------------------------+-----------+ | email | maildir | password | +---------------------------+---------------------------+-----------+ | in@domain.com | domain.com/info/ | xxxxxxxx | | a@domain.com | domain.com/info/ | xxxxxxxx | | b@domain.com | domain.com/info/ | xxxxxxxx | +---------------------------+---------------------------+-----------+

I can log in to the first account, but not the other two, despite them pointing at the same maildir.

Then it would seem you have given them the wrong uid or gid for that directory.

Try:

# authtest in@domain.com # authtest a@domain.com # authtest b@domain.com

and compare the output.

Brian.