Re: [exim] A couple autoreply+database questions

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Marc Sherman
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] A couple autoreply+database questions
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