Sendmail is a general purpose internetwork email routing facility that supports many kinds of mail-transfer and -delivery methods, including the Simple Mail Transfer Protocol (SMTP) used for email transport over the Internet. In certain cases, you has to stop and remove the sendmail service on your server. It could be you want to install other smtp service such as postfix. In order to make postfix smoothly running, sendmail should be stop and removed. This post will show you on how to stop and remove sendmail on linux Fedora 16 server.
Command to stop sendmail service :
[[email protected] ~]# service sendmail stop 'Redirecting to /bin/systemctl stop sendmail.service
Simply run this command to remove sendmail package on your server :
[[email protected] ~]# yum remove sendmail -y
[[email protected] ~]# yum remove sendmail Setting up Remove Process Resolving Dependencies --> Running transaction check ---> Package sendmail.i686 0:8.14.5-6.fc16 will be erased --> Finished Dependency Resolution Dependencies Resolved ==================================================================================================== Package Arch Version Repository Size ==================================================================================================== Removing: sendmail i686 8.14.5-6.fc16 @anaconda-0 1.5 M Transaction Summary ==================================================================================================== Remove 1 Package Installed size: 1.5 M Is this ok [y/N]: y Downloading Packages: Running Transaction Check Running Transaction Test Transaction Test Succeeded Running Transaction Erasing : sendmail-8.14.5-6.fc16.i686 1/1 Removed: sendmail.i686 0:8.14.5-6.fc16 Complete!