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?

  • 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

49

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
  • 59,442
  • 44
  • 149
  • 201