Displaying 3 results from an estimated 3 matches for "get_mail_headers".
2016 Dec 17
0
Antispam plugin: insufficent error messages
..._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]) {
> if (!cfg->signature_nosig_ignore) {
>
> mail_storage_set_error(t->box->storage,
> ME(NOTPOSSIBLE)
> "antispam signature not found");
>...
2016 Nov 28
6
Antispam plugin: insufficent error messages
.... 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]) {
if (!cfg->signature_nosig_ignore) {
mail_storage_set_error(t->box->storage,
ME(NOTPOSSIBLE)
"antispam signature not found");
return -1; /* <-- HERE */...
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