Re: [Exim] Databases + Exim

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Odhiambo G. Washington
Datum:  
To: exim-users
CC: Exim Users
Betreff: 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