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.