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
