A NOTE has been added to this issue. ====================================================================== http://www.dbmail.org/mantis/view.php?id=807 ====================================================================== Reported By: b0b3r Assigned To: ====================================================================== Project: DBMail Issue ID: 807 Category: LMTP daemon Reproducibility: always Severity: major Priority: normal Status: new target: ====================================================================== Date Submitted: 28-Sep-09 21:29 CEST Last Modified: 03-Jan-10 13:37 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. ====================================================================== ---------------------------------------------------------------------- (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. 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 ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev