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

**URL:** <https://forum.yunohost.org/t/mail-aliases-and-forwards-visible-in-ldap-but-not-in-admin-interface/35732>\
**Category:** Support\
**Tags:** ldap\
**Created:** [March 2, 2025, 5:13pm UTC](https://forum.yunohost.org/t/mail-aliases-and-forwards-visible-in-ldap-but-not-in-admin-interface/35732 "2025-03-02T17:13:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tierce](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tierce/32/9675_2.png) [@tierce](https://forum.yunohost.org/u/tierce)\
**Post date:** [March 2, 2025, 5:13pm UTC](https://forum.yunohost.org/t/mail-aliases-and-forwards-visible-in-ldap-but-not-in-admin-interface/35732/1 "2025-03-02T17:13:51Z")

</div>

**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

```auto
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

```

 ![image](https://forum.yunohost.org/uploads/default/original/2X/3/34ab7c02158c51a90d579de63a6a231118b5bbc1.png)

---

<div class="post-metadata">

**Author:** ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)\
**Post date:** [March 2, 2025, 5:16pm UTC](https://forum.yunohost.org/t/mail-aliases-and-forwards-visible-in-ldap-but-not-in-admin-interface/35732/2 "2025-03-02T17:16:03Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tierce](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tierce/32/9675_2.png) [@tierce](https://forum.yunohost.org/u/tierce)\
**Post date:** [March 2, 2025, 5:40pm UTC](https://forum.yunohost.org/t/mail-aliases-and-forwards-visible-in-ldap-but-not-in-admin-interface/35732/3 "2025-03-02T17:40:13Z")

</div>

Yep…

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

```

---

<div class="post-metadata">

**Author:** ![tierce](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tierce/32/9675_2.png) [@tierce](https://forum.yunohost.org/u/tierce)\
**Post date:** [March 2, 2025, 5:49pm UTC](https://forum.yunohost.org/t/mail-aliases-and-forwards-visible-in-ldap-but-not-in-admin-interface/35732/4 "2025-03-02T17:49:11Z")

</div>

My bad… with

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

```

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

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [April 1, 2025, 5:50pm UTC](https://forum.yunohost.org/t/mail-aliases-and-forwards-visible-in-ldap-but-not-in-admin-interface/35732/5 "2025-04-01T17:50:06Z")

</div>

Closed on April 1, 2025, 5:50pm UTC

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