> -----Original Message-----
> From: Gordon Messmer [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 02, 2004 1:58 PM
> To: Bowie Bailey
> Cc: Courier-Users
> Subject: Re: [courier-users] SMTP authentication
> 
> 
> Matthew Wilson wrote:
> >>
> >> So...
> >> - The filtering server should be able to connect without
> >>   authentication
> >> - The filtering server should NOT be able to relay
> >> - Everyone else should be required to authenticate
> > 
> > It sounds like the mail from the filtering server will all be
> > destined for your user server, so you should not need any special
> > setup.  Courier will accept mail for addresses that it is configured
> > to accept mail for.  Just don't put your user server in DNS as an
> > MX, that's easy.
> 
> And if you're paranoid about enforcing this, the default configuration
> files /explicitly/ state that it's possible to do so.  Quoted:
> 
> > # Set AUTH_REQUIRED to 1 in order to force the client to use ESMTP
> > # authentication.  You can override AUTH_REQUIRED on a 
> > per-IP address basis
> > # using smtpaccess.  See makesmtpaccess(8).
> 
> So, set AUTH_REQUIRED to 1 in esmtpd and then add a line in
> smtpaccess/default like so:
> 
> 192.168.12.12 AUTH_REQUIRED=0

Perfect, thanks!

The default config says that it is possible to override it and says "See
makesmtpaccess(8)".  However, the man page for makesmtpaccess does not
mention the AUTH_REQUIRED setting, just an easily-missed note:

     "the generic format of the access file allows arbitrary environment
      variables to be set"

So unless you realize that AUTH_REQUIRED is one of these environment
variables, you don't know what to do.  Perhaps a bit more explanation
should be put in either the config file or the man page.

Bowie


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to