From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62367 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.gnus.general Subject: Re: spam-use-pgp-signed? Date: Wed, 22 Mar 2006 18:07:23 +0100 Message-ID: <87slpapfw4.fsf@mat.ucm.es> References: <87oe1gmfyl.fsf@mat.ucm.es> <4nmzgv9i0d.fsf@lifelogs.com> <873bik4rml.fsf@mat.ucm.es> <4n4q1shp8u.fsf@asimov.bwh.harvard.edu> Reply-To: Uwe Brauer NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1143047699 8402 80.91.229.2 (22 Mar 2006 17:14:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Mar 2006 17:14:59 +0000 (UTC) Original-X-From: ding-owner+m10894@lists.math.uh.edu Wed Mar 22 18:14:53 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 1FM6uS-00081V-0M for ding-account@gmane.org; Wed, 22 Mar 2006 18:14:12 +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 1FM6uG-0000vv-00; Wed, 22 Mar 2006 11:14:00 -0600 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FM6qx-0000vq-00 for ding@lists.math.uh.edu; Wed, 22 Mar 2006 11:10:35 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1FM6qv-00038G-4E for ding@lists.math.uh.edu; Wed, 22 Mar 2006 11:10:35 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FM6qs-0007Bn-00 for ; Wed, 22 Mar 2006 18:10:30 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FM6pd-0006XW-9V for ding@gnus.org; Wed, 22 Mar 2006 18:09:13 +0100 Original-Received: from maportatil10.quim.ucm.es ([147.96.7.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Mar 2006 18:09:13 +0100 Original-Received: from oub by maportatil10.quim.ucm.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Mar 2006 18:09:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 51 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: maportatil10.quim.ucm.es X-Hashcash: 1:20:060322:gmane.emacs.gnus.general::FtxrvMODIGpNKPg/:000000000000000000000000000000000000083UB User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4.18 (linux) Cancel-Lock: sha1:2q5mmK2OGMwOhePJHRKEN+PXjlQ= X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62367 Archived-At: >>>>> "Ted" == Ted Zlatanov writes: Ted> 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"))) Ted> Since this is a header, it's a fast check I can do as a spam filter, Ted> if anyone is interested. Hooking it into the spam.el framework means Ted> that, basically, the last line above will become Ted> (setq spam-use-signed-check t) ;; or something like that I think it would be nice. But there is a however. I just tested the setting with gnus and mozilla-thunderbird, and 3 smtp server: my university server, gmail and gmx.net. That is I sent a message to myself which I signed pgp mime. - My university server does not not chance the header and the above setting would work. - Gmail however produces the following header Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:t o:subject:x-enigmail-version:content-type:content-transfer-encoding:sender; b=UQVmgpAvZMgBNilVC6jL3nU/UK+s/0Q0I4bMqo0fMedsguRm+vGvV1+rAc2djkQSsLsFU/agS JwEwzSgQ6gA+Uk8g8aiS9lz6d0r5TbnHNOloUC1gC/ig6Dyj7Juze5pjcmBqU9sVYyRWIgAz+2K LkImPJ1DR+sM5GAbWfIYWHo= - Gmx even changed the content-type to Content-type: multipart/mixed; boundary="=-=-=" So I am not sure what is the best strategy. May be to include all of these headers? Uwe