[Dovecot] doveadm purge on clusterfs
Jan-Frode Myklebust
janfrode at tanso.net
Tue Mar 27 12:47:10 EEST 2012
Since doveadm service proxying apparently doesn't work with dovecot
v2.0, we need to find a way to safely run doveadm purge on the host the
user is logged into.
Would it be OK to run purge in the pop/imap postlogin scripts? We
already do a conditional:
test /var/log/activemailaccounts/imap/$USER -ot /var/log/activemailaccounts/today
then
touch /var/log/activemailaccounts/imap/$USER
fi
so adding a:
doveadm purge -u $USER
in this section would make it run once every day the users that log in.
Does that sound like an OK solution?
-jf
More information about the dovecot
mailing list