mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 00:46:03 +03:00
[GH-ISSUE #1419] Allowed characters in email addresses #1124
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#1124
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Mar 4, 2018).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1419
I've just been upgrading one of my dovecot servers and noticed the
auth_username_charssettings in10-auth.confThe default dovecot configuration means it's possible to create an account in Modoboa that a user can't login to ie
úsér@example.com. This needs some research to see what is and isn't supported by Postfix and Dovecot then update Modoboa as required.Has anyone encountered e-mail addresses containing unicode characters in the local part?
Django EmailValidator - used by Modoboa to check an e-mail address is valid
RFC 6530 Overview and Framework for Internationalized Email - proposed standard
Email address Internationalization
@tonioo commented on GitHub (Mar 7, 2018):
@fyfe Yes, it's supported since postfix 3.0 and it should work with Modoboa too. (Look at SMTPUTF8 for example).
@ghost commented on GitHub (Mar 24, 2018):
I should have been more specific, I'm more concerned about unicode characters in usernames. As the Dovecot configuration says by default it only allows ASCII characters in a username.
@ghost commented on GitHub (Mar 26, 2018):
RE Postfix support looking at the Postfix documentation for SMTPUTF8 (see No automatic conversions between ASCII and UTF-8 domain names.) to properly support domain names containing Unicode charatcters lookup tables (i.e.
virtual_mailbox_domainsorvirtual_alias_domainsetc) need to list domains in Unicode (例.com) and ASCII (xn--fsq.com) format.To support this a new field would need added to the
Domain(andDomainAlias) model containing the punycoded (ASCII) version of the domain, and the Postfix maps would need updated to lookup the Unicode and ASCII versions of the domain.I think at the moment we need a warning in the documentation saying that domains/usernames contaning unicode characters are not (fully) supported.
@macuser913 commented on GitHub (May 30, 2018):
I second this feature request
@marchesM commented on GitHub (Mar 25, 2020):
This feature would be amazing, considering that internationalized domains are quite commons.
I have a use case that is bothering me:
warning: Illegal address syntax from unknown[IPV6_ADDRESS] in MAIL command: <test@modoboà.com>I enabled the SMTPUTF8 on postfix following this:
http://www.postfix.org/SMTPUTF8_README.html
without this, you would get this in your postfix log:
warning: Illegal address syntax from unknown[IPV6_ADDRESS] in MAIL command: <test@modobo*??(.com>right now it is impossible to properly email around with a domain that contains special characters
@marchesM commented on GitHub (Mar 27, 2020):
I managed to fix all my issues with the following:
/etc/postfix/main.cfmake sure you are using compatibility level 2, wasn't my case:compatibility_level = 2/etc/postfix/main.cfdisable the smtputf8 support:smtputf8_enable = nowith this option i wasn't able to receive emails to my mailbox, I was gettingstatus=undeliverable (mail for modoboà.com loops back to myself). Be careful, with this option set to no, I am not sure if emails will actually be delivered if you have unicode characters in the username.so now I am able to:
hope this will help others, but I doubt that my settings will persist through time since the utf8 support is still a hot topic
@tonioo commented on GitHub (Dec 4, 2020):
@marchesM Do you use the ponycode version of your username to connect to the webmail?