dovecot and exim problems after Da install

Now you need to type this:

mv /etc/init.d/exim /usr/sbin/exim
wget -O /etc/init.d/exim "http://files.directadmin.com/services/custombuild/exim"
chmod 755 /etc/init.d/exim
/etc/init.d/exim restart
 
DirectAdmin is NOT looking for exim at /etc/init.d/exim.

The file at /etc/init.d/exim should be a start/stop script.

Did you get your license from DirectAdmin, or included from your Data Center, or from somewhere else?

If you got your license from DirectAdmin they should be willing to reinstall it for you; you can contact them here. If not, and if you've not yet installed any users, then I can reinstall DirectAdmin over your current system for you. There would be charge. But it would be a properly installed system when I'm done. If you'd like, contact me at the email address below, in my siglines.

Jeff
 
I've copied the new exim script from the link you gave me, but now it says:
/etc/init.d/exim: line 10: /etc/rc.d/init.d/functions: No such file or directory

meanwhile dovecot has the same issue.
 
I've edited /etc/init.d/exim and changed line 10 from
/etc/rc.d/init.d/functions
to
/etc/init.d/functions
now it can't find /etc/sysconfig/network:mad:
 
I solved my dovecot problem,
apt-get --purge remove dovecot-common dovecot-imapd dovecot-pop3d
cd /usr/local/directadmin/custombuild
./build dovecot d

I hope this helps anyone with the same problem.

Now I wish I could do the same with exim. Anyone know a way to remove exim and make DA build a new one?
 
Hello everyone,
I finally managed to fix exim as well. After installing exim from the da binary at
http://files.directadmin.com/services/debian_5.0/da_exim-4.69.deb
it gave an error, but it created the correct file in /etc/init.d/exim
i then removed it the just installed exim
dpkg -i da_exim-4.69
then followed the instructions from http://help.directadmin.com/item.php?id=125
NOTE! if you tried this many times, the line that says:
cp -f /usr/sbin/exim-4.72-1 /usr/sbin/exim
should be, in my case :
cp -f /usr/sbin/exim-4.72-9 /usr/sbin/exim
That's it.

Thank you scsi for your extensive help.
 
Perhaps I'm misunderstanding something you wrote.

But...

DirectAdmin expects you to use both Dovecot and Exim as installed by the DirectAdmin installation. It appears you may not be doing that.

If it works for you, then all is good as long as it works, but it's not something supported by DirectAdmin.

Jeff
 
Hello,

I just finished installing DA on a new server. Everything works, except dovecot and exim.
Initially, dovecot returned this error when starting:
Error: Error in configuration file /etc/dovecot/dovecot.conf line 716: Unknown protocol name (section changed in /etc/dovecot/dovecot.conf at line 710)
Fatal: Invalid configuration in /etc/dovecot/dovecot.conf

I commented the empty function (protocol ManageSieve). Didn't work. I reinstalled dovecot and not in the error logs it says:

Nov 18 19:24:01 grumpy dovecot[31138]: dovecot: Fatal: Auth process died too early - shutting down
Nov 18 19:24:09 grumpy dovecot[31152]: auth(default): Fatal: Support not compiled in for passdb driver 'pam'

Originally Exim didn't start because of:

exim: relocation error: /lib/tls/i686/cmov/libnss_compat.so.2: symbol strcmp, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

I tried to remove exim, installed exim4? back, and now i don't have exim, and exim4 won't start either....

I am running Ubuntu 10.4 TLS 32 bit, and the license in DA is Debian 5.0.

Please help.

I fix that problem with run this line:
perl -pi -e 's/passdb shadow/passdb passwd/' /etc/dovecot.conf
 
Back
Top