Mailing List Archive

[DBMail 0001051]: LMTP server alters message headers
The following issue has been SUBMITTED.
======================================================================
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: 18-Jul-14 23:00 CEST
======================================================================
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.

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

Issue History
Date Modified Username Field Change
======================================================================
18-Jul-14 23:00 idk New Issue
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev