Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to cleanly remove Exim4 mail server on Ubuntu

Tags:

ubuntu

exim

exim4

After successfully using Postfix on my Ubuntu machines, I decided to try Exim on a new server, based on some people commenting it's easier to set up and use.

Well I ran into issues with my Rails app right away, and, considering how easy Postfix had been to use, I decided to remove Exim and install Postfix instead.

However, how to cleanly remove it was hard to find...

like image 764
yuяi Avatar asked Aug 21 '12 19:08

yuяi


2 Answers

Here's all you need to do to cleanly and easily get rid of Exim4:

apt-get remove exim4 exim4-base exim4-config exim4-daemon-light

You may have the exim4 logs directory left behind. Just get rid of it manually, if you do:

rm -r /var/log/exim4/
like image 113
yuяi Avatar answered Nov 10 '22 12:11

yuяi


What I would do:

apt-get remove exim4*
like image 38
Gilles Quenot Avatar answered Nov 10 '22 12:11

Gilles Quenot