It seems you haven’t the valuefor ldapEmail
Normally it should be a value mail or maildrop
Can you verify if you have two ldap configurations in the admin of nextcloud =>
some time a new one which is empty is created.
what returns
yunohost app setting nextcloud enable_forward_email
Can you verify if you have two ldap configurations in the admin of nextcloud =>
some time a new one which is empty is created, you can keep just one, take care that the LDAP must have the values for communicate with LDAP Yunohost…
you can verify in a shell app
yunohost app shell nextcloud
php occ ldap:show-config s02 | grep ldapEmailAttribute
if there is a value mail or maildrop
I discovered I have also two LDAP configurations, the first one s01 is correct not the second one s02 because perhaps like you it haven’t a ldapEmailAttribute ! I have remove it the Admin nextcloud => Integration AD/LDAP
try also perhaps and see it
php occ ldap:show-config s01 | grep ldapEmailAttribute
To exit from the app shell
exit