Question

How to respond to : you have new mail. root@qklcc:~#

I have this message in my consoles: you have new mail. root@qklcc:~#

What should I enter to see the mail?


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.

Thank you @KFerdinandov.

I got to access my mail.

After that, the message in my terminal is as shown in the link below. I just don’t know to proceed next to clear off this item.

https://qklcc.s3-ap-southeast-1.amazonaws.com/Hosting/General/2019-10-02_1734.png

Please guide me.

Thank you

Giap

HI @giap88,

Most probably that’s a message sent from the system or from a cron job.

Where is the message?

It’s likely to be in the spool file: /var/mail/$USER or /var/spool/mail/$USER are the most common locations on Linux and BSD.

(Other locations are possible – check if $MAIL is set – but by default, the system only informs you about /var(/spool)/mail.)

Usually the spool file is in a very simple mbox format, so you can open it in a text editor or pager.

Kind regards, Kalin