1

Topic: User authorization in two ways

Good afternoon, is it possible to implement two different authorizations in the system. both local and via AD, I have mail that is not tied to AD and need authorization through the mail server and there are mail that need authorization through AD (LDAP). Domain names are different. It turns out to configure authorization via LDAP and everything works. but if I want to send an email from a user who has logged in locally on the server, he does not send, and if I send an email to this mailbox, which was created locally on the server. an email comes to the sender about a non-existent address, if I change everything to local authorization, then everything works fine. the task is as follows
1. One domain authorization via LDAP
2. The second domain authorization must be local

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: User authorization in two ways

Sure, simply add new ldap queries in Postfix (/etc/postfix/main.cf) and dovecot (userdb, passdb in /etc/dovecot/dovecot.conf).