[pfx] Re: cleanup(8): recipient_canonical can emit an over-long socketmap query with no operator guard; PERM then retried as 451

Dmytro Alieksieiev via Postfix-users <[email protected]> Thu, 16 Jul 2026 14:32:10 +0200
Newsgroups gmane.mail.postfix.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============3726917467570389693==
Content-Type: multipart/alternative;
 boundary="------------iWlNT83B4XRGxvK6Ahnz4JAl"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------iWlNT83B4XRGxvK6Ahnz4JAl
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Yes, I think such configurationĀ error should be treated more seriously. 
Operator somehow need catch missconfiguration in addition to logs, at 
least from my view.

Regards,
Dmytro Alieksieiev
DevOps Engineer

On 16/07/2026 14:01, Wietse Venema via Postfix-users wrote:
>      $ cat /tmp/p
>      IF /foo/u
>      /./ yes
>      ENDIF
>      $ postmap -q asdf pcre:/tmp/p
>      postmap: warning: pcre map /tmp/p, line 1: unknown regexp option "u": skipping this rule
>      postmap: warning: pcre map /tmp/p, line 3: ignoring ENDIF without matching IF
>      yes
>
> Do you want this to be a fatal error instead of a warning?
>
> 	Wietse
--------------iWlNT83B4XRGxvK6Ahnz4JAl
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Yes, I think such configurationĀ error should be treated more
      seriously. Operator somehow need catch missconfiguration in
      addition to logs, at least from my view.</p>
    <pre class="moz-signature" cols="72">Regards,
Dmytro Alieksieiev
DevOps Engineer</pre>
    <div class="moz-cite-prefix">On 16/07/2026 14:01, Wietse Venema via
      Postfix-users wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:[email protected]">
      <pre class="moz-quote-pre" wrap="">    $ cat /tmp/p
    IF /foo/u
    /./ yes
    ENDIF
    $ postmap -q asdf pcre:/tmp/p
    postmap: warning: pcre map /tmp/p, line 1: unknown regexp option "u": skipping this rule
    postmap: warning: pcre map /tmp/p, line 3: ignoring ENDIF without matching IF
    yes

Do you want this to be a fatal error instead of a warning?

	Wietse</pre>
    </blockquote>
  </body>
</html>

--------------iWlNT83B4XRGxvK6Ahnz4JAl--

--===============3726917467570389693==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

--===============3726917467570389693==--