From owner-freebsd-questions@FreeBSD.ORG Mon Dec 10 19:49:52 2007 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 84ED916A46C for ; Mon, 10 Dec 2007 19:49:52 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id 52A8E13C467 for ; Mon, 10 Dec 2007 19:49:52 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay11.apple.com (relay11.apple.com [17.128.113.48]) by mail-out3.apple.com (Postfix) with ESMTP id 163981ABC789; Mon, 10 Dec 2007 11:49:52 -0800 (PST) Received: from relay11.apple.com (unknown [127.0.0.1]) by relay11.apple.com (Symantec Mail Security) with ESMTP id E25822808A; Mon, 10 Dec 2007 11:49:51 -0800 (PST) X-AuditID: 11807130-a5e46bb000004fb9-9c-475d985f0ff0 Received: from cswiger1.apple.com (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay11.apple.com (Apple SCV relay) with ESMTP id CEDCA28086; Mon, 10 Dec 2007 11:49:51 -0800 (PST) Message-Id: <24B63B5B-74E3-4F5C-B0C4-D44EBF797966@mac.com> From: Chuck Swiger To: Aryeh Friedman In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Mon, 10 Dec 2007 11:49:51 -0800 References: X-Mailer: Apple Mail (2.915) X-Brightmail-Tracker: AAAAAA== Cc: "freebsd-questions@freebsd.org" Subject: Re: smart_host on sendmail min config 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: Mon, 10 Dec 2007 19:49:52 -0000 On Dec 10, 2007, at 11:40 AM, Aryeh Friedman wrote: > What else do I need to add to this to make it work (i.e. send all mail > via mx1.optonline.net): > > OSTYPE(`freebsd6')dnl > define(`SMART_HOST', `mx2.optonline.net')dnl Look at /etc/mail/freebsd.mc and edit the SMART_HOST line as above. (Note that you can copy freebsd.mc to hostname.mc and use the latter filename in order to avoid modifying the generic template file.) > btw shouldn't there be a frebsd7 or freebsd8 OSTYPE? (I run -current) There eventually will be, but there isn't likely to be a difference between the freebsd6.m4 file and a freebsd7.m4...nothing has changed which would affect sendmail. -- -Chuck