Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2000 12:06:04 -0700 (PDT)
From:      Gregory Neil Shapiro <gshapiro@gshapiro.net>
To:        John Hay <jhay@icomtek.co.za>
Cc:        ume@mahoroba.org (Hajimu UMEMOTO), gshapiro@FreeBSD.ORG, freebsd-current@FreeBSD.ORG
Subject:   Re: sendmail updated from 8.9.3 to 8.11.0 in -current
Message-ID:  <14742.61852.184466.543141@horsey.gshapiro.net>
In-Reply-To: <200008131724.e7DHO9l17566@zibbi.mikom.csir.co.za>
References:  <20000813.235732.59463473.ume@mahoroba.org> <200008131724.e7DHO9l17566@zibbi.mikom.csir.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
jhay> There is just an annoying message because of the anycast address:

jhay> Aug 13 16:38:47 angel sendmail[11947]: gethostbyaddr(3ffe:2900:fffa:4::) failed: 1

jhay> Is that because of a configuration error or just because sendmail needs
jhay> to check for anycast addresses?

sendmail tries to get the hostnames associated with all of it's interfaces
to populate $=w (local host names).  The best fix would be to create an
entry in DNS for that address.  Perhaps sendmail shouldn't bother warning
on multicast addresses.  Can you see if this patch makes the error go away?

Index: conf.c
===================================================================
RCS file: /cvs/sendmail/conf.c,v
retrieving revision 8.646.2.2.2.26
diff -u -u -r8.646.2.2.2.26 conf.c
--- conf.c	2000/08/12 18:35:38	8.646.2.2.2.26
+++ conf.c	2000/08/13 19:03:51
@@ -5282,7 +5282,8 @@
 		if (LogLevel > 3 &&
 #if NETINET6
 		    !(sa->sa.sa_family == AF_INET6 &&
-		      IN6_IS_ADDR_LINKLOCAL(&sa->sin6.sin6_addr)) &&
+		      (IN6_IS_ADDR_LINKLOCAL(&sa->sin6.sin6_addr) ||
+		       IN6_IS_ADDR_MULTICAST(&sa->sin6.sin6_addr)) &&
 #endif /* NETINET6 */
 		    TRUE)
 			sm_syslog(LOG_WARNING, NOQID,



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14742.61852.184466.543141>