The following issue has been SUBMITTED. ====================================================================== http://www.dbmail.org/mantis/view.php?id=1020 ====================================================================== Reported By: igorbelykh86 Assigned To: ====================================================================== Project: DBMail Issue ID: 1020 Category: IMAP daemon Reproducibility: always Severity: minor Priority: normal Status: new target: ====================================================================== Date Submitted: 17-Aug-13 09:37 CEST Last Modified: 17-Aug-13 09:37 CEST ====================================================================== Summary: dbmail 3.1.2. Imap server returns wrong decoded header fields. Description: Hi
After upgrading the dbmail to 3.1.2 the IMAP server has began to return wrong decoded email headers. I've thought that it does it only for old emails which were been received before upgrading, but no. New mails have the problem too. This problem appears only when application try to get a header field. Example: CLIENT: UID FETCH 1017 (BODY.PEEK[HEADER.FIELDS (SUBJECT FROM CC TO)] INTERNALDATE BODY FLAGS) SERVER: * 127 FETCH (INTERNALDATE "16-Aug-2013 21:27:40 +0000" FLAGS (\Seen) UID 1017 BODY (("text" "plain" ("charset" "UTF-8") NIL NIL "base64" 60 1)("text" "html" ("charset" "UTF-8") NIL NIL "base64" 90 2) "alternative") BODY[HEADER.FIELDS (SUBJECT FROM CC TO)] {98} From: Igor Belykh <myem...@address.com> Subject: ????? ?????? To: Igor <anotherem...@address.com> ) A003 OK UID FETCH completed The subject is in russian. It is encoded correctly. If get full header of the message the server returns: .... Subject: =?UTF-8?B?0J3QvtCy0L7QtSDQv9C40YHRjNC80L4=?= .... what I can do to always get encoded header fields? Thanks. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 17-Aug-13 09:37 igorbelykh86 New Issue ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev