Mailtraq - the Complete Email Server

Enstar for Mailtraq email server sales & support
Making world-class Internet technology affordable  

Search for:

Advanced search

Free Disk Space Monitor

The low-space warning or Free Disk Space Monitor is designed to warn system administrators that the amount of free space available to Mailtraq is too low for safe operation. Introduced in build 2156 .

Warning emails are sent to the designated address when an outer limit is reached. At this time the prudent operator should review their mail storage capacity and message retention rules to ensure there is enough disk space for safe continued operation of mail services.

By default warning messages are sent to the admin user. You can change that to a specified local user - as in the example shown

If the warning emails are ignored and available free space falls to below a safe level Mailtraq will suspend mail services to force the system administrator to attend the Console so that they are aware of the situation.

Suspension notices are also written into the Mailtraq Event Log.

For example:

[Date] [Time] SMTP: (Suspended) Denying connection to [IP Address]
[Date] [Time] IMAP: (Suspended) Denying connection to [IP Address]

This dialog is located in the Console, under Options | Server, Logs-tab

Mail services can be enabled by removing the
check-marks in the dialog boxes,

and then [OK] back to the Console.

The Monitor will then be disabled and must be manually re-enabled.

Why has Mailtraq introduced the Free Disk Space Monitor?

We have received a lot of feedback from users about the way email server usage has changed in recent years. The acceptance of IMAP and webmail for sharing messages, the requirement for statutory retention of messages and the use of calendaring and address-book services have all meant that mail servers now hold much more data than they used to.

Mailtraq holds all of the essential information within a database, and provides Online Backup facilities to ensure that there is protection against corruption, but for Mailtraq to work effectively there must be sufficient room on the drive for safe operation.

Mailtraq provides two levels of protection against running out of disk space. At first Mailtraq will send an email to the admin (default) or other designated user warning them that disk space is getting tight - less than 200% of the database size. This level was chosen to give ample warning for Administrators to either revise their message retention policy or to obtain more storage space.

The second level of protection is to suspend mail services when free space falls below 110% of the database size. This level was chosen to allow enough space for the Administrator to do a manual copy of the database should it be necessary for a disaster recovery.

Why Suspend mail services?

If the database completely runs out of space on the disk, serious corruption can occur. Mailtraq suspends the mail services to force the Administrator to attend the console and acknowledge the situation. The view was taken that it is much better to have a minor inconvenience rather than a potential serious problem.

No messages will be lost because of the suspension.

What should I do?

You need to adjust your Mailbox Archive settings (see how...)  so that you do not have excessive message retention, or move Mailtraq (see how...) to a machine with greater storage.

If you have one mailbox that has caused this issue - typically a journal mailbox acting as an archive - you can remove that to a different drive. It will no longer be accessible by Mailtraq, however the information and messages will be retained as a record.
You would later access this stand alone archive using the included utility AFXviewer.
To do this:

  • Stop the Mailtraq Service (see how...)
  • Locate the mailbox database - typically here:
    C:\Program Files (x86)\Mailtraq\database\mail\inbox
    Move the mailbox.afx (where mailbox = the name of the mailbox) to a new drive.
    Note that the mailbox name may not appear exactly as you expect if you have used punctuation in the name, so the mailbox name in the console of 'susan.bunbury', may be "susan_bunbury$2D" instead.
    Mailtraq will automatically create a new mailbox.afx file on demand
  • Start Mailtraq

Be sure to adjust your Mailbox Archive settings (see how...)  so that you do not get the problem again in the future.

I have plenty of free space - and still was suspended !

Mailtraq cannot always accurately determine how much free space there is available - so there may be situations when you receive a report or suspension when there is plenty of free space. In this case, simply disable the monitor but remain aware of the issues.

Updated: 25 July 2012


Please note:
This monitor is provided as an aid to the Administrator of the email server, but it should not be used in place of prudent management. Mailtraq cannot know what other demands may be placed on the disc space of the machine.




Mailtraq Highlights...
 SMTP Server     Mailtraq SMTP email server video IMAP Server     Mailtraq IMAP email Server video
 POP3 Server     Mailtraq POP3 email server video Proxy Server     Mailtraq proxy email server video
 Webmail Server     Mailtraq webmail email server video Mailing-list Server     Mailing list email server video
 Groupware Services     Mailtraq groupware email services video Spam and Virus control     Spam and virus control email server video


   Copyright © 2003 - 2011 Enstar Ltd, Enstar LLC & Fastraq Ltd. All rights reserved. Privacy policy.
   Mailtraq® is a registered trademark of Fastraq Limited.