Preparations for using Microsoft Active Directory as iRedMail backend

Summary

To query mail accounts against Microsoft Active Directory, we need a LDAP user account which can query the Active Directory.

In this tutorial, we will show you how to

This tutorial has been tested on Windows Server 2012, but it should work for all Windows Server versions.

Create read-only account: vmail

Now we need to grant vmail user required privileges.

In the Active Directory Users and Computers window, right click your AD domian name (in our example it's iredmail.org), and select Delegate Control....

Create admin account.