[Dovecot] Incomplete Subject Line

Bernhard Schmidt berni at birkenwald.de
Sun Oct 21 02:25:53 EEST 2007


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?=
>
> )


I just tcpdumped a mutt session (which also shows this behaviour) 

Mail:
Date: Tue, 16 Oct 2007 12:02:08 +0200 (MEST)
From: Doku-Ticket System <xxx at lrz-muenchen.de>
Reply-To: Doku-Ticket System <xxx at lrz-muenchen.de>
To: yyy at lrz-muenchen.de,
 zzz at lrz-muenchen.de
Subject: =?ISO-8859-1?B?SG9zdG1hc3RlcjogMDAwMDAxMDE5OiBOYW1lc2U=?=
 =?ISO-8859-1?B?cnZlcjogTmV1dmVyZ2FiZSBvZGVyIMRuZGVydW5n?=

IMAP:
a0008 FETCH 1:1232 (UID FLAGS INTERNALDATE RFC822.SIZE BODY.PEEK[HEADER.FIELDS 
(DATE FROM SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE 
CONTENT-DESCRIPTION IN-REPLY-TO REPLY-TO LINES LIST-POST X-LABEL)])
[...]
* 1190 FETCH (UID 5300 FLAGS (\Seen NonJunk) INTERNALDATE "16-Oct-2007 
12:02:19 +0200" RFC822.SIZE 2196 BODY[HEADER.FIELDS (DATE FROM SUBJECT TO CC 
MESSAGE-ID REFERENCES CONTENT-TYPE CONTENT-DESCRIPTION IN-REPLY-TO REPLY-TO 
LINES LIST-POST X-LABEL)] {387}
Message-Id: <15352895.1192528928266.JavaMail.arsadmin at wsc48.lrz-muenchen.de>
Date: Tue, 16 Oct 2007 12:02:08 +0200 (MEST)
From: Doku-Ticket System <xxx at lrz-muenchen.de>
Reply-To: Doku-Ticket System <xxx at lrz-muenchen.de>
To: yyy at lrz-muenchen.de,
Subject: =?ISO-8859-1?B?SG9zdG1hc3RlcjogMDAwMDAxMDE5OiBOYW1lc2U=?=
Content-Type: multipart/alternative; 

)

Note that the second destination is missing as well. I can't remember seeing 
those issues in 1.0.5 (and I'm pretty sure all other users would have 
complained, given that we have migrated the official mailserver to Dovecot 
1.0 lately), but I don't have easy access to an 1.0 mailserver at the moment.

I'll upgrade to the latest .hg-version, but as you didn't seem to have 
suspected anything I guess this won't fix the issue.

Regards,
Bernhard


More information about the dovecot mailing list