View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
19089Feature requestsSurvey participants (Tokens)public2023-09-20 17:23
ReporterMazi Assigned To 
PrioritynormalSeverityfeature 
Status acknowledgedResolutionopen 
Summary19089: Email Address Internationalization
Description

When trying to add a participant with an email like André.Doe@example.org I get a warning that é is an invalid character. That is wrong, according to RFC, accents are allowed within email addresses.
We noticed this at two customer projects recently.

Please fix at 3.x, 5.x and 6.x.

Steps To Reproduce

Steps to reproduce

Add a participant with email André.Doe@example.org.

Expected result

Email address should be accepted.

Actual result

Address is marked as invalid.

TagsNo tags attached.
Bug heat8
Story point estimate0
Users affected %0

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2023-09-18 16:39

administrator   ~77141

It is not that easy. Several requirements need to match to make this possible, the software needs to support it, the mail server needs to support it.
Also, this is a new feature, not a bug.

c_schmitz

c_schmitz

2023-09-18 16:59

administrator   ~77143

Postfix supports this since v 3.0, however PHPMailer currently does not support this at all (see https://github.com/PHPMailer/PHPMailer/issues/49 )

Mazi

Mazi

2023-09-18 18:57

updater   ~77146

Wow, I wasn't aware that these tools do not allow this. According to RFC 5321 and 5322 the accent is an allowed character, see also https://en.wikipedia.org/wiki/Email_address#Local-part.

So what do you suggest how to deal with this? We have seen such email addresses at larger user lists a few times.

jelo

jelo

2023-09-19 23:15

partner   ~77190

@Mazi Where do I find the passus which ensures full support for accents without restrictions?
I don't see RFC 5321 and 5322 as relevant.

Take a look at https://en.wikipedia.org/wiki/International_email .

The wikipage states
"In addition to the above ASCII characters, international characters above U+007F, encoded as UTF-8, are permitted by RFC 6531 when the EHLO specifies SMTPUTF8, though even mail systems that support SMTPUTF8 and 8BITMIME may restrict which characters to use when assigning local-parts"
which means that it is up to the mailserver to signal what they support.

If someone uses accents in their main email address they won't be happy in the long run.

The warning is important and correct.

Mazi

Mazi

2023-09-20 14:42

updater   ~77204

@jelo, thanks a lot for sharing your thoughts. I agree that this can be considered a correct validation. I think the main question then is: Why do some companies create such email addresses? Just a lack of background knowledge?

@c_schmitz, I am happy to close this one if you think no changes are required.

DenisChenu

DenisChenu

2023-09-20 17:23

developer   ~77208

I check on iredmail on LDAP seems : didn't accept it for account but seems partially OK : https://forum.iredmail.org/topic15252-postfix-smtputf8-support.html?login=1

Issue History

Date Modified Username Field Change
2023-09-18 10:21 Mazi New Issue
2023-09-18 10:24 ollehar Priority none => normal
2023-09-18 15:04 gabrieljenik Assigned To => gabrieljenik
2023-09-18 15:04 gabrieljenik Status new => assigned
2023-09-18 16:39 c_schmitz Note Added: 77141
2023-09-18 16:39 c_schmitz Bug heat 0 => 2
2023-09-18 16:56 c_schmitz Project Bug reports => Feature requests
2023-09-18 16:57 c_schmitz Assigned To gabrieljenik =>
2023-09-18 16:57 c_schmitz Status assigned => acknowledged
2023-09-18 16:57 c_schmitz Severity @70@ => feature
2023-09-18 16:57 c_schmitz Summary Email addresses with an accent are wrongly marked as invalid => Email Address Internationalization
2023-09-18 16:57 c_schmitz Story point estimate => 0
2023-09-18 16:57 c_schmitz Users affected % => 0
2023-09-18 16:59 c_schmitz Note Added: 77143
2023-09-18 18:57 Mazi Note Added: 77146
2023-09-18 18:57 Mazi Bug heat 2 => 4
2023-09-19 23:15 jelo Note Added: 77190
2023-09-19 23:15 jelo Bug heat 4 => 6
2023-09-20 14:42 Mazi Note Added: 77204
2023-09-20 17:23 DenisChenu Note Added: 77208
2023-09-20 17:23 DenisChenu Bug heat 6 => 8