public inbox for pmg-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: Stoiko Ivanov <s.ivanov@proxmox.com>, pmg-devel@lists.proxmox.com
Subject: Re: [PATCH pmg-api 1/2] config: add log-headers to pmg-smtp-filter parameters
Date: Thu, 11 Jun 2026 11:06:53 +0200	[thread overview]
Message-ID: <31632d5b-8a11-4ca9-8046-108dd6af1821@proxmox.com> (raw)
In-Reply-To: <20260611085708.1121041-2-s.ivanov@proxmox.com>

Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by: Dominik Csapak <d.csapak@proxmox.com>

On 6/11/26 10:57 AM, Stoiko Ivanov wrote:
> 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,





  reply	other threads:[~2026-06-11  9:07 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 ` [PATCH pmg-api 1/2] config: add log-headers to pmg-smtp-filter parameters Stoiko Ivanov
2026-06-11  9:06   ` Dominik Csapak [this message]
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=31632d5b-8a11-4ca9-8046-108dd6af1821@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=pmg-devel@lists.proxmox.com \
    --cc=s.ivanov@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
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal