nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] annoying DNS lookups

2011-05-12 12:58:37
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

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>