On 5/19/2012 11:46 AM, Timo Sirainen wrote:
On Sat, 2012-05-19 at 11:41 -0700, Marc Perkel wrote:
Trying to clean out old undead messages from users to reduce disk space.
Need a script that will recurse all the user directories and delete all
unread email that is over 90 days old.

Anyone have that?
doveadm -A expunge mailbox '*' savedbefore 90d unseen

Test first without -A with one user. :)



KEWL - I didn't know Dovecot can do that.

Reply via email to