Re: [Exim] Opinions sought: Exim and MYSQL

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Adrian J Bool
CC: Georg v. Zezschwitz, exim-users, pkelly
Assunto: Re: [Exim] Opinions sought: Exim and MYSQL
On Mon, 12 Jul 1999, Adrian J Bool wrote:

> We use both Oracle & MySQL here for differenet purposes, and it would be
> nice to have access to both in the same exim config.


Yes, I thought of this one just after I hit the "send" button to reply
to Nigel's message.

> > mysql_servers= host1/user1/pass1/db1 : host2/user2/pass2/db2 : ...
>
> my_mysql_database:
> driver = mysql
> host = host1/user1/pass1/db1
> host = host2/user2/pass2/db2
>
> my_oracle_databse:
> driver = oracle
> host = host2/user1/pass1/db1
> host = host3/user2/pass2/db2


> Does that fit in at all with exim internally?


No, that is an entirely new kind of configuration entity. Using a single
colon-separated string, in the way I suggested, fits in with current
practice. If/when oracle support is added, you would get a new option
called oracle_servers with its own list of server data.


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.