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. :)


Reply via email to