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@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.
Stuart Murray-Smith wrote:
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:
What is your hostname on that box?
cat /etc/sysconfig/network
-Andy
Hi Andy
What is your hostname on that box?
cat /etc/sysconfig/network
h0st.d0main.tld
It seems as if 'h0st' is being dropped and replaced by 'localhost' to render:
user@localhost.d0main.tld
I'm looking to achieve:
user@d0main.tld
~ /usr/sbin/postconf -n reports:
... inet_interfaces = all ... mydestination = $mydomain mydomain = d0main.tld myhostname = h0st.d0main.tld mynetworks_style = subnet myorigin = $mydomain ...
TiA
Stu@