Are you Running Out of Disk Space?

Are you receiving the following message from MDaemon?

“The disk space on the drive(s) used by your MDaemon mail server has dropped below a preset threshold. SMTP, DomainPOP, and MultiPOP functions have been disabled. You must manually restart them once some space has been freed up.”

The hard drive which mdaemon.exe is located on is running out of space. Your MDaemon is configured to monitor the hard drive space and if you drop below a certain threshold, it sends an e-mail to your postmater account and disables TCP/IP services. The reason for this is to prevent running completely out of disk space.

The settings for this feature can be reached by clicking on Setup > Preferences > then clicking on Disk.

You may want to use a disk space utility such as i.Disk or WinDirStat to see what folders are consuming your disk space. These are the MDaemon folders most likely to be using all your disk space:

MDaemon/Users/ – This is where all of your users’ e-mail is stored. If this folder seems to be consuming a large amount of disk space, drill down two levels to where your individual user folders are and check to see if any of them are consuming a large amount of space.

MDaemon/Backup/ – MDaemon is configured to perform nightly backups of your configuration files and locates these here. Also, whenever you perform an upgrade of MDaemon a copy of your entire App folder along with your SpamAssassin folder is placed in a subfolder of this folder. MDaemon does not ever delete any of your backups so if not deleted by you they will keep accumulating.

MDaemon/Logs/ – MDaemon stores all of your log files in this folder. Depending on your MDaemon settings, it may compress your older logs into a .ZIP file and place that .ZIP file in the OldLogs subfolder of this folder. Again, MDaemon does not delete any of your old logs, so if not deleted by you they will keep accumulating.

MDaemon/Public Folders/ – This is where all of the data from your MDaemon public folders (contacts, calendars, tasks, mail, documents) is stored.

The above folders are the most likely culprits for the space being consumed, but if disk spaced is taken up in other directories, then I recommend using Windows Explorer or one of the previously mentioned utilities to identify the cause of the used disk space.

If it is old log files or old zipped backup files which are consuming your disk space, you can delete them or move them to a different drive or medium. If it is mail or information in the Users folder or Public Folders folder, you will need to find out what users are taking up the space and ask them to remove the mail.

You can move your MDaemon mailboxes to a different drive by following this knowledge base article.

You can move your MDaemon logs to a different drive by following this knowledge base article.

You can turn on old mail pruning (Setup > Domain Manager > Options > Account & Mail Pruning and Setup > Server Settings > Pruning) to have MDaemon remove mail that is older than a certain number of days.

To prevent users from accumulating too much e-mail in their mailboxes, you can activate usage quotas on a per-user basis. When editing a user account, click on Quotas in the left-hand navigation menu. You can set a  maximum number of messages stored at once and/or a maximum amount of disk space each user is allowed to use.

Comments or questions? Share them with us in the Comments section below.

Archiving features in MDaemon vs. MailStore

The topic of archiving recently came up in a discussion, and the question was asked, “Why does Alt-N offer a third-party solution when MDaemon comes with archiving built-in?” The answer: to meet the needs of those who want greater control, with the ability to fine-tune access control, storage location settings, retention settings, auditing settings, and much more. Which method you choose depends on what features you want – whether a simple archiving solution will suffice, or whether you want the ability to perform more complex tasks on mail archives, such as auditing, placing a limit on the mail database size, or placing a legal hold on archives for legal discovery.

MDaemon’s built-in archiving feature (located under Setup > Server Settings > Archiving) allows you to choose from two methods to archive mail. The simplest is to archive all inbound and outbound mail to a designated email address. This can be an internal or an external email address. If the address to which you are archiving mail is internal, then the messages will be stored within the Users directory, inside the folder that corresponds with that particular user. Using this method, one could access the archive via an IMAP profile from Outlook or another mail client, or from WorldClient. The other method would be to archive inbound and/or outbound messages to public folders. By default, only the postmaster has access to the Mail Archive public folder, however, you can delegate access for other users via the Public Folder Manager, located under the Setup menu. Whichever method you choose, archived messages are stored as .msg files on the mail server. This is the same format in which all other email messages are stored in MDaemon. All public folders are stored in the same location (by default, the C:⁄MDaemon⁄Public Folders directory). If you would like to archive to a public folder on a different physical drive, you can map a drive letter to another drive on your server or network, then edit the following line in the MDaemon.ini file (located in the MDaemon/App directory):

PublicFolders=C:⁄MDaemon⁄Public Folders⁄

All public folders must be stored in the same location. You can use the Pruning feature (Setup > Server Settings > Pruning) to delete messages from all public folders after a period of time, but this also applies to all public folders, not just the mail archive.

If you need a more complex archiving solution, you can use MailStore. MailStore allows you to archive from MDaemon, Exchange, and other mail servers. You can also configure MailStore to archive mail from email clients, such as Outlook, Outlook Express, Windows Live Mail, and Thunderbird. Archival of PST, MBOX and other file formats is also supported.

MailStore uses archiving profiles to archive mail. You can configure an archive profile that archives all mailboxes on the server, or just specific ones. You can also archive mail stored in your local Outlook, Outlook Express, Windows Live Mail, or other local clients. MailStore can also archive from a directory file system, PST file, or MailStore proxy. Further, MailStore can be configured to only archive messages that are older than a specific date or time range to suit your specific needs.

Retention policies can be configured so that users cannot delete messages from the archive within a designated period of time. This allows administrators to meet various operational or legal provisions.

Recall that all of MDaemon’s public folders (including the mail archive) need to be in the same directory. With MailStore, your mail archive can be offloaded to a separate physical drive, without having to move your entire Public Folders directory.

MailStore includes legal hold, retention policies, and auditor access. Access to mail archives can be delegated based on role (administrator, login, export, etc). You can also control what user activities are written to the Windows Event Log (when a user has changed a compliance setting, created an archive store, deleted or moved a message, logged on, etc.).

These are just a few of MailStore’s many features, but this should give you a better understanding of which archiving method is right for your company. For many small businesses, MDaemon’s built-in archiving features are sufficient, but if you need to offload your archive to an external database, with all of the extra compliance and reporting features, then MailStore will meet your needs.

You can learn more about MailStore here.