Re: [Exim] Mysql Lookups

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Nico Erfurth
Data:  
Para: Dave Raven
CC: exim-users
Asunto: Re: [Exim] Mysql Lookups
Dave Raven wrote:
> Hi all,
>     I'm busy moving over to mysql from plain text files throughout
>     my exim config; and all has been going well but I cant seem
>     to figure out one problem.

>
>     I have a relay director; which calls this transport:

>
> mysql_trans:
> driver = smtp
> hosts = "mysql;SELECT ip FROM relays WHERE id='$domain';"


Try this
hosts = ${lookup mysql{SELECT ip FROM relays WHERE \
           id='${quote_mysql:$domain}'}{$value}}"


--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##