[Mimedefang] spam coming through
    Ben Kamen 
    bkamen at benjammin.net
       
    Tue May 25 14:09:11 EDT 2004
    
    
  
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.
    
    
More information about the MIMEDefang
mailing list