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: 

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.
diff -u -u -r8.646. conf.c
--- conf.c      2000/08/12 18:35:38     8.646.
+++ conf.c      2000/08/13 19:03:51
@@ -5282,7 +5282,8 @@
                if (LogLevel > 3 &&
                    !(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 */
                        sm_syslog(LOG_WARNING, NOQID,

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to