Unfortunately it's hard to get exim compiled. See http://www.directadmin.com/forum/sh...10229&perpage=20&highlight=exim&pagenumber=3.
DirectAdmin Support said:
Daank: the "cannot find -ldb" means you need to install the "db4-devel" rpm (or whatever version of db you have)
John
cp /etc/exim.conf /etc/exim.conf.keep
cp /etc/system_filter.exim /etc/system_filter.exim.keep
cp /etc/exim.pl /etc/exim.pl.keep
cp /usr/local/etc/rc.d/exim /usr/local/etc/rc.d/exim.keep
cd ~
fetch [url]ftp://ftp.eu.uu.net/pub/unix/mail/exim/exim/exim4/exim-4.63.tar.gz[/url]
tar xvzf exim-4.63.tar.gz
cd exim-4.63/Local
fetch [url]http://www.directadmin.com/Makefile[/url]
vi Makefile
#TLS_LIBS=-L/usr/local/openssl/lib -lssl -lcrypto
#TLS_INCLUDE=-I/usr/local/openssl/include/ -I/usr/kerberos/include
#EXTRALIBS=-static
pkg_delete `pkg_info | grep exim | awk '{ print $1 }'`
cd ..
make
make install
killall exim
rm /usr/sbin/exim
cp /usr/sbin/exim-4.63-1 /usr/sbin/exim
rm /usr/sbin/exim-4.63-1
chmod 4755 /usr/sbin/exim
cp /etc/exim.conf /etc/exim.conf.new
cp /etc/system_filter.exim /etc/system_filter.exim.new
cp /etc/exim.conf.keep /etc/exim.conf
cp /etc/system_filter.exim.keep /etc/system_filter.exim
cp /etc/exim.pl.keep /etc/exim.pl
cp /usr/local/etc/rc.d/exim.keep /usr/local/etc/rc.d/exim
/usr/local/etc/rc.d/exim restart
Recompile apache_2 and php_ap2.