Report this

What is the reason for this report?

Why does my server login say I have new mail?

Posted on September 29, 2020

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?



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!

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.