Re: [Exim] Databases + Exim

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Odhiambo G. Washington
Data:  
Para: exim-users
CC: Exim Users
Assunto: Re: [Exim] Databases + Exim
* Sander Smeenk <ssmeenk@???> [20020819 16:17]: wrote:
> Hi,
>
> It seems to me that configuring Exim 4 in combination with databases is
> kind of under-documented. I can't seem to find any information on how to
> set up and *use* the lookups.
>
> f.e. I have
>
> | hide pgsql_servers = localhost/blah/blah/blah
>
> and
>
> | domainlist local_domains = @ : \
> |     @[] : \
> |     localhost : \
> |     cipher.lin-gen.com : \
> |     ${lookup pgsql{select name from exim_local_domains}{$value}}



Try this

cipher.lin-gen.com : ${lookup pgsql{select name from exim_local_domains where name = '$domain'}}


-Wash

--
Odhiambo Washington   <wash@???>  "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com      Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922         so I installed FreeBSD."
GSM: +254 72 743223   +254 733 744121       This sig is McQ!  :-)



    No violence, gentlemen -- no violence, I beg of you! Consider
the furniture!
        -- Sherlock Holmes