Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dnsbl not working with sendmail (Ubuntu Precise 12.04)

Status
Not open for further replies.

danielsender

Technical User
Sep 18, 2012
3
US
Hi,

Facing an incredible blitz from spammers I decided to add the dnsbl feature in sendmail.mc (debproto.mc,v 8.14.4) as:

FEATURE(`dnsbl',`sbl-xbl.spamhaus.org')dnl

after compiling I see that it appears in sendmail.cf

# DNS based IP address spam list sbl-xbl.spamhaus.org
R$* $: $&{client_addr}
R$-.$-.$-.$- $: <?> $(dnsbl $4.$3.$2.$1.sbl-xbl.spamhaus.org. $: OK $)
R<?>OK $: OKSOFAR
R<?>$+<TMP> $: TMPOK
R<?>$+ $#error $@ 5.7.1 $: "550 Rejected: " $&{client_addr} " listed at sbl-xbl.spamhaus.org

and related in other lines. However, after restarting sendmail, when I ran the test I get an email response saying:

Uh-oh, your SBL block is not working!

I wonder if someone can help me to fix this.

Thanks,

Daniel
 
I wonder if there is another sendmail forum with higher activity than this one.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top