[exim] Finally got MYSQL working with Cpanel version of Exim…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Terry Benge
Date:  
À: exim-users
Sujet: [exim] Finally got MYSQL working with Cpanel version of Exim 4.52
Finally solved the issue. It required two patches to be applied the SRC rpm
before doing the make and make install.

exim-4.52-maildir_quota.patch
exim-transport_filter_timeout-4.51.patch

e.g. cd to the directory the src rpm extracted to.

#patch -p1</eximdistro/exim-4.52-maildir_quota.patch
#patch -p1</eximdistro/exim-transport_filter_timeout-4.51.patch


In addition the the folowing lines being to the makefile copied to the
Local/ dir of the distro.

LOOKUP_MYSQL=yes

LOOKUP_INCLUDE=-I/usr/include/mysql/
LOOKUP_LIBS=-L/usr/lib -L/usr/lib/mysql -lmysqlclient

NB: You need the mysql library on your server.

Also worth noting that you need to prevent the Cpanel auto update
overwriting your new config.
You do this by just creating the file /etc/eximupdisable

#touch /etc/eximupdisable

Terry
________________________________________
 
www.ansa-me.com - Use Autoresponders to improve your membership signups by
up to 400%


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.0/366 - Release Date: 15/06/2006