On Sat, Nov 08, 2025 at 10:46:09AM +0100, yena via Postfix-users wrote:

> We have recently changed the user lookup from mysql to socketmap:

Have you considered looking at the socketmap_table(5) manpage?

    https://www.postfix.org/socketmap_table.5.html
    ...
    REQUEST FORMAT
       The  socketmap  protocol supports only the lookup request.  The request
       has the following form:

           name <space> key
                  Search the named socketmap for the specified key.

       Postfix will not generate partial search  keys  such  as  domain  names
       without  one  or more subdomains, network addresses without one or more
       least-significant octets, or email addresses without the localpart, ad‐
       dress extension or domain portion. This behavior  is  also  found  with
       cidr:, pcre:, and regexp: tables.

> Would you know why the delimiter configuration does not get applied anymore
> when using socketmap as a backend? Is this a Bug?
> 
> Thank you very much for your support.

In table types that are expected to be able to easily compute their own
partial keys, such as regexp_table(5), pcre_table(5), ..,,
socketmap_table(5), only full address lookup keys are passed to the
table, and if partial lookups are desired, the table code can choose
to do that on its own.


-- 
    Viktor.  🇺🇦 Слава Україні!
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to