[Dovecot] Need a quick, safe method to empty /home/user/Maildir/{.Junk, .Trash}

Alexander Prinsier aphexer at mailhaven.com
Thu Jun 12 20:07:36 EEST 2008

Jeff Kowalczyk wrote:
> Any thoughts on a variant using find -name that could safely iterate over
> /home/*/Maildir for all users? Otherwise I would script it in python.

What about:

find /home/*/Maildir/.Junk/cur -type f -delete


More information about the dovecot mailing list