Re: [exim] Different MySQL connections for different jobs

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: W B Hacker
CC: exim users
Temat: Re: [exim] Different MySQL connections for different jobs
On Tue, 5 Sep 2006, W B Hacker wrote:

> Wonder what happens with present code if one were to have a
>
> 'hide mysql_servers..'
>
> AND a
>
> 'hide pgsql_servers...'
>
> (or other, different RDBMS...)


Nothing special. I build test Exims with

LOOKUP_CDB=yes
LOOKUP_DBM=yes
LOOKUP_DNSDB=yes
LOOKUP_DSEARCH=yes
LOOKUP_LDAP=yes
LOOKUP_LSEARCH=yes
LOOKUP_MYSQL=yes
LOOKUP_PASSWD=yes
LOOKUP_PGSQL=yes
LOOKUP_SQLITE=yes
LOOKUP_TESTDB=yes

I haven't actually tried setting both mysql_servers and pgsql_servers in
the same config, but there's no reason why it won't work. Remember, each
search query names the DBMS that is is trying to use.


-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book