Re: [exim] Hints needed to run forwarded messages through a …

Pàgina inicial
Delete this message
Reply to this message
Autor: Marc Sherman
Data:  
A: exim-users
Assumpte: Re: [exim] Hints needed to run forwarded messages through a pipe
David S. Madole wrote:
>
> I do an extensive amount of message processing based on database
> content, and one thing that works well for me is to have a dummy
> router early in the chain that does the database lookup and populates
> $address_data with everything that will be needed later, with the
> individual fields accessible through ${extract ...}. It can save a
> lot of ad-hoc database lookups scattered all over the configuration.
>
> Mine looks like this:
>
> lookup:
>
> driver = redirect
> data = ""
> address_data = ${lookup mysql { select userid, domain, mailto, ....

} {$value} }

Does address_data still get set even if the router declines because of
the blank data?

- Marc