Re: [Exim] when does address_data get eval?

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Sven Huster
CC: exim-users
Subject: Re: [Exim] when does address_data get eval?
On Thu, 21 Mar 2002, Sven Huster wrote:

> thanks for that one.
> i am quite new to exim so sorry for not RTFM completely.


No problem. Nobody ever does. I just like to point out now and again
that I do document most things. :-)

> but could i use it then in subsequent routers or does the same restriction
> apply there?


Once it's set, it remains set until another router reset is, so the
answer to your question is "yes". I hadn't thought of this, but I
suppose you could always do

dummy_to_set_address_data:
driver = redirect
address_data = some string you want to expand
data =

and then use $address_data in the following routers. (That one will
always decline, because data is set to an empty string.) I haven't
tested this, but it ought to work.


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