Re: require_rdns bug




"DJ GRP" <deejay.grp@xxxxxxxxx> wrote in message
news:c0a2cd5b-9cea-43d7-945b-4b96e06ae2d4@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi all,
we are using compiled sendmail (latest version) under CentOS 5.4. For
the last 48 hours there have been some issues with it. In particular,
it started rejecting a large number of messages because it claimed
they came from unresolved IPs.

We are indeed using require_rdns feature. The thing is, it behaved
similarly for properly resolved IPs, too. There was no DNS service
interruption during the specific interval. I even tried to perform a
dig and an nslookup at the same time sendmail was rejecting IP
1.2.3.4, and I got back a proper hostname.

As a workaround, I restarted sendmail and the issue was gone.

I would appreciate some comments and/or help on this, since I am not
willing to stop using require_rdns.

If you have perl on your installation, use Net::DNSBL::MultiDaemon instead.
Then you can do a standard lookup on the IP address to MutliDaemons daemon
or extension on bind9 using FEATURE(`dnsbl','pseudo.dnsbl','reject message')
and bypass the sendmail rdns code entirely. This module will also prioritize
other DNSBL lookups so that the ones providing the most hits are queried
first rather than in the order you set up in the sendmail mc file, which is
very difficult to optimize since it changes over time.

See example here: http://www.spamcannibal.org/dnsbl_stats.shtml
the boxes in the MIDDLE of the page are stats for the month to date for our
installation showing the effect of prioritization where in-addr.arpa is the
zone for rDNS

This page http://www.spamcannibal.org/history/2010-03-14.html
shows an exemplry set of stats for 100k+ ip addresses collected last week by
the San Diego computer center run against the same set of DNSBL's to give
you an idea of where the overlap is in the various databases. Note that for
GENERIC and MISSING ptr records, this accounts for fully 80+% of all spam
IP's

Michael



.



Relevant Pages

  • Re: sendmail problem
    ... Monty Glover wrote: ... > Two days ago my root partition filled up and my box started rejecting ... I have since freed up storage space on root however, ... sendmail does this per default. ...
    (alt.os.linux)
  • Re: DNS - nslookup & sendmail
    ... example of the error messages in syslog is: ... always avoided sendmail like the plague :-). ... It is only when I use nslookup that I get the odd response. ... gets me back to why is sendmail rejecting the email? ...
    (comp.unix.sco.misc)
  • Re: DNS - nslookup & sendmail
    ... always avoided sendmail like the plague :-). ... It is only when I use nslookup that I get the odd response. ... gets me back to why is sendmail rejecting the email? ... traceroute does not find them. ...
    (comp.unix.sco.misc)
  • require_rdns bug
    ... we are using compiled sendmail under CentOS 5.4. ... similarly for properly resolved IPs, ... dig and an nslookup at the same time sendmail was rejecting IP ...
    (comp.mail.sendmail)