Re: [exim] mysql_servers from config file?

Etusivu
Poista viesti
Vastaa
Lähettäjä: Peter Bowyer
Päiväys:  
Vastaanottaja: Exim Users Mailing List
Aihe: Re: [exim] mysql_servers from config file?
On 13/05/05, John R. Shearer <exim@???> wrote:
> Greetings! I am trying to use Exim's MySQL interface for the first time and
> have already run into a little speed bump. I need to be able to collect the
> MySQL server name, database name, username and password from an external
> configuration file, but can't get it to work.
>
> I'm running Exim version 4.50 from the binary package exim4-daemon-heavy on
> Debian GNU/Linux 3.1 "Sarge".
>
> Here's the relevant section from exim4.conf...
>
>  CLUSTER_CONFIG=/etc/puremail/cluster.conf
>  hide mysql_servers = \
>     ${lookup{HOST}lsearch{CLUSTER_CONFIG}}\
>    /${lookup{DB_MAIN}lsearch{CLUSTER_CONFIG}}\
>    /${lookup{USER}lsearch{CLUSTER_CONFIG}}\
>    /${lookup{PASSWORD}lsearch{CLUSTER_CONFIG}}


mysql_servers is not an expanded string - so Exim is trying to
interpret your expression literally.

Peter

---
Peter Bowyer
Email: peter@???
Tel: +44 1296 768003
VoIP: sip:peter@???