Skip to content
Discussion options

You must be logged in to vote

Solution Found: Root Cause and Fix for LDAP Email Alias Delivery

I've successfully resolved this issue and wanted to share the solution and root cause for anyone facing similar problems.

Root Cause

The issue was that the LDAP attribute used for email aliases (otherMailbox) was not searchable/indexable in OpenLDAP. When Stalwart performs RCPT TO validation during SMTP delivery, it uses the filter.email LDAP filter to search for the recipient address. Since otherMailbox couldn't be indexed in OpenLDAP, the LDAP search query would return no results, even though the attribute values existed and were visible when directly reading the user object.

Why it appeared to work in the UI

The Admin UI …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PatrickHuetter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant