Spamhaus DBL

EQ Admin

EQ Forum Admin
Staff member
What is the Spamhaus DBL?

The DBL is domain based block list (instead of a typical IP address based block list)

Support for the Spamhaus DBL is automatically included in the latest version of SpamAssassin (version 3.3.2 as of this posting)

You can find the rules by grepping through your SpamAssassin configs :

> grep URIBL_DBL_SPAM *
25_uribl.cf:urirhssub URIBL_DBL_SPAM dbl.spamhaus.org. A 127.0.1.2
25_uribl.cf:body URIBL_DBL_SPAM eval:check_uridnsbl('URIBL_DBL_SPAM')
25_uribl.cf:describe URIBL_DBL_SPAM Contains an URL listed in the DBL blocklist
25_uribl.cf:tflags URIBL_DBL_SPAM net domains_only
30_text_pt_br.cf:lang pt_BR describe URIBL_DBL_SPAM Contém uma URL listada na blacklist DBL blocklist
50_scores.cf:score URIBL_DBL_SPAM 0 1.7 0 1.7

And verify they are getting hit by checking your SpamAssassin logs, for example :

Fri Jan 6 23:59:18 2012 [27996] info: spamd: result: Y 13 - DATE_IN_PAST_06_12,DRUGS_ERECTILE,DRUG_ED_CAPS,FREEMAIL_FROM,SUBJECT_DRUG_GAP_C,SUBJ_ALL_CAPS,SUBJ_BUY,URIBL_DBL_SPAM,URIBL_JP_SURBL,URIBL_WS_SURBL scantime=4.5,size=1478,user=protected-username@example.net,uid=10999,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=57309,mid=<20120107045929.14878.qmail@www.example-spammer.com>,autolearn=disabled
 
Top