[KLUG Members] sendmail blocking spam with dnsbl?

bill members@kalamazoolinux.org
Tue, 14 Jan 2003 11:55:58 -0500


Hi Bruce,

Yes, it was your advice I was following.  Thanks for the help on the log file.

I could find no record of any spam being blocked, so I went ahead and added that
extra line

define(`confBIND_OPTS', `WorkAroundBrokenAAAA')dnl

and re-compiled, re-started sendmail.

We'll see if that works.

Other notes, using RH7.3, sendmail 8.11.6-15.

One question, where should the resulting sendmail.cf file be before I restart
sendmail?  I have a copy in /etc/mail and another copy in /etc.  Which one counts?

kind regards,

bill

Bruce Smith wrote:

> > How can I tell if sendmail is blocking spam like I expected?
> >
> > I applied the block as it appears here:
> >
> > http://spamcop.net/fom-serve/cache/294.html
> >
> > Specifically, I applied the first one, dnsbl, because the second one, enhdnsbl,
> > wouldn't compile.
> >
> > But am still receiving spam.  How can I tell if it is working or not?  Is there
> > a log file somewhere that indicates when spam is being blocked?
>
> You should have log entries for every message that is blocked in
> /var/log/maillog    This is one example from my log file:
>
> Jan 14 11:28:53 mail sendmail[26782]: h0EGSq126782: ruleset=check_relay,
> arg1=[216.9.66.141], arg2=216.9.66.141, relay=[216.9.66.141], reject=553
> 5.3.0 Spam blocked see:http://spamcop.net/bl.shtml? 216.9.66.141
>
> BTW, in the last four weeks, spamcop's DNSBL has blocked between
> 2000-3000 spams PER WEEK on my employer's sendmail server.  And we're a
> small company!  The high was four weeks ago, where it blocked 3065 spams
> in ONE WEEK.
>
> --------------------------------------------
> Bruce Smith                bruce@armintl.com
> System Administrator / Network Administrator
> Armstrong International, Inc.
> Three Rivers, Michigan  49093  USA
> http://www.armstrong-intl.com/
> --------------------------------------------
>
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
>