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

Re: [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?
> >
>
> <snip>
>
> Hi,
>
> This is what we have on Redhat/ Sendmail 8.12...
>
> # DNS based IP address spam list sbl.spamhaus.org
> R$* $: $&{client_addr}
> R$-.$-.$-.$- $: <?> $(ednsbl $4.$3.$2.$1.sbl.spamhaus.org. $: OK $)
> R<?>OK $: OKSOFAR
> R<?>$+<TMP> $: TMPOK
> R<?>127.0.0.2. $#error $@ 5.7.1 $: "550 Rejected: " $&{client_addr} "
listed at
> sbl.spamhaus.org"
>
> Which works well. (the last 2 lines are actually 1 wrapped. )
>

ok. i'm tearing my hair out now. i have replicated the lines above for the
BLs i'm using and restarted sendmail and still nada.

are there any other files that might be affecting this? /etc/mail/access?
running 'netstat -an | grep 25.*LISTEN' produces:
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN
should there be a
tcp        0      my.ip.adr.ess:25              0.0.0.0:*
LISTEN
or
tcp        0      127.0.0.1:25              0.0.0.0:*               LISTEN
line in there as well? would that affect it?

any pointers as to where to look would be good.

i'm putting my BL lines just before ' check_rcpt -- check SMTP `RCPT TO:'
command argument'
is that right? does it matter where i put them in sendmail.cf? if so, where
is best?

cheers

andy