From owner-freebsd-stable Sat Sep 22 10:46:39 2001 Delivered-To: freebsd-stable@freebsd.org Received: from horsey.gshapiro.net (horsey.gshapiro.net [209.220.147.178]) by hub.freebsd.org (Postfix) with ESMTP id 11C4637B422 for ; Sat, 22 Sep 2001 10:46:34 -0700 (PDT) Received: from horsey.gshapiro.net (gshapiro@localhost [IPv6:::1]) by horsey.gshapiro.net (8.12.0/8.12.0) with ESMTP id f8MHkXI8056811 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 22 Sep 2001 10:46:33 -0700 (PDT) Received: (from gshapiro@localhost) by horsey.gshapiro.net (8.12.0/8.12.0/Submit) id f8MHkXQL056808; Sat, 22 Sep 2001 10:46:33 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15276.52856.896099.983550@horsey.gshapiro.net> Date: Sat, 22 Sep 2001 10:46:32 -0700 From: Gregory Neil Shapiro To: Mike Tancsa Cc: stable@freebsd.org Subject: Re: something strange with sendmail 8.11.6 on FreeBSD In-Reply-To: <5.1.0.14.0.20010922132118.03779ec0@192.168.0.12> References: <5.1.0.14.0.20010922131438.060e9930@192.168.0.12> <5.1.0.14.0.20010922082451.05af6d70@192.168.0.12> <5.1.0.14.0.20010922132118.03779ec0@192.168.0.12> X-Mailer: VM 6.96 under 21.5 (beta1) "anise" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG mike> Yes. In my .mc I have tried mike> define(`confBIND_OPTS', `+WorkAroundBrokenAAAA')dnl mike> and mike> define(`confBIND_OPTS', `WorkAroundBrokenAAAA')dnl Ok, try the patch below (from Bill Fenner). If that does it, I'll work on getting it committed this weekend. mike> Also, where is it described in the README ? Line 642 of /usr/src/contrib/sendmail/src/README. Index: daemon.c =================================================================== RCS file: /home/ncvs/src/contrib/sendmail/src/daemon.c,v retrieving revision 1.1.1.3.2.6 diff -u -r1.1.1.3.2.6 daemon.c --- daemon.c 2001/08/01 03:19:45 1.1.1.3.2.6 +++ daemon.c 2001/09/09 19:31:37 @@ -1877,17 +1877,6 @@ gothostent: if (hp == NULL) { -# if NAMED_BIND - /* check for name server timeouts */ - if (errno == ETIMEDOUT || h_errno == TRY_AGAIN || - (errno == ECONNREFUSED && UseNameServer)) - { - save_errno = errno; - mci_setstat(mci, EX_TEMPFAIL, "4.4.3", NULL); - errno = save_errno; - return EX_TEMPFAIL; - } -# endif /* NAMED_BIND */ # if NETINET6 /* ** Try v6 first, then fall back to v4. @@ -1903,6 +1892,17 @@ if (v6found) goto v6tempfail; # endif /* NETINET6 */ +# if NAMED_BIND + /* check for name server timeouts */ + if (errno == ETIMEDOUT || h_errno == TRY_AGAIN || + (errno == ECONNREFUSED && UseNameServer)) + { + save_errno = errno; + mci_setstat(mci, EX_TEMPFAIL, "4.4.3", NULL); + errno = save_errno; + return EX_TEMPFAIL; + } +# endif /* NAMED_BIND */ save_errno = errno; mci_setstat(mci, EX_NOHOST, "5.1.2", NULL); errno = save_errno; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message