Hello everyone,

thanks for the fast replies, much appreciated!

2010/5/25 Timo Sirainen <t...@iki.fi>:

>> 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

I run 1.x, so doeveadm doesn't exist. :-)
Can I simply delete the files, don't I destroy any indices or slow
down Dovecot operation because of index rebuilding? Sounds like a
simple solution I also thought of, but I was hesitant of just deleting
the files...

Thanks,
Florian

Reply via email to