Casey Allen Shobe wrote: > > This whole ordeal ends up as 4 SQL queries hitting the PostgreSQL > server. I'd rather do one query in the router and pass the necessary > values into the transport somehow, or if that's not possible, then > consolidate the queries in the transport at least. I'm not sure how > to go about doing that.
I can't help in any detail, but take a look moving the SQL query to the address_data option on the router, and then parsing the various details you need out of $address_data in the router and transport. - 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/
