[Dovecot] remove old files

Stéphane Guedon stephane at 22decembre.eu
Fri Mar 18 15:16:27 EET 2011


Hello

I use the dovecot 2.0.10 server and wonder how to clean up correctly the old 
mails (especially for spam folder).

I use maildir storage, and wonder if deleting files with an rm and file command 
combinaison would be good or would corrupt indexes files/whatever.

for exemple, the spam folder is in ~/.mail/.INBOX.spam/

Thus, can I "cd ~/.mail/.INBOX.spam/ && rm 'files older than 2 months' " or 
something else ?

Thanks.
-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 316 bytes
Desc: This is a digitally signed message part.
Url : http://dovecot.org/pipermail/dovecot/attachments/20110318/e0430bf7/attachment.bin 


More information about the dovecot mailing list