After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 486018 - Implement IDNA (Internationalized Domain Names in Applications, RFC3490)
Implement IDNA (Internationalized Domain Names in Applications, RFC3490)
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Mailer
3.0.x (obsolete)
Other Linux
: Normal enhancement
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[smtp]
: 505198 571376 593400 681616 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-10-12 13:29 UTC by jonatan
Modified: 2015-02-15 16:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed eds patch (6.71 KB, patch)
2014-08-26 10:42 UTC, Milan Crha
none Details | Review

Description jonatan 2007-10-12 13:29:00 UTC
With this translation it is possible to have non-ascii characters in domain names, without changing anything in the DNS and MTA servers in use today. The application itself should translate a domain containing non-ascii characters into its ascii representation using the algorithm referenced in RFC3490.
Comment 1 Daniel Eriksson 2008-04-27 05:22:00 UTC
+1 on this. IDN domains are becoming more and more popular, Evolution really needs to support this.
Comment 2 Matthew Barnes 2008-04-27 15:55:32 UTC
Related: http://www.gnu.org/software/libidn/

Not yet a blessed external dependency for GNOME.
Comment 3 Matthew Barnes 2009-02-12 03:32:11 UTC
*** Bug 571376 has been marked as a duplicate of this bug. ***
Comment 4 Matthew Barnes 2009-02-12 03:33:39 UTC
Adding 'smtp' tag for the duplicate bug.
Comment 5 Patrik Kullman 2009-04-17 09:19:26 UTC
+1 on this
Comment 6 Matthew Barnes 2009-08-28 16:06:57 UTC
*** Bug 593400 has been marked as a duplicate of this bug. ***
Comment 7 Bharath Acharya 2010-09-30 06:06:27 UTC
*** Bug 505198 has been marked as a duplicate of this bug. ***
Comment 8 Thomas W. 2010-12-28 20:44:20 UTC
+1 on this.

Why is the status UNCONFIRMED? I can confirm that this is a problem on Ubuntu 10.04 and Evolution 2.28.3.

I have an IDN domain and need to instruct my clients to punycode the domain name before sending emails. According to Wikipedia, IDN domains were introduced in 2004 and reported here in 2007. I think it is time to support it.
Comment 9 Matthew Barnes 2010-12-28 23:10:41 UTC
UNCONFIRMED versus NEW is meaningless to developers.
Comment 10 noel 2011-07-21 12:39:53 UTC
who to contact to get this on the feature list of the developer?
Comment 11 noel 2014-08-07 12:38:10 UTC
JFYI: Version 3.12.2 still does not support IDN domains.
Comment 12 Milan Crha 2014-08-26 10:42:09 UTC
Created attachment 284492 [details] [review]
proposed eds patch

for evolution-data-server;

This should made it work for the mail part. According to my tests, anything using libsoup is safe, because it converts the URL on its own (which means the calendar and book backends are fine).

I'm not able to test this thoroughly, I do not have any IDNA domain with a mail account, thus I'll appreciate any real-life testing first. If it'll work, then I can commit this to both the development and the stable version, because the code uses ICU, on which EDS (3.12+) already depends.
Comment 13 Ondřej Surý 2014-08-26 14:48:52 UTC
(In reply to comment #12)
> I'm not able to test this thoroughly, I do not have any IDNA domain with a mail
> account, thus I'll appreciate any real-life testing first. If it'll work, then
> I can commit this to both the development and the stable version, because the
> code uses ICU, on which EDS (3.12+) already depends.

There are echo services running at:

mailto:testmail@háčkyčárky.cz?subject=IDN

or

mailto:echo@köthe.de

Cheers,
Ondřej
Comment 14 Milan Crha 2014-08-27 07:55:49 UTC
Right, I noticed the services, but I expected that the SMTP server will transform the domain name on its own. I did try and it's not the case. The above patch tries to address only the mail accounts on such servers. I'll extend the patch.
Comment 15 Milan Crha 2014-08-27 12:15:33 UTC
I made few more changes and I was able to send a message to both addresses, though I've got a response only from koethe.net (I suppose I failed with some syntax with hackcarky.cz). Thus I make this part of sources right away:

Created commit b068eb4 in eds master (3.13.6+) [1]
Created commit 3f484c1 in eds evolution-data-server-3-12 (3.12.6+)

[1] https://git.gnome.org/browse/evolution-data-server/commit/?id=b068eb4
Comment 16 Ondřej Surý 2014-08-27 12:18:11 UTC
> I suppose I failed with some syntax with hackcarky.cz

You need to have "IDN" in the subject and there's a rate limiting to 1 message per day, so we don't generate backscatter email.
Comment 17 Milan Crha 2014-08-27 12:44:15 UTC
I did have the IDN as subject, but still no reply (it took the koethe server around an hour to reply, while I sent a message to hackycarky before that).
Comment 18 André Klapper 2015-02-15 16:30:18 UTC
*** Bug 681616 has been marked as a duplicate of this bug. ***