Re: [Exim] Possible host list bug

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: John Holman
Kopio: exim-users
Aihe: Re: [Exim] Possible host list bug
On Wed, 19 Jul 2000, John Holman wrote:

> We've noticed that mail from hosts with no reverse DNS registration is
> rejected by exim when there is a host_reject_recipients directive with the
> host list included from a file, even if the file contains only IP addresses.
> This doesn't happen if an IP address is specified explicitly as the option
> value. Prefixing with +allow_unknown does work, but my reading of the
> documentation suggests that shouldn't be necessary. The behaviour is present
> in exim 3.02 and 3.15.


Please quote your host_reject_recipients setting. I predict it is of the
form

host_reject_recipients = *.something : /the/file/of/ips

You should put the file first. (If this isn't the case, something odd is
happening.)

> Also, at least in test mode (exim -bh) it looks as if the DNS lookup is
> being performed twice, once initially (in response to host_lookups) and then
> again when the host list is evaluated. This doesn't seem very efficient!


This will happen with that kind of setting. It needs a host name, so it
tries to look one up.

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