info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: auto-kill mails with "X-Spam-Flag: YES"


From: Lars Ingebrigtsen
Subject: Re: auto-kill mails with "X-Spam-Flag: YES"
Date: Sun, 07 Feb 2016 14:50:22 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux)

Emanuel Berg <embe8573@student.uu.se> writes:

> How do I automatically kill mails that are
>
>     X-Spam-Flag: YES
>
> ?
>
> I tried
>
>     (gnus-kill "X-Spam-Flag" "YES" '(gnus-summary-mark-as-read nil "X") t)
>
> in my KILL file but it won't evaluate.

I would guess that that header isn't included in the ones that are
available when killing and scoring takes place.  See
nnmail-extra-headers and gnus-extra-headers.

I would also recommend using scoring instead of killing.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no


reply via email to

[Prev in Thread] Current Thread [Next in Thread]