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






-- 
Don't cook tonight -- starve a rat today!


-------------------------------------------------------
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

Reply via email to