ibell
asked on
Sendmail: how to reject SMTP connections that are not DNS reverse mapped?
I am looking for details of how to update the sendmail.cf and sendmail.mc so that Sendmail will refuse to accept inbound mail from any smtp host that does not have a resolvable reverse DNS entry. I found some code that may do it, but it does not seem to work -- maybe it's in the wrong location. Any help would be most appreciated.
add "HACK(`require_rdns')" without quotes to your sendmail.mc file the m4 it....this will make sendmail check for rdns records and reject the senders if it dosn't match their A record and MX record.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.