Follow these simple steps to remove sendmail from your machine.
Step 1
Remove the default RPMS.
If a dependency issue comes in, please use the following command.
Step 2
You can use kill <processID> or killall sendmail to terminate all other processes.
Step 1
Remove the default RPMS.
sendmail
sendmail-cf
sendmail-doc
[root@local /root]# rpm -e sendmail sendmail-cf sendmail-doc
If a dependency issue comes in, please use the following command.
error: removing these packages would break dependencies
[root@local /root]# rpm -e sendmail sendmail-cf sendmail-doc --nodeps
Step 2
Ensure all the sendmail processes were removed completely.
If not kill the process using the process ID.
[root@local /root]# ps -aux|grep 'sendmail'
You can use kill <processID> or killall sendmail to terminate all other processes.
Thanks for this help, this is very helpful blog ever. New Zealand Dedicated Server
ReplyDelete