Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I remove the No mail. notification on Ubuntu 10.10 Server?
This occurs when I log in, and is located underneath the message of the day

I have a separate script which uses a different messaging system than the default one

share|improve this question
Yes, send yourself a mail and you'll see 'You have new mail.' instead :D Seriously though, why don't you want to be notified of the new mail upon logging in to a system? It might be well important. – alex Mar 3 '11 at 20:24

That message is coming from the pam_mail module. Look in /etc/pam.d/* for calls to pam_mail. Replace standard or empty by quiet if you want to suppress No mail but keep the notification when there is mail. Replace by nopen to suppress the notification altogether.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.