Jeffrey 'jf' Lim
2015-Apr-01 14:12 UTC
Dovecot keeps creating info files in mail directory instead of home
I've been trying to troubleshoot this for a while now, and I'm really at a loss. My userdb is set up correctly to return home, and mail, and a test with 'doveadm user' verifies this: # doveadm user user at domain field value uid 1000 gid 1000 home /var/domain/user mail maildir:/var/mail/user at 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. I've even made sure just in case that the home directory is accessible to all, and chmod 777, but nothing gets created there. And I dont get any errors at all in the logs. I'm on the latest version (2.2.16). -jf -- He who settles on the idea of the intelligent man as a static entity only shows himself to be a fool. Mensan / Full-Stack Technical Polymath / System Administrator 12 years over the entire web stack: Performance, Sysadmin, Ruby and Frontend
Oscar del Rio
2015-Apr-01 14:25 UTC
Dovecot keeps creating info files in mail directory instead of home
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 at domain > field value > uid 1000 > gid 1000 > home /var/domain/user > mail maildir:/var/mail/user at 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
Jeffrey 'jf' Lim
2015-Apr-01 14:48 UTC
Dovecot keeps creating info files in mail directory instead of home
On Wed, Apr 1, 2015 at 10:25 PM, Oscar del Rio <delrio at mie.utoronto.ca> wrote:> 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 at domain >> field value >> uid 1000 >> gid 1000 >> home /var/domain/user >> mail maildir:/var/mail/user at 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 >Thanks. So I guess I had read http://wiki2.dovecot.org/VirtualUsers/Home wrongly (specifically, the statement about the home directory being the "mail user's private state directory"). I thought that state would include all of these files that I see in the maildir as well. Thanks for the link to http://wiki2.dovecot.org/MailLocation#indexfiles. So that points out that the index files are stored by default in the maildir. I'm having a hard time finding a similar statement for the control files, though (includes dovecot-uidvalidity* ?). http://wiki2.dovecot.org/MailLocation/Maildir#Control_files makes no mention of this. I assume this is also the case? Back to the home directory: so what sort of "state" is stored in the home directory exactly? Are all of the files that I see here in the maildir either control files or index files? -jf
Maybe Matching Threads
- Dovecot keeps creating info files in mail directory instead of home
- Dovecot keeps creating info files in mail directory instead of home
- Dovecot fails to compile --with-cdb (and attempted fix)
- Dovecot fails to compile --with-cdb (and attempted fix)
- Dovecot fails to compile --with-cdb (and attempted fix)