Help! Broken Exim4

Discussion in 'Installation/Configuration' started by barney.parker, Mar 2, 2010.

  1. barney.parker

    barney.parker New Member

    Hi,

    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...
     
  2. Ben

    Ben Active Member Moderator

  3. barney.parker

    barney.parker New Member

    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!
     

Share This Page