1

Topic: Authenticate both database and AD

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.84
- Linux/BSD distribution name and version: debian 8 jessie
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  mysql
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? no
- Related log if you're reporting an issue:
====

Any chance to Authenticate with both AD and database authenticate in same server.
I have 2 type of client project.

Thank you

----

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

2

Re: Authenticate both database and AD

Just append required LDAP queries in Postfix. For example:

Default iRedMail setting:

virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_maps.cf

Query AD also:

virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_maps.cf, proxy:ldap:/etc/postfix/xxx.cf

Define your own LDAP query to get proper result.

3

Re: Authenticate both database and AD

Wow. Wil try.

Thank you

4

Re: Authenticate both database and AD

I will buy you coffee ^^.

5

Re: Authenticate both database and AD

jackavin wrote:

I will buy you coffee ^^.

Received in PayPal. Thanks. smile