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."
This happens when the hard drive which mdaemon.exe is located on is running out of space. MDaemon can be configured to monitor the available hard drive space and if free space drops below a certain threshold, it sends an email to your postmaster account and disables TCP/IP services. The reason for this is to prevent running completely out of disk space.The settings for MDaemon's disk monitoring features can be found in MDaemon Remote Administration 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' email 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 places them 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 can be configured to delete older backups to keep this folder from growing too large.
- 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. You can configure a maximum log file size, as well as the maximum number of old logs to keep before they are automatically deleted to save on disk space.

- 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. 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 updating the path in MDaemon Remote Administration via Logs | Log Settings | Log Mode.

Other data types, such as MDaemon's mail queues can be moved to a different drive by editing the Directories section of the MDaemon.ini file, located in the MDaemon/App directory.

You can turn on old mail pruning to have MDaemon remove mail that is older than a certain number of days. Click here to read our article on how to remove messages from user mailboxes using Account Pruning.
To prevent users from accumulating too much email in their mailboxes, you can activate usage quotas on a per-user basis. When editing a user account in MDaemon, click on Quotas in the top 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.
Disk space quotas for MDaemon users can also be assigned for an entire domain as well as for groups of users via Groups & Templates
When used together, these best practices can help keep your mail server running smoothly.
Comments or questions? Share them with us in the Comments section below.

