1

Topic: Error when update user

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail 1.6.1 
- Downloadable installer
- Debian 11.5
- LDAP backend
- Web server Nginx
- Manage mail accounts with iRedAdmin-Pro
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi,

We migrate iremail from CentOS 7 to Debian 11.5 (following docs.iredmail.org/migrate.to.new.iredmail.server.html). We upgrade iredadmin to last version (5.3). It's all working good, except when we try do edit some attributes from user (General tab) it gives the error:

Error: TYPE_OR_VALUE_EXISTS({'desc': 'Type or value exists', 'info': 'modify/add: member: value #0 already exists'})

What this can do? Nghinx log and openldap.log show nothing.

UPDATE:

When I restart the service "iredadmin" it works for a short time!

Thanks.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Stable release is out.

2

Re: Error when update user

dsti wrote:

when we try do edit some attributes from user (General tab) it gives the error:

Which attribute / profile did you edit to trigger the error?

3

Re: Error when update user

Sep 22 18:22:18 email slapd[489766]: conn=1001 fd=15 ACCEPT from IP=127.0.0.1:54756 (IP=0.0.0.0:389)
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=0 BIND dn="cn=vmailadmin,dc=**DELETED**" method=128
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=0 BIND dn="cn=vmailadmin,dc=**DELETED**" mech=SIMPLE ssf=0
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=0 RESULT tag=97 err=0 text=
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=1 SRCH base="domainName=dominio.ufrj.br,o=domains,dc=**DELETED**" scope=0 deref=0 filter="(objectClass=*)"
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=1 SRCH attr=accountSetting
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=2 SRCH base="mail=fcaseiro@dominio.ufrj.br,ou=Users,domainName=dominio.ufrj.br,o=domains,dc=**DELETED**" scope=0 deref=0 filter="(&(objectClass=mailUser)(mail=fcaseiro@dominio.ufrj.br))"
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=2 SRCH attr=mail cn uid accountStatus mailQuota employeeNumber title senderRelayHost shadowAddress mailForwardingAddress memberOfGroup enabledService disabledService domainGlobalAdmin shadowLastChange sn givenName uid mobile telephoneNumber preferredLanguage memberOfGroup userRecipientBccAddress userSenderBccAddress mailForwardingAddress mtaTransport storageBaseDirectory mailMessageStore homeDirectory accountSetting allowNets street postalCode postalAddress
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text=
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=3 SRCH base="ou=Users,domainName=dominio.ufrj.br,o=domains,dc=**DELETED**" scope=2 deref=0 filter="(objectClass=mailUser)"
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=3 SRCH attr=mailQuota
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=3 SEARCH RESULT tag=101 err=0 nentries=389 text=
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=4 SRCH base="mail=fcaseiro@dominio.ufrj.br,ou=Users,domainName=dominio.ufrj.br,o=domains,dc=**DELETED**" scope=0 deref=0 filter="(mail=fcaseiro@dominio.ufrj.br)"
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=4 SRCH attr=mailQuota
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=4 SEARCH RESULT tag=101 err=0 nentries=1 text=
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=5 SRCH base="o=domains,dc=**DELETED**" scope=2 deref=0 filter="(&(objectClass=mailList)(|(mail=lista@dominio.ufrj.br)(shadowAddress=lista@dominio.ufrj.br)))"
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=5 SRCH attr=mail shadowAddress
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=5 SEARCH RESULT tag=101 err=0 nentries=1 text=
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=6 SRCH base="o=domains,dc=**DELETED**" scope=2 deref=0 filter="(&(&(objectClass=mailList)(enabledService=mlmmj))(|(mail=lista@dominio.ufrj.br)(shadowAddress=lista@dominio.ufrj.br)))"
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=6 SRCH attr=mail shadowAddress
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=6 SEARCH RESULT tag=101 err=0 nentries=1 text=
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=7 MOD dn="mail=lista@dominio.ufrj.br,ou=Groups,domainName=dominio.ufrj.br,o=domains,dc=**DELETED**"
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=7 MOD attr=member
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=7 RESULT tag=103 err=20 text=modify/add: member: value #0 already exists
Sep 22 18:22:18 email slapd[489766]: conn=1001 op=8 UNBIND
Sep 22 18:22:18 email slapd[489766]: conn=1001 fd=15 closed

4

Re: Error when update user

I have posted the log above. The problem appears to be the mailing list integration.