[Dovecot] assert() using plugins zlib and antispam together
Johannes Berg
johannes at sipsolutions.net
Thu Mar 6 02:16:48 EET 2008
On Thu, 2008-03-06 at 02:09 +0200, Timo Sirainen wrote:
> On Wed, 2008-03-05 at 12:33 +0100, Steffen Kaiser wrote:
>
> > I'm running Dovecot v1.0.10 and downloaded the "HEAD snapshot" today.
> >
> > 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.
Not sure, can't wrap my head around that code right now, thanks for
investigating.
johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080306/ed487454/attachment.bin
More information about the dovecot
mailing list