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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-users
Sujet: 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