Re: [Nmh-workers] IPv6-ifying nmh

2009-01-12 Thread Ken Hornstein
A few particular corner cases to make sure we handle right: 1) IPv6 is supported, but not enabled on the system (no interfaces, not even loopback, have an IPv6 addr bound to them). I've gotten bit by this on Solaris (see http://sunsolve.sun.com/search/document.do?assetkey=1-66-240906-1 for a

Re: [Nmh-workers] IPv6-ifying nmh

2009-01-12 Thread Robert Elz
Date:Mon, 12 Jan 2009 10:52:00 -0500 From:Ken Hornstein k...@cmf.nrl.navy.mil Message-ID: 200901121552.n0cfq2bs001...@hedwig.cmf.nrl.navy.mil | I don't know what the issue is here, but I think the key is to try all | of the addresses returned by getaddrinfo().

Re: [Nmh-workers] IPv6-ifying nmh

2009-01-09 Thread Ken Hornstein
Considering getaddrinfo() is part of POSIX, I'd say make the change. If someone wants to run nmh on something scary and old, they can run a scary and old version of nmh. As long as we're considering things for the chopping block: - RPOP? (What's RPOP? Near as I can tell, it's using POP from a

Re: [Nmh-workers] IPv6-ifying nmh

2009-01-09 Thread Ken Hornstein
I think my preference would be for switching the code to using getaddrinfo et al, and adding autoconf-shims to implement those functions in terms of the old APIs if we need to. (Cleaner than lots of ifdefs.) My only concern is that I can't easily test the autoconf shims because I don't think I

Re: [Nmh-workers] IPv6-ifying nmh

2009-01-09 Thread Peter Maydell
Ken Hornstein wrote: I think my preference would be for switching the code to using getaddrinfo et al, and adding autoconf-shims to implement those functions in terms of the old APIs if we need to. (Cleaner than lots of ifdefs.) My only concern is that I can't easily test the autoconf shims

Re: [Nmh-workers] IPv6-ifying nmh

2009-01-09 Thread Jeffrey C Honig
I say go for it. If this ends up breaking nmh for someone we can fix it then. If no-body complains it's less work. Thanks (谢谢). Jeff Ken Hornstein k...@cmf.nrl.navy.mil wrote: I was doing some work on the smtp code for nmh, and I couldn't help noticing that it has no IPv6 support. Does

Re: [Nmh-workers] IPv6-ifying nmh

2009-01-09 Thread Valdis . Kletnieks
On Fri, 09 Jan 2009 11:23:00 EST, Ken Hornstein said: I was doing some work on the smtp code for nmh, and I couldn't help noticing that it has no IPv6 support. Go for it. A few particular corner cases to make sure we handle right: 1) IPv6 is supported, but not enabled on the system (no