From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 09:41:06 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 6B5B416A4CE for ; Tue, 23 Dec 2003 09:41:06 -0800 (PST) Received: from web40606.mail.yahoo.com (web40606.mail.yahoo.com [66.218.78.143]) by mx1.FreeBSD.org (Postfix) with SMTP id 2086A43D31 for ; Tue, 23 Dec 2003 09:41:05 -0800 (PST) (envelope-from dbase77@yahoo.com) Message-ID: <20031223174105.83776.qmail@web40606.mail.yahoo.com> Received: from [62.77.163.226] by web40606.mail.yahoo.com via HTTP; Tue, 23 Dec 2003 17:41:05 GMT Date: Tue, 23 Dec 2003 17:41:05 +0000 (GMT) From: "=?iso-8859-1?q?Feroz=20F.=20Basir?=" To: Olaf Hoyer In-Reply-To: <20031223171623.J48498@gaff.hhhr.ision.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 17:41:06 -0000 HI again, Thank everybody for giving me some feedback. I got it to work at last. I created /etc/mail/service.switch and put "hosts files". Edit my sendmail.cf again and uncomment line to use service.switch file. wow lots of email being sent at once. # service switch file (name hardwired on Solaris, Ultrix, OSF/1, others) O ServiceSwitchFile=/etc/mail/service.switch # hosts file (normally /etc/hosts) O HostsFile=/etc/hosts Thank you again. --- Olaf Hoyer wrote: > 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) ________________________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html