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: Tue, 09 Feb 2016 10:39:27 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

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

> I use the interactive system and do not edit the file
> by hand (yet). So without Subject being in
>
>     (setq gnus-extra-headers   '(To Cc Keywords Gcc Newsgroups X-Spam-Flag 
> Subject)
>           nnmail-extra-headers gnus-extra-headers)
>
> it says it isn't there.

I kinda doubt you can add one of the non-extra headers to the extra list
and have it work.

> It is exactly "YES" unless there are whitespaces,
> newlines and such to consider. Anyway it is the same
> situation with a substring match:
>
>     (("extra"
>       ("Hej" -1000 nil s "Subject")
>       ("YES" -1000 nil s "X-Spam-Flag"))
>       ... )

Could you try edebugging though gnus-score-string and see why this
doesn't work?

-- 
(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]