Topic: Empty postmap query when searchin otherMailbox attibute
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.2 OPENLDAP edition.
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Debian 11
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP (Active Directory Windows Server 2016)
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? - No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi, I have successfully installed iRedMail and integrated it with Active Directory. I'm tring to use AD attribute "otherMailbox" to setup multiple aliases, but postmap query always return empty result. I have tried to use the same query with "Users and computers" snap-in and it works. It looks like postmap query cannot search multi-value attributes? Here is my alias config:
server_host = 192.168.97.12
server_port = 3268
version = 3
bind = yes
start_tls = no
bind_dn = cn=vmail,cn=users,dc=example,dc=local
bind_pw = *******
search_base = dc=example,dc=local
scope = sub
debuglevel = 0
query_filter = (&(objectClass=user)(otherMailbox=%s))
result_attribute = userPrincipalName
I have also tried proxyAddresses , but without any result. Everything seems to be ok when searching singiel-value attributes.
Can any one help me to resolve this issue ?
Best regards,
Bartek
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.