[root@linux src]# service sendmail stop
Shutting down sendmail: [ OK ]
Shutting down sm-client: [ OK ]
[root@linux src]# chkconfig --del sendmail
[root@linux src]# mv /usr/lib/sendmail /usr/lib/sendmail.OFF
[root@linux src]# ls /usr/sbin/sendmail -l
lrwxrwxrwx 1 root root 21 Nov 5 18:51 /usr/sbin/sendmail -> /etc/alternatives/mta
[root@linux src]# mv /usr/sbin/sendmail /usr/sbin/sendmail.OFF
[root@linux src]# ls -l /usr/bin/newaliases
lrwxrwxrwx 1 root root 32 Nov 5 18:51 /usr/bin/newaliases -> /etc/alternatives/mta-newaliases
[root@linux src]# mv /usr/bin/newaliases /usr/bin/newaliases.OFF
[root@linux src]# ls -l /usr/bin/mailq
lrwxrwxrwx 1 root root 27 Nov 5 18:51 /usr/bin/mailq -> /etc/alternatives/mta-mailq
[root@linux src]# mv /usr/bin/mailq /usr/bin/mailq.OFF
|