[Dovecot] purge maildir folder after sa-learn

Timo Sirainen tss at iki.fi
Tue May 25 23:10:23 EEST 2010


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




More information about the dovecot mailing list