1

Topic: Internal server error while adding a IDN Domain

==== Provide required information to help troubleshoot and get quick answer ====
- Linux/BSD distribution name and version: CentOS
- iRedMail version and backend (LDAP/MySQL): MySQL
- Any related log? Log is helpful for troubleshooting.
====

I was trying to add an IDN (Internationalized Domain Name) domain as an alias for one of my existing doamins and ran in an internal server error. It looks like iRedAdmin is not able to handle Umlaut domains (IDN Internationalized Domain Names). Can you confirm?
Do you treat this as a bug?

Regards
Jens

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Internal server error while adding a IDN Domain

iRedAdmin cannot handle IDN, sorry.
Within iRedAdmin, all mail accounts must be ASCII characters.

3

Re: Internal server error while adding a IDN Domain

Ouch! I have at least 5 customers that have IDN domains. Don't you think a 'pro' product should be able to handle international standards?

Regards
Jens

4

Re: Internal server error while adding a IDN Domain

Hi BigJens,

I'm so sorry that still no plan to support IDN in iRedAdmin-Pro.

5

Re: Internal server error while adding a IDN Domain

Okay, understand.

I added my IDN domain now in punycode, which seem to work and mails are accepted and processed. Unfortunately the mails that are sent out are in punycode as well. The sender address looks like this now: user@xn--hundertschn-0fb.net ;-)

Do you see any possibility to re-write the address?

Thanks in advance
Jens

6

Re: Internal server error while adding a IDN Domain

Sorry, what's "punycode"?
If it's a Postfix server, you can try it with official document:
http://www.postfix.org/ADDRESS_REWRITING_README.html

7

Re: Internal server error while adding a IDN Domain

From http://www.ietf.org/rfc/rfc3492.txt

   

Punycode is a simple and efficient transfer encoding syntax designed
   for use with Internationalized Domain Names in Applications (IDNA).
   It uniquely and reversibly transforms a Unicode string into an ASCII
   string.  ASCII characters in the Unicode string are represented
   literally, and non-ASCII characters are represented by ASCII
   characters that are allowed in host name labels (letters, digits, and
   hyphens).  This document defines a general algorithm called
   Bootstring that allows a string of basic code points to uniquely
   represent any string of code points drawn from a larger set.
   Punycode is an instance of Bootstring that uses particular parameter
   values specified by this document, appropriate for IDNA.

There are several converters outthere to convert unicode to punycode. e.G.

http://idnaconv.phlymail.de/index.php?d … ode+%3E%3E

8

Re: Internal server error while adding a IDN Domain

Thanks for your sharing.

I did some research, looks like IDN is just a mail client issue, not a MTA issue:
http://www.irbs.net/internet/postfix/0804/0128.html