From owner-freebsd-questions@FreeBSD.ORG Tue Dec 11 13:33:25 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 3A53F16A41A for ; Tue, 11 Dec 2007 13:33:25 +0000 (UTC) (envelope-from daniel_k_eriksson@telia.com) Received: from pne-smtpout2-sn2.hy.skanova.net (pne-smtpout2-sn2.hy.skanova.net [81.228.8.164]) by mx1.freebsd.org (Postfix) with ESMTP id 0B76E13C467 for ; Tue, 11 Dec 2007 13:33:24 +0000 (UTC) (envelope-from daniel_k_eriksson@telia.com) Received: from royal64.emp.zapto.org (195.198.193.104) by pne-smtpout2-sn2.hy.skanova.net (7.3.129) id 475543E4002400F3; Tue, 11 Dec 2007 13:24:13 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5.7235.2 Date: Tue, 11 Dec 2007 13:23:17 +0100 Message-ID: <4F9C9299A10AE74E89EA580D14AA10A61A1865@royal64.emp.zapto.org> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: smart_host on sendmail min config Thread-Index: Acg7ZOQU4dUCcg7DQQ2L5uTMVxsifAAismkg References: From: "Daniel Eriksson" To: Cc: Aryeh Friedman 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: Tue, 11 Dec 2007 13:33:25 -0000 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): If your hostname is myhostname.mydomain.tld, then do the following: * cd /etc/mail * make all * edit myhostname.mydomain.tld.mc (it was created by the previous step) and change the smart host line like you already have done: define(`SMART_HOST', `mx2.optonline.net')dnl * make all install restart * try to send mail again /Daniel Eriksson