Skip to content

Can't add unicode domain #1870

Answered by neonknight
bystrup asked this question in Q&A
Apr 4, 2020 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

the domain must be added as punycode: xn--havmndene-j3a.dk

however, modoboa should convert automatically. python3 code for that is:

import codecs
punycodename = codecs.encode(domainname, 'idna').decode()

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by kryskool
Comment options

You must be logged in to vote
1 reply
@thinktrans
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #1870 on December 12, 2020 08:03.