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

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



sorry for the re-post, but I was not sure it made it.

----- Original Message ----- 
From: <wcstaff@xxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Wednesday, July 16, 2003 3:13 PM
Subject: Re: [cobalt-users] SendMail DNSBL config question (raq4)


> > Make sure you don't have any line wraps. Here's mine as an example, I've
> > numbered the lines so you can remove wraps:
> >
> > ######################################################################
> > ###  check_spews -- check against spews level 1
> > ######################################################################
> > R$* $: $&{client_addr} #1
> > R::ffff:$-.$-.$-.$- $: <?> $(host
> > $4.$3.$2.$1.Spews.relays.OsiruSoft.com. $: OK $) #2
> > R$-.$-.$-.$- $: <?> $(host
> > $4.$3.$2.$1.Spews.relays.OsiruSoft.com. $: OK $) #3
> > R<?>OK $: OKSOFAR #4
> > R<?>$+ $#error $@ 5.7.1 $: "Mail from " $&{client_addr}
> > " Email blocked using SPEWS - see <http://test.mcwebber.com/>" #5
> >
> Dan,
> I noticed you don't have any <TABS> in your code. Are they not needed? I
> just added these to the bottom of my sendmail.cf, following your lines but
> with the tabs and sendmail will not restart until I remove and reboot.
What
> did I do wrong?:
> #####
> # Blocking Email Marketing spammer
> #####
> HSubject:       $>Check_Subject
> D{MPat}Email Marketing
> D{MMsg}This message is SPAM, it is blocked from this host.
> SCheck_Subject
> R${MPat} $*     $#error $: 553 ${MMsg}
> RRe: ${MPat} $* $#error $: 553 ${MMsg}
> RFwd: ${MPat} $*        $#error $: 553 ${MMsg}
>
> # DNS based IP address spam list relays.ordb.org
> R$*                     $: $&{client_addr}
> R$-.$-.$-.$-            $: <?> $(dnsbl $4.$3.$2.$1.relays.ordb.org. $: OK
$)
> R<?>OK                  $: OKSOFAR
> R<?>$+<TMP>             $: TMPOK
> R<?>$+                  $#error $@ 5.7.1 $: "550 Mail from "
$&{client_addr}
> " 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 sbl.spamhaus.org"
>
> # DNS based IP address spam list spews
> R$*                     $: $&{client_addr}
> R$-.$-.$-.$-            $: <?> $(dnsbl
> $4.$3.$2.$1.spews.relays.osirusoft.com. $: OK $)
> R<?>OK                  $: OKSOFAR
> R<?>$+<TMP>             $: TMPOK
> R<?>$+                  $#error $@ 5.7.1 $: "550 Mail from "
$&{client_addr}
> " refused by spews site spews.relays.osirusoft.$
>
> Thanks
> Tom
>