Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2008 03:54:40 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Doug Poland <doug@polands.org>
Cc:        questions@freebsd.org
Subject:   Re: Best practice:  sendmail and SMTP auth
Message-ID:  <20080313015440.GA2388@kobe.laptop>
In-Reply-To: <9587.208.49.58.254.1205349581.squirrel@email.polands.org>
References:  <9587.208.49.58.254.1205349581.squirrel@email.polands.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2008-03-12 14:19, Doug Poland <doug@polands.org> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080313015440.GA2388>