From owner-freebsd-questions@FreeBSD.ORG Mon Dec 10 21:43:44 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 D718116A418 for ; Mon, 10 Dec 2007 21:43:44 +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 51E4913C457 for ; Mon, 10 Dec 2007 21:43:43 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (vader.bytemobile-rio.ondsl.gr [83.235.57.37]) (authenticated bits=128) by igloo.linux.gr (8.14.1/8.14.1/Debian-9) with ESMTP id lBALh0RW026254 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 10 Dec 2007 23:43:26 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id lBALgtR8008688; Mon, 10 Dec 2007 23:42:55 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id lBALgsbj008687; Mon, 10 Dec 2007 23:42:54 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 10 Dec 2007 23:42:54 +0200 From: Giorgos Keramidas To: "Aryeh M. Friedman" Message-ID: <20071210214254.GA8185@kobe.laptop> References: <24B63B5B-74E3-4F5C-B0C4-D44EBF797966@mac.com> <475D5670.1030207@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <475D5670.1030207@gmail.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.999, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.40, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No 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 21:43:44 -0000 On 2007-12-10 15:08, "Aryeh M. Friedman" wrote: >Chuck Swiger wrote: >>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.) > > Just tried that the ISP just eats a test message (to the addr I am > sending this from) but a direct telnet to port 25 on the smart host > works fine If a direct telnet to port 25 works, then SMART_HOST should work too. Can you grab log messages from `/var/log/maillog', and post them?