Re: [Exim] Lookup in flat file failing

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: Martin Bialasinski
CC: Exim
Betreff: Re: [Exim] Lookup in flat file failing
On 8 Dec 2000, Martin Bialasinski wrote:

> # grep host_reject /etc/exim.conf
> host_reject_recipients = +allow_unknown:/etc/exim/blacklist
>
> # grep 195.65.227.21 /etc/exim/blacklist
> 195.65.227.21
>
> # exim -bh 195.65.227.21
>
> **** SMTP testing session as if from host 195.65.227.21
> **** Not for real!
>
> >>> host in host_lookup? yes (0.0.0.0/0)
> >>> looking up host name for 195.65.227.21
> >>> IP address lookup failed
> >>> host in host_reject? no (option unset)
>
> I don't quite understand why this fails.


It's nothing to do with your flat file. Because host_lookup matches the
calling host's IP address, Exim is doing a reverse DNS lookup to find
the host's name. It is this lookup that is failing. That is not a
problem unless Exim needs the host name. It goes on to check host_reject
(which you haven't set). You haven't quoted any more of the output ...
what it should next say is a test of host_reject_recipients. The output
of *that* test is what matters.



-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.