HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Installation/Configuration (
-   -   Help! Broken Exim4 (

barney.parker 2nd March 2010 18:25

Help! Broken Exim4

I have been asked to fix an unstable server, and am having some big issues with exim4!

It seems that the local IT guy in his wisdom decided to apt-get remove exim4.

To compound the problem he then manually deleted various folders named exim4, and also the /etc/init.d/exim4 file.

After many attempts to restore the situation i have managed to get exim to reinstall, but still don't appear to have the /etc/init.d/exim4 file, so i can't actually start exim4!

To fix initially i used aptitude purge to remove all the components of exim4. I then tried to apt-get install exim4 but got loads of errors, so in the end had to apt-get install exim4-daemon-light, then apt-get install exim4.

this then kicked off the dpkg-reconfigure exim4-config as expected.

As far as i can see, the whole thing seems to be there, but with the init.d file missing i am pretty much stuck!!!

Does anyone have any ideas how i can either A) purge exim4 so completely it was like it was never there in the first place, or B) fix the missing file(s?).

Alternatively can anyone suggest an MTA that can be set up to send via a smart-host and will be really simple to set up? (i'm not too well clued up on mail servers!) It only needs to be able to make the PHP function "mail" work correctly sending to external email addresses...

Thanks in advance...

Ben 2nd March 2010 21:48

I guess you use debian?
in this case you might download the exim4-base package manually from the debain page as the init-script should be in there:

barney.parker 2nd March 2010 22:06

Ben: Good thinking!!!! I've now done that and the exim lives again!

Now i just need to find out how it was all configured!!!!

Thanks for all your help, it may have been simple but i just didn't think of it!

All times are GMT +2. The time now is 04:17.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.