[Dovecot] Automatically deleting Trash a la Courier

Timo Sirainen tss at iki.fi
Sun Oct 8 19:56:06 UTC 2006


On Sun, 2006-10-08 at 14:20 -0400, Jeff Kowalczyk wrote:
> Timo Sirainen wrote:
> >  # Expire plugin. Mails are expunged from mailboxes after being there the
> >  # configurable time. The first expiration date for each mailbox is stored in
> >  # a dictionary so it can be quickly determined which mailboxes contain
> >  # expired mails. The actual expunging is done in a nightly cronjob, which
> >  # you must set up:
> >  #   dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool
> >  #expire = Trash 7 Spam 30
> >  #expire_dict = db:/var/lib/dovecot/expire.db
> 
> For users implementing the expire-tool as an email retention policy, it
> may be helpful to add path wildcarding and exclusion to handle users with
> folder heirarchies.
> 
> e.g., To implement a 1-year retention policy on messages in all folders,
> excluding all messages in and in subfolders of 'Archived Email':
> 
>   expire = Trash 7 Spam 30 * 365
>   expire_exclude = Archived\ Email\\*

Sounds like a good idea, but it won't get implemented by me anytime
soon. :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20061008/83df4dc1/attachment.pgp 


More information about the dovecot mailing list