Re: [Dovecot] expire db(s)?

2009-12-18 Thread Timo Sirainen
On Dec 18, 2009, at 5:57 PM, b...@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.

[Dovecot] expire db(s)?

2009-12-18 Thread ben
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?

  Ben