Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have EXIM running on a server that I am trying to decommission (but I still have stuff I need to move off).

$ sudo /etc/init.d/exim4 stop

* Stopping MTA                                                          [ OK ]
* ALERT: exim paniclog /var/log/exim4/paniclog has non-zero size,
            mail system possibly broken

2011-02-01 19:18:37 string too large in smtp_notquit_exit()

How can I stop exim from running and accepting mail on port 25?

share|improve this question

2 Answers 2

Either of these should work:

sudo killall -9 exim 

or

sudo pkill -9 exim 

To purge, try sudo apt-get purge exim4* .

This will also remove exim4-base* exim4-config* exim4-daemon-light*

share|improve this answer

sudo pgrep exim | xargs kill -9 # will kill all processes that contain exim string

sudo dpkg --purge exim4 # to uninstall exim4

share|improve this answer
    
I found I needed "sudo pgrep exim | sudo xargs kill -9" –  justintime Feb 17 '11 at 15:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.