Deleting IMAP mail from shell script
Sun Advocate Webmaster
webmaster at sunad.com
Thu May 12 18:35:36 EDT 2005
I have a simple question concerning mail deletion in Cyrus mailboxes. I
have spamassassin set up, with two mailboxes "spam at domain.com" and
"notspam at domain.com". A shell script runs periodicly and parses these
messages (sa-learn compiles training data from the messages). After that
parsing is done, it needs to empty the mailboxes.
I was going to add a "rm" command, but I'm thinking that will cause data
corruption with cyrus.
Is there a better way to do this?
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