From owner-freebsd-questions@FreeBSD.ORG Wed Feb 11 10:49:06 2004 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 6914A16A4CE for ; Wed, 11 Feb 2004 10:49:06 -0800 (PST) Received: from smtpout.mac.com (A17-250-248-89.apple.com [17.250.248.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B4E843D1F for ; Wed, 11 Feb 2004 10:49:06 -0800 (PST) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id i1BIn6tm028833; Wed, 11 Feb 2004 10:49:06 -0800 (PST) Received: from [10.1.1.193] (nfw2.codefab.com [66.234.138.66]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 3.0) with ESMTP id i1BIn5VB019149; Wed, 11 Feb 2004 10:49:05 -0800 (PST) In-Reply-To: <20040211135242.GA20093@teddy.fas.com> References: <20040211135242.GA20093@teddy.fas.com> Mime-Version: 1.0 (Apple Message framework v612) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Wed, 11 Feb 2004 13:49:05 -0500 To: stan X-Mailer: Apple Mail (2.612) cc: Free BSD Questions list Subject: Re: sendmail confi help 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: Wed, 11 Feb 2004 18:49:06 -0000 On Feb 11, 2004, at 8:52 AM, stan wrote: > How can I configure FreeBSD's default sendmail to work like this: > > If the message is for domain1 or domain2, deliver directly. > If not, use a smarthost You also need to add domain1 and domain2 to /etc/mail/local-host-names. Then do a "make restart" in /etc/mail to rebuild the .cf file and restart sendmail with the new config, and see whether that does what you want... -- -Chuck