Mailing List Archive

[DBMail 0001051]: LMTP server alters message headers
A NOTE has been added to this issue.
======================================================================
http://dbmail.org/mantis/view.php?id=1051
======================================================================
Reported By: idk
Assigned To:
======================================================================
Project: DBMail
Issue ID: 1051
Category: IMAP daemon
Reproducibility: always
Severity: minor
Priority: normal
Status: new
target:
======================================================================
Date Submitted: 18-Jul-14 23:00 CEST
Last Modified: 30-Jan-17 18:01 CET
======================================================================
Summary: LMTP server alters message headers
Description:
The server adds Return-Path header. GMime library in such case reformat all
the headers. In some cases the headers are altered. It's not good at least
for these reasons:

1) If header line Content-Type is 77 octets long, RFC 2231 is applied as
boundary*0="...", which is form Microsoft Express/Outlook/Live/Mail can't
understand.

2) MS Outlook generates improper From/To/Cc header when non-ASCII
characters is used together with "." such as
=?iso-8859-2?Q?Vlastimil_Janou=B9ek_-_Claro_s.r.o.?= <jdoe@example.com>.
GMime completely destroys such header when reformated.

3) When the message is signed such DKIM-Signature: v=1; a=rsa-sha256;
c=simple/simple; d=example.com;
s=default;t=1389608114;
bh=C6AYijNsfEWdvsEduoYHBxWKkb32qLrYFGcruVMx5D8=;h=Subject:To:Message-ID:From:Reply-to:Date:MIME-Version:Content-Type;...,
any modifications to To/From... headers will invalidate the signature.

The message should not be altered but added Return-Path header only.

======================================================================

----------------------------------------------------------------------
(0003664) idk (reporter) - 07-Aug-14 23:40
http://dbmail.org/mantis/view.php?id=1051#c3664
----------------------------------------------------------------------
The last paragraph edit: Not only in 3.1.15. I missed it also in 3.0.2.
It's a fix for Maildir incorrect headers.

----------------------------------------------------------------------
(0003786) thelounge (reporter) - 30-Jan-17 18:01
http://dbmail.org/mantis/view.php?id=1051#c3786
----------------------------------------------------------------------
ouch - why did this hang for so long here untouched while i asked multiple
times to stop that harmful behavior on the mailing-list?

https://bugzilla.gnome.org/show_bug.cgi?id=776825
hopefully dbmail 3.1.17 will compile with the next gmime release

Issue History
Date Modified Username Field Change
======================================================================
18-Jul-14 23:00 idk New Issue
07-Aug-14 23:37 idk Issue Monitored: idk
07-Aug-14 23:40 idk Note Added: 0003664
30-Jan-17 18:01 thelounge Note Added: 0003786
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://lists.nfg.nl/mailman/listinfo/dbmail-dev