Why does my server login say I have new mail?

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?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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