public inbox for pmg-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Stoiko Ivanov <s.ivanov@proxmox.com>, pmg-devel@lists.proxmox.com
Subject: [pmg-devel] applied: [PATCH pmg-api] utils: ignore leading whitespace in sa description
Date: Wed, 25 Nov 2020 10:20:06 +0100	[thread overview]
Message-ID: <ed7117ea-0bc5-474f-028e-372ce926cbde@proxmox.com> (raw)
In-Reply-To: <20201119154839.4740-1-s.ivanov@proxmox.com>

On 19.11.20 16:48, Stoiko Ivanov wrote:
> load_sa_descriptions is used to parse the 'describe' lines for SpamAssassin
> rules for the SpamInfo in the quarantine view.
> 
> The regex for parsing is too strict, since config lines can contain
> leading whitespace (e.g. due to indentation in an 'ifplugin' block)
> 
> checked Mail::SpamAssassin::Conf::Parser and they strip leading/trailing
> whitespace as well.
> 
> tested on my local setup with a quarantined mail which hit KAM_DMARC_STATUS.
> 
> Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
> ---
> reported in our community forum:
> https://forum.proxmox.com/threads/consultation-about-the-meaning-of-some-pmg-smtp-filter-intercept-parameters.78962/
> 
>  src/PMG/Utils.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
>

applied, thanks!




      reply	other threads:[~2020-11-25  9:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-19 15:48 [pmg-devel] " Stoiko Ivanov
2020-11-25  9:20 ` Thomas Lamprecht [this message]

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=ed7117ea-0bc5-474f-028e-372ce926cbde@proxmox.com \
    --to=t.lamprecht@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