From: Mira Limbeck <m.limbeck@proxmox.com>
To: pmg-devel@lists.proxmox.com
Subject: [pmg-devel] [PATCH v2 pmg-docs 1/2] add pmgqm timespan and timer/service edit info
Date: Tue, 24 Aug 2021 11:33:12 +0200 [thread overview]
Message-ID: <20210824093313.955551-1-m.limbeck@proxmox.com> (raw)
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>
---
v2:
- reworded based on Dylan's suggestions
pmgqm.adoc | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/pmgqm.adoc b/pmgqm.adoc
index 08ad172..046c91e 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, 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[]
--
2.30.2
next reply other threads:[~2021-08-24 9:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-24 9:33 Mira Limbeck [this message]
2021-08-24 9:33 ` [pmg-devel] [PATCH v2 pmg-docs 2/2] add documentation for the pmg-log-tracker Mira Limbeck
2021-09-03 10:55 ` [pmg-devel] applied: " Stoiko Ivanov
2021-09-03 10:54 ` [pmg-devel] applied: [PATCH v2 pmg-docs 1/2] add pmgqm timespan and timer/service edit info Stoiko Ivanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210824093313.955551-1-m.limbeck@proxmox.com \
--to=m.limbeck@proxmox.com \
--cc=pmg-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox