[Dovecot] Auto-expire messages in a folder
tss at iki.fi
Sun Nov 5 19:56:02 UTC 2006
On Sun, 2006-11-05 at 10:52 -0700, Mike Cisar wrote:
> What I would like to do is stick with the "spambox" folder idea, but have
> any messages in that folder which are older than a certain number of days
> deleted automatically.
There's a plugin for this, but it won't come to v1.0, and you probably
shouldn't use the CVS HEAD version yet.
> not, is anyone aware of a script that I could run in nightly maintenance to
> do a cleanup pass on all the mailboxes?
Whatever script you use, it's better to delete by ctime and not mtime.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20061105/09e70f5b/attachment.pgp
More information about the dovecot