On Mon, Jul 26, 2010 at 11:30 AM, Timo Sirainen tss@iki.fi wrote:
On Mon, 2010-07-26 at 10:31 -0700, Brandon Lamb wrote:
expire_dict = proxy::expire
I found this expire_dict somewhere, might have been the 1.x wiki, but on the expire plugin page there is no mention of it. I am trying to troubleshoot why my mysql table has no entries. Do I need this line? Is that correct for using mysql?
Yes, you need it and it's correct. Added also to wiki2 now.
and in plugin {} i have
expire_dict = proxy::expire expire = Trash 30d expire2 = Trash/* 30d expire3 = Spam 14d expire4 = Spam/Removed 6h expire5 = Spam/Delivered 2d expire6 = Deleted* 30d expire7 = Archive 30d
Remove the dates from these lines. Now it's assuming you want to use expire for mailbox called "Trash 30d". The dates are set in doveadm expunge query, e.g.:
doveadm expunge \( mailbox Trash savedbefore 30d \) or
\( mailbox Trash/* savedbefore 30d \) or
\( mailbox Spam savedbefore 14d \) or
etc..
Oh! Okay will do thanks!