On Mon, Oct 09, 2006 at 08:08:59PM +0200, Daniel Seichter wrote: > Hello, > > Is there a way to delete all "learned" mails out of a mbox folder? I want to > add a standard folder on my IMAP server which is called spam_learn and the > user (at the moment only myself) can move messages to this folder in his > mailreader. A cronjob now check this folder and learns what is spam. At the > moment it works fine, but the problem is, that I want to delete this > messages after they are read. But within the help of sa-learn I didn't find > an option like --delete-learned or something else. > Do you have any ideas how to resolve this? > > Using: > Spamassassin 3.1.3 on ubuntu 6.06.1 > > Thank you > > Daniel
Why not add "; > $myuser/spam_learn" (where $myuser is the path to the directory containing spam_learn) to then end of the cronjob? That will leave the file intact with existing perms, but make it zero length. Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. [EMAIL PROTECTED] http://www.bobcatos.com "Where you go in the hereafter depends on what you were after here." - Thanks to Graffiti, 2 March 2004