[Dovecot] Post-login scripting - Trash cleanup

Ed W lists at wildgooses.com
Tue Feb 28 21:56:22 EET 2012


On 28/02/2012 18:11, list at airstreamcomm.net wrote:
> 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.

I think you can also use doveadm to achieve this?  So you could schedule 
something for all accounts at some out of hours period - should speed up 
backups also?

Ed W



More information about the dovecot mailing list