From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/3606 Path: news.gmane.org!not-for-mail From: Hubert Chan Newsgroups: gmane.emacs.gnus.user Subject: Re: Spam inoculation mail support? Date: Mon, 08 Mar 2004 17:25:50 -0500 Organization: University of Waterloo Message-ID: <8765dfgemp.fsf@uhoreg.ca> References: <87ptbnbg2u.fsf@aka.i.naked.iki.fi> <4n7jxv2hqx.fsf@lifelogs.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138669663 19570 80.91.229.2 (31 Jan 2006 01:07:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:07:43 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:32:28 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!news01.chello.no!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!news2.telebyte.nl!in.100proofnews.com!in.100proofnews.com!news.maxwell.syr.edu!reader1.on.meganewsservers.com!216.251.47.197.MISMATCH!meganewsservers.com!feeder1.on.meganewsservers.com!news.uwaterloo.ca!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: csgrad2pc01.math.uwaterloo.ca Original-X-Trace: rumours.uwaterloo.ca 1078784751 25539 129.97.79.69 (8 Mar 2004 22:25:51 GMT) Original-X-Complaints-To: abuse@uwaterloo.ca Original-NNTP-Posting-Date: Mon, 8 Mar 2004 22:25:51 +0000 (UTC) User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:2OAG2wjY9+GCOgy0CCSwmeD58jA= X-Received-Date: Mon, 08 Mar 2004 23:29:49 MET (news01.chello.no) Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:3747 Original-Lines: 36 X-Gnus-Article-Number: 3747 Tue Jan 17 17:32:28 2006 Xref: news.gmane.org gmane.emacs.gnus.user:3606 Archived-At: >>>>> "Ted" == Ted Zlatanov writes: [...] Nuutti> And while on the subject (I haven't had time to dig into spam.el Nuutti> deeply yet) - is there a simple way to have spam.el invoke some Nuutti> processor only when mails are moved from a spam group to a ham Nuutti> group or vice versa - eg. living with the assumption that Nuutti> everything has already been handled and only errors need to be Nuutti> trained. Ted> Yes, I do that in my setup which is in the Gnus manual as a spam.el Ted> example. My mail gets sorted out on the mail server by Ted> SpamAssassin, and then misidentified spam goes into a "train" Ted> folder, while misidentified ham goes into a "trainham" folder. I Ted> don't do it personally, but you can set summary exit spam- and Ted> ham-processors that will run when the spam and ham are moved to Ted> "train" and "trainham" respectively. I think what he means is that when in a spam group, if he does "B m" to move the article to a ham group, the ham processor should be called. (If that isn't what he meant, it's something that I would like to see, since it fits my workflow better.) I think that would be related to one of the functions I was planning on writing, which would allow you to call the processors on selected articles. Then you could remap "B m" to a function that calls the ham processors and then moves the article. (Or if gnus-summary-move-article uses hooks, you could do that.) Unfortunately, real life has kept me busy of late. I'm hoping that I can get some coding in next week... -- Hubert Chan - http://www.uhoreg.ca/ PGP/GnuPG key: 1024D/124B61FA Fingerprint: 96C5 012F 5F74 A5F7 1FF7 5291 AF29 C719 124B 61FA Key available at wwwkeys.pgp.net. Encrypted e-mail preferred.