[Dovecot] assert() using plugins zlib and antispam together

Steffen Kaiser skdovecot at smail.inf.fh-bonn-rhein-sieg.de
Thu Mar 6 11:32:33 EET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 6 Mar 2008, Johannes Berg wrote:

>>> If both plugins are enabled, I get:
>>>
>>> : file zlib-plugin.c: line 64 (zlib_maildir_get_stream): assertion
>>> failed: (fname != NULL)
>>
>> I'm not exacly sure why it's NULL, but since it happens only for
>> messages that are being saved/copyed, the fix is in any case:
>> http://hg.dovecot.org/dovecot-1.0/rev/e07e8f651ec8
>
> Maybe it's because the antispam plugin requests messages regardless of
> what the other plugin thinks? But then the same should happen if you
> load quota instead of antispam I'd think? Maybe it depends on plugin
> registration order though.

I have updated to the current Dovecot-1.0 HEAD and antispam HEAD.

The combination of zlib and antispam plugins is working now.

Thanks!

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHz7o/VJMDrex4hCIRAhHPAKDBihPe+BM2h1rCrOkX/kXTMJK0ywCfX/KD
p7DWC9Pab92kNoPz1Nbmd0Y=
=SvcB
-----END PGP SIGNATURE-----


More information about the dovecot mailing list