Re: [exim] match_domain and named list with query style look…

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: 'Exim-users'
Assumpte: Re: [exim] match_domain and named list with query style lookup
On Mon, 23 Oct 2006, Jakob Hirsch wrote:

> according to the spec, match_domain can be used with named domain lists,
> like "${if match_domain{$domain}{+local_domains}{..."
> But what happens, if the named list has a query style lookup, like
>
> > domainlist virtual_domains = mysql;SELECT name FROM domain WHERE name='${quote_mysql:$domain}'
>
> This should always work, as the spec also says: "... , whenever a domain
> list is being scanned, $domain contains the subject domain."


I think I have found the bug that you have identified here. I have
committed a patch, so the fix will be in tonight's snapshot.

Philip

--
Philip Hazel, University of Cambridge Computing Service.