Queue & Auditing

Queue

The Queue page displays the following information about undelivered messages:

  • Date and time when a message entered the queue
  • Senders and recipients
  • Why a message is 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 message cannot be delivered and will be resent later. It will be returned to the sender if all redelivery attempts fail during the lifetime. You can adjust the queue lifetime by clicking Settings on the upper bar.

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.

Note:

  • A single message cannot exceed 2 GB in size.
  • A server can only provide information about its local mail queue and cannot provide information about the other server in the same mail cluster.

Auditing

The Auditing page provides a variety of logs to help you monitor activities on MailPlus Server, including email traffic, client activities, and security-related events.

Transaction Log

Transaction logs provide information about sent and received emails, as well as related events such as spam detection, message delivery, and error notifications.

To export transaction logs:

Click Export to specify the file type, log count, and which columns to include. You can refine the exported data by applying a search filter or adjusting the sorting of the list.

To view transaction logs:

Select a log entry from the list and click Details to review delivery history and security issues.

To analyze mail traffic:

Click Usage Analysis to get an analysis of the interaction between MailPlus Server and each email address or domain.

Client Access Log

Client access logs provide insights into user activities, including connections, email operations, and authentication processes, from the client side.

To export client access logs:

Click Export to specify the file type, log count, and which columns to include. You can refine the exported data by applying a search filter or adjusting the sorting of the list.

To view client access logs:

Select a log entry from the list and click Details to check all the related information, statistics, and events.

Admin Log

Admin logs track setting changes made by administrators.

On this tab, you can select either of the following storage locations and then export logs to create a backup in the form of an HTML file:

  • 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

Log Management

On the Log Management tab, you can configure log archiving, transfer, and rotation preferences.

To archive logs:

  1. Select Enable log archiving.
  2. Select a shared folder as the Archive destination to store the archived logs.
  3. Specify when to run the archive task.

To access archived logs:

Click Archived Log to check the database files of admin and Postfix logs from different sources in an email cluster:

  • Main log: Logs on the primary server.
  • Received log: Logs forwarded from the primary server to the secondary server. You can download admin log files and view them directly on the Admin Log tab by selecting External database from the menu.

To transfer logs:

You can send logs to either of the following destinations:

To rotate logs:

For Postfix logs:

  • Log size cannot be 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 file will be removed to free up some space for the new logs.

For transaction logs and client access logs:

  • Keep logs for (days): Logs will be automatically deleted after the retention period expires.
  • Limit the number of logs to: Specify the maximum number of logs to retain. Older logs will be rotated as new ones are generated.

To send logs via email:

  1. Select Enable daily report.
  2. Specify the delivery time and the recipient's email address.

Mail Search

Mail Search helps you find all the emails that have been indexed in MailPlus Server. You can also view, delete, or export the search results.

Note that only indexed emails can be found. If any users' emails are missing, you can go to Service > Protocol > Enable full-text search or Account > User Policy to check the relevant settings.

To create an email search task:

  1. Click +.
  2. Set the Task name, Search conditions, and Target User. If the Target User is not specified, the system will search for all users' emails.
  3. The search will start right after you create the task. If you want to stop the task, select it and click Stop tasks on the right panel.
  4. Once a task is complete, you can perform the following:
    • Edit, copy, or delete a task by clicking on the corresponding icon on the upper bar.
    • Click Download task reports on the right panel. Task reports will list all the searched emails and mark the deleted ones.

To export search results:

We recommend that you always export important search results and keep them on your local device as backup files.

  1. Select a task and click View Result on the right panel.
  2. Select emails and click Export on the upper bar 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 or not to export both the email list and the original emails.
  3. A file named "export.zip" will be saved to your local device. After extracting it, you will obtain the following files:
    • Original emails in the eml folder
    • An email list named export_list.csv

To import search results:

After exporting search results, you can edit the email list (export_list.csv) with a CSV-supported editor to refine the results. Then, you can import the modified list back to MailPlus Server for auditing.

  1. Click Import tasks next to the trash can icon.
  2. Upload the export_list.csv file.
  3. Enter a task name and click Import.
  4. Once the import is complete, the task will appear at the top of the list.

Note:

  • Message contents and attachments of an S/MIME email are not searchable because they are encrypted in the database. Only information such as sent to or from, date, and subject can be found in a search.
Queue
Auditing
Transaction Log
Client Access Log
Admin Log
Log Management
Mail Search