From: Stoiko Ivanov <s.ivanov@proxmox.com>
To: pmg-devel@lists.proxmox.com
Subject: [PATCH pmg-api 1/2] config: add log-headers to pmg-smtp-filter parameters
Date: Thu, 11 Jun 2026 10:57:00 +0200 [thread overview]
Message-ID: <20260611085708.1121041-2-s.ivanov@proxmox.com> (raw)
In-Reply-To: <20260611085708.1121041-1-s.ivanov@proxmox.com>
changing this setting via our API (and eventually via GUI) should
notify pmg-smtp-filter that the workers should reload their
configuration.
tested by sending testmails and running:
`pmgsh set /config/mail --log-headers (0|1)`
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
---
src/PMG/Config.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/PMG/Config.pm b/src/PMG/Config.pm
index 83d687bd..943ae1ea 100644
--- a/src/PMG/Config.pm
+++ b/src/PMG/Config.pm
@@ -1926,6 +1926,7 @@ my $pmg_service_params = {
ndr_on_block => 1,
smtputf8 => 1,
'accept-broken-mime' => 1,
+ 'log-headers' => 1,
},
admin => {
dkim_selector => 1,
--
2.47.3
next prev parent reply other threads:[~2026-06-11 8:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-11 8:56 [PATCH pmg-api 0/2] small improvements for log-header functionality Stoiko Ivanov
2026-06-11 8:57 ` Stoiko Ivanov [this message]
2026-06-11 9:06 ` [PATCH pmg-api 1/2] config: add log-headers to pmg-smtp-filter parameters Dominik Csapak
2026-06-11 8:57 ` [PATCH pmg-api 2/2] pmg-smtp-filter: log-headers: trim trailing whitespace Stoiko Ivanov
2026-06-11 9:09 ` Dominik Csapak
2026-06-11 10:16 ` superseded: [PATCH pmg-api 0/2] small improvements for log-header functionality 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=20260611085708.1121041-2-s.ivanov@proxmox.com \
--to=s.ivanov@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