how to disable the "you have new mail" message?
I would like to know how to disable the "You have new mail" message?
thanks!!! |
Where does the message appear?
|
in the virtual or terminal window...and yes there is really a new message in my inbox but i want to disable that feature because i regularly check my email..it just appears after typing a command, after logging in...
|
Type "biff n" to disable mail notification. You'll want to put it in your shell startup scripts so you do not need to type it each time you login.
--jeremy |
hey,,thank you very much...anyway..do you thing putting that command at the rc.local will disable the mail notification for all users?
thanks again.!!! |
That would just disable it for root. To disable it for all users put it in /etc/bashrc and /etc/csh.login (There may be others depending on what shells your users use).
--jeremy |
that's great!! thank you very much!!!
|
simple create a .nohush file .
|
hm.. i know there is a proper way to disable that message, without
adding a new command to a startup script; i have done it before, but i forgot how to, and no where i can find how to disable that message. if someone knows of a clean way to disable it - by changing a variable in a script somewhere from on to off or by commenting something out, without adding a new command in a script to mask the message, please let me know. |
often the mail message is actually sourced with PAM, so you can try just removing it from the relevant config file in /etc/pam.d/ i had to add it in in gentoo to get that to happen.
|
All times are GMT -5. The time now is 02:48 AM. |