On Mon 14 Nov 2016 at 08:27:06 (-0500), Greg Wooledge wrote: > [...] So when you do your "hostname -f" > (which I still contend is a rubbish command which serves no useful > purpose, but it's what you seem to want, so I'll roll with it), it > looks up "srv" in this file as a whole word/field, and finds this line > as the first match. > > Therefore hostname -f writes "www.slsware.dmz" to stdout.
You asked earlier how we might even know about hostname -f and the obvious answer is because exim emits: "Starting MTA:hostname --fqdn did not return a fully qualified name, dc_minimaldns will not work. Please fix your /etc/hosts setup." if you have no domain name, but have dc_minimaldns='true' in /etc/exim4/update-exim4.conf.conf As your own hostname -f produces not dots, what approach do you use to shut exim up, or do you just ignore (or suppress) the message? Cheers, David.