Univention Bugzilla – Bug 46753
Can't use Umlaut-Maildomains
Last modified: 2021-05-03 21:38:37 CEST
Created attachment 9488 [details] Ulaut Maildomain is rejected Since Umlaut maildomains exists [https://tools.ietf.org/html/rfc5894] it's possible to create them in the Mail module of UMC. The problem is you can't use them. When you try to assign an e-mail address with a Umlaut domain to a user you get the following error - see attach screenshot. If you try this via console: # udm users/user modify --dn "uid=socu,cn=users,dc=univention,dc=test" --set "mailPrimaryAddress=socu@rößlein.de" LDAP Error: Invalid syntax: mailPrimaryAddress: value #0 invalid per syntax
Workaround: Add the Umlaut domain to the mail domain: domäne.com Add the Mailadress in puny code style (user@xn--domne-ira.com) to the user (I tested with mailAlternativeAddress) to the user. Send mail to user@domäne.com. Works. A real fix would be nice though.
Should be relatively easy to fix, just .encode('idna'). A patch for computers is at Bug #34948.
(In reply to Florian Best from comment #2) > Should be relatively easy to fix, just .encode('idna'). > A patch for computers is at Bug #34948. IIRC this will not fix following postfix configuration problems.
(In reply to Sönke Schwardt-Krummrich from comment #3) > (In reply to Florian Best from comment #2) > > Should be relatively easy to fix, just .encode('idna'). > > A patch for computers is at Bug #34948. > > IIRC this will not fix following postfix configuration problems. Okay, I thought it works, as described in comment #1.
Requested again: https://help.univention.com/t/idn-domain-not-possible/11587/1