Re: [Razor-users] Stripping the SpamAssassin report At 2:46 PM -0400 8/13/02, Theo Van Dinter wrote:
>On Tue, Aug 13, 2002 at 01:01:42PM -0500, Justin Shore wrote:
>>  Ah...  You learn something new every day!  This would make things
>>  quite a bit easier.  I assume it can handle a mailbox full of mail to
>>  report rather than a single piece of spam from STDIN.  I'll check the
>>  docs on that though.
>
>Unfortunately not, it's a one at a time thing.  If it would help
>you, I have a script that I use which handles a mbox file at a time,
>strips the SA stuff, reports to razor, and can then do things like
>open relay checks, reports to spamcop, etc.  It's available via:
>http://www.kluge.net/~felicity/random/handlespam.txt

I'll give that a looksie.  I've been running a week's worth of 
maillog relay= IPs through rbcheck every Sunday.  Found quite a few. 
I should break up the list and run multiple rbcheck instances.  Just 
haven't gotten there yet though.  I think I'll have either MIMEDefang 
or Procmail keep a copy of messages over a certain score for daily 
razor-reporting.  I could just let SA do it too I suppose.

Say, maybe you can tell me what I'm doing wrong in SA.  I added 
report_header 1 to my 
/etc/mail/mimedefang/spamassassin/sa-mimedefang.cf but it didn't 
appear to change anything.  I bounced over another copy of spam to my 
spamtrap and it still created the SPAM: attachment.  sa-mimedefang.cf 
has this in it now:

required_hits           1
auto_report_threshold   100
ok_locales              en
rewrite_subject 0
report_header 1
use_terse_report 1
defang_mime 0
skip_rbl_checks 1

I can't figure out if that was the write cf to modify or not.  I also 
have a /etc/mail/spamassassin/local.cf but it's empty.  I think I 
might be taking too many bites out of too many pies at once. :-)  The 
required_hits changes I made to sa-mimedefang.cf seem to have worked. 
I don't know why the report_header change didn't though.  Any ideas?

Justin
-- 

--
Justin Shore, ES-SS ES-SSR      Pittsburg State University
Network & Systems Manager       Kelce 157Q
Office of Information Systems   Pittsburg, KS 66762
Voice: (620) 235-4606           Fax: (620) 235-4545
http://www.pittstate.edu/ois/

Warning:  This message has been quadruple Rot13'ed for your protection.


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Razor-users mailing list
Razor-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/razor-users