Postfix 'localhost' in originating email address

Stuart Murray-Smith eight32 at gmail.com
Mon May 1 12:13:28 UTC 2006


Greetings list

Platform: FC4
Package(s): Postfix 2.2.2, Dovecot 0.99.14

I've iterated... I've Googled... and now posting ;-)

When emailing from the above stand-alone internet email server, the
originating email addy renders as:

user at localhost.d0main.tld

Where does the 'localhost' in localhost.d0main.tld come from?

I've also hashed out the $myorigin reference to localhost in:

/etc/postfix/main.cf.default,

// which I know shouldn't be done but needed to prove that Postfix
wasn't loading this var from main.cf.default as the preferred default

And even after restarting Postfix,

~ /usr/sbin/postconf -d | grep -i 'localhost'

still reports:

mydestination = $myhostname, localhost.$mydomain, localhost

Also:

-----8<----------8<----------8<-----

~ cat /etc/hosts

127.0.0.1 localhost.localdomain localhost
192.168.1.10 h0st.d0main.tld h0st

-----8<----------8<----------8<-----

~ cat /etc/postfix/main.cf

myhostname = h0st.d0main.tld
mydomain = d0main.tld
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks_style = host
mynetworks = 127.0.0.0/8

-----8<----------8<----------8<-----

I'd appreciate any insight into this.

TiA

Blessings,

Stuart


--
Then you will know the truth, and the truth will set you free.




More information about the fedora-list mailing list