From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57418 Path: main.gmane.org!not-for-mail From: Kohkichi Hosoda Newsgroups: gmane.emacs.gnus.general Subject: Spam does not move Date: Mon, 17 May 2004 21:47:04 +0900 Sender: ding-owner@lists.math.uh.edu Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-2022-JP X-Trace: sea.gmane.org 1084804346 20830 80.91.224.253 (17 May 2004 14:32:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 May 2004 14:32:26 +0000 (UTC) Original-X-From: ding-owner+M5958@lists.math.uh.edu Mon May 17 16:32:17 2004 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 1BPjA9-0006am-00 for ; Mon, 17 May 2004 16:32:17 +0200 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 1BPjA2-00048t-00; Mon, 17 May 2004 09:32:10 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BPi2y-0003Hf-00 for ding@lists.math.uh.edu; Mon, 17 May 2004 08:20:48 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BPi2y-0006JN-13 for ding@lists.math.uh.edu; Mon, 17 May 2004 08:20:48 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 9896F3A0050 for ; Mon, 17 May 2004 08:20:46 -0500 (CDT) Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BPi2v-0006Uy-00 for ; Mon, 17 May 2004 15:20:45 +0200 Original-Received: from pppa260.hyogo-ip.dti.ne.jp ([211.132.67.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 May 2004 15:20:45 +0200 Original-Received: from khosoda by pppa260.hyogo-ip.dti.ne.jp with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 May 2004 15:20:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 103 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pppa260.hyogo-ip.dti.ne.jp User-Agent: T-gnus/6.17.2 (based on No Gnus v0.2) Mule-UCS/0.85 (=?ISO-2022-JP?B?R0lOU0hBREFOOhskQjZkOjtGZxsoQg==?=) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3.50 (powerpc-apple-darwin7.3.0) MULE/5.0 (SAKAKI) Cancel-Lock: sha1:3fvwrcOrmS4JraSyJeeuXkowruk= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57418 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57418 Hi, I recently decided to re-setup my spam-filtering. I wanted spam in a ham group to move into spam group when I exit the ham group. Therefore, my Group parameter is set as the following: ((spam-contents gnus-group-spam-classification-ham) (spam-process ((spam spam-use-stat) (ham spam-use-stat))) (spam-process-destination "nnml:spam") (spam-marks (gnus-spam-mark))) Everytime I find spam in a ham group, I mark it with M-d. Then it will go into the spam group when I exit summary buffer of the ham group, but it does not. I get messages as the followings: Exiting summary buffer and applying spam rules Registering 0 articles as spam using backend spam-use-stat Marking spam as expired and moving it to (nnml:spam) Marking spam as expired without moving it Registering 0 articles as ham using backend spam-use-stat However, the reality is that the spam resides in the ham group. It is not even marked as expired. I probably have missed something, but I'm not a Gnus master. I would appreciate your help in advance. ## The followings are my spam filtering in my .gnus.el according to Mr. Koseki's page (it's Japanese). http://cgi.netlaputa.ne.jp/~kose/diary/?200304a&to=200304091#200304091 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; spam filtering in my .gnus.el ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (require 'spam) (require 'spam-stat) (spam-stat-load) (setq spam-use-stat t) ;; Regular expression (setq spam-use-regex-headers t) (setq spam-regex-headers-spam '("Subject:.*未承諾広告")) ;; decode (setq nnmail-mail-splitting-decodes t) ;; Mailing list (modify-syntax-entry ?\- "w" nnmail-split-fancy-syntax-table) (setq nnmail-split-fancy-ML-alist '(("x-ml-name" "\\b\\(\\w+\\)" "\\1") ("errors-to\\|sender" "owner-\\(\\w+\\)@.*" "\\1") ("sender" "\\b\\(\\w+\\)-\\(owner\\|admin\\)@.*" "\\1") ("mailing-list" "\\bcontact \\b\\(\\w+\\)-\\(help\\|owner\\)@.*" "\\1"))) ;; parent (setq nnmail-treat-duplicates 'warn) (setq nnmail-cache-accepted-message-ids t) ;; group parameter & spam (gnus-group-split-setup t "spam") ;; to myself (setq nnmail-split-fancy-DM-alist '(("subject" "Output from \"cron\" command" "cron") (from "khosoda@[a-zA-Z.]+\\.jp" "kohkichi") (to "khosoda@[a-zA-Z.]+\\.jp" (| ("subject" "re:" "kohkichi") ("references" "@" "kohkichi") ; ("content-type" "multipart" "spam") (from "[a-zA-Z]+\\.jp" "kohkichi") "spam")) "spam")) ;; (setq nnmail-split-methods 'nnmail-split-fancy) (setq gnus-group-split-updated-hook (lambda () (setq nnmail-split-fancy (append '(|) ;; (1) spam '((: spam-split)) ;; (2) mailing-list nnmail-split-fancy-ML-alist ;; (3) parent '((: nnmail-split-fancy-with-parent)) ;; (4) Group parameter (let ((lst (cdr nnmail-split-fancy)) first ret) (while (listp (setq first (car lst))) (setq ret (append (list first) ret)) (setq lst (cdr lst))) ret) ;; (5) DM nnmail-split-fancy-DM-alist)))) -- Kohkichi Hosoda E-mail address: khosoda@venus.dti.ne.jp http://www.venus.dti.ne.jp/~khosoda/Enlightenment.html