Sendmail IP address
Posted on 2004-09-14
Okay here is the problem. We are using sendmail on Redhat 9.
When sendmail sends a message the header it says,
From firstname.lastname@example.org Mon Sep 13 14:11:48 2004
Received: from server1.domain.com ([220.127.116.11])
Now if I dig server1.domain.com it comes back 18.104.22.168 not 22.214.171.124
But for some reason when sendmail sends the mail out it uses our ip we have set on ifcfg-eth1:3 (the last ip set)
How does sendmail get 126.96.36.199? Is there anyway to tell it to use 188.8.131.52 ??
Ips and names are changed!