Re: ??: [Exim] host_lookup

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: sharun
Data:  
Para: Sergey Matveychuk
CC: exim-users
Assunto: Re: ??: [Exim] host_lookup
Sergey Matveychuk wrote:
> > You have some setting in your configuration that requires Exim to find a
> > host name for comparison. Run
> >
> > exim -bh 217.106.231.250
> >
> > to see what is going on.
>
> # exim -bh 217.106.231.250
> **** SMTP testing session as if from host 217.106.231.250
> **** Not for real!
>
> >>> host in host_lookup? no (option unset)
> >>> looking up host name for 217.106.231.250
> >>> IP address lookup failed
> >>> host in host_reject? yes (failed to find host name or lookup deferred)
> LOG: connection from [217.106.231.250] refused (failed to find host name
> from IP
> address)
> 554-contact postmaster@??? for details
> 554 SMTP service not available (failed to find host name from IP address)


Your solution (reject mail from hosts that does not have reverse) totally wrong.
Why? Ex: at least 1/4 of hotmail's emitters does not have in-addr.arpa records.

> Oops! host_reject is reason! I see now, I should remove my host_reject list
> if I want to receive mail from junk hosts.


No, you can fix this problem by this way:
host_reject = /usr/exim/tables/IP_CONN_REJ : +allow_unknown :\
             partial-lsearch;/usr/exim/tables/HOST_CONN_REJ


First file contains only slashed network addresses (presense of reverse zone
does not matter), second file contains FQDN's. +allow_unknown inserted between,
signalyze to accept mail from hosts without .in-addr.arpa records.

--
VVS56-RIPE