mirror of
https://git.proxmox.com/git/pmg-docs
synced 2025-10-04 05:36:20 +00:00

The case of customizing the service and timer files comes up from time to time. As we haven't documented it yet, add it to the documentation together with a clarification of the `yesterday` timespan parameter. Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
51 lines
1.0 KiB
Plaintext
51 lines
1.0 KiB
Plaintext
[[chapter_pmgqm]]
|
|
ifdef::manvolnum[]
|
|
pmgqm(1)
|
|
========
|
|
:pmg-toplevel:
|
|
|
|
NAME
|
|
----
|
|
|
|
pmgqm - Quarantine Management Toolkit
|
|
|
|
|
|
SYNOPSIS
|
|
--------
|
|
|
|
include::pmgqm.1-synopsis.adoc[]
|
|
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
endif::manvolnum[]
|
|
ifndef::manvolnum[]
|
|
pmgqm - Quarantine Management Toolkit
|
|
=====================================
|
|
:pmg-toplevel:
|
|
endif::manvolnum[]
|
|
|
|
Toolkit to manage spam and virus quarantine, and send spam report mails.
|
|
|
|
The possible timespans are `week`, `yesterday`, and `today`. The default
|
|
pmgspamreport.service is run at 00:05 every day and calls the `pmgqm` command
|
|
with the `--timespan yesterday` parameter.
|
|
This will send a spam report if at least one new spam mail was moved to the
|
|
quarantine since the beginning of the previous day.
|
|
|
|
The service can be edited, for example, to change the timespan to `today` or
|
|
`week`, with the following command:
|
|
----
|
|
systemctl edit pmgspamreport.service
|
|
----
|
|
|
|
The timer can be edited with the command below:
|
|
----
|
|
systemctl edit pmgspamreport.timer
|
|
----
|
|
|
|
ifdef::manvolnum[]
|
|
include::pmg-copyright.adoc[]
|
|
endif::manvolnum[]
|
|
|