Subject: Re: bin/12876: NetBSD's INET6 patches to Postfix break non-INET6 features!
To: None <gnats-bugs@gnats.netbsd.org, netbsd-bugs@NetBSD.ORG>
From: None <itojun@iijlab.net>
List: netbsd-bugs
Date: 05/09/2001 11:53:40
>[ On Wednesday, May 9, 2001 at 09:59:28 (+0900), itojun@iijlab.net wrote: ]
>> Subject: Re: bin/12876: NetBSD's INET6 patches to Postfix break non-INET6 features! 
>>
>> 	i believe the use of getdomainname() is a bad idea.  NIS domain name
>> 	has nothing to do with email delivery.
>
>The "domainname" stored in the kernel has no direct relationship to
>anything but itself.  On machines that do not ever come near NIS (one
>service which can use this stored string) (probably no machine on the
>public Internet should ever do so too), it's perfectly reasonable to
>store the default DNS domain name in the kernel using this facility (and
>I do and ahve done for many many years now!).

	then, you at least need to check if the machine is running NIS or not,
	and suppress getdomainname() case if NIS is running.  IMHO.

itojun