Question

Why does my server login say I have new mail?

Posted September 29, 2020 114 views
Linux Basics

I logged in to a new session and on my screen was the following message:

You have new mail.
Last login: Mon Sep 28 19:07:33 2020 from ******

Where is this mail that it is coming up on the server, and how do I check it? How do I clear the message?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi @conwayphelps,

Most often these messages contain output of cron jobs, system security reports by logwatch, or similar stuff. The best way would be to read the e-mails.

You should be able to find the emails in the following file /var/spool/mail/root. You can cat it or use any other command to read the file.

Regards,
KFSys

Submit an Answer