Re: [exim] domainlist & mysql

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Peter Bowyer
Data:  
Para: Wakko Warner, Stephen Gran
CC: exim-users
Asunto: Re: [exim] domainlist & mysql
Wakko Warner <wakko@???> wrote:
>
> No problem. I had asked about it before. Still wish I could do the
> entire query in SQL instead of doing the $sg trick.


The $sg trick is only necessary if you need to construct a colon-separated
list from an arbitrary set of string arguments. If you just need a simple
MySQL (or other) lookup, you should use the in-built facility:

domainlist name = mysql;select 1 from domaintable where
domaincolumn='${quote_mysql:$domain}'


Peter