21 Oct
2007
21 Oct
'07
2:52 a.m.
On Tue, 2007-10-16 at 16:41 +0200, Claudio Strizzolo wrote:
mail_location = maildir:/mail/vmail/domains/%h .. mail=user,userPassword=password,mailbox=userdb_home,mail=userdb_uid,mail =userdb_mail
mail_location isn't used because you override it with mail=userdb_mail here. Relative home dirs aren't a really good idea though, there's a good chance that Dovecot logs an error about not finding the home dir.
With v1.1 this could be done easily with mail=userdb_mail=maildir:/mail/vmail/domains/%$ (IIRC).
mail = Jack.London@writers.com mailbox = writers.com/Jack.London uid = Jack.London
Do you really need the "mailbox" there? You could use just:
mail_location = maildir:/mail/vmail/domains/%d/%n