I run postfix on a Linux machine on my LAN which is behind a pretty
standard NAT router.

>From the outside my system's hostname is zbmc.eu and looking up that
host gives the correct IP for my router's connection to the outside.

I run mutt as my MUA and that sends mail out via the local postfix
to my hosting provider's smarthost.

At the moment (and it's been that way for some years) I have
myhostname in main.cf set as follows:-

    myhostname = esprimo.zbmc.eu

The machine on which postfix runs is called esprimo and thus, within
my LAN, its name is esprimo.zbmc.eu.  However the above seems to mean
that mail sent outside gets the name esprimo.zbmc.eu in its headers
and that seems to have provoked some errors recently, prsumably
because esprimo.zbmc.eu doesn't exist in the outside world.

Should I have instead:-

    myhostname = zbmc.eu

Will this cause any local issues on my LAN? On my LAN I see:-

    root@esprimo# host zbmc.eu
    zbmc.eu has address 192.168.1.3
    root@esprimo# host esprimo.zbmc.eu
    esprimo.zbmc.eu has address 127.0.0.1
    root@esprimo# 


-- 
Chris Green

Reply via email to