Having some trouble here. My server has 3 IP addresses and this is my /etc/hosts:
127.0.0.1 localhost
46.38.235.226 brian.smares.de brian
46.38.238.199 stewie.smares.de stewie
46.38.238.137 mail.smares.de mail
postfix is set up with
inet_interfaces = localhost, $myhostname
mynetworks = 127.0.0.0/8
mydestination = localhost
myhostname = mail.smares.de
mydomain = smares.de
myorigin = $mydomain
If I send an e-mail, the source reads
Received: from mail.smares.de (pelikansal.at. [46.38.235.226])
pelikansal.at is the rDNS target for 46.38.235.226.
What I don't understand is why that IP is being used instead of 46.38.238.137. My server's FQDN is brian.smares.de which would map to the 226 address, but is that the cause?
Any ideas?