24

How do I completely remove sendmail? I have tried the following:

apt-get remove sendmail
apt-get purge sendmail

Sendmail is still there and running, how do I completely remove it and all config files?

Kyle Coots
  • 966
  • 1
  • 6
  • 13
  • hello @jphreak even i plan to remove sendmail as it working slow.. have any alternate suggestion – bhv Sep 22 '16 at 10:13

1 Answers1

48

To remove send mail completely you have to use:

apt-get purge sendmail*

(Note the * at the end.)

Thanks to this post here on Ubuntu forum: http://ubuntuforums.org/showthread.php?t=916606

Seth
  • 57,282
  • 43
  • 144
  • 200
Kyle Coots
  • 966
  • 1
  • 6
  • 13