[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] SendMail DNSBL config question (raq4)



On Wednesday 16 July 2003 11:26, Rich Leaf wrote:
> Hello-
>
> I have a RaQ4 with all the latest patches installed.  I am trying to
> configure my server to hit the black lists to help slow the tide of spam
> down.  I have been trying to follow the various methods located in these
> messages:
>
> http://list.cobalt.com/pipermail/cobalt-users/2003-March/088092.html
> http://list.cobalt.com/pipermail/cobalt-users/2003-July/093712.html
>
> When I try them my email ends up in the right places, but the TO: address
> shows up as OKSOFAR
>
> Here is a direct copy & paste from sendmail.cf:  (tabs don't show up but
> they are there ;) )
>
> # DNS based IP address spam list relays.ordb.org
> R$*                    $: $&{client_addr}
> R::ffff:$-.$-.$-.$-    $: <?> $(host $4.$3.$2.$1.relays.ordb.org. $: OK $)
> R$-.$-.$-.$-           $: <?> $(host $4.$3.$2.$1.relays.ordb.org. $: OK $)
> R<?>OK                 $: OKSOFAR
> R<?>$+                 $#error $@ 5.7.1 $: Refused by blackhole site
> relays.ordb.org
>
> # DNS Based ip address spam list sbl.spamhaus.org
> R$*                    $: $&{client_addr}
> R$-.$-.$-.$-           $: <?> $(dnsbl $4.$3.$2.$1.sbl.spamhaus.org. $: OK
> $) R<?>OK                 $: OKSOFAR
> R<?>$+<TMP>            $: TMPOK
> R<?>$+                 $#error $@ 5.7.1 $: "550 Mail from " $&{client_addr}
> " refused by spamhaus site slb.spamhaus.org"
>
> # DNS Based IP address spam list spews
> R$*                    $: $&{client_addr}
> R$-.$-.$-.$-           $: <?> $(dnsble
> $4.$3.$2.$1.spews.relays.orsirusoft.com. $: OK $)
> R<?>OK                 $: OKSOFAR
> R<?>$+<TMP>            $: TMPOK
> R<?>$+                 $#error $@ 5.7.1 $: "550 Mail from " $&{client_addr}
> " refused by spews site spres.relays.orsirisoft.com"
>
> Any ideas?  Thanks..

Rich

Believe you may need a final "rule" after the DNSBL checks that says how to 
"pass" on the mail.

I have:

R<?>$+			$@ $1

Which says, OK, not BL hits so go ahead and pass the message back "up" the 
chain (with addresses intact).

-- 
Larry Smith
SysAd ECSIS.NET
sysad@xxxxxxxxx(Office)