I've been trying to get sendmail to use zen.spamhaus.org as a dnsbl. I try the Crynwr test and it emails me telling me that it failed.
I get one email saying, Uh-oh, your SBL block is not working!
and the second email,
I connected to 24.238.61.107 and here's the conversation I had:
220 Almaren.bgm.local ESMTP Sendmail 8.14.2/8.14.2; Tue, 22 Sep 2009 15:26:13 -0400
helo pbl.crynwr.com
250 Almaren.bgm.local Hello cpe-static-bgmfastnerco-rtr.cmts.haw.ptd.net
[24.238.61.107], pleased to meet you
mail from:<>
250 2.1.0 <>... Sender ok
rcpt to:<anelson@bgmfastners.com>
250 2.1.5 <anelson@bgmfastners.com>... Recipient ok
data
354 Enter mail, end with "." on a line by itself
From: nelson-PBL-test@crynwr.com
To: anelson@bgmfastners.com
Date: Tue, 22 Sep 2009 19:26:16 -0000
Message-Id: <1253647576@pbl.crynwr.com>
Precedence: junk
Test message
.
250 2.0.0 n8MJQDD4018781 Message accepted for delivery
quit
Successful termination. As far as I can tell, the email was delivered.
That might not be what you want.
This is my sendmail mc file:
include(`../m4/cf.m4')
VERSIONID(`default setup for Slackware Linux')dnl
OSTYPE(`linux')dnl
dnl# These settings help protect against people verifying email addresses
dnl# at your site in order to send you email that you probably don't want:
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun,goaway')dnl
define(`confAUTH_MECHANISMS',`DIGEST-MD5 CRAM-MD5')
define(`confAUTH_OPTIONS', `A p y')dnl
TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5')dnl
DAEMON_OPTIONS(`M=A')
dnl# No timeout for ident:
define(`confTO_IDENT', `0')dnl
dnl# Enable the line below to use smrsh to restrict what sendmail can run:
dnl FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
dnl# See the README in /usr/share/sendmail/cf for a ton of information on
dnl# how these options work:
FEATURE(`dnsbl',`zen.spamhaus.org',`"554 Rejected " $&{client_addr} " found in zen.spamhaus.org Please contact your systems administrator "',`t')dnl
FEATURE(`use_cw_file')dnl
FEATURE(`use_ct_file')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(`access_db', `hash -T<TMPF> /etc/mail/access')dnl
FEATURE(`blacklist_recipients')dnl
FEATURE(`local_procmail',`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`redirect')dnl
EXPOSED_USER(`root')dnl
MASQUERADE_AS(`bgmfastners.com') dnl
dnl# Also accept mail for localhost.localdomain:
dnl#LOCAL_DOMAIN(`localhost.localdomain')dnl
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
Any pointers or hints is greatly appreciated