Re: [Exim] authenticated hosts + sbl-xbl

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Stephen Gran
Date:  
À: exim-users
Sujet: Re: [Exim] authenticated hosts + sbl-xbl
On Wed, Jun 23, 2004 at 02:43:28PM +0100, Peter McEvoy said:
> Hi,
> I'm using exim 4.30 on debian sarge, I have a line in my check_recipient
> acl for sbl-xbl.spamhaus.org which seems to be working well. Only
> problem is I have smtp auth for certain users to avoid problems with
> having to use their isps mailservers, unfortunately some of these isps
> are listed in the sbl-xbl and consequently some of my authenticated users
> are rejected. Could anyone recommend how I could safely change the acl to
> not check users who are authenticated.
>
> check_recipient:
> accept  hosts = :
> deny    hosts = +rbl_hosts
>     message = host is listed in $dnslist_domain
>     dnslists = sbl-xbl.spamhaus.org
> require verify = sender
> deny    message = unrouteable address
>     !verify = recipient
> accept  domains = +local_domains
> accept  domains = +relay_domains
> accept  hosts = +auth_relay_hosts
>     endpass
>     message = authentication required
>     authenticated = *
> deny    message = relay not permitted


Move the accept hosts = +auth_relay_hosts acl to the first place - that
will skip the other checks if they authenticate.

--
--------------------------------------------------------------------------
|  Stephen Gran                  | Remember: use logout to logout.         |
|  steve@???             |                                         |
|  http://www.lobefin.net/~steve |                                         |

--------------------------------------------------------------------------