From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54576 Path: main.gmane.org!not-for-mail From: Peter Lee Newsgroups: gmane.emacs.gnus.general Subject: Marking as spam -- spam-stat Date: Wed, 29 Oct 2003 15:31:48 -0600 Organization: ~ Sender: ding-owner@lists.math.uh.edu Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1067536332 21876 80.91.224.253 (30 Oct 2003 17:52:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Oct 2003 17:52:12 +0000 (UTC) Original-X-From: ding-owner+M3116@lists.math.uh.edu Thu Oct 30 18:52:09 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AFGxt-0004kC-00 for ; Thu, 30 Oct 2003 18:52:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AFGxa-0001Qi-00; Thu, 30 Oct 2003 11:51:50 -0600 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AExux-0005Hu-00 for ding@lists.math.uh.edu; Wed, 29 Oct 2003 15:31:51 -0600 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id A92C13A007E for ; Wed, 29 Oct 2003 15:31:50 -0600 (CST) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AExuw-0001s8-00 for ; Wed, 29 Oct 2003 22:31:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AExuv-0001s0-00 for ; Wed, 29 Oct 2003 22:31:49 +0100 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AExuv-0003P3-00 for ; Wed, 29 Oct 2003 22:31:49 +0100 Original-Lines: 28 Original-X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:p4W2MQZkc02APdO6HS9TiC+6gbU= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54576 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54576 In a ham group, if I see spam, I have to manually move it to spam group with 'B M'. Then I have to remember that at some point in the future I need to run spam-stat-update which I have defined as: (defun spam-stat-update () "Learn about my spam and non-spam" (interactive) (let ((starting (current-time-string))) ;; LEARN SPAM (spam-stat-process-spam-directory "~/Mail/mail/spam") ;; LEARN HAM (let ((ham-groups '("mail.misc" "mail.vcpphelp" "mail.windbg" "mail.hew"))) (mapc (lambda (x) (spam-stat-process-non-spam-directory (format "~/Mail/mail/%s" x))) ham-groups)) Isn't there a way to delete a message as spam such that it would get moved to the spam group and the spam database would get automatically updated? Same goes for when ham appears in a spam group. The addin for Outlook (SpamBayes) has this functionality and it's very nice. With it, I can build the db once, and then just incrementally update as needed. I'm hoping something similar can be done with spam-stat and gnus. Thanks.