LDAP/AD Authentication for spesific domain users along with classic virtualmin users

Hello, I want to set up LDAP/AD authentication for specific domain. In my server there are others domains too, I want to set LDAP/AD auth’able email users just for a domain only. Is that possible?

Ofc. there gonna be automatic user creation when there isn’t any user created before and also want to be them still linked with actual virtual domain which they had to. They shouldn’t be directy attached to master postfix/dovecot. Almalinux8/Postfix+Dovecot.

@emirefek,

I’m not sure this can be done with a standard install on a per domain basis. I believe LDAP would be global, so you’ll need to either hack the setup or choose the best authentication model for your needs.