From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 89E351FF168 for ; Mon, 14 Oct 2024 20:05:40 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id D944C9B80; Mon, 14 Oct 2024 20:06:10 +0200 (CEST) From: Stoiko Ivanov To: pmg-devel@lists.proxmox.com Date: Mon, 14 Oct 2024 20:05:49 +0200 Message-Id: <20241014180549.27671-4-s.ivanov@proxmox.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241014180549.27671-1-s.ivanov@proxmox.com> References: <20241014180549.27671-1-s.ivanov@proxmox.com> MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.072 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pmg-devel] [PATCH pmg-docs v4 1/1] pmgconfig: document support for html and plain-text email templates X-BeenThere: pmg-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Mail Gateway development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pmg-devel-bounces@lists.proxmox.com Sender: "pmg-devel" From: Christoph Heiss Signed-off-by: Christoph Heiss [S.I. adapt to changed semantics] Signed-off-by: Stoiko Ivanov --- pmgconfig.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pmgconfig.adoc b/pmgconfig.adoc index a9377c5..e9833d4 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 -- 2.39.5 _______________________________________________ pmg-devel mailing list pmg-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pmg-devel