Re: [exim] saving variables

Pàgina inicial
Delete this message
Reply to this message
Autor: Mark Hynes
Data:  
A: Rainer Sigl
CC: exim-users
Assumpte: Re: [exim] saving variables
Rainer Sigl wrote:
> Hi all,
> I would like to save the content of $local_part into another variable
> that I can use the orignal value later. How to do this?
>
> my configuration is:
>
> lists:
>         driver = redirect
> # allow_fail
>       local_save=$local_part      ????????????????????? this doesn't 
> work??????????????????????
>         data = ${lookup pgsql{select process_list('$local_part','$domain')}}
>         errors_to = ${lookup pgsql {select owner || '@mpe.mpg.de' from 
> lists where alias='$local_save'}{$value}}


You could use address_data for this:

http://www.exim.org/exim-html-4.50/doc/html/spec_15.html#IX1560