Bug 1074333

Summary: '?' symbols in subject
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
Component: evolutionAssignee: Matthew Barnes <mbarnes>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: fabiano, lucilanga, mbarnes, mcrha
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-10 09:20:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
example message none

Description Mikhail 2014-03-09 20:55:12 UTC
Created attachment 872502 [details]
example message

Description of problem:
Demonstration: https://drive.google.com/file/d/0B0nwzlfiB4aQTTdqSWptNVlDZk0/edit?usp=sharing

Comment 1 Milan Crha 2014-03-10 09:20:14 UTC
Thanks for a bug report. I do not think it's Evolution's bug, because the Subject line
>   Subject: Çàêàç ñ dom-buketov.ru

needs to be properly encoded, which it is not. I guess it's windows-1251 encoding, not UTF-8, which makes the question marks appear. Even the X-Spam-Status header claims that the subject needs to be encoded:

>   X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,HTML_MESSAGE,
>    HTML_MIME_NO_HTML_TAG,MIME_HTML_ONLY,RDNS_NONE,SUBJECT_NEEDS_ENCODING
>    autolearn=no version=3.2.5

The header should look like:

>   Subject: =?UTF-8?Q?=D0=97=D0=B0=D0=BA=D0=B0=D0=B7?= =?UTF-8?Q?_=D1=81?=
>    dom-buketov.ru

I do not know if you redacted any headers in the message, but if not, then a bug report should be filled against:

>   X-Mailer: my_sender

which might be the e-mail client which the sender uses.

Interesting is, that the full headers show the Subject properly, while the collapsed headers not. I can see it here too. The message source (shown in evolution) removes those unencoded letters from the subject completely.

Comment 2 Mikhail 2014-03-10 09:24:21 UTC
Milan, I am not redacted any headers. I received such messages via gmail.

Comment 3 Milan Crha 2014-03-10 10:03:28 UTC
OK. I do not know what mailer signs itself as my_sender, and searching for it using Google yields to nowhere, because that are too genetic words, but that's the mailer which should be fixed, from my point of view.

Comment 4 Mikhail 2014-03-10 10:21:18 UTC
Milan, It is not mail client, it is site script which generate such headers (probably PHP script).