GNOME Bugzilla – Bug 547969
Handles e-mail addresses with multiple consequtive dots improperly
Last modified: 2008-09-20 15:09:37 UTC
Please describe the problem: I'm visiting Japan, and apparently some people here have addresses to there cell phones that look like this: something-..-something.something@something.something.jp The two consecutive dots confuse Evolution, so it sees it like this: something-.. <-something.something@something.something.jp>. Hence using the reply button won't work when the senders address looks like that, and it will go wrong in all kinds of places. Steps to reproduce: 1. Receive an e-mail with a "From:" adress that contains multiple consequtive dots. It probably happens with other fields as well. 2. Try to reply to it or do something else that requires the "From:" field to be parsed. Actual results: The address will be wrong. Expected results: The correct address should be used. Does this happen every time? Yes. Other information: This is Ubuntu Launchpad bug # 258139.
that's not actually a valid email address according to the spec. anyone with x..y@somewhere.com as an email address is asking for problems addr-spec = local-part "@" domain ; global address local-part = word *("." word) ; uninterpreted ; case-preserved word = atom / quoted-string atom = 1*<any CHAR except specials, SPACE and CTLs> that means there has to be 1-or-more CHARs between each '.' to be valid
I agree, it is insane. Yet, people actually have these addresses, a company called DoCoMo, and perhaps other companies as well, are happily handing them out. It seems SMTP servers are able to handle them, too. So I guess it is a matter of philosophy if Evolution should refuse to parse them because they are not valid, or parse them because they exist. I have no opinion either way, I just wanted to bring it to the developers' attention.
odds are that if the addresses aren't valid, there is only a subset of SMTP servers that will actually accept them. anyways, I'm not saying "no" to adding support for this - I'm not sure how difficult it would be.
*** Bug 553004 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 347520 ***