From: Lars Ingebrigtsen <larsi@gnus.org>
To: info-gnus-english@gnu.org
Subject: Re: auto-kill mails with "X-Spam-Flag: YES"
Date: Tue, 09 Feb 2016 10:39:27 +1100 [thread overview]
Message-ID: <87r3gmkc0g.fsf@gnus.org> (raw)
In-Reply-To: <mailman.4132.1454971965.843.info-gnus-english@gnu.org> (Emanuel Berg's message of "Mon, 08 Feb 2016 23:52:26 +0100")
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
next prev parent reply other threads:[~2016-02-08 23:39 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.3558.1454557630.843.info-gnus-english@gnu.org>
2016-02-07 3:50 ` Lars Ingebrigtsen
2016-02-07 4:39 ` Emanuel Berg
[not found] ` <mailman.3850.1454819959.843.info-gnus-english@gnu.org>
2016-02-07 4:44 ` Lars Ingebrigtsen
2016-02-07 5:01 ` Emanuel Berg
[not found] ` <mailman.3852.1454821323.843.info-gnus-english@gnu.org>
2016-02-07 5:23 ` Lars Ingebrigtsen
2016-02-08 0:48 ` Emanuel Berg
[not found] ` <mailman.3977.1454892539.843.info-gnus-english@gnu.org>
2016-02-08 4:48 ` Lars Ingebrigtsen
2016-02-08 22:52 ` Emanuel Berg
[not found] ` <mailman.4132.1454971965.843.info-gnus-english@gnu.org>
2016-02-08 23:39 ` Lars Ingebrigtsen [this message]
2016-02-09 2:26 ` Emanuel Berg
[not found] ` <mailman.4158.1454984781.843.info-gnus-english@gnu.org>
2016-02-09 23:47 ` Lars Ingebrigtsen
2016-02-10 0:50 ` Emanuel Berg
[not found] ` <mailman.4270.1455065439.843.info-gnus-english@gnu.org>
2016-02-10 3:04 ` Lars Ingebrigtsen
2016-02-11 0:50 ` Emanuel Berg
[not found] ` <mailman.4358.1455151881.843.info-gnus-english@gnu.org>
2016-02-11 4:01 ` Lars Ingebrigtsen
2016-02-17 0:38 ` Emanuel Berg
[not found] ` <mailman.4888.1455669521.843.info-gnus-english@gnu.org>
2016-02-20 8:34 ` Lars Ingebrigtsen
2016-02-21 0:44 ` Emanuel Berg
[not found] ` <mailman.5253.1456015518.843.info-gnus-english@gnu.org>
2016-02-21 2:43 ` Lars Ingebrigtsen
2016-02-21 3:29 ` Emanuel Berg
2016-02-08 1:27 ` Emanuel Berg
2016-02-04 3:46 Emanuel Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r3gmkc0g.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=info-gnus-english@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).