From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57618 Path: main.gmane.org!not-for-mail From: Kohkichi Hosoda Newsgroups: gmane.emacs.gnus.general Subject: Spam does not move Date: Sun, 16 May 2004 22:20:51 +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 1085117161 20174 80.91.224.253 (21 May 2004 05:26:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 May 2004 05:26:01 +0000 (UTC) Cc: semi-gnus-ja@meadowy.org Original-X-From: ding-owner+M6158@lists.math.uh.edu Fri May 21 07:25:52 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 1BR2XX-0006T1-00 for ; Fri, 21 May 2004 07:25:52 +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 1BR2XS-0003RF-00; Fri, 21 May 2004 00:25:46 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BPLZk-0001JL-00 for ding@lists.math.uh.edu; Sun, 16 May 2004 08:21:08 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BPLZj-0003hD-9p for ding@lists.math.uh.edu; Sun, 16 May 2004 08:21:07 -0500 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id 9565B3A003B for ; Sun, 16 May 2004 08:21:06 -0500 (CDT) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1BPLZh-0002s7-00 for ; Sun, 16 May 2004 15:21:05 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 99 Original-NNTP-Posting-Host: pppa391.hyogo-ip.dti.ne.jp Original-X-Trace: quimby.gnus.org 1084713665 9084 211.132.67.141 (16 May 2004 13:21:05 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sun, 16 May 2004 13:21:05 +0000 (UTC) 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:jN/xZ9Nupql87jaWWYeKX+PAA4E= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57618 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57618 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))))