Mail server
Rspamd — rejected messages in the database
Persistent history of rejected messages from the Rspamd log in MariaDB, automatic ingest, review, delete and retention.
-
How it works
The mail connector on the mail VM periodically parses the Rspamd log and stores rejected messages in a MariaDB table. For each entry the panel shows sender, recipient, subject, reason, score, IP and the full raw log. Log file rotation on disk no longer deletes history in the database.
-
Where in the panel
Mail → Rspamd → Rejected messages tab. Filter by period, open «Full log» for details. The «Sync from log» button runs manual import; automatic ingest runs about every minute via a systemd timer on the mail server.
-
Delete and retention
Select entries and delete them from the database (does not affect the Rspamd log on disk). «Purge older» removes entries older than the given number of days — default retention is 90 days (automatic purge). Useful for GDPR or cleaning old test entries.
-
After OTA or new mail server
After panel OTA update the mail connector (Mail → Server overview → Update connector). On an existing mail server re-apply the connector install step if the Rejected messages tab has no data. Ingest can backfill recent entries from the current log.
TipThe «Rejected messages» tab in the Rspamd module shows history from the database. The classic Rspamd log viewer still shows raw lines from the file — these are two different views of the same source.