Date: Sat, 22 Sep 2001 13:51:37 -0400 From: Mike Tancsa <mike@sentex.net> To: Gregory Neil Shapiro <gshapiro@freebsd.org> Cc: stable@freebsd.org Subject: Re: something strange with sendmail 8.11.6 on FreeBSD Message-ID: <5.1.0.14.0.20010922134750.037c97e8@192.168.0.12> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20010922134750.037c97e8>