Hi all.
My servers all point sendmail to a mailhub, let's call it
In my sendmail file I put a trailing dot, thusly:
To my surprise, in /etc/hosts I needed the exact entry - having just the uQDN or omitting the trailing dot wouldn't work.
It appears also that /etc/resolv.conf isn't consulted (it doesn't add the search domain and then query /etc/hosts). Which leads me to think that the matching against /etc/hosts is a simple word-boundary delimited text search. Does that sound right?
Now I'm tempted to edit all of my /etc/hosts files and add new entries for each host with a trailing dot. (Just in case there's a program somewhere referring to it).
Thanks,
Scott
My servers all point sendmail to a mailhub, let's call it
mailhub
, with an FQDN of mailhub.domain
.In my sendmail file I put a trailing dot, thusly:
mailhub.domain.
.To my surprise, in /etc/hosts I needed the exact entry - having just the uQDN or omitting the trailing dot wouldn't work.
It appears also that /etc/resolv.conf isn't consulted (it doesn't add the search domain and then query /etc/hosts). Which leads me to think that the matching against /etc/hosts is a simple word-boundary delimited text search. Does that sound right?
Now I'm tempted to edit all of my /etc/hosts files and add new entries for each host with a trailing dot. (Just in case there's a program somewhere referring to it).
Thanks,
Scott