[GH-ISSUE #790] Unicode chars in email addresses #706

Closed
opened 2026-02-27 11:13:08 +03:00 by kerem · 0 comments
Owner

Originally created by @virtuaris on GitHub (Nov 18, 2015).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/790

Originally assigned to: @tonioo on GitHub.

Hei tonioo,

using modoboa to manage a mailserver in germany i encountered a new issue. With modoboa it is not possible to add accounts having special chars within the local part of the email address (e.g. münchen@example.net) neither it's supported to add a domain using special chars (e.g. foo@münchen.de).
According to rfc 6531 this should be possible and nowadays many MTAs and MUAs support it.
The first case (local part) is prevented by the form validator (Enter a valid email address.).
The second case (domain part) isn't even validated leading to an internal server error (UnicodeEncodeError at /admin/domains/new/ 'ascii' codec can't encode character u'\xfc' in position 1: ordinal not in range(128)).

Bests

Harald

Originally created by @virtuaris on GitHub (Nov 18, 2015). Original GitHub issue: https://github.com/modoboa/modoboa/issues/790 Originally assigned to: @tonioo on GitHub. Hei tonioo, using modoboa to manage a mailserver in germany i encountered a new issue. With modoboa it is not possible to add accounts having special chars within the `local part` of the email address (e.g. `münchen@example.net`) neither it's supported to add a domain using special chars (e.g. `foo@münchen.de`). According to [rfc 6531](https://tools.ietf.org/html/rfc6531) this should be possible and nowadays many MTAs and MUAs support it. The first case (`local part`) is prevented by the form validator (`Enter a valid email address.`). The second case (`domain part`) isn't even validated leading to an internal server error (`UnicodeEncodeError at /admin/domains/new/ 'ascii' codec can't encode character u'\xfc' in position 1: ordinal not in range(128)`). Bests Harald
kerem 2026-02-27 11:13:08 +03:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#706
No description provided.