[Mimedefang] spam coming through

Jimmy Hayes jhayes at verilet.com
Tue May 25 14:52:32 EDT 2004


I see it but I just don't get it on all of them for some reason.

Jimmy Hayes 

 


-----Original Message-----
From: Ben Kamen [mailto:bkamen at benjammin.net] 
Sent: Tuesday, May 25, 2004 11:09 AM
To: mimedefang at lists.roaringpenguin.com
Subject: Re: [Mimedefang] spam coming through

Well, if your config is like mine and looks like this:

             my($hits, $req, $names, $report) = spam_assassin_check();

             if ($hits >= 2) {
                 my $score = '*' x ($hits > 50 ? 50 : $hits);
                 action_add_header("X-Spam-Score", "$score ($hits)");



that is why you don't see it when not marked as spam... do this instead

             my($hits, $req, $names, $report) = spam_assassin_check();
             my $score = '*' x ($hits > 50 ? 50 : $hits);
             action_add_header("X-Spam-Score", "$score ($hits)");

and it will always add to the emails.... also you can append the
SpamAssassin 
report always.. (as an attachment or something..)

  -Ben


Jimmy Hayes wrote:

> Hi I made the change on my mimedefang-filter to allow the xheader to
> contain the points scored even for good e-mail.
> 
> After the change most e-mail comes with the score on the header but
the
> spam that comes through the filter below the required points does not.
> 
> Any ideas? That's the e-mail that I am interested in seeing what score
> it's getting.


_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang



More information about the MIMEDefang mailing list