James Carlson wrote:
It has nothing at all to do with sendmail, which uses DNS to build up
$j.  And the NFSv4 domain name is yet another separate thing, which can
either be manually configured or set up through special DNS entries.  ;-}

Back in the day, IIRC, sendmail on Solaris could end up getting the domain name via getdomainname() which would sometimes be the NIS domain, particularly if running on a system with NIS but not DNS configured. For example, see http://www.sendmail.org/vendor/sun/differences.html#3 section 3.2. This was one of the annoying (to some people) legacy differences between "Sun" and "standard" sendmail that tended to generate sendmail FAQs. This was part of now-dropped Sun-specific functionality to get the domain from NIS for systems running NIS and not DNS.

This all changed to a more standard setup several years ago though, and the getdomainname() function which sendmail used to use does not read /etc/defaultdomain directly, but checks some other files including named.conf, followed by sysinfo(SI_SRPC_DOMAIN).

There may or may not be customer scripts reading the files in this case, but I don't know of anything specific and any modern version of sendmail should not, at least.

Hugh.

_______________________________________________
opensolaris-arc mailing list
opensolaris-arc@opensolaris.org

Reply via email to