|
# ps ax | grep sendmail
# kill -TERM sendmail_PID
# mv /usr/libexec/sendmail/sendmail/usr/libexec/sendmail/sendmail.bak # mv /usr/sbin/sendmail /usr/sbin/sendmail.bak # chmod 0 /usr/libexec/sendmail/sendmail.bak /usr/sbin/sendmail.bak # ln -s /var/qmail/bin/sendmail /usr/libexec/sendmail/sendmail # ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail # mv /usr/sbin/newaliases /usr/sbin/newaliases.bck # ln -s /var/qmail/bin/newaliases /usr/sbin/newaliases
# mv /usr/libexec/sendmail/sendmail /usr/libexec/sendmail/sendmail.bak # mv /usr/sbin/sendmail /usr/sbin/sendmail.bak # chmod 0 /usr/libexec/sendmail/sendmail.bak /usr/sbin/sendmail.bak # ln -s /var/qmail/bin/sendmail /usr/libexec/sendmail/sendmail # ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail # mv /usr/sbin/newaliases /usr/sbin/newaliases.bck # ln -s /var/qmail/bin/newaliases /usr/sbin/newaliases
# ntsys
# rpm -e --nodeps sendmail
# mv /usr/libexec/sendmail /usr/libexec/sendmail.bak # mv /usr/sbin/sendmail /usr/sbin/sendmail.bak # chmod 0 /usr/libexec/sendmail.bak /usr/sbin/sendmail.bak # ln -s /var/qmail/bin/sendmail /usr/libexec/sendmail # ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail # mv /bin/newaliases /bin/newaliases.bck # ln -s /var/qmail/bin/newaliases /bin/newaliases
#mv /etc/init.d/sendmail /sendmail.bck
# mv /usr/lib/sendmail /usr/lib/sendmail/sendmail.bak # mv /usr/sbin/sendmail /usr/sbin/sendmail.bak # chmod 0 /usr/libexec/sendmail.bak /usr/sbin/sendmail.bak # ln -s /var/qmail/bin/sendmail /usr/libexec/sendmail # ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail # mv /usr/bin/newaliases /usr/bin/newaliases.bck # ln -s /var/qmail/bin/newaliases /usr/bin/newaliases
|