IP name possibly forged

  • A+
Categories:Linux

These days got a sendmail issue and fixed it after some research and tests, and I though it could be shared here.

The primary email server was 192.168.3.40 and was used as relay server to send email to the internet, and I was configuring another server 192.168.6.23 to send email through the relay server.

I added the network 192.168.6 to the access file and generated new access.db file, while when I did the test I got below error:

I made sure the email address xxxxxx@cn.ibm.com could receive email without any issue, and I did not know where the ip address 2XX.1XX.212.215 came.

I searched and found one reason was that the A record of the DNS server was different, while for me I did not use DNS to lookup both hostnames but the /etc/hosts files, and of course they matched on both servers.

At the beginning I lost minds in the sendmail configurations and wasted much time in finding the issues in the config files, while eventually I found the reason with really simple traceroute command:

As I checked this issue remotely and had no idea about the network configurations, so I did not think public ip address was used in the network path.

To fix this issue, I added the ip address 2XX.1XX.212.215 to the access file and then I would still get below warning:

While the email would be sent out. :)

Comment

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: