Gnus development mailing list
 help / color / mirror / Atom feed
From: "Ted Zlatanov" <tzz@lifelogs.com>
Cc: ding@gnus.org
Subject: Re: spam-use-pgp-signed?
Date: 20 Mar 2006 14:48:01 -0500	[thread overview]
Message-ID: <4n4q1shp8u.fsf@asimov.bwh.harvard.edu> (raw)
In-Reply-To: <873bik4rml.fsf@mat.ucm.es> (Uwe Brauer's message of "Wed, 15 Feb 2006 15:35:14 +0100")

On 15 Feb 2006, oub@mat.ucm.es wrote:

> May be I am wrong, but I think there is a difference between mailcrypt
> for pgp and the gnu support for gpg. While the former signs messages
> inline the letter uses mime. So may be the following cheap trick might
> do
> (setq 
> nnimap-split-rule  'nnimap-split-fancy
> nnimap-split-inbox "INBOX"
> nnimap-split-fancy
> `(|									;macro
> ("Content-Type" "multipart/signed" "SPAM.HAM")))

Since this is a header, it's a fast check I can do as a spam filter,
if anyone is interested.  Hooking it into the spam.el framework means
that, basically, the last line above will become

(setq spam-use-signed-check t) ;; or something like that

and then you just call (: spam-split) as usual.  If you or anyone else
wants it, I'll add the functionality.  It's pretty simple.

Ted







  reply	other threads:[~2006-03-20 19:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-09 20:31 spam-use-pgp-signed? Uwe Brauer
2006-02-13 19:27 ` spam-use-pgp-signed? Ted Zlatanov
2006-02-15 14:35   ` spam-use-pgp-signed? Uwe Brauer
2006-03-20 19:48     ` Ted Zlatanov [this message]
2006-03-22 17:07       ` spam-use-pgp-signed? Uwe Brauer

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=4n4q1shp8u.fsf@asimov.bwh.harvard.edu \
    --to=tzz@lifelogs.com \
    --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).