Repository navigation
Is it possible to configure a different auth per domain? #620
Answered
by
foxcpp
jobcespedes
asked this question in
Q&A
|
Is it possible to have a different auth per domain? For instance, primary domain uses auth_ldap_server1 and second domain uses a separate auth_ldap_server2. |
Answered by
foxcpp
Aug 22, 2023
Replies: 2 comments 2 replies
|
The closest possible configuration is using https://maddy.email/reference/auth/plain_separate/ maddy will try each provider in order. If both use email addresses and recognize only their respective domains, it will work fine. |
1 reply
Answer selected by
jobcespedes
|
Would this also work, if the two providers were separate types? My use case would look something like this, tough I haven't gotten it to work so far: The helper is called and returns exit code 0, but the 2nd provider is still run and complains that the passwords don't match (understandably): |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The closest possible configuration is using https://maddy.email/reference/auth/plain_separate/
maddy will try each provider in order. If both use email addresses and recognize only their respective domains, it will work fine.