On Mon, 2010-08-02 at 10:33 -0300, Thiago Henrique wrote:
> Cyrus has a setting that purge the emails from a mailbox under a
> pre-defined criteria. For example:
>
> EVENTS {
> ...
> # At 12:01 delete messages older than 60 days in SPAM folder
> deletespam cmd="ipurge -d 60 -f user/*/SPAM" at=1201
> }
>
> Is there in Dovecot any setting like this ?
There's http://wiki.dovecot.org/Plugins/Expire
With v2.0 it's been pretty much redesigned to run via doveadm, which
works much better and easier: http://wiki2.dovecot.org/Plugins/Expire