Displaying 3 results from an estimated 3 matches for "signature_extract_to_list".
2008 Oct 29
3
antispam plugin claims "antispam signature not found"
Hi,
I am trying to setup the antispam plugin using the direct dspam backend.
I have set
antispam_signature = X-DSPAM-Signature
in dovecot.conf
and in all mails I have signature lines like
X-DSPAM-Signature: 1,49084a24139132188715614
but still, if I try to move a mail into the spam folder, i get the IMAP error message
"antispam signature not found".
I thought it might have to do
2016 Nov 28
6
Antispam plugin: insufficent error messages
...on. Indeed,
dspam doesn't get called at all. I know, because I've examined the antispam-
plugin source code. There would be a log message if dspam was called.
It's hard to study the source code, because there are hardly any comments.
I have been able to trace the problem to function signature_extract_to_list()
in signature.c. There, -1 is returned:
int signature_extract_to_list(const struct signature_config *cfg,
struct mailbox_transaction_context *t,
struct mail *mail, struct siglist **list,
enum classification wanted)
{
const char *const *signatures;
struct siglist *ite...
2016 Dec 17
0
Antispam plugin: insufficent error messages
...sn't get called at all. I know, because I've examined the antispam-
> plugin source code. There would be a log message if dspam was called.
>
> It's hard to study the source code, because there are hardly any comments.
>
> I have been able to trace the problem to function signature_extract_to_list()
> in signature.c. There, -1 is returned:
>
> int signature_extract_to_list(const struct signature_config *cfg,
> struct mailbox_transaction_context *t,
> struct mail *mail, struct siglist **list,
> enum classification wanted)
> {
> const char *c...