Re: [Exim] Exim + MySQL

Top Page
Delete this message
Reply to this message
Author: Brent Addis
Date:  
To: exim-users
CC: Ollie Cook
Subject: Re: [Exim] Exim + MySQL
On Thu, 21 Feb 2002, Philip Hazel wrote:

> On Thu, 21 Feb 2002, Brent Addis wrote:
>
> > I have hide mysql_servers = localhost/vmail/xxxx/xxxx in my exim.conf
> >
> > geb:/etc/exim# /usr/sbin/exim -bP|grep exim_path
> > exim_path = /usr/sbin/exim
> >
> > geb:/etc/exim# /usr/sbin/exim -bP|grep mysql
> > mysql_servers =
> >
> > geb:/etc/exim/exim-blah# ldd /usr/sbin/exim
> >         libident.so.0 => /usr/lib/libident.so.0 (0x4001a000)
> >         libpcre.so.3 => /usr/lib/libpcre.so.3 (0x4001d000)
> >         libnsl.so.1 => /lib/libnsl.so.1 (0x40026000)
> >         libcrypt.so.1 => /lib/libcrypt.so.1 (0x4003b000)
> >         libpam.so.0 => /lib/libpam.so.0 (0x40068000)
> >         libdb.so.2 => /lib/libdb.so.2 (0x40070000)
> >         libresolv.so.2 => /lib/libresolv.so.2 (0x4007e000)
> >         libmysqlclient.so.10 => /usr/lib/libmysqlclient.so.10 (0x4008f000)
> >         libc.so.6 => /lib/libc.so.6 (0x400c6000)
> >         libdl.so.2 => /lib/libdl.so.2 (0x401e8000)
> >         libz.so.1 => /usr/lib/libz.so.1 (0x401ec000)
> >         libm.so.6 => /lib/libm.so.6 (0x401fb000)
> >         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

> >
> > Ideas welcome :)
>
> 1. You have put "hide mysql_servers" in the wrong section of the config.

What section should it go into? Its presently in the transports section, I
wasnt sure where it should go.

>
> 2. You didn't actually show "/usr/sbin/exim -bP mysql_servers" when you
>    had it set in the config. Did you try this? If it works, then the failing
>    case must be because some other version of Exim is being called.

>

geb:/var/www/mp3/ftp/Mp3# /usr/sbin/exim -bP mysql_servers
LOG: 0 PANIC DIE
Exim configuration error
option "mysql_servers" unknown in line 208


I thought about that, but no.

geb:/# which exim
/usr/sbin/exim

geb:/var/www/mp3/ftp/Mp3# ldd /usr/sbin/exim
        libident.so.0 => /usr/lib/libident.so.0 (0x4001a000)
        libpcre.so.3 => /usr/lib/libpcre.so.3 (0x4001d000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40026000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x4003b000)
        libpam.so.0 => /lib/libpam.so.0 (0x40068000)
        libdb.so.2 => /lib/libdb.so.2 (0x40070000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x4007e000)
        libmysqlclient.so.10 => /usr/lib/libmysqlclient.so.10 (0x4008f000)
        libc.so.6 => /lib/libc.so.6 (0x400c6000)
        libdl.so.2 => /lib/libdl.so.2 (0x401e8000)
        libz.so.1 => /usr/lib/libz.so.1 (0x401ec000)
        libm.so.6 => /lib/libm.so.6 (0x401fb000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


libmysqlclient wasnt in the last compiled version, Ive checked that out
already.


> 3. Have you tried without the "hide"? (That feature was introduced at
>    Exim 3.20. If you are running an earlier version....)


Im running verion 3.34


Thanks :>

>
> --
> Philip Hazel            University of Cambridge Computing Service,
> ph10@???      Cambridge, England. Phone: +44 1223 334714.

>
>