On 04/ 1/15 10:12 AM, Jeffrey 'jf' Lim wrote:
My userdb is set up correctly to return home, and mail, and a test with
'doveadm user' verifies this:
# doveadm user user@domain
field value
uid 1000
gid 1000
home /var/domain/user
mail maildir:/var/mail/user@domain
I've reloaded, restarted, stopped and started dovecot again - and even
deleted the info files in the mail directory just to be sure - but each and
every time I log in with imap, dovecot recreates the files again
(dovecot.index.log, dovecot-uidlist, etc.) in the mail directory instead of
home.
You forgot to post your config. But the following might help:
http://wiki2.dovecot.org/MailLocation/Maildir
http://wiki2.dovecot.org/MailLocation#indexfiles