From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: A quick way to view the spam headers of an article from the summary buffer?
Date: Mon, 15 Apr 2019 08:40:36 -0700 [thread overview]
Message-ID: <875zrfnuob.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <867eby1p3d.fsf@dod.no>
Steinar Bang <sb@dod.no> writes:
> When I see an obvious spam message that has survived SpamAssassin I
> sometimes(*) do a 'C-u g' to watch the article with all headers and raw
> undecoded MIME structure(**).
>
> What I would have liked to have is a summary command that just shows me
> the spam headers in the article buffer (or a buffer that is in the same
> place in the emacs layout as the article buffer).
>
> Does anyone else have a command that does this? Is there something
> built-in to gnus that I have overlooked?
>
> The headers I'm interested in, are:
> X-Spam-Status
> X-Spam-Level
> X-Spam-Checker-Version
The two easiest (built-in) ways to do this would be to use "t" to toggle
header display -- that will show all the headers, which is probably more
than you want. The other would be concatting "X-Spam-*\\|" to the value
of `gnus-visible-headers'. That would make the spam headers always
visible, though. Maybe just add "X-Spam-Status" to the visible headers,
and use "t" to see the others when you need to?
Eric
next prev parent reply other threads:[~2019-04-15 15:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-13 4:55 Steinar Bang
2019-04-15 15:40 ` Eric Abrahamsen [this message]
2019-04-16 6:07 ` Steinar Bang
2019-04-17 3:56 ` Eric Abrahamsen
2019-04-20 6:55 ` Steinar Bang
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=875zrfnuob.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=ding@gnus.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).