Mail domain error

Hi,

I am installg a new VM with LDAP, mail, Nethvocie/proxy, SOGo and Nextcloud.

When going to mail settings I get:

NethVoice saw the LDAP domain correctly, mail and Sogo do not. Any idea’s pls?

TIA