[Exim] Re: Access to data yielded by lookup

Pàgina inicial
Delete this message
Reply to this message
Autor: Steven Ericsson-Zenith
Data:  
A: exim-users
Assumpte: [Exim] Re: Access to data yielded by lookup
Thank you for the responses regarding this question however
the variable $address_data does not appear to carry the
data from a lookup.

To review, the spec suggests that the data from a lookup
- and the case I am interested in is a PostgreSQL query -
is cached until after routing.

I would prefer to limit my authentication queries to one
transaction per message. The simplified example I gave:

        condition = ${lookup pgsql{select ...
        header_add = X-Aheader : $value


Clearly, $value does not carry the data but then nor does $0 ...

Perhaps, the spec suggests that the exact same query is guaranteed
to produce the identical results - if so, I would like to understand
this behavior.

Regards,
Steven