title: Proxmox Mail Gateway: Spam Quarantine Queue
agents: pmg
catalog: app/pmg
license: GPLv2
distribution: check_mk
description:
 Monitors the current backlog of spam-quarantined mail that still needs
 to be released or deleted, via {/quarantine/spam} with an explicit
 {starttime}/{endtime} window (the lookback in days is configurable in
 the special agent rule, default 30 days).

 Unlike {PMG Spam Quarantine Statistics} (which reports the full
 quarantine database via {/quarantine/spamstatus}, effectively a
 historic counter that keeps growing), this check reflects mail that
 actually still sits in the queue within the configured window.

 Default WARN/CRIT thresholds: WARN above 1 mail, CRIT above 10 mails.

item:
 None, one service per host.

discovery:
 One service is created if the spam quarantine queue is available from
 the API.
