----- Original Message ----- 
From: "Bowie Bailey" <[EMAIL PROTECTED]>
To: "Courier-Users (E-mail)" <[EMAIL PROTECTED]>
Sent: Monday, February 02, 2004 12:19 PM
Subject: RE: [courier-users] SMTP authentication


>
>
> > -----Original Message-----
> > From: Anand Buddhdev [mailto:[EMAIL PROTECTED]
> > Sent: Monday, February 02, 2004 1:15 PM
> > To: Bowie Bailey
> > Cc: Courier-Users (E-mail)
> > Subject: Re: [courier-users] SMTP authentication
> >
> >
> > On Mon, Feb 02, 2004 at 11:40:50AM -0500, Bowie Bailey wrote:
> >
> > > From: Matthew Wilson [mailto:[EMAIL PROTECTED]
> > > >
> > > > > Is it possible to set up Courier so that authenticated SMTP is
> > > > > required for everyone except one particular ip address?
> > > >
> > > > yes, add that address to /etc/courier/smtpaccess/default according
> > > > to the examples that you see there.
> > >
> > > The examples and man pages for smtpaccess don't mention anything
> > > about authentication.  I can block the ip, or allow it to relay.
> > > What setting would I use to allow it to connect without
> > > authentication?
> >
> > Add:
> >
> > 1.2.3.4<tab>allow,RELAYCLIENT
> >
> > That tells courier to allow that IP address to relay without
> > restriction, ie. no authentication required. It's not explicitly
> > stated in the man pages, it's implied.
>
> Yes, but I don't want it to relay, just connect for local delivery.
>
> Bowie
>
>

It seems that what you are looking for is something like thus:

!1.2.3.4<tab>deny,BLOCK

This could block all addresses accept for a certain allowed address.  I
wonder if relayclient entries are processed sequentially?  Thus the
following might work:

1.2.3.4<tab>allow
<tab>deny

I don't think this is implemented, give it a try.  Can someone verify this?




-------------------------------------------------------
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