[Dovecot] BODYSTRUCTURE bug?

Timo Sirainen tss at iki.fi
Thu May 10 13:44:57 EEST 2012


On Thu, 2012-05-10 at 12:20 +0200, A.L.E.C wrote:
> On 05/10/2012 12:10 PM, Timo Sirainen wrote:
> 
> >> Yes. However, changing to protocol="application/x-pkcs7-signature"
> >> doesn't fix the issue.
> > 
> > If you delete dovecot.index.cache file, it should fix it.
> 
> No it doesn't fix. Besides that I'm testing every change by adding new
> modified file into folder, so I suppose cache is not the issue.
> 
> If you say it works in 1.2+ it's all I want.

Well, with quotes it works also in dovecot-1.1 hg, and I don't see why
it wouldn't work in v1.1.19 as well:

[tss at hurina] ~/cvs/dovecot-1.1/src/imap% export MAIL=~/Maildir
[tss at hurina] ~/cvs/dovecot-1.1/src/imap% rm -f ~/Maildir/dovecot.index.cache;printf "1 select inbox\n2 fetch 1 body\n" | ./imap 
..
* 1 FETCH (BODY ("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 1025 42))

[tss at hurina] ~/cvs/dovecot-1.1/src/imap% perl -i -pe 's,protocol=application/x-pkcs7-signature,protocol="application/x-pkcs7-signature",' ~/Maildir/cur/test.txt
[tss at hurina] ~/cvs/dovecot-1.1/src/imap% rm -f ~/Maildir/dovecot.index.cache;printf "1 select inbox\n2 fetch 1 body\n" | ./imap
..
* 1 FETCH (BODY (((("text" "plain" ("charset" "iso-8859-2" "format" "flowed") NIL NIL "quoted-printable" 14 2)("text" "html" ("charset" "iso-8859-2") NIL NIL "quoted-printable" 11 1) "alternative")("application" "pdf" ("name" "Potwierdzenie wykonania przelewu.pdf") NIL NIL "base64" 0) "mixed") "signed"))





More information about the dovecot mailing list