Re: [Exim] "@@" mechanism in a ${lookup } command

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: Marcin Owsiany
CC: exim-users
Temat: Re: [Exim] "@@" mechanism in a ${lookup } command
On Fri, 2 Aug 2002, Marcin Owsiany wrote:

> But dbm;/some/list.dbm is quite different from @@dbm;/some/list.dbm


Indeed, but the @@ syntax applies only for that kind of lookup when it
appears in an address list. The @@ flag characters are part of the
address list syntax, causing the lookup to be used in a special way.

In expanded strings, all that is available are single lookups. If you
want a similar effect to @@ in an address list, you have to code it
explicitly (as you managed to do).

> The first one only looks up a value for a key (domain), and the second
> one also looks for the local part in the value.


Not quite. In an address list, the first can also look up complete
addresses.

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