From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/3444 Path: news.gmane.org!not-for-mail From: David Hanak Newsgroups: gmane.emacs.gnus.user Subject: spam elisp with spam-stat Date: Thu, 29 Jan 2004 11:21:08 -0600 Organization: Institute for Software Integrated Systems, Vanderbilt University Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138669562 19011 80.91.229.2 (31 Jan 2006 01:06:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:06:02 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:32:14 2006 Original-Path: quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: a139106.n1.vanderbilt.edu Original-X-Trace: quimby.gnus.org 1075396869 14602 129.59.139.106 (29 Jan 2004 17:21:09 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Thu, 29 Jan 2004 17:21:09 +0000 (UTC) User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:Qzk2wErU72rrprbmxW0DVaI5uOE= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:3585 Original-Lines: 50 X-Gnus-Article-Number: 3585 Tue Jan 17 17:32:14 2006 Xref: news.gmane.org gmane.emacs.gnus.user:3444 Archived-At: Hi, I'm trying to set up the spam.el package with spam-stat, and although I read the info pages and function and variable documentations several times, I admit that I'm confused and lost among the numerous variables. I'd like to have a very simple setup: I have one spam group (called spam), all the other groups are ham. When I exit a group, I want 1, all new articles marked as spam processed by the spam-stat spam processor (and moved to the spam group if we are in a ham group) 2, all new articles marked as ham processed by the spam-stat ham processor (and moved to a default ham group if we are in the spam group) For this, I have the following .gnus setup (I use Gnus from the CVS and update regularly): (setq spam-use-stat t spam-mark-ham-unread-before-move-from-spam-group t gnus-spam-process-destinations '((".*" "spam")) gnus-ham-process-destinations '((".*" "misc")) gnus-spam-newsgroup-contents '(("spam" gnus-group-spam-classification-spam) (".*" gnus-group-spam-classification-ham)) spam-split-group "spam") (spam-initialize) (setq gnus-parameters '((".*" (spam-process ((spam spam-use-stat) (ham spam-use-stat)))))) My problem is that spam-stat doesn't seem to be learning new articles, so it's probably gnus-parameters which is wrong. (The classification of the groups is OK, I checked it by calling gnus-parameter-spam-contents manually.) If I know correctly, when a spam processor is called, a message is generated showing the number of articles being processed, and I don't see a message like that in the message buffer after exiting a group which had new messages. Can someone tell me how to do this right? I would also be grateful for any advice on enhancing my setup. Thanks, -- David Hanak - Research Engineer Institute for Software Integrated Systems | http://www.isis.vanderbilt.edu Vanderbilt University | Work phone: (615) 343 1319 Box 1829, Station B, Nashville, TN 37235 | PGP key ID: 266BC45F