From fcc8171c86745ca7b7ae01bafa100f848e3e6580 Mon Sep 17 00:00:00 2001 From: Christoph Heiss Date: Mon, 14 Oct 2024 20:05:49 +0200 Subject: [PATCH] pmgconfig: document support for html and plain-text email templates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christoph Heiss [S.I. adapt to changed semantics] Signed-off-by: Stoiko Ivanov Reviewed-by: Christoph Heiss Tested-by:  Christoph Heiss --- pmgconfig.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pmgconfig.adoc b/pmgconfig.adoc index a932a50..08b7493 100644 --- a/pmgconfig.adoc +++ b/pmgconfig.adoc @@ -155,6 +155,14 @@ engine, and the Apache {spamassassin} project. These services use separate configuration files, so we need to rewrite those files when the configuration is changed. +{pmg} also features support for customizing the email-based reports and +notifications it can send to administrators and users. These can be adjusted in +the same way as configuration files. For some reports and notifications, both +HTML and plain-text variants exist, which will be send together as multi-part +mail. These can be recognized by being suffixed using `.html.tt` or `.plain.tt`, +respectively, and should be modified together if available to present a +consistent experience to users. + We use a template-based approach to generate these files. The {tts} is a well known, fast and flexible template processing system. You can find the default templates in `/var/lib/pmg/templates/`. Please do not