Wednesday, February 17, 2010

sendmail refuse mail with no reverse lookup (PTR) record.

SkyHi @ Wednesday, February 17, 2010
I would recommend revert DNS check:

# cd /usr/share/sendmail/cf/hack
#
wget http://www.cs.niu.edu/~rickert/cf/hack/require_rdns.m4

backup sendmail.mc
# cp /etc/mail/sendmail.mc /etc/mail/sendmail.mc.backup
# nano /etc/mail/sendmail.mc

add this line at the end of the file then rebuild sendmail
HACK(`require_rdns')dnl