Is it possible to configure a different auth per domain? #620
-
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. |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
-
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):
|
Beta Was this translation helpful? Give feedback.
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.