From owner-freebsd-questions@FreeBSD.ORG Thu Mar 13 02:04:56 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2136106566C for ; Thu, 13 Mar 2008 02:04:56 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from mx-out-01.forthnet.gr (mx-out.forthnet.gr [193.92.150.104]) by mx1.freebsd.org (Postfix) with ESMTP id 45B6C8FC22 for ; Thu, 13 Mar 2008 02:04:56 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from mx-av-04.forthnet.gr (mx-av.forthnet.gr [193.92.150.27]) by mx-out-01.forthnet.gr (8.13.8/8.13.8) with ESMTP id m2D1snXP006799; Thu, 13 Mar 2008 03:54:49 +0200 Received: from MX-IN-02.forthnet.gr (mx-in-02.forthnet.gr [193.92.150.185]) by mx-av-04.forthnet.gr (8.14.1/8.14.1) with ESMTP id m2D1smKB029155; Thu, 13 Mar 2008 03:54:48 +0200 Received: from kobe.laptop (adsl85-95.kln.forthnet.gr [77.49.52.95]) by MX-IN-02.forthnet.gr (8.14.2/8.14.2) with ESMTP id m2D1seik009922; Thu, 13 Mar 2008 03:54:42 +0200 Authentication-Results: MX-IN-02.forthnet.gr smtp.mail=keramida@ceid.upatras.gr; spf=neutral Authentication-Results: MX-IN-02.forthnet.gr header.from=keramida@ceid.upatras.gr; sender-id=neutral Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m2D1sesX002439; Thu, 13 Mar 2008 03:54:40 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m2D1seAv002438; Thu, 13 Mar 2008 03:54:40 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 13 Mar 2008 03:54:40 +0200 From: Giorgos Keramidas To: Doug Poland Message-ID: <20080313015440.GA2388@kobe.laptop> References: <9587.208.49.58.254.1205349581.squirrel@email.polands.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9587.208.49.58.254.1205349581.squirrel@email.polands.org> Cc: questions@freebsd.org Subject: Re: Best practice: sendmail and SMTP auth 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: Thu, 13 Mar 2008 02:04:56 -0000 On 2008-03-12 14:19, Doug Poland wrote: > Hello, > Not sure if this is the most appropriate place for this > question, but since all my servers are FreeBSD 6.x/7.x, I'll > give it a go... > > I am considering setting up SMTP auth on a number of sendmail > instances that I control. After much googling and reading, it > is not clear to me that a server with SMTP auth > configured/enabled can relay mail in both auth and non-auth > modes. > > If one sendmail configuration cannot accommodate both SMTP auth > and access.db, does one setup a dedicated SMTP auth host with a > SMART_HOST option and feed incoming email to an non-auth > instance of sendmail? Sure it can. One of the ways to do something like this is: [1] Configure Sendmail to *require* authentication when one connects to its `submission' port (TCP port 587), and keep using /etc/mail/access for the default listener of the `smtp' port (TCP port 25). [2] Then you can configure your `trusted' clients to connect through port 587, and let everyone else keep using port 25.