[Dovecot] Scheduled folder purging

Bruce Bodger bbodger at bodcon.com
Tue Feb 19 00:21:32 EET 2008


On Feb 18, 2008, at 4:01 PM, Charles Marcus wrote:

> The cron job is only for v 1.0.x systems. The expire plugin only  
> works on 1.1+

Agreed

> As far as I can tell, the expire plugin does not require a cron job  
> to do its thing...

Guess we'll need some clarification from Timo, Charles, because the  
1.1.beta16 dovecot-example.conf states...

# 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

Also, the above instructions are also a tad confusing.  It seems like  
the plugin runs at a system level so how to define mailboxes at the  
user level?  (what should that "expire" line be?)

P.S. One more thing...  He sure doesn't help things by using the word  
"expunge" in a paragraph that defines the expire plugin. I'd much  
prefer the definition read something like this:

# Expire plugin. Mails are MARKED FOR DELETION 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 DELETION is done in a nightly cronjob, which
# you must set up:

:-)

B. Bodger
New York, NY



More information about the dovecot mailing list