Everyone, I have been working on a gmail.com rejection of mail problem related to one of our CentOS 6 mail servers, that was not present on our Centos 7 mail server. At first I just routed the transfer of mail to the Centos 7 sever and the problem was solved, but continued working on the Centos 6 sendmail problem when I had time available.
I finally had some time to debug the problem and found some interesting things that I thought of which others may benefit. The following represents the steps I took as well as my own conclusions that may or may not be correct, but I did find a fix to the problem. It was interesting that this problem does not exist for the sendmail of Centos 7, but it did exist for the sendmail of Centos 6. My setup for both sendmail.mc files for 6 and 7 were almost the same. It turns out that the sendmail of Centos 6 and 7 apparently using ipv6 as the default transmission of mail, if ipv6 is not available on Centos 7 it drops back to ipv4, but it does not drop back to ipv4 in Centos 6. Also apparently google does a reverse record lookup on ipv6 connection, and if there is a mismatch then google fails the transfer. I was able to get this far by putting in a debug value of 29 in sendmail.mc and then comparing logs created on our Centos 6 and Centos 7 server. I tried to turn off ipv6 on sendmail.mc on the Centos 6 server by the use of the switch : DAEMON_OPTIONS(`Name=MTA-v4, Family=inet') Unfortunately, this prevented the transfer of all mail so I removed it from sendmail.mc. Further looking at other posts on the internet seems to indicate that sendmail now requires ipv6 to be active to transfer any mail at all. I found the following post that described a fix to the problem. http://serverfault.com/questions/512615/how-to-stop-sendmail-sending-ma il-from-ipv6-instead-of-ipv4/824833#824833 When I added the following with '1.2.3.4' being the ipv4 address of the Centos 6 server that had the problem, the mail to gmail.com worked perfectly. CLIENT_OPTIONS(`Family=inet6,Addr=::ffff:1.2.3.4')dnl If any of the rest of you have had this difficulty I hope this helps. Greg Ennis _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos