Since we allow edit of LDAP mail attribute, we can use it in Postfix LDAP queries that look up the user's email addresses.
Proposed enhancements
-
Add a new option to Mail domains "Add LDAP mail attribute addresses"
-
If Enforce Sender/Login match switch is enabled, the LDAP mail attribute is considered a valid address of the SASL login name
See also
Thanks to @mrmarkuz