Re: [exim] IPv6 address comparison, and callout vs VRFY

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: David Woodhouse
CC: exim-users, Wouter Verhelst
Sujet: Re: [exim] IPv6 address comparison, and callout vs VRFY
On Fri, 19 Nov 2004, David Woodhouse wrote:

> > The point is that if I did that, it would be incompatible with host
> > lists as used elsewhere, where you can use either a name or an IP
> > address. It would be a huge gotcha.
>
> When can you use a name? I don't think I've seen that.


hosts = a.b.c.d : *.b.c.d : mysql;...$sender_host_name...

for instance (where a, b, c and d are names, not numbers :-).

> >    ${if match_host{$sender_host_address}{*.a.b.c:1.2.3.4}...

>
> It would presumably have to look up all the records for the name in
> question and match _each_ against the numbers.


It can't do that for name patterns like *.b.c.d. See section 10.13,
which documents how it handles host names in host lists.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book