Am 28.02.2012 20:26, schrieb l...@airstreamcomm.net: > On Tue, 28 Feb 2012 19:26:11 +0100, Robert Schetterer > <rob...@schetterer.org> wrote: >> Am 28.02.2012 19:11, schrieb l...@airstreamcomm.net: >>> We are considering using the post-login scripting to clear trash older >>> than 90 days from user accounts. has anyone done this, and if so did >>> this >>> cause logins to slow down too much waiting for the trash to purge? One >>> idea was to execute the trash purge script once a day by tracking their >>> logins and seeing that it has already ran that day. Another idea was > to >>> call the trash purge script in the background and continue without >>> acknowledging that it has finished to keep logins speedy. >> >> look here if this match/solve your problem >> >> http://wiki2.dovecot.org/Plugins/Expire > > Expire looks to be useful, but it appears to be something that enhances > expunging of messages rather than automates the process if I am reading > correctly. We would like to make the process for expunging old Trash > messages as automated and inline as possible.
wouldnt doveadm expunge -A mailbox Trash savedbefore 90d as cron job do what you want ? -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria