[Mimedefang] [OT] SBL

Charles Gardner charles at sterlingideas.com
Wed Feb 25 11:32:36 EST 2004


<snip>
> Should I give up on blocking via the SBL?  Or should I just 
> accept that 
> if I'm going to block mail, I'm going to block a few 
> legitimate ones by 
> mistake?  I know that others on this list use the SBL - have 
> you had any 
> similar problems?

I'm not sure about your situation, but the idea of using a system that
you *know* is blocking legitimate email (or desired email) is a bad
idea.

I do query SBL and adjust the score up accordingly.  If the aggregate
score of multiple sources gets high enough, then I will reject the
message outright.  That way, no one source can be the source of a
reject.

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");
}

Adrift in cyberspace,
Charles



More information about the MIMEDefang mailing list