"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
  • 16 Users Found This Useful
Was this answer helpful?

Related Articles

Create Spam Filters for Mailing Lists

This document explains how to create mail filter rules in cPanel's Mailing Lists interface (Home...

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 Change Root Password Using SSH

This article explains the method of changing the root password on a Linux Server using SSH....