From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62315 Path: news.gmane.org!not-for-mail From: "Ted Zlatanov" Newsgroups: gmane.emacs.gnus.general Subject: Re: spam-use-pgp-signed? Date: 20 Mar 2006 14:48:01 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <4n4q1shp8u.fsf@asimov.bwh.harvard.edu> References: <87oe1gmfyl.fsf@mat.ucm.es> <4nmzgv9i0d.fsf@lifelogs.com> <873bik4rml.fsf@mat.ucm.es> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142884272 6126 80.91.229.2 (20 Mar 2006 19:51:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Mar 2006 19:51:12 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+m10842@lists.math.uh.edu Mon Mar 20 20:51:10 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FLQPD-000548-Bd for ding-account@gmane.org; Mon, 20 Mar 2006 20:51:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FLQOw-0003Z3-00; Mon, 20 Mar 2006 13:50:50 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FLQMR-0003Yy-00 for ding@lists.math.uh.edu; Mon, 20 Mar 2006 13:48:15 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FLQMO-0007bY-H2 for ding@lists.math.uh.edu; Mon, 20 Mar 2006 13:48:15 -0600 Original-Received: from clifford.bwh.harvard.edu ([134.174.9.41] helo=mail.bwh.harvard.edu) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FLQMF-0004n6-00 for ; Mon, 20 Mar 2006 20:48:03 +0100 Original-Received: (qmail 18934 invoked from network); 20 Mar 2006 19:40:55 -0000 Envelope-Sender: tzz@lifelogs.com Envelope-Recipients: oub@mat.ucm.es, ding@gnus.org, Original-Received: from asimov.bwh.harvard.edu ([134.174.54.119]) (envelope-sender ) by mail.bwh.harvard.edu (qmail-ldap-1.03) with SMTP for ; 20 Mar 2006 19:40:55 -0000 Mail-Followup-To: "Uwe Brauer" , ding@gnus.org Original-To: "Uwe Brauer" X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" In-Reply-To: <873bik4rml.fsf@mat.ucm.es> (Uwe Brauer's message of "Wed, 15 Feb 2006 15:35:14 +0100") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62315 Archived-At: 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