From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46574 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Modifying messages inside Gnus (with shell command) Date: Tue, 17 Sep 2002 12:34:36 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1032261399 29521 127.0.0.1 (17 Sep 2002 11:16:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 17 Sep 2002 11:16:39 +0000 (UTC) Return-path: Original-Received: from karazm.math.uh.edu ([129.7.128.1]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17rGLO-0007fy-00 for ; Tue, 17 Sep 2002 13:16:38 +0200 Original-Received: from sina.hpc.uh.edu (lists@sina.hpc.uh.edu [129.7.128.10]) by karazm.math.uh.edu (8.9.3/8.9.3) with ESMTP id FAA04549; Tue, 17 Sep 2002 05:34:53 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 17 Sep 2002 05:35:32 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id FAA24908 for ; Tue, 17 Sep 2002 05:35:21 -0500 (CDT) Original-Received: (qmail 3031 invoked by alias); 17 Sep 2002 10:34:38 -0000 Original-Received: (qmail 3026 invoked from network); 17 Sep 2002 10:34:38 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 17 Sep 2002 10:34:38 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) by yxa.extundo.com (8.12.6/8.12.6) with ESMTP id g8HAYan2014608 for ; Tue, 17 Sep 2002 12:34:36 +0200 Original-To: ding@gnus.org Mail-Copies-To: nobody X-Hashcash: 0:020917:ding@gnus.org:19fe9008120edfa5 In-Reply-To: (Jorge Godoy's message of "Mon, 16 Sep 2002 22:09:35 -0300") Original-Lines: 29 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46574 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46574 Jorge Godoy writes: > Hi, > > > I use SpamAssassin and it adds some marks such as a *****SPAM***** > notice in the subject, modifying MIME attachments, etc. > > Sometimes I get false positives with it and I want to move the message > to its correct folder instead of the spam folder. But, I also wanted > to recover the message removing all these modifications inserted by > spamassassin. I can do that with a shell command ("spamassassin -d") > but I think that Gnus specific files won't be updated (such as > .overview and .marks). > > Is there any way for me to run a shell command in a message and have > Gnus recognizing the message correctly? No. Perhaps a command like gnus-summary-pipe-message-and-copy could be useful? It would pipe an article through a command and copy the resulting message into some group. *-move could be added to, of course. OTOH, I find disabling SpamAssassin body/subject/content-type modifications is much easier to work with. My SpamAssassin only adds X-Spam* headers to messages. Then I can move the message using normal commands and there is no need to pipe it through spamassassin -d.