From owner-freebsd-hackers Tue Dec 31 21:27:15 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 D107B37B401 for ; Tue, 31 Dec 2002 21:27:13 -0800 (PST) Received: from zardoc.esmtp.org (adsl-63-195-85-27.dsl.snfc21.pacbell.net [63.195.85.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DCEB43EB2 for ; Tue, 31 Dec 2002 21:27:13 -0800 (PST) (envelope-from ca@zardoc.esmtp.org) Received: from zardoc.esmtp.org (localhost [127.0.0.1]) by zardoc.esmtp.org (8.12.7/8.12.7.Beta1) with ESMTP id h015RJGL019660 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 31 Dec 2002 21:27:19 -0800 (PST) Received: (from ca@localhost) by zardoc.esmtp.org (8.12.7/8.12.0.Beta12) id h015RJVf005189 for hackers@FreeBSD.ORG; Tue, 31 Dec 2002 21:27:19 -0800 (PST) Date: Tue, 31 Dec 2002 21:27:19 -0800 From: Claus Assmann To: hackers@FreeBSD.ORG Subject: Re: sendmail: how to get the named of FreeBSD4.7 standards compliant? Message-ID: <20021231212719.A29500@zardoc.esmtp.org> References: <20030101044404.B1197@disp.oper.dinoex.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20030101044404.B1197@disp.oper.dinoex.org>; from pmc@citylink.dinoex.sub.org on Wed, Jan 01, 2003 at 04:44:04AM +0100 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 On Wed, Jan 01, 2003, Peter Much wrote: > 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 What is "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 What's in the logfile? What's the output of: date | sendmail -d0.13 -d8.8 -v pmc@dyn PS: news:comp.mail.sendmail might be more appropriate. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message