W dniu 30.08.2021 o 15:09, [email protected] pisze:
>> What is a limit (if exists) character limit in this map for one query
>>
>> smtpd_sender_login_maps =
>> proxy:ldap:/etc/postfix/ldap_sender_login_maps.cf - for
>> reject_sender_login_mismatch
>>
>> I create a one record with ~120 e-mail (It doesn't work for some
>> endpoints)
>
> You don't want to return multiple emails like that. Your query should
> include what it is looking for so you just get back the result you
> need. With login mismatch you shouldn't be returning all of the
> aliases a user is allowed to use, you should be returning the one
> email/username that the user should be logged into to use the alias in
> the From field of the email.
>
> Don't do: SELECT alias FROM accounts WHERE email='%s'   <-- Many
> results returned
> Do this: SELECT email FROM accounts WHERE alias='%s'    <-- One result
> returned
>
> (* Don't copy that exact query syntax, it's just an example in concept)
thenx for replay
Yes I know that (in other server I have similar solutions) but in this
time I have "special user" who need  thats map... and
It looks like there is a limit on the number of characters in the map


-

--

Reply via email to