Re: [Exim] Obscure host list bug?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Richard Gilbert
Cc: exim-users
Asunto: Re: [Exim] Obscure host list bug?
On Fri, 4 Oct 2002, Richard Gilbert wrote:

> host_reject_recipients = ! *.gov.uk : *.biz


<snip>

> >>> IP address lookup yielded nccms01.lsdteam.co.uk
> >>> Alias nccms01.newcastle.gov.uk
> >>> Alias nccms01.newcastle-schools.org.uk
> >>> Alias nccms01.offshore-suppliers.com
> >>> host in host_reject? no (option unset)
> >>> host in host_reject_recipients? yes (! *.gov.uk)
> LOG: recipients from nccms01.lsdteam.co.uk [194.61.173.3] refused
>
> Note that this IP address has multiple names associated with it, one of
> which is in gov.uk. I assume that this is what is causing the confusion.


Yes, indeed. Exim is clever enough to check all the aliases, but not
clever enough to do the right thing when a negation is involved.

At least, I presume that most people would take that interpretation,
namely that

host_reject_recipients = !*.gov.uk

means "reject if no alias name matches *.gov.uk". What it currently
means is "reject unless all alias names match *.gov.uk" (I think - I'll
have to check).

Thanks for the report. Noted.


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