Here is my ugly solution for this:
static int plugin_mail_save_begin(
struct mail_save_context *context,
struct istream *input
) {
...
if (mbox->super.save_begin(context, input) < 0)
return -1;
output = scrambler_ostream_create(
context->data.output->real_stream->parent,
su
Well, I've found the bug. I've got confused with the stream-stacking
function pointers. The encryption istream was stacked on top of the
parent and the ostream below the parent. That caused this very confusing
bug.
Best,
Philipp
Am 11.12.2014 um 12:16 schrieb Philipp Brüll:
> Hello,
>
> I'm deve