Displaying 2 results from an estimated 2 matches for "signature_config".
2016 Nov 28
6
Antispam plugin: insufficent error messages
...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 *item;
signatures = get_mail_headers(mail, cfg->signature_hdr);
if (!signatures || !signatures[0]) {...
2016 Dec 17
0
Antispam plugin: insufficent error messages
...sage 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 *item;
>
> signatures = get_mail_headers(mail, cfg->signature_hdr);...