service sendmail stop
will suffice. But, sometimes, when you open your shell, or at other times, you may get "you have new mail in /root/***". How to deal with this. For bash, you can do the following steps. To confirm that ur shell is bash:
echo $SHELLwill confirm your shell. If the notifications are alive, then
echo $MAILCHECKwould dump some data. Just type
unset MAILCHECKAfter this, the previous command should dump nothing. You are thus freed of your burning mail issue. Amen.
No comments:
Post a Comment