Automatically expire messages in imap folder

Adi Linden adil at
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
> by:
>  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:
Cyrus Wiki/FAQ:
List Archives/Info:

More information about the Info-cyrus mailing list