[Dovecot] Dovecot IMAP/POP3 auto creating maildir

Timo Sirainen tss at iki.fi
Tue Nov 27 09:07:47 EET 2012


On 27.11.2012, at 8.48, Dominic Malolepszy wrote:

> I have observed that after deleting a mailbox and removing the user from the userdb, immediately accessing the mail account via POP3/IMAP causes Dovecot to auto create an empty mailbox, because the userdb/passdb details are still cached for 10minutes. Is there any option to tell Dovecot POP3/IMAP not to auto create the mailbox if it does not exist?

Change the parent directory permissions so that the mkdir() fails.

> Alternatively and less desirably is there a mechanism for telling Dovecot to expire a userdb/passdb cached entry?

v2.1.9+ has: doveadm auth cache flush user at domain



More information about the dovecot mailing list