Queue & Auditing (*administrator only)
Managing the Mail Queue
The Queue page displays the following information regarding messages currently in the queue:
- The date and time when the message entered the queue
- The message sender and recipient
- Why the message is waiting in the mail queue
To view the mail queue:
The Queue page categorizes the current mail queue status into the three types below:
- Hold: The message is to be processed.
- Active: The message is now being processed.
- Deferred: The system fails to deliver the message and will resend it later.
Note:
- A single message cannot exceed 2GB in size.
- The cause of failed mail delivery will be displayed in the Description field.
- By default, deferred messages will be returned to the sender if all redelivery attempts fail during the following 5 days.
- A server cannot provide the mail queue information of the other server in the mail system, but its own only.
To manage messages in the mail queue:
You can manage messages currently waiting in the mail queue in the ways below:
- Clear: Remove the selected message from the mail queue.
- Clear All: Remove all messages from the mail queue.
- Resend: Resend the selected message in the mail queue.
- Resend All: Resend all messages in the mail queue.
- Search: Search messages in the mail queue by sender, recipient, or description.
Auditing Mail and Security Logs
In the Auditing tab, you can:
- View and analyze mail logs regarding incoming/outgoing email messages through your Synology NAS.
- View administration logs to know what setting changes administrators have made.
- Forward the logs to another server to back them up or to a syslog server for centralized management.
- Search mails on the server and view, delete or export them for auditing.
- Generate daily reports of MailPlus Server's system status.
To view mail, security and administration logs:
You can check log entries about received/sent and suspicious emails.
- Go to Auditing > Log.
- Select the type of logs from the top menu:
- Mail Log: Show logs regarding sent and received mails.
- Security Log: Show logs regarding malicious mail activities, including spam, virus, malicious contents, and improper actions.
- Administration Log: Show MailPlus Server’s settings’ changes from all administrator. (Tab supported: Auditing > Mail Search and Service)
- Select the log storage location from the other top menu:
- Internal database: Show logs stored in the system default folder on your Synology NAS.
- External database: Show logs stored in a custom folder on your Synology NAS.
- To find specific log entries, enter a keyword in the top-right search field, or click the magnifying glass icon for advanced search.
- To back up the logs, click Export on the top-left corner to export them into an HTML file for backup.
Note:
- The Mail Log and the Security Log are available only on the primary server.
To view usage analysis:
In the Usage Analysis tab, you can get the analysis of the interaction between MailPlus Server and each email address or domain. By checking the analysis result, you can get the overall condition of the mail system.
Log Management
In the Log Management tab, you can configure the log archive and sending settings.
To archive the logs:
- Tick Enable log archive in the Log Management tab.
- Select a shared folder as the Archive destination to store the archived logs, including postfix logs, mail logs, and security logs.
- Select one or more weekdays on which to run the log archive task.
- Determine the time when the mail system runs the log archive task.
- Click Apply to save the settings.
To send the logs elsewhere:
You can send the logs to the following destinations:
- The secondary server in the mail cluster: A copy of logs (including postfix logs, administration logs, mail logs and security logs) will be sent to this server.
Note: The received mail log and security log must be converted to the format of database before they can be viewed. To perform the conversion, please go to the Log List tab. After the conversion is complete, you can view the logs in the Log tab.
- Syslog server: The postfix log will be sent to this server. To get more information on the configuration, please refer to DSM Help > Log Center > Log Sending article.
To rotate the logs:
You can set the the following conditions to trigger the log rotation of the Postfix logs for MailPlus Server:
- Log file size is larger than (MB): When the log file size reaches the limit you have specified, these logs will be packed up as an .xz file.
- Period of log rotation: The logs will be packed up as an .xz file at the frequency you have specified.
Note: When more than 10 .xz files have been archived, the oldest .xz files will be removed to have space to record new logs.
Log List
The Log List tab displays the log files which are categorized with their sources (main log, received log) and types (mail logs, security logs, administration logs, postfix logs).
Note: Main logs are the logs on the primary server in the mail cluster. Received logs are the logs forwarded from the primary server to the secondary server in the mail cluster.Administration logs can be viewed directly at the secondary server, so there is no Received logs.
In this tab, you can Download and Delete the log files. You can also convert the log files to database format by clicking Generate the log database so as to view the logs in the Log tab.
Note: The deletion of log files may cause the loss of certain important logs.
Mail Search
Mail Search allows administrators to find all the mails that have been indexed in MailPlus Server. The administrators can also view, delete and export the searching result.
Note: Only indexed mails can be found. Go to Service > Enable full-text search or Account > User Policy > Enable full-text search to check relevant settings if some users' mails cannot be found.
To create a mail search task:
- Go to Auditing > Mail Search.
- Click + to create a new task.
- Set Task name, Search criteria and Target User. If Target User is not specified, the default would be searching all users.
- The search task starts right after being created. If you want to stop the task, select the task and click Stop on the right panel.
- You can Edit, Copy or Delete a task after selecting it. If you want to perform the search task again, click Search on the right panel.
To view mail search result:
- Select a completed search task.
- On the right panel, you can Download task reports or click View Result for further details and actions. Task reports allow you to view details of a task, including the number of searched mails as well as which mails are deleted.
- In the View Result window, you can view, delete or export each mail. Details of each mail will appear on the right section when you select it. You can also download the original mail or its attachments or view the mail in a new tab.
- After exporting a mail list and/or original mails, you will find a file named export_list.csv in exported data, which can be edited with editors supporting .csv files. You can split the record into multiple files if you want to distribute an auditing task.
- Go to Auditing > Mail Search to import existing csv file by clicking Import tasks. The import results can be viewed upon clicking View Result.
Report
In the Report tab, you can track the mail system and its traffic by configuring the settings to send the logs periodically.
To send the logs via email:
- Select Enable daily report.
- Specify the delivery time and recipient's email address.
- Click Apply to save the settings.