If both plugins are enabled, I get:
: file zlib-plugin.c: line 64 (zlib_maildir_get_stream): assertion failed: (fname != NULL)
: Raw backtrace: imap [0x80ad741] -> imap [0x80ad65c] -> /usr/local/dovecot-1.0.10patch4mgtsv92/lib/dovecot/imap/lib20_zlib_plugin.so [0xb7e517ac] -> /usr/local/dovecot-1.0.10patch4mgtsv92/lib/dovecot/imap/lib90_antispam_plugin.so(backend_handle_mail+0x98) [0xb7e4e783] -> /usr/local/dovecot-1.0.10patch4mgtsv92/lib/dovecot/imap/lib90_antispam_plugin.so [0xb7e4d8bf] -> imap(mail_storage_copy+0xdd) [0x809ea1d] -> imap(maildir_copy+0x52) [0x806b802] -> /usr/local/dovecot-1.0.10patch4mgtsv92/lib/dovecot/imap/lib10_quota_plugin.so [0xb7e5a8b6] -> /usr/local/dovecot-1.0.10patch4mgtsv92/lib/dovecot/imap/lib20_mail_log_plugin.so [0xb7f97050] -> /usr/local/dovecot-1.0.10patch4mgtsv92/lib/dovecot/imap/lib90_antispam_plugin.so [0xb7e4d5f5] -> imap(cmd_copy+0x1aa) [0x8056c7a] -> imap [0x805ac38] -> imap [0x805acc7] -> imap(_client_input+0x6c) [0x805b3bc] -> imap(io_loop_handler_run+0x162) [0x80b3562] -> imap(io_loop_run+0x28) [0x80b29a8] -> imap(main+0x5a0) [0x8063590] -> /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc
: 8) [0xb7e73ea8] ->
Error: child 18612 (imap) killed with signal 6
No idea, sorry, I don't grok the code in the zlib plugin. Maybe Timo can help?
johannes