Antispam plugin: insufficent error messages
Volker Wysk
post at volker-wysk.de
Sun Dec 18 07:48:42 UTC 2016
Am Samstag, 17. Dezember 2016, 17:57:54 CET schrieb Tom Talpey:
> I too encountered this same issue after upgrading to 2.2.27. I traced it
> to an apparent change in Dovecot's mail_get_headers() function, which
> now returns a non-zero value even when the header is found. This wasn't
> the behavior in 2.2.24, though I'm not sure if it was in .25 or .26.
> I haven't tracked down the details further.
>
> Anyway, the antispam plugin uses this API to find the X-DSPAM-Signature
> header, and the change causes the plugin to abort. This happens in the
> plugin's antispam-plugin.h wrapper, which I modified as follows.
>
> I'm confused why the dovecot API behavior changed, but I hope this
> helps!
Thank you for your help, but I've already done it differently now. I'm using
the spam filter capabilities of my mail reader (KMail). This uses an external
spam filter (I've chosen CRM114). That's not optimal, because I have two spam
filters now (on my desktop and my laptop), and no spam filter for my smartphone,
but it works.
Bye
Volker
More information about the dovecot
mailing list