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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jeremy Harris
Dátum:  
Címzett: exim-users
Tárgy: 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