Question

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

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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