LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   sendmail sbl additions problem (https://www.linuxquestions.org/questions/linux-software-2/sendmail-sbl-additions-problem-63226/)

mark19960 06-02-2003 12:40 PM

sendmail sbl additions problem
 
hi all, im looking for a sendmail guru.
I upgraded sendmail to the lastest release today, and generated a new config, ect.
I have added SBLs to sendmail, but they dont seem to be working.
a rundown.. first the test result, sendmail upgraded and configured to use the SBLs
here is a test result:
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> .D{client_addr}192.203.178.107
> Basic_check_relay <>
Basic_check_rela input: < >
Basic_check_rela returns: $# error $@ 5 . 7 . 1 $: Spam blocked see : http : / / spamhaus . org /

now, my sendmail.mc

divert(0)dnl
VERSIONID(`$Id: generic-linux.mc,v 8.1 1999/09/24 22:48:05 gshapiro Exp $')
OSTYPE(linux)dnl
DOMAIN(generic)dnl
define(`confTO_QUEUEWARN', `12h')
FEATURE(relay_based_on_MX)dnl
FEATURE(mailertable, `hash -o /etc/mail/mailertable')dnl
FEATURE(access_db)
FEATURE(blacklist_recipients)dnl
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')dnl
FEATURE(dnsbl)dnl
FEATURE(dnsbl, `opm.blitzed.org', `Rejected. your a Spammer. - see http://www.blitzed.org/proxy/')dnl
FEATURE(`dnsbl', `sbl.spamhaus.org', `Spam blocked see: http://spamhaus.org/')dnl
FEATURE(rhsbl,`dsn.rfc-ignorant.org',`550 You do not accept bounces - http://www.rfc-ignorant.org/')
FEATURE(`dnsbl', `bl.spamcop.net', `"Spam blocked see: http://spamcop.net/bl.shtml?"$&{client_addr}')dnl
FEATURE(`dnsbl', `relays.ordb.org', `"550 Email rejected due to sending server misconfiguration"')dnl
FEATURE(local_lmtp)dnl
define(`LOCAL_MAILER_FLAGS', LOCAL_MAILER_FLAGS`'P)dnl
define(`confCW_FILE', `-o /etc/mail/local-host-names')dnl
define(`confNO_RCPT_ACTION', `add-to-undisclosed')dnl
define(`confMAX_MIME_HEADER_LENGTH', `256/128')dnl
MAILER(local)dnl
MAILER(smtp)dnl

NOW, for the interesting part!
this was sent from an SBL test server.... and it was allowed!

220 maunzelectronics.com ESMTP Sendmail 8.12.9/8.12.4; Mon, 2 Jun 2003 13:28:21 -0400
helo sbl.crynwr.com
250 maunzelectronics.com Hello sbl.crynwr.com [192.203.178.107], pleased to meet you
mail from:<>
250 2.1.0 <>... Sender ok
rcpt to:<NOSPAM@maunzelectronics.com>
250 2.1.5 <NOSPAM@maunzelectronics.com>... Recipient ok
data
354 Enter mail, end with "." on a line by itself
From: nelson-SBL-test@crynwr.com
To: NOSPAM@maunzelectronics.com
Date: Mon, 2 Jun 2003 17:28:14 -0000
Message-Id: <1054574894@sbl.crynwr.com>

Test message
.
250 2.0.0 h52HSLcR031768 Message accepted for delivery
quit



any ideas? TIA!


All times are GMT -5. The time now is 12:39 PM.