From owner-freebsd-questions@FreeBSD.ORG Thu Jul 31 02:03:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A61C91065674 for ; Thu, 31 Jul 2008 02:03:05 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 247AD8FC12 for ; Thu, 31 Jul 2008 02:03:04 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl151-101.kln.forthnet.gr [62.1.242.101]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id m6V22mXL013568 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 31 Jul 2008 05:02:57 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m6V22mY4082790; Thu, 31 Jul 2008 05:02:48 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m6V22kHa082789; Thu, 31 Jul 2008 05:02:46 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Tim Traver References: <4890BC1B.8040700@simplenet.com> <8763qnxat8.fsf@kobe.laptop> <4890FC24.1030806@simplenet.com> Date: Thu, 31 Jul 2008 05:02:46 +0300 In-Reply-To: <4890FC24.1030806@simplenet.com> (Tim Traver's message of "Wed, 30 Jul 2008 16:41:24 -0700") Message-ID: <87zlnyvmih.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m6V22mXL013568 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.008, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.39, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: sendmail base configuration X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2008 02:03:05 -0000 On Wed, 30 Jul 2008 16:41:24 -0700, Tim Traver wrote: > Giorgos Keramidas wrote: >> Set the `SMART_HOST' option in your `custom-sendmail.mc' file. That >> should do it. > > I tried that, and regenerated the cf files using "make all", and it > still wants to use the MX record of the based domain to send out mail > and I can't figure out why. > > The maillog entries show that it initially tries to use root@localhost > as a relay, which doesn't make sense... > > I'm baffled by its behavior at this point, and don't know how to solve > it... The default `freebsd.mc' that is distributed with the base system of FreeBSD is already properly set up to do what you described. I use a heavily customized version of `freebsd.mc', but most of my local changes are not necessary for using a SMART_HOST. Can you show me your `hostname.mc' and `*submit.mc' files? - Giorgos