10 Nov
2009
10 Nov
'09
12:12 a.m.
On Mon, 2009-11-09 at 23:00 +0100, David Goncalves wrote:
Timo Sirainen wrote:
What do you use home for? If you don't want anything under user's "real" home directory, you can just make mailMessageStore=home. But then again, see http://wiki.dovecot.org/VirtualUsers#homedirs
Actually home contains the base path of all mailboxes (ie: /opt/mailboxes) and the mailMessageStore contains the mailbox path (ie: MyMailBox/ ).
You really shouldn't be setting home to a global common directory.
The users are virtual, they have no real home.
Dovecot still prefers them to have a virtual home, see the link above. My suggestion:
user_attrs = .., mailMessageStore=home=/opt/mailboxes/%$
mail_location = maildir:~/Maildir
Then Sieve scripts also go nicely to home dir.