On Wed, 2012-09-19 at 17:59 +0300, Timo Sirainen wrote:
> On 19.9.2012, at 17.55, interfaSys sàrl wrote:
>
> >> Did you recompile antispam plugin? Is it the latest antispam? This line
> >> doesn't seem to match the current code.
> >
> > You are correct, it had not been compiled in a while. Here is a new
> > backtrace:
> ..
> > #6 0x00000000105e7a6a in buffer_write () from
> > /usr/lib/dovecot/libdovecot.so.0
> > No symbol table info available.
> > #7 0x00000000105ce9f9 in array_idx_set_i () from
> > /usr/lib/dovecot/libdovecot.so.0
> > No symbol table info available.
> > #8 0x0000000010e2a1b5 in antispam_user_created (user=0x10a83040) at
> > user.c:96
> > _module_tmp = (void *) 0x10a84d18
> > asu = (struct antispam_user *) 0x10a84d18
> > tmp = Variable "tmp" is not available.
>
> This still looks some kind of a version mismatch. Did you compile antispam
> against v2.1.10 headers? /usr/lib/dovecot/libdovecot.so.0 is also really from
> v2.1.10?
Attached a helpful antispam patch.
diff -r 7f94cc6b4d8e src/antispam-plugin.c
--- a/src/antispam-plugin.c Fri May 11 04:05:59 2012 +0300
+++ b/src/antispam-plugin.c Wed Sep 19 18:00:59 2012 +0300
@@ -6,6 +6,8 @@
#include "mailbox.h"
#include "backends.h"
+const char *antispam_plugin_version = DOVECOT_VERSION;
+
static struct mail_storage_hooks antispam_plugin_hooks = {
.mail_user_created = antispam_user_created,
.mailbox_allocated = antispam_mailbox_allocated