[Dovecot] plugin to delete spam/virus/junk/trash mail after 30 days of life

Beber beber at meleeweb.net
Tue Oct 17 12:04:52 UTC 2006


Hi,

Is there a plugin or a way in dovecot to delete any mails older that  
30 days in certain maildir ?

Just something like

find maildir:%h/.Spam maildir:%h/.Virus maildir:%h/.Junk  
maildir:%h/.Trash -type f -ctime 30 -exec rm {} \;

-- 
Beber -- Email / Jabber (+GMail) : beber at meleeweb.net
http://www.meleeweb.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Signature =?utf-8?b?bnVtw6lyaXF1ZQ==?= PGP
Url : http://dovecot.org/pipermail/dovecot/attachments/20061017/25f98c78/attachment.pgp 


More information about the dovecot mailing list