Quantcast
Channel: iRedMail
Viewing all articles
Browse latest Browse all 48130

Re: Search base between 2 OU in iRedmail with AD integration

$
0
0
gro555 wrote:

I also tried to use two queries files, but then I faced new problem, because it worked for postfix configuration, but not for dovecot.

You can use this style in Dovecot too. For example:

#
# Original settings
#
userdb {
    args = /etc/dovecot/dovecot-mysql.conf
    driver = ldap
}

passdb {
    args = /etc/dovecot/dovecot-mysql.conf
    driver = ldap
}

Just add more userdb and passdb for another OU like below:

# For users under ou=Employees
userdb {
    args = /etc/dovecot/dovecot-mysql-employees.conf
    driver = ldap
}

passdb {
    args = /etc/dovecot/dovecot-mysql-employees.conf
    driver = ldap
}

# For users under ou=Parttime
userdb {
    args = /etc/dovecot/dovecot-mysql-parttime.conf
    driver = ldap
}

passdb {
    args = /etc/dovecot/dovecot-mysql-parttime.conf
    driver = ldap
}

Viewing all articles
Browse latest Browse all 48130

Trending Articles