[Dovecot] expire db(s)?

Timo Sirainen tss at iki.fi
Sat Dec 19 01:15:42 EET 2009


On Dec 18, 2009, at 5:57 PM, ben at electricembers.net wrote:

> with two separate dovecot/backend servers accessing one central mysql server, will it be ok to have them both use the same expires table? Or will that confuse the actual
> dovecot --exec-mail ext /usr/local/libexec/dovecot/expire-tool.sh
> cronjob since some of the entries mailboxes won't exist locally?


It'll break. If userdb lookup fails, expire-tool thinks that the user no longer exists and deletes the row from database. If it succeeds but the mail directory doesn't exist, it'll think the mailbox was deleted and deletes the row from database.


More information about the dovecot mailing list