Re: [Exim] I don't understand this from the doc

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: Chad Leigh, Pengar Enterprises, Inc & Shire.Net LLC
CC: exim-users
Temat: Re: [Exim] I don't understand this from the doc
On Fri, 13 Apr 2001, Chad Leigh, Pengar Enterprises, Inc & Shire.Net LLC wrote:

> host_reject = ! xxx.yy.zz : *.yy.zz : ! *.zz
>
> rejects mail from any host outside the zz domain, and all hosts in the
> yy.zz domain, except for xx.yy.zz. The use of wildcarded names implies a
> reverse DNS lookup of the incoming IP address. This can be avoided by using
> IP addresses. See section 7.13 for details.
> "
>
> Why does this "reject mail from any host outside the zz domain"?


Because, if a host list ends with a negative item, Exim behaves as if it
has ": *" on the end of it. This is done so that simple lists like

host_reject = ! *.zz

work the "natural" way, i.e. like

host_reject = ! *.zz : *


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