From owner-freebsd-stable Sat Sep 22 10:51:46 2001 Delivered-To: freebsd-stable@freebsd.org Received: from cage.simianscience.com (cage.simianscience.com [64.7.134.1]) by hub.freebsd.org (Postfix) with ESMTP id ADC5637B40B; Sat, 22 Sep 2001 10:51:41 -0700 (PDT) Received: from chimp.sentex.net (fcage [192.168.0.2]) by cage.simianscience.com (8.11.6/8.11.6) with ESMTP id f8MHpdS95385; Sat, 22 Sep 2001 13:51:39 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <5.1.0.14.0.20010922134750.037c97e8@192.168.0.12> X-Sender: mdtancsa@192.168.0.12 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sat, 22 Sep 2001 13:51:37 -0400 To: Gregory Neil Shapiro From: Mike Tancsa Subject: Re: something strange with sendmail 8.11.6 on FreeBSD Cc: stable@freebsd.org In-Reply-To: <15276.52856.896099.983550@horsey.gshapiro.net> References: <5.1.0.14.0.20010922132118.03779ec0@192.168.0.12> <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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 At 10:46 AM 9/22/2001 -0700, Gregory Neil Shapiro wrote: >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. Yes, it did the trick! Using SENDMAIL_CFLAGS=-D_FFR_WORKAROUND_BROKEN_NAMESERVERS in /etc/make.conf was all I needed. Thanks very much for the fix, ---Mike >mike> Also, where is it described in the README ? > >Line 642 of /usr/src/contrib/sendmail/src/README. Hmmm.. Putting down my crack pipe, I can see it now. >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; -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message