Automatically expire messages in imap folder
adil at adis.on.ca
Thu Jun 3 11:37:39 EDT 2004
> You can use 'ipurge' in a cron script. I have my users put their spam in
> a "Spam" folder then have a nightly cron job run 'sa-learn' on it followed
> su cyrus -c '/usr/lib/cyrus-imapd/ipurge -f -d 10 user/dwight/Spam'
> This deletes anything over 10 days old.
What is 'sa-learn'?
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus