On 1/18/11 3:55 PM, James Chase wrote:
I have a workign mx server (virtual) which I cloned to create a second mx server. I changed the hostname and /etc/hosts and any reference I could find to the old "mx4" name to "mx2". I also made sure reverse dns and dns is OK.

It isn't. See below.

However, when I send mail, the recipient mail server reports the below information (NOTE: the top header line where it shows the old mx4 name AND the mx4 IP). I don't get where this is coming from and am not sure why mail would appear to be getting routed through the old mx server. the mx.domain.com server should have the IP AAA.BBB.CCC.159. My postfix configuration uses a variable for the hostname

What "variable" ? Unless it is defined in the same main.cf file, or introduced by Debian's infamous /etc/mailname hack, this is invalid.

Unless myhostname is explicitly defined, postfix uses the FQDN returned by gethostname(2).

Received: from*mx2.domain.com*  (*mx4.domain.com*  [*AAA.BBB.CCC.157*])

This message was received from a machine claiming to be mx2.domain.com; however, the machine's IP resolves to (has a PTR record of) mx4.domain.com.

Looks like a DNS issue from where I'm sitting.

--
J.

Reply via email to