[Mimedefang] [OT] SBL

Charles Gardner charles at sterlingideas.com
Wed Feb 25 14:14:24 EST 2004


> > Here's the SBL query:
> >
> > # Do some quick blackhole list checks & adjust the score accordingly
> > if (relay_is_blacklisted($RelayAddr, "sbl.spamhaus.org")) {
> > $hits += 1.5;
> > action_add_header("X-Found-DNSBL", "sbl.spamhaus.org (+1.5)
> > ".$RelayAddr);
> > md_graphdefang_log("dnsbl_hit", $RelayAddr, "sbl.spamhaus.org");
> > }
> 
> Is there a way I can have the dnsbl score added to the spam 
> score instead of action_add_header

The blacklist query I do is immediately after the call to SA.  That's
what the "$hits += 1.5;" line does.  It increments the score up 1.5
points.

Charles



More information about the MIMEDefang mailing list