From owner-freebsd-questions@FreeBSD.ORG Wed Jul 30 22:33:39 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 3649C1065688 for ; Wed, 30 Jul 2008 22:33:39 +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 93A138FC20 for ; Wed, 30 Jul 2008 22:33:38 +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 m6UMWbMO032059 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 31 Jul 2008 01:32:44 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m6UMWbas079687; Thu, 31 Jul 2008 01:32:37 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m6UMWamo079686; Thu, 31 Jul 2008 01:32:36 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Tim Traver References: <4890BC1B.8040700@simplenet.com> Date: Thu, 31 Jul 2008 01:32:35 +0300 In-Reply-To: <4890BC1B.8040700@simplenet.com> (Tim Traver's message of "Wed, 30 Jul 2008 12:08:11 -0700") Message-ID: <8763qnxat8.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: m6UMWbMO032059 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: bsd 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: Wed, 30 Jul 2008 22:33:39 -0000 On Wed, 30 Jul 2008 12:08:11 -0700, Tim Traver wrote: > Hi all, > > I know this isn't exactly the right place for a sendmail question, but > it has to do with the system configuration, and I'm trying to find > some help to create a relatively simple solution (I think)... > > ok, here is what I want to do, which I have done in the past, but now > it doesn't seem to be working... > > I simply want any submitted email using sendmail to be relayed to > another mta for distribution. I want this to happen both from > submitted mail from the command line, and from any queues, if the mail > is submitted to the running daemon. Set the `SMART_HOST' option in your `custom-sendmail.mc' file. That should do it. > I use FreeBSD 7.0, and all of the configuration is in /etc/mail/. From > what I understand, if I simply set the DS variable to a hostname, it > is supposed to use that as the smart relay host, but it is not > working. For some reason, it is ignoring that hostname, and attempting > to contact the MX record host for the domain name of the machine, > which is really weird. You are not manually editing sendmail.cf, right?