Queue & Auditing (*administrator only)
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 the sender, recipient, or description.
Auditing
In the Auditing tab, you can:
- View and analyze mail logs regarding incoming/outgoing email messages through your Synology NAS.
- View admin 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 emails on the server and view, delete or export them for auditing.
- Generate daily reports of Synology MailPlus Server's system status.
Log
In the Log tab, you can check log entries about received/sent and suspicious emails.
To view mail, security, and admin logs:
- Go to Auditing > Log.
- Select the type of logs from the top menu:
- Mail log: Show logs regarding sent and received emails.
- Security log: Show logs regarding malicious mail activities, including spam, virus, malicious contents, and improper actions.
- Admin log: Show Synology MailPlus Server's settings' changes from all administrator.
- 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 upper-right search field or click the magnifying glass icon for advanced search.
- To back up the logs, click Export in the upper-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.
Usage Analysis
In the Usage Analysis tab, you can get the analysis of the interaction between Synology 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 archiving and transfer settings.
To archive logs:
- Tick Enable log archiving in the Log Management tab.
- Select a shared folder as the Archive destination to store the archived logs, including mail logs, security logs, admin logs, and postfix 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 transfer logs elsewhere:
You can send the logs to the following destinations:
- The secondary server in the mail cluster: A copy of logs (including mail logs, security logs, admin logs, and postfix 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 logs:
You can set the following conditions to trigger the log rotation of the Postfix logs for Synology 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.
- Log rotation period: 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 and received log) and types (mail log, security log, admin log, and postfix log).
Note: Main log represents logs on the primary server in the mail cluster. Received log represents logs forwarded from the primary server to the secondary server in the mail cluster. Admin log can be viewed directly at the secondary server, so there is no Received log.
In this tab, you can Download and Delete the log files. You can also convert the log files to database format by clicking Generate 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 emails that have been indexed in Synology MailPlus Server. The administrators can also view, delete and export the search results.
Note: Only indexed emails 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' emails cannot be found.
To create a mail search task:
- Go to Auditing > Mail Search.
- Click + to create a new task.
- Set Task name, Search Conditions, and Target User. If Target User is not specified, the default would be searching all users.
- The search task starts right after you have created the task. If you want to stop the task, select the task and click Stop tasks 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 results:
- Select a completed search task.
- On the right panel, you can Download task reports or View Result for further details and actions. Task reports allow you to view task details, including the number of searched emails and the deleted emails.
- In the View Result window, details of each email will appear in the right section when you select it. You can also download the original email or its attachments or open the email in a new window.
To export mail search results:
We recommend that you always export important mail search results and keep them on your local device as backup files in case of future needs.
- Select a task and click View Result on the right panel.
- Select the emails that you want to export and click the Export button in the upper toolbar to export the mail list and the original emails to your local device.
Note: You can click the arrow icon next to the Export button to further specify whether to export both the mail list and the original emails.
- A file named "export.zip" will be saved to your local device. After extracting the file, you can obtain the original emails in EML format and the mail list in CSV format.
To import mail search results:
If you have exported mail search results and saved them to your local device, you can always import the mail list to check the emails when needed.
- Click the Import tasks button next to the trash can icon.
- Upload a mail list in CSV format and enter a task name.
- Click Import.
- Once the import is complete, the task will appear at the top of the task list.
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 logs via email:
- Select Enable daily report.
- Specify the delivery time and the recipient's email address.
- Click Apply to save the settings.