Queue & Auditing
Queue
The Queue page displays the following information on messages currently in the queue:
- The date and time when the message entered the queue
- The message sender and recipient
- Why the message is held in the queue
To view the queue:
The queue status is categorized into the following three types:
- Hold: The message is to be processed.
- Active: The message is being processed.
- Deferred: The system fails to deliver the message and will resend it later.
Note:
- A single message cannot exceed 2 GB in size.
- The cause of the delivery failure will be displayed in the Description field.
- By default, deferred messages will be returned to the sender if all the redelivery attempts fail during the following 5 days.
- A server cannot provide the queue information on the other server within the email system.
To manage messages in the queue:
You can manage queued messages in the following ways:
- Clear: Remove the selected message from the queue.
- Clear All: Remove all messages from the queue.
- Resend: Resend the selected message in the queue.
- Resend All: Resend all messages in the queue.
- Search: Search messages in the queue by the sender, recipient, or description.
Auditing
In the Auditing page, you can:
- View and analyze email logs regarding incoming/outgoing messages through your Synology NAS.
- View admin logs to know what changes administrators have made to the settings.
- Forward 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 on the system status of Synology MailPlus Server.
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: Logs regarding sent and received emails
- Security log: Logs regarding suspicious email activities, including spam, virus, malicious content, and improper operation
- Admin log: Logs regarding server settings' changes made by administrators
- Select the log storage location from the other top menu:
- Internal database: Logs stored in the system default folder on your Synology NAS
- External database: Logs stored in a custom folder on your Synology NAS
- To find a specific log, enter a keyword in the upper-right search bar or click the magnifying glass icon to perform the advanced search.
- To back up logs, click Export in the upper-left corner to export them into an HTML file.
Note:
- The Mail log and the Security log are only available on the primary server.
Usage Analysis
In the Usage Analysis tab, you can get an analysis of the interaction between MailPlus Server and each email address or domain. With the statistics, you can check the overall condition of your email system.
Log Management
In the Log Management tab, you can configure the log archiving and transfer settings.
To archive logs:
- Go to Auditing > Log Management.
- Tick Enable log archiving.
- Select a shared folder as the Archive destination to store the archive logs, including mail, security, admin, and Postfix logs.
- Specify when to run the archive task.
- Save the settings.
To transfer logs elsewhere:
You can send logs to the following destinations:
- The secondary server in the email cluster: A copy of logs (including mail, security, admin, and Postfix logs) will be sent. Note that received mail logs and security logs must be converted to the format of the database to be viewed. You can go to the Log List tab to perform the conversion. Once the conversion is complete, you can view the logs in the Log tab.
- A syslog server: Postfix logs will be sent. Refer to this article to learn more about the configuration.
To rotate logs:
You can set the conditions to trigger the rotation of the Postfix logs:
- Log file size is larger than (MB): When the log file size reaches the limit you specified, it will be packed up as an .xz file.
- Log rotation period: Logs will be packed up as an .xz file at the frequency you set.
When more than 10 .xz files are archived, the oldest one will be removed to free up space for new logs.
Log List
In the Log List tab, you can view the logs categorized by their sources (main and received log) and types (mail, security, admin, and Postfix logs).
Check the following for an explanation on the log classification:
- The Main log represents logs on the primary server in the email cluster.
- The Received log represents logs forwarded from the primary server to the secondary server in the email cluster. Since the Admin log can be viewed directly on the secondary server, there is no Received log for it.
In this tab, you can Download or Delete the log files. You can also convert the log files to the database format by clicking Generate Log Database. Doing this allows you to view the logs in the Log tab.
Note that the deletion of log files may cause the loss of important logs.
Mail Search
Mail Search allows administrators to find all the emails that have been indexed in MailPlus Server. The administrators can also view, delete, or export the search results.
Note that only indexed emails can be found. You can go to Service > Protocol > Enable full-text search or Account > User Policy to check the relevant settings if some users' emails cannot be found.
To create an email search task:
- Go to Auditing > Mail Search.
- Click + to create a task.
- Set the Task name, Search conditions, and Target User. If the Target User is not specified, the default would be searching all users.
- The search starts right after you have created the task. If you want to stop the task, select it and click Stop tasks on the right panel.
You can Edit, Copy, or Delete a task. If you want to perform the task again, click Search on the right panel.
To view search results:
- Select a completed search task.
- On the right panel, you can Download task reports or View Result for further details and actions. The reports allow you to view task details, including the number of searched emails and deleted emails.
- In the View Result window, details of each email will appear in the right section when you select it. You can choose to download the original email or its attachments or open the email in a new window.
To export search results:
We recommend that you always export important 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 emails and click Export in the upper toolbar to export the email list and the original emails to your local device.
You can click the arrow icon next to Export to further specify whether to export both the email list and the original emails.
- A file named "export.zip" will be saved to your local device. After extracting the file, you will obtain the original emails in EML format and the email list in CSV format.
To import search results:
If you have exported search results and saved them to your local device, you can always import the list to check the emails when needed.
- Click Import tasks next to the trash can icon.
- Upload an email 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 list.
Report
In the Report tab, you can track the system status and its traffic by configuring the system to send logs periodically.
To send logs via emails:
- Tick Enable daily report.
- Specify the delivery time and the recipient's email address.
- Save the settings.