[Dovecot] ENVELOPE mishandling of Subject lines with quote(s)?

Dinh Le dinh at flic.net
Mon Feb 6 23:18:33 EET 2012



On Mon, 6 Feb 2012, Timo Sirainen wrote:

> On 6.2.2012, at 22.45, Michael M Slusarz wrote:
>
>> The subject, because it contains quotes, can't be expressed in a quoted string so it is instead sent in a literal string.
>
> Small correction: Quotes can be escaped in a quoted-string, but Dovecot just doesn't want to do it. Many other servers behave this way as well.
>
>> In a literal string, the data is exactly what appears in the original message.  No post-processing mechanism should be stripping quotes or anything from this data - it is already in its canonical state.
>>
>> Dovecot is 100% correct in its return.
>
> Yes. Looks like Perl's IMAP client hasn't been built properly to expect literals in places where they are allowed. My guess is that this is only one of the 100 other places where a literal is allowed by RFC but not by Perl..
>
> Maybe I should add some evil setting to Dovecot where it would use literals everywhere it can, or perhaps randomly send atoms/strings/literals. :)
>

Thanks, I will try to come up



More information about the dovecot mailing list