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

October 1, 2019 129 views
Applications

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

What should I enter to see the mail?

2 Answers

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

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

Have another answer? Share your knowledge.