RE: [Exim] partial-mysql query question

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: John Robinson
CC: Exim Mailing List
Subject: RE: [Exim] partial-mysql query question
On Fri, 9 Aug 2002, John Robinson wrote:

> Ah. <fx: wonders> So how about...
>    ${lookup {<key>} partial-mysql {<query>} {<success>} {<fail>}}
> where <query> involves a reference to something like
> $exim_permutable_lookup_key (actually, preferably just $lookup_key),
> thereby making a single-key style lookup of the query-style lookup (in that
> Exim can permute the value of $lookup_key and perform multiple attempts as
> per single-key partial lookups currently)?


I was brooding about this over the weekend, and, surprise, surprise, I
arrived at exactly that syntax as a possible solution. I have Wishlisted
this.

> Incidentally, reading about the query-style lookup, the thing that confused
> me most was not being told how to refer to the value to look up when
> constructing the query! Then I twigged that you just use whatever exim
> variables you want.


I'll say just that in the next edition. Thanks.


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