public inbox for pmg-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pmg-devel] [PATCH pmg-docs 1/2] add pmgqm timespan and timer/service edit info
@ 2021-08-23 13:15 Mira Limbeck
  2021-08-23 13:15 ` [pmg-devel] [PATCH pmg-docs 2/2] add documentation for the pmg-log-tracker Mira Limbeck
  2021-08-24  7:26 ` [pmg-devel] [PATCH pmg-docs 1/2] add pmgqm timespan and timer/service edit info Dylan Whyte
  0 siblings, 2 replies; 3+ messages in thread
From: Mira Limbeck @ 2021-08-23 13:15 UTC (permalink / raw)
  To: pmg-devel

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>
---
 pmgqm.adoc | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/pmgqm.adoc b/pmgqm.adoc
index 08ad172..2c1da9c 100644
--- a/pmgqm.adoc
+++ b/pmgqm.adoc
@@ -27,6 +27,23 @@ 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, e.g. 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[]
-- 
2.30.2





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-24  7:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-23 13:15 [pmg-devel] [PATCH pmg-docs 1/2] add pmgqm timespan and timer/service edit info Mira Limbeck
2021-08-23 13:15 ` [pmg-devel] [PATCH pmg-docs 2/2] add documentation for the pmg-log-tracker Mira Limbeck
2021-08-24  7:26 ` [pmg-devel] [PATCH pmg-docs 1/2] add pmgqm timespan and timer/service edit info Dylan Whyte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal