1

Topic: LDAP intergration from IredMail to Nextcloud

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.8 OPENELDAP edition
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: Ubuntu 22.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?: YES
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello!

I`m installed in the same network Nextcoud + Onlyoffice and configure Nexcloud use IredMail LDAP user database with LDAPS:///

Right now i have a LDAP user filter: (|(objectclass=mailUser)(objectclass=person))

Problem: LDAP client read/import all users from IredMail - i need only active not disabled users.

Question: What LDAP filter i need to use to get only Active users from IredMail LDAP ?

----

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

2

Re: LDAP intergration from IredMail to Nextcloud

SOLVED!

I found right filter: (&(|(objectclass=mailUser)(objectclass=person))(accountStatus=active))

3

Re: LDAP intergration from IredMail to Nextcloud

(objectclass=person) may be unnecessary.