[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]> Fri, 17 Jul 2026 11:18:36 +0200
Newsgroups gmane.mail.postfix.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============4619849304055820647==
Content-Type: multipart/alternative;
 boundary="------------HNpzELoSqPszbOCAMU0BwT3v"
Content-Language: en-US

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

Hi Wietse,

Thank you

Regards,
Dmytro Alieksieiev
DevOps Engineer

On 16/07/2026 22:01, Wietse Venema via Postfix-users wrote:
> Implemented for Postfix 3.12:
> https://www.postfix.org/postconf.5.html#socketmap_max_query_size
>
>      socketmap_max_query_size (default: 10000)
> 	The maximum allowed query size for a socketmap client, not
> 	including the socketmap and netstring encapsulation. A
> 	request that exceeds the limit generates a warning and a
> 	'not found' result.
>
> This feature is implemented in Postfix >= 3.12. The docuentation
> is almost complete.
>
> With older Postfix versions, use pipemap to suppress queries that
> the socketmap-based SRS server does not support.
>
> 	Wietse
--------------HNpzELoSqPszbOCAMU0BwT3v
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Wietse,</p>
    <p>Thank you</p>
    <pre class="moz-signature" cols="72">Regards,
Dmytro Alieksieiev
DevOps Engineer</pre>
    <div class="moz-cite-prefix">On 16/07/2026 22:01, Wietse Venema via
      Postfix-users wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:[email protected]">
      <pre class="moz-quote-pre" wrap="">Implemented for Postfix 3.12:
<a class="moz-txt-link-freetext"
href="https://www.postfix.org/postconf.5.html#socketmap_max_query_size"
      moz-do-not-send="true">https://www.postfix.org/postconf.5.html#socketmap_max_query_size</a>

    socketmap_max_query_size (default: 10000)
	The maximum allowed query size for a socketmap client, not
	including the socketmap and netstring encapsulation. A
	request that exceeds the limit generates a warning and a
	'not found' result.

This feature is implemented in Postfix &gt;= 3.12. The docuentation
is almost complete.

With older Postfix versions, use pipemap to suppress queries that
the socketmap-based SRS server does not support.

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

--------------HNpzELoSqPszbOCAMU0BwT3v--

--===============4619849304055820647==
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]

--===============4619849304055820647==--