Blue Reef Technical Support Blue Reef Virtual Server Reseller ProgramInstallation instructions, manuals, how-tos, and more!About Blue Reef Consulting, Inc.

About Blue Reef Virtual ServersEcommerce Solutions for your Virtual ServerSearch the Blue Reef Virtual Server web site
Return to Blue Reef Virtual Servers Home Page
Order virtual servers, software, computers, and more!
Return to Blue Reef Main Home Page
Site Map
Support Solutions to help you do business with your Virtual Server.

Blue Reef Virtual Servers
Virtual Server Support
Support Archive Menu
Support Archive Overview
Changing Administrative Passwords
Anonymous FTP
Frequency of the Server backup
Clearing the Email Queue
DNS Server Information
Changing FTP Directories
Internet Relay Chat
Configuring Manual Pages
Robots.txt  File
Monitoring Server Space Limits
Blocking Spam
Using the #include SSI Includes
Creating Symbolic Links
Changing the Time Zone of your Server
Unzipping Dos files in Unix
Lising Users on the Server
Frequent Questions
White Papers
Virtual Server Handbook
Request help using our Problem Tracking System
Order a Blue Reef Virtual Server now!

How do I clear my Mail Queue?

When you attempt to send email from your Virtual Server to an email address at a server that is down or temporarily unreachable, the email is queued on your server for future delivery. There is a process on your server's host machine that will attempt to flush your Virtual Server's mail queue every 8 hours. After 3 days if the email is still undeliverable, the mail will be returned to the sender.

There may be times that you want or need to flush your mail queue by hand:
    One of your users may send out email to a large list of addresses many of which are undeliverable.
    A spammer may use your server to relay email that may contain many invalid email addresses.
    Or the process to automatically flush your mail queue may not be working properly.
The email that queues up on your server consumes your valuable disk space quota and affects the performance of your sendmail program. The directions below will help you properly maintain your Virtual Server's mail queue.

Your Virtual Server's mail queue is located in the usr/spool/mqueue directory on your Virtual Server. Email in the queue is normally stored in 2 separate files. The header of each email is stored in a file with a name that starts with a "q". The rest of the file name indicates when the email was received. The body of the same email is stored in a file with a name beginning with a "d". The rest of the file name matches that of the header.

You can check the contents of your mail queue by typing this command at your Virtual Server prompt:

   % virtual sendmail -bp
You can check the amount of your disk space quota that email in your mail queue is consuming by typing this command at the prompt:

   % vdiskuse | grep mqueue
You can flush your mail queue by typing this command:

   % virtual sendmail -q -v
The "-q" flag flushes the queue. The "-v" flag prints the output to the screen so you can see what is happening.

Frequently Asked Questions

Featured Solutions

Administrator Handbook


Recommended Books

Request help from Technical Support


Apache Server : Administrators Handbook
Apache Server:
Administrators Handbook


Unix Power Tools Unix Power Tools
$47.96 logo
Search for :
Enter keywords...