Re: [Exim] SMTP AUTH/RBL

Top Page
Delete this message
Reply to this message
Author: Giuliano Gavazzi
Date:  
To: Johnson, Michael [IT], exim-users
Subject: Re: [Exim] SMTP AUTH/RBL
At 18:16 -0400 2003/09/27, Johnson, Michael [IT] wrote:
>Hey Guys,
>    This is somewhat related to my past issue with rbl list and
>relaying. Basically I moved

>
>   accept  hosts = +auth_relay_hosts
>           endpass
>           message = Authentication is required to relay.
>           authenticated = *

>
>above my rbl checks so that if a user is authenticated he will be able to
>relay even if his host is in the rbl list. Now servers trying to send me
>email get the Authentication is required message.
>
>Any help would be appreicated. Thanks


because the accept + endpass will deny if the first part is true and
the second is false. So, for a host that is auth_relay_hosts but that
does not authenticate will get this message (if I understand well,
and they get the message from THIS acl statement).
The point is that the accept+endpass is not appropriate in this
situation: you should just have an accept:

   accept  hosts = +auth_relay_hosts
           authenticated = *


and have the no relay message at the last deny of the rcpt acl.

Giuliano