27 Mar
2012
27 Mar
'12
12:47 p.m.
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