From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 08:00:19 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 205AD16A4CE for ; Tue, 23 Dec 2003 08:00:19 -0800 (PST) Received: from web40609.mail.yahoo.com (web40609.mail.yahoo.com [66.218.78.146]) by mx1.FreeBSD.org (Postfix) with SMTP id C181643D3F for ; Tue, 23 Dec 2003 08:00:17 -0800 (PST) (envelope-from dbase77@yahoo.com) Message-ID: <20031223160016.34726.qmail@web40609.mail.yahoo.com> Received: from [62.77.163.226] by web40609.mail.yahoo.com via HTTP; Tue, 23 Dec 2003 16:00:16 GMT Date: Tue, 23 Dec 2003 16:00:16 +0000 (GMT) From: "=?iso-8859-1?q?Feroz=20F.=20Basir?=" To: Matthew Seaman In-Reply-To: <20031223154618.GC36128@happy-idiot-talk.infracaninophile.co.uk> 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 16:00:19 -0000 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? Thank you. --- Matthew Seaman wrote: > On Tue, Dec 23, 2003 at 03:27:00PM +0000, Feroz F. > Basir wrote: > > Hi, > > > > Anybody ever setup "smart host" using sendmail > before? > > This is on fbsd4.9. I edit sendmail.cf file and > edit > > line: > > > > DSmail.domain.com > > It's better to edit the `hostname`.mc file and then > process that into > a sendmail.cf otherwise you run the risk of > overwriting your > customized .cf file when you do a > {build,install}world cycle. > > Just change the line: > > dnl define(`SMART_HOST', `your.isp.mail.server') > > into > > define(`SMART_HOST', `mail.domain.com') > > and run 'make install restart-mta' > > > Restart sendmail and nothing happen. I keep > getting > > (host map: lookup (domain.com): deferred) error. > Do I > > need to do anything? I try on other unix system > and I > > got it to work. Very strange. I want my main smtp > > server send the email from fbsd box. > > You've changed the sendmail config just fine. What > you need to do now > is investigate why your machine isn't finding > 'mail.domain.com' in the > DNS. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. > 26 The Paddocks > > Savill Way > PGP: http://www.infracaninophile.co.uk/pgpkey > Marlow > Tel: +44 1628 476614 > Bucks., SL7 1TH UK > > ATTACHMENT part 2 application/pgp-signature ________________________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html