[Dovecot] Rewrite the mailbox copy functions works in imap but don't work in doveadm import command

Timo Sirainen tss at iki.fi
Tue Feb 22 10:47:22 EET 2011


On Wed, 2011-01-19 at 15:48 -0200, Alex Baule wrote:

> But, when i use a doveadm import command, the part
> "(zmail->super.get_stream(mail, NULL, NULL, &input) >= 0)" fails, with no
> error message, only a segfault....

Use mail_get_stream() instead here, otherwise your plugin may break with
other plugins.

Also this is possibly related to a bug I just fixed:
http://hg.dovecot.org/dovecot-2.0/rev/dc4e0320c087




More information about the dovecot mailing list