Summary | Sending mail to addresses from an IDN domain |
Queue | Horde Framework Packages |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | wrobel (at) horde (dot) org |
Created | 02/22/2012 (4879 days ago) |
Due | |
Updated | 03/08/2012 (4864 days ago) |
Assigned | 02/22/2012 (4879 days ago) |
Resolved | 03/08/2012 (4864 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
days so this should be fixed (at least in Horde 5/IMP 6/Horde_Mail 2).
commit 3d0e5f62efc5090c0d18500c8b619ef3f8a47c01
Author: Michael M Slusarz <slusarz@horde.org>
Date: Sun Feb 26 23:47:27 2012 -0700
[mms] Added Horde_Mail_Rfc822_Address#encoded property.
More fixes for IDN parsing (
Bug #11021).framework/Imap_Client/package.xml | 2 +
framework/Mail/doc/Horde/Mail/TODO | 3 ++
framework/Mail/lib/Horde/Mail/Rfc822/Address.php | 41 +++++++++++++++------
framework/Mail/test/Horde/Mail/ObjectTest.php | 31 ++++++++++++++++
4 files changed, 65 insertions(+), 12 deletions(-)
http://git.horde.org/horde-git/-/commit/3d0e5f62efc5090c0d18500c8b619ef3f8a47c01
commit 0ea46cf083998b89673eac8d4e325fa32518cae7
Author: Michael M Slusarz <slusarz@horde.org>
Date: Sun Feb 26 23:29:47 2012 -0700
[mms] Better support for IDN hosts in non-validate address
parsing mode (
Bug #11021).framework/Mail/lib/Horde/Mail/Rfc822.php | 2 +-
framework/Mail/package.xml | 2 +
framework/Mail/test/Horde/Mail/ParseTest.php | 31
++++++++++++++++++++++++++
3 files changed, 34 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/0ea46cf083998b89673eac8d4e325fa32518cae7
parsing with the new code. (For the record... it is really difficult
to write a parser that strictly conforms to the RFC AND allows
loose-parsing for more natural-language type input.)
I'll leave open to verify that Horde_Mail 1.2.0 and IMP 5.0.19 fix.
commit 3d0e5f62efc5090c0d18500c8b619ef3f8a47c01
Author: Michael M Slusarz <slusarz@horde.org>
Date: Sun Feb 26 23:47:27 2012 -0700
[mms] Added Horde_Mail_Rfc822_Address#encoded property.
More fixes for IDN parsing (
Bug #11021).framework/Imap_Client/package.xml | 2 +
framework/Mail/doc/Horde/Mail/TODO | 3 ++
framework/Mail/lib/Horde/Mail/Rfc822/Address.php | 41 +++++++++++++++------
framework/Mail/test/Horde/Mail/ObjectTest.php | 31 ++++++++++++++++
4 files changed, 65 insertions(+), 12 deletions(-)
http://git.horde.org/horde-git/-/commit/3d0e5f62efc5090c0d18500c8b619ef3f8a47c01
commit 0ea46cf083998b89673eac8d4e325fa32518cae7
Author: Michael M Slusarz <slusarz@horde.org>
Date: Sun Feb 26 23:29:47 2012 -0700
[mms] Better support for IDN hosts in non-validate address
parsing mode (
Bug #11021).framework/Mail/lib/Horde/Mail/Rfc822.php | 2 +-
framework/Mail/package.xml | 2 +
framework/Mail/test/Horde/Mail/ParseTest.php | 31
++++++++++++++++++++++++++
3 files changed, 34 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/0ea46cf083998b89673eac8d4e325fa32518cae7
line 972 of "/var/www/webmail/imp/lib/Compose.php"]
validation near that line. E-mail validation has been completely
rewritten lately - since 5.0.18 was released.
report which packages versions I use as this queue doesn't support any
reasonable values for the framework packages.
imp-5.0.18
Horde_Mail 1.0.3
Horde_Mime 1.4.1
Horde_Mime::encodeAddress('Räuber <raeuber@überfall.de>', 'UTF-8')
deprecated and why future manipulation of e-mail addresses is going
to be done solely through Horde_Mail_Rfc822 methods/objects.
line 972 of "/var/www/webmail/imp/lib/Compose.php"]
near that line. E-mail validation has been completely rewritten
lately - since 5.0.18 was released.
Horde_Mime::encodeAddress('Räuber <raeuber@überfall.de>', 'UTF-8')
deprecated and why future manipulation of e-mail addresses is going to
be done solely through Horde_Mail_Rfc822 methods/objects.
intl extension. See horde/docs/INSTALL.
State ⇒ Assigned
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Sending mail to addresses from an IDN domain
Type ⇒ Bug
Priority ⇒ 1. Low
("Validation fails"). I tried to test this and to me it looks as if
this is currently not possible.
The
bug #5180is closed though so I might just have overlooked something.I ensured that the PECL IDN package is available.
The error I get is
HORDE: [imp] Validation failed for: test@überfall.de [pid 16934 on
line 972 of "/var/www/webmail/imp/lib/Compose.php"]
And it looks as though
Horde_Mime::encodeAddress('Räuber <raeuber@überfall.de>', 'UTF-8')
yields an invalid result ('"\274berfall.de>"@')
There are some idn setting available in Horde_Mime_Address but I don't
see how this IDN parsing could be used when encoding the address.