Re: [Exim] Deny hosts - acl_smtp_connect

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Tim Jackson
Data:  
Para: exim-users
Asunto: Re: [Exim] Deny hosts - acl_smtp_connect
Hi Mumtaj, on Mon, 16 Feb 2004 16:44:46 +0000 you wrote:

> In exim 4, I am trying to use acl_smtp_connect to prevent spammers
> getting connected to my mail server.
> I also tried
>
> check_4_denyhosts:
>     deny hosts =  lsearch;/etc/denyhosts


The default at the end of ACLs is to deny. So the above rule reads like
this:

check_4_denyhosts:
deny hosts = lsearch;/etc/denyhosts
deny

What you need is this:

check_4_denyhosts:
deny hosts = lsearch;/etc/denyhosts
accept

so that anything not in /etc/denyhosts is accepted.

Hope that helps,

Tim