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
On 03/18/2011 02:16 PM Stéphane Guedon wrote:
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.
Have a look at: http://wiki2.dovecot.org/Tools/Doveadm/Expunge
Regards, Pascal
The trapper recommends today: decade.1107915@localdomain.org
participants (2)
-
Pascal Volk
-
Stéphane Guedon