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

[cobalt-users] [RaQ4] Sendmail anti-spam configuration



ok, so i finally managed to add some DNSBL checks to my sendmail and get it
started again (with a little help from Jeff Lasman, cheers!). but scanning
my logs and checking my email, it doesn't look like its blocking any spam.
any ideas where i've gone wrong?

the lines i added to sendmail.cf:
# DNS based IP address spam list sbl.spamhaus.org
R$*                     $: $&{client_addr}
R::ffff:$-.$-.$-.$-     $: <?> $(host $4.$3.$2.$1.sbl.spamhaus.org. $: OK $)
R$-.$-.$-.$-            $: <?> $(host $4.$3.$2.$1.sbl.spamhaus.org. $: OK $)
R<?>OK                  $: OKSOFAR
R<?>$+                  $#error $@ 5.7.1 $: Rejected as possible spam
(spamhaus) - please contact $

# DNS based IP address spam list bl.spamcop.net
R$*                     $: $&{client_addr}
R::ffff:$-.$-.$-.$-     $: <?> $(host $4.$3.$2.$1.bl.spamcop.net. $: OK $)
R$-.$-.$-.$-            $: <?> $(host $4.$3.$2.$1.bl.spamcop.net. $: OK $)
R<?>OK                  $: OKSOFAR
R<?>$+                  $#error $@ 5.7.1 $: Rejected as possible spam
(spamcop) - please contact u$


# 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 $: Rejected as possible spam
(ordb) - please contact us v$


# DNS based IP address spam list cbl.abuseat.org
R$*                     $: $&{client_addr}
R::ffff:$-.$-.$-.$-     $: <?> $(host $4.$3.$2.$1.cbl.abuseat.org. $: OK $)
R$-.$-.$-.$-            $: <?> $(host $4.$3.$2.$1.cbl.abuseat.org. $: OK $)
R<?>OK                  $: OKSOFAR
R<?>$+

which i added just before the following line:
######################################################################
###  check_rcpt -- check SMTP `RCPT TO:' command argument
######################################################################


did i put them in the wrong place? sendmail starts ok so i assume the syntax
is all ok. (i had cut and pasted the lines so there were originally spaces
in the middle which i changed to tabs).

any help much appreciated.

cheers

andy