On Tue, 2007-10-16 at 11:19 +0200, Bernhard Schmidt wrote:
Hi,
since upgrading from 1.0.5 to latest 1.1-hg I get an incomplete subject line for mails autogenerated by one of our systems in the message list (Thunderbird and mutt). When I open the mail the subject line is intact.
It appears that the system is using multiline subjects. Example
Subject: =?ISO-8859-1?B?SG9zdG1hc3RlcjogMDAwMDEwNjM1OiBOYW1lc2U=?= =?ISO-8859-1?B?cnZlcjogTmV1dmVyZ2FiZSBvZGVyIMRuZGVydW5n?=
is printed as
Subject: Hostmaster: 000010635: Namese
in the Message list and correctly decoded as
Both v1.0 and v1.1 replies the same for FETCH ENVELOPE and HEADER.FIELDS. I can't think of any other ways how this could be buggy in Dovecot's side (I did find that SEARCH was buggy though).
x fetch 1 envelope
- 1 FETCH (ENVELOPE ("Thu, 03 Jun 2004 15:42:53 -0300" "=?ISO-8859-1?B?SG9zdG1hc3RlcjogMDAwMDEwNjM1OiBOYW1lc2U=?= =?ISO-8859-1?B?cnZlcjogTmV1dmVyZ2FiZSBvZGVyIMRuZGVydW5n?=" ...) x OK Fetch completed. x fetch 1 body.peek[header.fields (subject)]
- 1 FETCH (BODY[HEADER.FIELDS (SUBJECT)] {130} Subject: =?ISO-8859-1?B?SG9zdG1hc3RlcjogMDAwMDEwNjM1OiBOYW1lc2U=?= =?ISO-8859-1?B?cnZlcjogTmV1dmVyZ2FiZSBvZGVyIMRuZGVydW5n?=
)