[GH-ISSUE #600] [Bug] IDN domain names #998

Closed
opened 2026-03-14 11:25:12 +03:00 by kerem · 6 comments
Owner

Originally created by @afarrag on GitHub (Feb 22, 2024).
Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/600

Hi,

I'm unable to add an Internationalized Domain Name. I receive the message Please enter a valid domain name. Is there a workaround?

The domain looks something like ابجدهوز.مصر
I also tried the punycode for it which is: xn--mgbcmmp9jh.xn--wgbh1c
but I get the same error message

Thanks!

Originally created by @afarrag on GitHub (Feb 22, 2024). Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/600 Hi, I'm unable to add an Internationalized Domain Name. I receive the message ```Please enter a valid domain name```. Is there a workaround? The domain looks something like ```ابجدهوز.مصر``` I also tried the punycode for it which is: ```xn--mgbcmmp9jh.xn--wgbh1c``` but I get the same error message Thanks!
kerem closed this issue 2026-03-14 11:25:17 +03:00
Author
Owner

@afarrag commented on GitHub (Feb 23, 2024):

PR #601 should fix it

<!-- gh-comment-id:1960606928 --> @afarrag commented on GitHub (Feb 23, 2024): PR #601 should fix it
Author
Owner

@willbrowningme commented on GitHub (Feb 23, 2024):

There is also some server side regex validating the domain. I need to do some testing of this first with Postfix etc. to make sure it all works as expected.

<!-- gh-comment-id:1961540787 --> @willbrowningme commented on GitHub (Feb 23, 2024): There is also some server side regex validating the domain. I need to do some testing of this first with Postfix etc. to make sure it all works as expected.
Author
Owner

@afarrag commented on GitHub (Feb 24, 2024):

Also, it appears that Postfix SMTPUTF8 support needs to be enabled to allow for Unicode localparts.

<!-- gh-comment-id:1962182672 --> @afarrag commented on GitHub (Feb 24, 2024): Also, it appears that [Postfix SMTPUTF8 support](https://www.postfix.org/SMTPUTF8_README.html) needs to be enabled to allow for Unicode localparts.
Author
Owner

@willbrowningme commented on GitHub (Jun 26, 2024):

Please could you try again now, the punycode version should work.

<!-- gh-comment-id:2192047418 --> @willbrowningme commented on GitHub (Jun 26, 2024): Please could you try again now, the punycode version should work.
Author
Owner

@afarrag commented on GitHub (Jul 1, 2024):

Thanks @willbrowningme, it works perfectly! I'm very grateful

Now I'm getting a new error if I try to send to a Unicode alias:
local-part of envelope RCPT address contains utf8 but remote server did not offer SMTPUTF8
Should I file it in a separate issue?

<!-- gh-comment-id:2200648498 --> @afarrag commented on GitHub (Jul 1, 2024): Thanks @willbrowningme, it works perfectly! I'm very grateful Now I'm getting a new error if I try to send to a Unicode alias: `local-part of envelope RCPT address contains utf8 but remote server did not offer SMTPUTF8 ` Should I file it in a separate issue?
Author
Owner

@willbrowningme commented on GitHub (Jul 1, 2024):

The addy.io mail servers do not support SMTPUTF8 and non-ASCII characters in the local part are not accepted.

<!-- gh-comment-id:2200885581 --> @willbrowningme commented on GitHub (Jul 1, 2024): The addy.io mail servers do not support SMTPUTF8 and non-ASCII characters in the local part are not accepted.
Sign in to join this conversation.
No labels
bug
pull-request
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/anonaddy#998
No description provided.