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?
sudo pgrep exim | xargs kill -9
# will kill all processes that contain exim stringsudo dpkg --purge exim4
# to uninstall exim4Either of these should work:
or
To purge, try
sudo apt-get purge exim4*
.This will also remove
exim4-base* exim4-config* exim4-daemon-light*