[Dovecot] FTS Plugin design

Timo Sirainen tss at iki.fi
Mon May 18 20:10:27 EEST 2009


On Mon, 2009-05-18 at 17:35 +0100, Rui Carneiro wrote:

> I think binary data is being corrupted anywhere before fts_backend_build_more() and I don't have any idea where.

All the data comes from lib-mail/message-decoder.c. Hmm. Looks like it
tries to force giving only valid UTF-8 output. I guess it should have
some flag or something that makes it do that only for text/* parts, not
for binary parts. OK, implemented, see if it works with this and using
the flag:

http://hg.dovecot.org/dovecot-1.2/rev/44548a7fb10d
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090518/ed0f7244/attachment.bin 


More information about the dovecot mailing list