From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 08:20:02 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C35316A4CE for ; Tue, 23 Dec 2003 08:20:02 -0800 (PST) Received: from gaff.hhhr.ision.net (gaff.hhhr.ision.net [195.180.9.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id E151F43D55 for ; Tue, 23 Dec 2003 08:20:00 -0800 (PST) (envelope-from ohoyer@gaff.hhhr.ision.net) Received: from gaff.hhhr.ision.net (localhost [127.0.0.1]) by gaff.hhhr.ision.net (8.12.10/8.12.10) with ESMTP id hBNGK4VX048594; Tue, 23 Dec 2003 17:20:05 +0100 (CET) (envelope-from ohoyer@gaff.hhhr.ision.net) Received: from localhost (ohoyer@localhost)hBNGK4NE048591; Tue, 23 Dec 2003 17:20:04 +0100 (CET) (envelope-from ohoyer@gaff.hhhr.ision.net) Date: Tue, 23 Dec 2003 17:20:04 +0100 (CET) From: Olaf Hoyer To: "=?iso-8859-1?q?Feroz=20F.=20Basir?=" In-Reply-To: <20031223160016.34726.qmail@web40609.mail.yahoo.com> Message-ID: <20031223171623.J48498@gaff.hhhr.ision.net> References: <20031223160016.34726.qmail@web40609.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd questions Subject: Re: fbsd4.9 sendmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2003 16:20:02 -0000 On Tue, 23 Dec 2003, Feroz F. Basir wrote: > Hi, > > My mail server is within my LAN and we dont have/use > DNS server. Why sendmail want to resolve domain.com? I > thought using smart host will tranfer all mails to our > mail.domain.com machine. I just use /etc/hosts file to > resolve mail.domain.com to ip. > > Do I need to setup DNS server under fbsd4.9 just to > resolve odmain.com if I send to john@domain.com? > Hi! You can also tell sendmail to resolve hosts first through /etc/hosts, and then try DNS. default is DNS first. angua 17:19 >cat /etc/mail/service.switch hosts files dns HTH Olaf -- Olaf Hoyer ohoyer@gaff.hhhr.ision.net Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese)