The following issue has been RESOLVED. ====================================================================== http://www.dbmail.org/mantis/view.php?id=807 ====================================================================== Reported By: b0b3r Assigned To: paul ====================================================================== Project: DBMail Issue ID: 807 Category: LMTP daemon Reproducibility: always Severity: major Priority: normal Status: resolved target: Resolution: fixed Fixed in Version: 2.3.7 ====================================================================== Date Submitted: 28-Sep-09 21:29 CEST Last Modified: 15-Jan-10 21:55 CET ====================================================================== Summary: Problem with utf-8 encodec "From: field Description: When delivering via lmtp (ver. 2.2.9 and 2.2.11) a message with a "From:" filed like: From: =?utf-8?Q?Maciej_K._Kr=C3=B3l?= <maciej.k...@domain.tld>
field is cut to only: From: =?utf-8?Q?Maciej_K._Kr=C3=B3l?= Details in attachment. ====================================================================== Relationships ID Summary ---------------------------------------------------------------------- has duplicate 0000826 Values from From: header are suppressed ====================================================================== ---------------------------------------------------------------------- (0002962) b0b3r (reporter) - 29-Dec-09 14:22 http://www.dbmail.org/mantis/view.php?id=807#c2962 ---------------------------------------------------------------------- I found that this is caused by call: .... [526] g_mime_message_set_header(GMIME_MESSAGE(self->content), header, value); .... in dbmail_message_set_header function in dbmail-message.c file when it is called from lmtp.c in lmtp function: .... [596] dbmail_message_set_header(msg, "Return-Path", from.start->data); [597] if (insert_messages(msg, &rcpt) == -1) { .... So it looks like problem is with gmime. ---------------------------------------------------------------------- (0002963) paul (administrator) - 03-Jan-10 13:37 http://www.dbmail.org/mantis/view.php?id=807#c2963 ---------------------------------------------------------------------- Setting the Return-Path header should not overwrite the From header at all. The dot in the encoded word is invalid (rfc2047 sec. 5 sub. 3). This doesn't quite explain the truncation in the message, though. That still needs further investigation. ---------------------------------------------------------------------- (0002964) b0b3r (reporter) - 03-Jan-10 14:23 http://www.dbmail.org/mantis/view.php?id=807#c2964 ---------------------------------------------------------------------- You are absolutely right. But you know, there is such a corporation form Redmond and they think that standards are not for them :) ...this encoding was produced by outlook. I'm also considering whether it's worth to do some workaround for this ms-bug? I also want to wish you a Happy New Year. Issue History Date Modified Username Field Change ====================================================================== 28-Sep-09 21:29 b0b3r New Issue 28-Sep-09 21:29 b0b3r File Added: dbmail_from_probelm.txt 29-Dec-09 14:22 b0b3r Note Added: 0002962 03-Jan-10 13:37 paul Note Added: 0002963 03-Jan-10 14:23 b0b3r Note Added: 0002964 04-Jan-10 22:45 paul Relationship added has duplicate 0000826 04-Jan-10 22:50 jasb Issue Monitored: jasb 15-Jan-10 21:55 paul Assigned To => paul 15-Jan-10 21:55 paul Status new => resolved 15-Jan-10 21:55 paul Resolution open => fixed 15-Jan-10 21:55 paul Fixed in Version => 2.3.7 ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev