On Thu, Oct 26, 2023 at 07:46:40PM -0400, Joey J via Postfix-users wrote:

> My only concern is if there is as an example a recipient that has literally
> 2K email addresses with LDAP/AD, which associates with how much inbound
> mail wont that slow down delivery a good amount, and potentially create a
> lot of overhead?

I don't see that the number addresses under which a user is known
matters at all.  You ask for exactly one of those addreses as a lookup
key, and the result returns one address (mail), that is the primary
address of the user.

Perhaps you meant a group with 2k members?  That can slow things down
slightly (you could even need to tune the virtual alias expansion
limit), and it is precisely large groups (that were typically internally
"moderated" to stop unapproved junk hitting large internal lists), for
which "terminal_result_attribute" was created.  Such groups are not
expanded (provided they have a terminal result attribute that "trumps"
the multi-valued, special_result_attribute "member" field.

Postfix has rather battle-hardened LDAP support, it was after all
used to support ultimately around 80k users for a decade or so.

If you have a complex environment, this takes some planning, but
all the pieces are in place.  Read LDAP_README multiple times with
care, take notes and plan your deployment.

-- 
    VIktor.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to