Mail aliases and forwards visible in ldap but not in admin interface

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 11.3.0.2
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 ?: Nope

Describe your issue

When I tried to create an alias for a user account, there was an error Could not update user xyz: LDAP attribute 'mail' already exists with value 'xxxxxx@yyyyy.zz'

I searched in the ldap and found another user with the same alias… ok… but…

When I looked to that other user account in the admin interface I saw no aliases and no forwards !

But I see them when I use slapcat.

Any clues about that ?

Share relevant logs or error messages

root@***:~# slapcat | grep -20 *****
displayName: ****
cn: ****
sn: ****
loginShell: /bin/bash
userPassword:: **********************
maildrop: **
maildrop: ***@***.***
maildrop: ***@***.***
maildrop: ***@***.***
maildrop: ***@***.***
maildrop: ***@***.***
mail: ***@***.***
mail: ***@***.***
mail: ***@***.***
mail: ***@***.***
entryCSN: 20250204101339.874596Z#000000#000#000000
modifiersName: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
modifyTimestamp: 20250204101339Z

Hmokay and same if you check in CLI with yunohost user info <username> ?

Yep…

root@****:~# yunohost user info ****
fullname: **** ****
loginShell: /bin/bash
mail: ***@***.**
mail-aliases: 
mail-forward: 
mailbox-quota: 
  limit: No quota
  use: 59.1M
username: ****

My bad… with

root@****:~# yunohost user list --fields mail-alias

I see where I was confused and I mixed two quite similar usernames.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.