"You have new mail in /var/spool/mail/root" - Delete Mail


This article provides a guide for deleting mail in /var/spool/mail/root folder of Linux server.

New Mail in /var/spool/mail/root

While logged in as root user, you may get an alert similar to:

You have new mail in /var/spool/mail/root

You have new mail in /var/spool/mail/root

For many administrators, this alert will occur on servers where system email is not of critical importance. To remove the mail and alert, run the following command:

# < /var/spool/mail/root

Alternatively, check this guide to check and read mail stored at /var/spool/mail/root.

  • delete mail, remove mail, /var/spool/mail/root
  • 17 Korisnici koji smatraju članak korisnim
Je li Vam ovaj odgovor pomogao?

Related Articles

Video: Create Email Address in cPanel

This video tutorial demonstrates how to create an email address using cPanel Shared Hosting...

How to Disable Simplified Account Creation in Outlook 2016

Summary When you configure an Office 365 account in Outlook 2016, you see the...

View Server PHP Environment with phpinfo.php

The phpinfo() function outputs a huge amount of information about the system you're using, such...

How to Create Sudo User on CentOS

This article provides step-by-step setup guide for adding Sudo user to CentOS system. The sudo...

How to Use Sudo

This article provides a guide to using a Sudo user on CentOS server. From the command line,...