- Used Zammad version: 2.8
- Used Zammad installation source: zammad-docker-compose
Our zammad is integrated with freeipa/ldap, our organisations domain name is here.com
Our mail server predates our freeipa server, and it hasn’t been integrated with it yet, so accounts on the mail server are local to the mail server and separate from the freeipa accounts.
zammad creates accounts when it sees an email address, so it sees the address firstname.lastname@example.org and creates an account.
6 months later we create a user on freeipa for email@example.com
zammad sees the new user the next ldap sync run and tries to create an account but it can’t as there’s already an account with the email firstname.lastname@example.org
- probably exactly what it’s doing right now, although better logging would be handy. We get and error message and a trace back
ERROR – : Email address is already used for other user. (Exceptions::UnprocessableEntity)
but no mention of which email is duplicated.
I saw this issue https://github.com/zammad/zammad/issues/2000 and I’m wondering what exactly user_email_multiple_use does and whether it will help in this situation?
Now that I understand what’s happening I can fix the problem by altering the email address in the database for the old existing account.