]> git.proxmox.com Git - pmg-docs.git/blame_incremental - pmgqm.adoc
bump version to 8.0.0
[pmg-docs.git] / pmgqm.adoc
... / ...
CommitLineData
1[[chapter_pmgqm]]
2ifdef::manvolnum[]
3pmgqm(1)
4========
5:pmg-toplevel:
6
7NAME
8----
9
10pmgqm - Quarantine Management Toolkit
11
12
13SYNOPSIS
14--------
15
16include::pmgqm.1-synopsis.adoc[]
17
18
19DESCRIPTION
20-----------
21endif::manvolnum[]
22ifndef::manvolnum[]
23pmgqm - Quarantine Management Toolkit
24=====================================
25:pmg-toplevel:
26endif::manvolnum[]
27
28Toolkit to manage spam and virus quarantine, and send spam report mails.
29
30The possible timespans are `week`, `yesterday`, and `today`. The default
31pmgspamreport.service is run at 00:05 every day and calls the `pmgqm` command
32with the `--timespan yesterday` parameter.
33This will send a spam report if at least one new spam mail was moved to the
34quarantine since the beginning of the previous day.
35
36The service can be edited, for example, to change the timespan to `today` or
37`week`, with the following command:
38----
39systemctl edit pmgspamreport.service
40----
41
42The timer can be edited with the command below:
43----
44systemctl edit pmgspamreport.timer
45----
46
47Note that adding another `OnCalendar` event will cause the report to be sent in
48addition to the default time. If you want to prevent the default email at
4900:05, you must first reset the original `OnCalendar` setting, For example, to
50send the emails *only* at 06:00 you would enter the following lines when
51editing the timer unit:
52
53----
54[Timer]
55OnCalendar=
56OnCalendar=06:00
57----
58
59For details see the systemd man pages: `systemd.unit(5)`, `systemd.timer(5)`.
60
61ifdef::manvolnum[]
62include::pmg-copyright.adoc[]
63endif::manvolnum[]
64