1

Topic: shadow address attrib in ms ad

iRedMail 4.2 on Linux CentOS
store accounts in LDAP (Microsoft Active Directory)
web server: nginx
Manage accounts in Microsoft Active Directory.
There is a big need to have a multiple mail addresses of one account. I've seen there is a shadow address feature in official docs. For LDAP backend, per-user alias addresses are stored in LDAP attribute shadowAddress of user object, and attribute/value pair enabledService=shadowaddress is required.
But in Microsoft Active Directory there is no such attributes (shadowAddress, enabledService).
So how can i use some unused windows attributes to have this feature work for me.
I guess I need  to change dovecot-ldap.conf  to use standart ms attributes extensionAttribute2 and extensionAttribute3 as a shadowAddress attribute. But it doesn't work.
something like this
user_attrs     = =home=/var/vmail/mailboxes/dns.loc/%Ln/,=mail=maildir:~/Maildir/,=shadowAddress=%{ldap:extensionAttribute2},=enabledService=%{ldap:extensionAttribute3}

----

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