From owner-freebsd-hackers Tue Dec 31 19:51:44 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4431837B401 for ; Tue, 31 Dec 2002 19:51:42 -0800 (PST) Received: from net2.dinoex.sub.org (net2.dinoex.de [212.184.201.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2827043EC2 for ; Tue, 31 Dec 2002 19:51:40 -0800 (PST) (envelope-from pmc@citylink.dinoex.sub.org) Received: from net2.dinoex.sub.org (uucp@net2.dinoex.de [212.184.201.182]) by net2.dinoex.sub.org (8.12.6/8.12.6) with ESMTP id h013pIbc019710 for ; Wed, 1 Jan 2003 04:51:19 +0100 (CET) (envelope-from pmc@citylink.dinoex.sub.org) X-Authentication-Warning: net2.dinoex.sub.org: Host uucp@net2.dinoex.de [212.184.201.182] claimed to be net2.dinoex.sub.org Received: from citylink.dinoex.sub.org (uucp@localhost) by net2.dinoex.sub.org (8.12.6/8.12.6/Submit) with UUCP id h013pIoX019709 for freebsd.org!hackers; Wed, 1 Jan 2003 04:51:18 +0100 (CET) (envelope-from pmc@citylink.dinoex.sub.org) Received: from gate.oper.dinoex.org by citylink.dinoex.sub.org (8.8.5/PMuch-B3b) with ESMTP id EAA19445 for ; Wed, 1 Jan 2003 04:47:22 +0100 (CET) Received: from disp.oper.dinoex.org (disp-e [192.168.98.5]) by gate.oper.dinoex.org (8.12.6/8.12.6) with ESMTP id h013iEmi001305 for ; Wed, 1 Jan 2003 04:44:20 +0100 (CET) (envelope-from pmc@disp.oper.dinoex.org) Received: (from pmc@localhost) by disp.oper.dinoex.org (8.11.6/8.11.6) id h013i4801294 for hackers@freebsd.org; Wed, 1 Jan 2003 04:44:04 +0100 (CET) (envelope-from pmc) Date: Wed, 1 Jan 2003 04:44:04 +0100 From: Peter Much To: hackers@freebsd.org Subject: sendmail: how to get the named of FreeBSD4.7 standards compliant? Message-ID: <20030101044404.B1197@disp.oper.dinoex.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BC8337B401 for ; Tue, 31 Dec 2002 19:35:06 -0800 (PST) Received: from net2.dinoex.sub.org (net2.dinoex.de [212.184.201.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id D811F43EB2 for ; Tue, 31 Dec 2002 19:35:03 -0800 (PST) (envelope-from pmc@citylink.dinoex.sub.org) Received: from net2.dinoex.sub.org (uucp@net2.dinoex.de [212.184.201.182]) by net2.dinoex.sub.org (8.12.6/8.12.6) with ESMTP id h013YCbc018070 for ; Wed, 1 Jan 2003 04:34:13 +0100 (CET) (envelope-from pmc@citylink.dinoex.sub.org) X-MDaemon-Deliver-To: X-Authentication-Warning: net2.dinoex.sub.org: Host uucp@net2.dinoex.de [212.184.201.182] claimed to be net2.dinoex.sub.org Received: from citylink.dinoex.sub.org (uucp@localhost) by net2.dinoex.sub.org (8.12.6/8.12.6/Submit) with UUCP id h013YCtM018069 for freebsd.org!freebsd.hackers; Wed, 1 Jan 2003 04:34:12 +0100 (CET) (envelope-from pmc@citylink.dinoex.sub.org) Received: from gate.oper.dinoex.org by citylink.dinoex.sub.org (8.8.5/PMuch-B3b) with ESMTP id EAA16230 for ; Wed, 1 Jan 2003 04:23:21 +0100 (CET) Received: from disp.oper.dinoex.org (disp-e [192.168.98.5]) by gate.oper.dinoex.org (8.12.6/8.12.6) with ESMTP id h013KEmg000410 for ; Wed, 1 Jan 2003 04:20:14 +0100 (CET) (envelope-from pmc@disp.oper.dinoex.org) Received: (from pmc@localhost) by disp.oper.dinoex.org (8.11.6/8.11.6) id h0131hl00630 for freebsd.hackers@freebsd.org; Wed, 1 Jan 2003 04:01:43 +0100 (CET) (envelope-from pmc) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Under certain circumstances, when sending mail, the mail will appear in the local spool directory as Deferred: Operation timed out with otherhost.domain while observably there has no timeout happened: the sendmail has returned just immediately from the failing delivery action. It is said in the documentation and on the net, that this problem comes from a broken or bad configured nameserver, and the sendmail resolver option "WorkAroundBrokenAAAA" is just a workaround and the correct solution would be to fix the broken nameservers. While it is true that the said sendmail-option solves the problem (if sendmail is new enough to understand it), I could nowhere find information on how to fix the bug in the nameserver - that is, in the nameserver that is packaged with FreeBSD 4.4 or 4.7. Input is utterly appreciated; while the sendmail workaround is available on FreeBSD 4.7, it was not yet implemented on 4.4, and I do not like to upgrade all of the machines (at least not for a mere Workaround). The nameservers are vanilla as in the distribution: disp# named -v named 8.2.4-REL Sun Dec 2 00:47:20 GMT 2001 root@tow.oper.dinoex.org:/usr/obj/usr/src/usr.sbin/named gate# named -v named 8.3.3-REL Wed Dec 25 07:53:05 CET 2002 root@dyn.oper.dinoex.org:/u/4-STABLE/obj/u/4-STABLE/src/usr.sbin/named Please, if anybody knows how to fix this nameserver; please tell me! Attached is a log of what is happening actually, there are two systems "disp" and "gate" involved. "gate" is the mailhub, and "disp" wants to send a mail to it: Hostname: disp (127.0.0.1) gate (127.0.0.1) OS: FreeBSD 4.4 FreeBSD 4.7 Interface: disp-e (192.168.98.5) gate-e (192.168.98.2) dynIP outbound Nameserver: LAN Primary and LAN Slave forwarder to "gate" named.root file is here The hostnames are associated to the lo0 Interfaces (and mentioned in /etc/hosts), they have MX pointing to their respective LAN interfaces. "disp" has these nameservice-relevant sendmail.mc options: FEATURE(relay_based_on_MX) FEATURE(`nocanonify', `canonify_hosts') FEATURE(`accept_unresolvable_domains') define(`SMART_HOST', `gate') BTW: As soon as the outbound internet connection is available and we have root nameservers accessible, the problem goes away. # mail pmc@dyn Subject: test test ^D # sendmail -d1-10.9 -q getla: 0 getauthinfo: root@localhost ;; res_query(5.98.168.192.in-addr.arpa, 1, 12) ;; res_mkquery(0, 5.98.168.192.in-addr.arpa, 1, 12) ;; res_send() ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59759 ;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; 5.98.168.192.in-addr.arpa, type = PTR, class = IN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message