Re: [exim] A couple autoreply+database questions

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Marc Sherman
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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