On Fri, 2010-04-16 at 18:34 +0300, Timo Sirainen wrote:
On Fri, 2010-04-16 at 09:55 -0300, Alex Baule wrote:
Part of reading I already migrated, only that the piece of writing (the new part in the plugin) I need to understand some things about the operation in order to migrate and redo the same functions with the separation of body / header
So you also want to add support for the split operating directly during saving new mails?
I guess you can copy&paste most of the code from zlib-plugin.c and just implement a new ostream. ostream-bzlib.c should give a good example. You just need to implement:
Oh, and the output ostream that you get from create() is the one that ends up in the maildir. So I guess you should be writing headers there, and write the body to another file some other way.