Log Mode

Click the "Setup » Server Settings » Logging" menu selection to configure your logging settings. Logging is a useful tool for diagnosing problems and seeing what the server has been doing while unattended.

There are several options on the Preferences dialog governing the amount of log data that may be displayed in the Event Tracking pane of MDaemon's main interface. For more information, see Preferences » UI.

Log Mode & Location

Log nothing

Choosing this option will deactivate all logging. The log files will still be created, but no logging data will be written to them.

We do not recommend using this option. Without logs it can be extremely difficult, if not impossible, to diagnose or debug any potential email-related problems you may encounter.

Log everything into a separate log file (MDaemon-all.log)

Choose this option if you wish to log everything into a single, separate file named MDaemon-all.log.

Log everything into separate files based on the date

If this option is selected then a separate log file will be generated each day. The name of the file will correspond to the date it was created.

 

Log detailed mail sessions

A complete transcript of each mail transaction session will be copied to the log file when this option is active.

Log summarized mail sessions

The option causes a summarized transcript of each mail transaction session to be copied to the log file.

 

Log each service into a separate log file

Click this checkbox to cause MDaemon to maintain separate logs by service rather than in a single file. For example, with this switch set MDaemon will log SMTP activity in the MDaemon-SMTP.log file and IMAP activity in the MDaemon-IMAP.log file. When running a Configuration Session or Terminal Services instance of the MDaemon interface, this option must be selected in order for the tabs on the interface to display the logged information.

Put log files in this folder:

Use this option if you wish to designate a specific folder path for your log files.

The BadAddress.txt File

In addition to the log files, MDaemon maintains the BadAddress.txt file in the logs folder. When delivery to an address results in a 5xx error, the address will be appended to the file. This can help you, for example, identify bad addresses in your mailing lists more quickly than searching the outgoing SMTP logs. This file is automatically removed at midnight each night to prevent it from growing too large.