nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] annoying DNS lookups


From: Ken Hornstein
Subject: Re: [Nmh-workers] annoying DNS lookups
Date: Thu, 12 May 2011 13:58:21 -0400

>nmh should be using gethostname(3) to derive the "official" local host 
>name.  You cannot accurately determine the local host name from the DNS. 

It's not that I'm disagreeing with you, exactly (although, like I said,
in this case the PTR records are NOT being consulted).  It's just that
considering the use of "LocalName()" in address parsing, how do we
guarantee that what we get from gethostname() is canonicalized?  (The
code in question already uses gethostname()).

Right now LocalName() is used to add to addresses that aren't fully
qualified (and a few other cases).  If you want to change that, well, I
admit that I've never been in love with nmh's address parsing (and hey,
I think we can junk the UUCP handling!), but I think that requires
someone who has more knowledge and time than I have now.

I fully admit this situation isn't wonderful; I'm open to suggestions.

--Ken



reply via email to

[Prev in Thread] Current Thread [Next in Thread]