Date: Sun, 7 May 2000 23:10:25 +0300 (EEST) From: Ville Eerola <ve@sci.fi> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/18442: fetchmail problems with IPV6 and localhost Message-ID: <200005072010.XAA03623@vehome.pp.sci.fi>
next in thread | raw e-mail | index | archive | help
>Number: 18442 >Category: ports >Synopsis: PATCH: fetchmail has problems with localhost when using IPV6 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 07 13:20:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Ville Eerola >Release: FreeBSD 3.4-STABLE i386 >Organization: >Environment: FreeBSD with IPV6 enabled, having 'localhost' in the /etc/hosts file for both IP4 and IP6. Current fetchmail port. >Description: Takayuki Tamura <ttathome@remus.dti.ne.jp> reported: | I recently updated to 5.0-CURRENT with both INET and INET6 enabled | and found that fetchmail couldn't talk to local sendmail. The reason | was that it tried to connect to sendmail via multiple addresses | (families) corresponding to a hostname (i.e., `localhost'). Mike Harding <mvh@ix.netcom.com> also said: | Fetchmail refused to work for me after a build world last night - I | tracked it down to having 'localhost' in the /etc/hosts file for | both IP4 and IP6. There was something in the fetchmail FAQ about | multiple connections with the same name causing problems, and it | definitely does with -stable as of today. >How-To-Repeat: Define localhost the /etc/hosts file for both IP4 and IP6, try to use fetchmail from the current ports system. >Fix: Workaround as reported by Mike Harding: Comment out the '::1' entry from /etc/hosts and it will work for now. Real fix: Apply this short patch as provided by Takayuki Tamura <ttathome@remus.dti.ne.jp> reported: --- fetchmail/patches/patch-ak.orig Fri Mar 3 14:12:37 2000 +++ fetchmail/patches/patch-ak Wed Apr 26 03:05:26 2000 @@ -42,6 +42,7 @@ close(i); /* don't use SockClose, no traffic yet */ ! continue; } ++ break; + } + ai = ai0; #endif >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005072010.XAA03623>