1

Topic: Problem with memberOfGroup in ldap

==== Required information ====
- iRedMail version: 0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: centos
- Related log if you're reporting an issue:
====

Zhang,

I have a domain called mail.abc.com & the alias name for the domain is abc.com. A mailing list is created with the name support@abc.com & members of around 300+, When ever i add a new member to that mailing list. some users are automatically removed from it.

After debugging i found that memberOfGroup stores domain name as well as alias name of the group. for eg..

memberOfGroup: support@mail.abc.com
memberOfGroup: support@abc.com

While viewing the ldap file of omitted user. I see  memberofGroup ldap value as

memberOfGroup: support@mail.abc.com

I think there is a problem with adding of users in the mailing lists with alias domain enabled.

Thanks
soundarajan

----

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

2

Re: Problem with memberOfGroup in ldap

*) May i know which version of iRedAdmin-Pro-LDAP you're running?
*) Are mailing list members internal mail users or external mail addresses?

3

Re: Problem with memberOfGroup in ldap

ZhangHuangbin wrote:

*) May i know which version of iRedAdmin-Pro-LDAP you're running?
*) Are mailing list members internal mail users or external mail addresses?


1. iRedAdmin - LDAP version 2.0
2. All are internal users

I have tried enabling and disabling the domain.

4

Re: Problem with memberOfGroup in ldap

Hi Soundar,

I cannot reproduce this issue with iRedAdmin-Pro-LDAP-2.0 and the latest development edition. I have no idea about how to solve it yet, sorry about this.

5

Re: Problem with memberOfGroup in ldap

Just confirmed it's caused by updating user profile, it doesn't query LDAP server to get alias domain.
Fixed moment ago, this fix will be available in upcoming release.