On Wed, Dec 17, 2003 at 09:36:30AM -0500, Pedro Sam wrote: > On December 17, 2003 08:40 am, stan wrote: > > I'm just gettign spamassain twaeked up, and it's working great. Almost no > > spam is making it into my default mailbox. Most is winding up in the > > almost_certianly_spam, and probably_spam mailboxes. > > > > Now, wanting to be a godd net citizen, I've been running spamassaiin 0r on > > each of thes emails, which in addition to teaching my filter about them, > > alos reports them to razor and DCC. However, since each one of these takes > > a few seconds to process, it's starting to use up a lot of my time. Is > > there a way to (once I've dleted any false postives from wither of these > > mailboxes) to "mass report them? > > > > Will, for instnace spmassaina -r --mbox mailbox_name work? > > I use the following script to report an individual message, and I call this > script with "formail -s report.sh < SOME_MBOX". Note that I explicitly use > the "-d" switch to strip headers first because I "suspect" there is a bug in > spamassassin which fails to strip SA markup when doing bayes learning. > (Note: Help me out here people, I've posted this problem like 3 times, and > no one has been able to confirm or deny this problem, jeezzz ... sa-learn > works fine, spamassassin -r works fine for reporting, but spamassassin -r > doesn't work for learning) > > > > #/bin/bash > spamassassin -d < /dev/stdin | spamassassin -r >
Neat trick. Now anyone have any ideas on how to turn this into a mutt macro? Something like "resynch mailbox (to delete any messages I have marked for deletion), then run this script, figuring out what mailbox based upon the mbox I'm in. NTW, I've got a macro that runs sa-lar, and another that runs spamassian -r. If I run the 2nd one first, I get a message about 0 messages learned from, if I run the first one. Whereas, If I reverse the order, I get 1 message learned. So it looks to me that I can't reproduce your error here. -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk