From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 07:46:26 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 9F2A216A4CE for ; Tue, 23 Dec 2003 07:46:26 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9969743D46 for ; Tue, 23 Dec 2003 07:46:23 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) hBNFkIWP037144 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 23 Dec 2003 15:46:19 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id hBNFkI8j037143; Tue, 23 Dec 2003 15:46:18 GMT (envelope-from matthew) Date: Tue, 23 Dec 2003 15:46:18 +0000 From: Matthew Seaman To: "Feroz F. Basir" Message-ID: <20031223154618.GC36128@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , "Feroz F. Basir" , freebsd questions References: <20031223152700.48275.qmail@web40612.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZwgA9U+XZDXt4+m+" Content-Disposition: inline In-Reply-To: <20031223152700.48275.qmail@web40612.mail.yahoo.com> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on happy-idiot-talk.infracaninophile.co.uk 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 15:46:26 -0000 --ZwgA9U+XZDXt4+m+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 23, 2003 at 03:27:00PM +0000, Feroz F. Basir wrote: > Hi, >=20 > Anybody ever setup "smart host" using sendmail before? > This is on fbsd4.9. I edit sendmail.cf file and edit > line: >=20 > 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')=20 and run 'make install restart-mta' =20 > 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.=20 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 --=20 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 --ZwgA9U+XZDXt4+m+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/6GNKdtESqEQa7a0RApXYAJ9uFj3lhZIaxVpkqqiZD3S+gBMj2gCfdIiB H7aiVQePlZ3vzNvUEkcivIY= =gHos -----END PGP SIGNATURE----- --ZwgA9U+XZDXt4+m+--