[Dovecot] Automatic Folder Expiry (plugin?)

Mick T sysadmin at webdock.com.au
Thu Feb 1 00:16:35 UTC 2007


Troy Engel wrote:
> Thanks for any help/ideas - I'm not sure if we can live without this 
> feature, the amount of spam is horrendous and users never clean out 
> that folder.

I personally use a shell script to achieve this:

find /var/virtualmail/ -regex 
'.*/\.\(Trash\|Junk\)\(/.*\)?\/\(cur\|new\)/.*' -type f  -mtime +30  
-exec rm '{}'  \;


MT



More information about the dovecot mailing list