Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0003836SOGoWeb Mailpublic2020-03-26 11:21
ReporterChristian Mack Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSCentOSOS Version5.6
Product Version2.3.16 
Summary0003836: Escaping of Umlauts in Subject with different coding break on reply
Description

When we send an email via our listserver mailman, mailman adds a subject prefix.
If the subject of the original email contains a non ASCII character, mailman will generate a multipart coded subject.

When you reply to one of those in SOGo, then you get a garbled Subject with readable encoding part.

E.g.:
Sending to mailman "Mail mit Umlaut äöüß"
Subject: =?UTF-8?B?TWFpbCBtaXQgVW1sYXV0IMOkw7bDvMOf?=

Getting from mailman "[höchst diffiziler Test]Mail mit Umlaut äöüß"
Subject: =?utf-8?q?=5Bh=C3=B6chst_diffiziler_Test=5D?= =?utf-8?q?Mailmit?=
=?utf-8?b?VW1sYXV0IMOkw7bDvMOf?=

replyed with SOGo "Re: [höchst diffiziler Test]?==?utf-8?q? Mail mit Umlaut äöüß"
Subject: Re: =?utf-8?q?=5Bh=C3=B6chst_diffiziler_Test=5D?=
=?utf-8?b?Pz09P3V0?=
=?utf-8?b?Zi04P3E/IE1haWwgbWl0IFVtbGF1dCDDpMO2w7zDnw==?=

The "?==?utf-8?q?" part should not be there.
I guess this is happening, because there are =?utf-8?q? and =?utf-8?b? encodings mixed.

Steps To Reproduce

I have added the example email we get from mailman.

1) Import that example email into your SOGo mail account.
2) Reply on that email in SOGo webinterface.
3) Change the recipient to an account you can read.
4) Send the reply.
5) Check on the recipients side. => The recipient gets the garbled Subject.

TagsNo tags attached.

Activities

Christian Mack

Christian Mack

2016-10-12 10:05

developer  

cedric.archambeau

cedric.archambeau

2017-09-11 13:10

reporter   ~0012282

Hi, a little up for this bug - same problem, with latest 3.2.11.

Thanks.

wimmer

wimmer

2017-11-29 18:03

reporter   ~0012459

Hi,
I receive many complaints to this bug (or behaviour) from our users.
When needed some better clarification, here is my example:

1a) I sent message from SOGo WebGUI 2.3.23 to mailman list [XXX]

  • source code of the message in my Sent folder:
    Subject: =?utf-8?q?Doktorsk=C3=BD?==?utf-8?q?_semin=C3=A1=C5=99?=
  • displayed as:
    Doktorský seminá?
  • result: OK

1b) I receive that message from mailman:

  • source code of the message in my Inbox:
    Subject: [XXX] =?utf-8?b?RG9rdG9yc2vDvT89PT91dGYtOD9xPyBzZW1pbsOhxZk=?=
  • displayed as:
    Doktorský?==?utf-8?q? seminá?
  • result: FAIL

2a) I sent message from Thunderbird to mailman list [XXX]

  • source code of the message in my Sent folder:
    Subject: =?UTF-8?B?RG9rdG9yc2vDvSBzZW1pbsOhxZk=?=
  • displayed as:
    Doktorský seminá?
  • result: OK

2b) I receive that message from mailman:

  • source code of the message in my Inbox:
    Subject: [XXX] =?utf-8?b?RG9rdG9yc2vDvSBzZW1pbsOhxZk=?=
  • displayed as:
    Doktorský seminá?
  • result: OK

It looks SOGo use some complicated way for coding Subject.
Simple coding of the whole Subject (like Thunderbird does) would solve this problem.

Thanks for your work,
Milos

kate dawson

kate dawson

2019-05-28 19:39

reporter   ~0013580

Hi, I get this still

Mailman version 2.1.29
Sogo version 4.0.7

Any ideas on how to mitigate it ?

Thanks in advance.

Kate

marc75

marc75

2020-03-26 11:21

reporter   ~0014239

Dear developers,

Thank you for this great software.

Just a comment to complete the report on this old bug : I observe it with Sogo 4.3.0 and Mailman 2.1.20.

In our mailinglists, this bug occurs only on messages sent with Sogo (there is no problem for the other softwares, like Thunderbird).

1a) I sent message from SOGo WebGUI 4.3.0 (Mailcow) to mailman (2.1.20) list [XXX]

  • source code of the message in my Sent folder:
    Subject: =?utf-8?q?Re=3A?==?utf-8?q?_=5BXXX=5D?==?utf-8?q?_Ch=C3=B4mage?=
    =?utf-8?q?_partiel=2C?==?utf-8?q?_ch=C3=B4mage?= technique
  • displayed as:
    Re: [XXX] Chômage partiel, chômage technique
  • result: OK

1b) I receive that message from mailman:

  • source code of the message in my Inbox:
    Subject: Re: [XXX]
    =?utf-8?b?Pz09P3V0Zi04P3E/ID89PT91dGYtOD9xPyBDaMO0?=
    =?utf-8?b?bWFnZSBwYXJ0aWVsLD89PT91dGYtOD9xPyBjaMO0bWFnZSB0ZWNobmlxdWU=?=
  • displayed as:
    Re: [XXX] ?==?utf-8?q? ?==?utf-8?q? Chômage partiel,?==?utf-8?q? chômage technique
  • result: FAIL

2a) I sent message from Thunderbird 68.6.0 (Linux Debian 10) to mailman list [XXX]

  • source code of the message in my Sent folder:
    Subject: =?UTF-8?B?UmU6IFtHaXN0aS1idXJlYXVdIENow7RtYWdlIHBhcnRpZWwsIGNow7Rt?=
    =?UTF-8?Q?age_technique?=
  • displayed as:
    Re: [XXX] Chômage partiel, chômage technique
  • result: OK

2b) I receive that message from mailman:

  • source code of the message in my Inbox:
    Subject: Re: [XXX]
    =?utf-8?q?Ch=C3=B4mage_partiel=2C_ch=C3=B4mage_tec?=
    =?utf-8?q?hnique?=
  • displayed as:
    Re: [XXX] Chômage partiel, chômage technique
  • result: OK

Do you consider an update, or have you any idea on how to mitigate it ?

Thanks for your work,

Marc

Issue History

Date Modified Username Field Change
2016-10-12 10:05 Christian Mack New Issue
2016-10-12 10:05 Christian Mack File Added: [höchst diffiziler Test]Mail mit Umlaut äöüß.eml
2017-09-11 13:10 cedric.archambeau Note Added: 0012282
2017-11-29 18:03 wimmer Note Added: 0012459
2019-05-28 19:39 kate dawson Note Added: 0013580
2020-03-26 11:21 marc75 Note Added: 0014239