Quarantine¶
The quarantine in nmg is based on the Postfix hold queue — no separate database. Messages whose spam score exceeds the configured quarantine threshold are moved to the hold queue.
Quarantine List¶
The table shows all messages currently in quarantine across the entire cluster:
| Column | Description |
|---|---|
| From | Sender address (envelope from) |
| To | Recipient address |
| Subject | Subject line (if present) |
| Score | rspamd score at scan time |
| Size | Message size |
| Time | When the message entered quarantine |
| Node | Cluster node where the mail resides |
Actions¶
Individual Messages¶
- Release — Message is moved from the hold queue to the normal delivery queue and delivered
- Reject — A bounce/DSN is sent to the sender, mail deleted
- Delete — Mail is silently deleted (no bounce)
- Preview — Mail headers and body are shown in the browser
Bulk Actions¶
Select multiple mails and process them with a single action. Useful during spam bursts with many similar messages.
Sender Allow-List¶
When releasing a mail, the sender can optionally be added to the allow-list so future mails from that sender no longer go to quarantine.
End-User Quarantine Portal¶
When the Quarantine Portal is enabled in Mail Configuration, end users can view and release their own quarantined mails at the configured portal FQDN.
- Access via email address + automatic link (no password required)
- End users only see their own mails
- Admins see all mails in the management UI
Digest Emails¶
With digest enabled, end users regularly receive a summary of their quarantined mails by email. Configurable in Mail Configuration → Digest.
Training Directly from Quarantine¶
Every mail in quarantine has direct Train as Spam / Train as Ham buttons — training does not need to be done via the separate training page. Training is executed cluster-wide and logged in the audit log.
Retention Period¶
Mails in quarantine are automatically deleted after the configured retention period. Default: 30 days. Configured in Mail Configuration → Quarantine.
Monitor hold queue size
The Postfix hold queue is not an unlimited store. With very high spam volume, queue size can grow quickly. Review and bulk-purge regularly.