I'm running postfix 3.10 on a Debian 13 system, it's mostly pretty
standard except that I'm using dnsmasq for local (i.e. LAN) DNS.

Everything else seems to get the right address for my server that runs
postfix:-

    chris@q957$ hostname
    q957
    chris@q957$ hostname -f
    q957.zbmc.eu
    chris@q957$ dnsdomainname
    zbmc.eu
    chris@q957$ 
    chris@q957$ more /etc/hosts
    127.0.0.1       localhost
    127.0.1.1       q957.zbmc.eu    q957

But postfix seems to be using q957.localdomain:-

    chris@q957$ postconf | grep '^myhostname'
    myhostname = q957.localdomain

My main.cf has myhostname commented out which leaves postfix to work
it out for itself, should I revert to setting myhostname explicitly?
Can someone suggest what's going on here and/or if I have something
misconfigured?

(It's handy if I don't have to set myhostname as the main.cf file will
then wor on other servers on my LAN)

-- 
Chris Green
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to