[Dovecot] How to delete old mails in dovecot 1.2.x
Timo Sirainen
tss at iki.fi
Fri Feb 17 01:28:28 EET 2012
On 17.2.2012, at 0.39, Przemysław Orzechowski wrote:
> I need to delete old mails from over 100 mailboxes with average of 10k
> mails / mailbox
> Is there a way to delete old mails (by message date not file creation
> date) as with doveadm in dovecot 2 ?
You can delete them by mtime or by ctime:
http://wiki.dovecot.org/Plugins/Expire#v1.0_cronjob_equivalent
If by "message date" you mean the Date: header, then there's no easy way.
More information about the dovecot
mailing list