Re: [Exim] More mySQL

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Chris Knipe
Date:  
À: Philip Hazel
CC: exim-users
Sujet: Re: [Exim] More mySQL
On Tue, 8 May 2001, Philip Hazel wrote:

> On Mon, 7 May 2001, Chris Knipe wrote:
>
> > However, the binary is only like 500kb, in comparison to the exim binary on
> > one of my RedHat machines, also with mySQL Support - the binary on RedHat is
> > almost 1.5MB...
>
> Check that there really is an MySQL library linked in there. There's
> some command which tells you what's in a binary, but I can never
> remember the name.


See previous post...

> > When I try to add my config mysql_servers =
> > localhost/database/user/password, exim complains that mysql_servers is a
> > unknown option. Thus, it does not have the mySQL support compiled in, even
> > when it was specified in the Makefile.
>
> That does suggest an incorrect binary. Have a look in the file config.h
> in the build directory, just to double check that it has got
>
> #define LOOKUP_MYSQL          yes

>
> in it. If not, try "make clean" and rebuild.



from config.h
<snip>
#define LOOKUP_DBM            yes
/* LOOKUP_DNSDB not set */
/* LOOKUP_LDAP not set */
#define LOOKUP_LSEARCH        yes
#define LOOKUP_MYSQL          yes
/* LOOKUP_NIS not set */
/* LOOKUP_NISPLUS not set */
</snip>


Rather parculiar....

--

Regards
Chris Knipe
Vardus PTY(LTD)
Systems Administrator