What type of hardware are you using: Virtual machine What YunoHost version are you running: 12.1.28 How are you able to access your server: The webadmin
SSH Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: No
Describe your issue
I am trying to create a new email alias with the user portal, but I get an error every time I try to save it. It tells me that the first alias in the list already exists and won’t save the alias I am trying to add at the bottom of the list.
It’s as though the user portal is trying to add all the aliases again when it only needs to add the new one.
I have already made sure that users are allowed to edit email aliases here so I know it isn’t that issue.
Edit: this bug only occurs when users are also allowed to edit their primary email address in addition to aliases and forwards.
I did test on my system and get the very problem on 12.1.28, so your are not alone.
Adding an alias works when there are no alias, when there is one alias it fails.
would qualify this as a bug.
This problem is more specific, i get no problem with test@domain but with test.ab@domain,.
This depend then on content of alias.
test.a@domain works, but not test.ab@domain .
I finally reproduced your problem with activated in Yunohost setting the fact that User can change its primary address too. Disabling that feature make it works.
Somehow changing primary address and supporting alias is conflicting.