Re: [Exim] host_accept_relay not working.

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Kevin P. Fleming
Date:  
À: exim-users
Sujet: Re: [Exim] host_accept_relay not working.
Jason C. Leach wrote:

> host_accept_relays = x.y.z.w : *.myDomain.com : a.b.c.d : 192.168.0.0/24
>
> and
>
> host_lookup = !192.168.0.0/24 : 0.0.0.0/0
>
> But all 192.168.0.x IPs are looked up, so I have had to add them ALL to
> the /etc/hosts file. Any ideas why?


Yes, having "*.myDomain.com" in host_accept_relays means Exim has to do
a reverse lookup to see if the incoming connection is from a matching
host. If you want your 192.168.0.0/24 hosts to bypass this lookup, make
sure they are listed everywhere _before_ any reverse-lookup-name patterns.