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



-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to