Re: [exim] Saving roundtrips to MySQL by storing previous re…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jeremy Harris
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Saving roundtrips to MySQL by storing previous results in ACL variables
On 04/28/2010 04:47 PM, Ron White wrote:
> SELECT email,usertype,inbound,outbound FROM mailusers WHERE
> email='${quote_mysql:$local_part}@${quote_mysql:$domain}';


Certainly. I do just that (with pgsql or ldap, depending). Bung it
all into a single acl_m_foo variable - you can have named ones
as well as the numbered ones these days. Pull apart later as
needed using ${extract.

Cheers,
     Jeremy