On Tue, 2010-05-25 at 21:29 +0200, Florian Effenberger wrote: > Hello, > > I am looking for a command-line utility to automatically purge one > Maildir folder. How about just: rm -f /path/to/Maildir/.spam-learn/* With v2.0 you can also do: doveadm expunge -u username mailbox spam-learn all