From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47675 Path: main.gmane.org!not-for-mail From: Andreas Fuchs Newsgroups: gmane.emacs.gnus.general Subject: spam.el experiences Date: Sat, 16 Nov 2002 15:54:28 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: main.gmane.org 1037458581 32337 80.91.224.249 (16 Nov 2002 14:56:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 16 Nov 2002 14:56:21 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18D4Mu-0008PR-00 for ; Sat, 16 Nov 2002 15:56:20 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18D4M8-0001AV-00; Sat, 16 Nov 2002 08:55:32 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 16 Nov 2002 08:56:18 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id IAA19799 for ; Sat, 16 Nov 2002 08:56:01 -0600 (CST) Original-Received: (qmail 20927 invoked by alias); 16 Nov 2002 14:55:06 -0000 Original-Received: (qmail 20920 invoked from network); 16 Nov 2002 14:55:05 -0000 Original-Received: from mail.ycn.com (212.88.160.3) by gnus.org with SMTP; 16 Nov 2002 14:55:05 -0000 Original-Received: from eris.void.at (212-88-187-152.ADSL.ycn.com [212.88.187.152]) by mail.ycn.com (8.11.3/8.9.3/Debian 8.9.3-21) with ESMTP id gAGF3qj00684 for ; Sat, 16 Nov 2002 16:03:52 +0100 Original-Received: from asf by eris.void.at with local (Exim 3.36 #1 (Debian)) id 18D4L6-0008ST-00 for ; Sat, 16 Nov 2002 15:54:28 +0100 Mail-Copies-To: never X-Url: http://asf.void.at/ Original-To: ding@gnus.org X-Attribution: asf Mail-Followup-To: ding@gnus.org Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47675 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47675 --=-=-= Content-Transfer-Encoding: quoted-printable Hi, I just tried using spam.el to make dealing with spam easier, but ran into these problems: * ifile. I have used ifile to classify my spam&ham; does marking an article with M-d also process it as a spam article in ifile? * nnmail-split-methods. Before I had spam.el, I used (setq nnmail-split-fancy `(| (: ifile-spam-filter (| (: nnmail-split-fancy-with-parent) ;; special cases (any "plus-linux.de" "plus-linux.de") (from "HQ.ACM.ORG" "acm") (from ".*@sil.at" "Mailbox.sil") (from "mailman-owner@.*" "mailman-reminders") (to "\\(srfi-.*\\)@srfi\\.schemers\\.org" "scheme.\\1") (any "\\(srfi-.*\\)@srfi\\.schemers\\.org" "scheme.\\1") ("resent-from" "srfi-37@srfi.schemers.org" "scheme.srfi-37") ("resent-from" "\\(srfi-.*\\)@srfi\\.schemers\\.org" "scheme.\\= 1") (any ".*@bugs.debian.org" "debian-bugs") ;; mine (any ,gnus-ignored-from-addresses "Mailbox") ;; group parameter splitting (: gnus-group-split-fancy nil t nil) ;; "Mailbox.misc")) Now, I use: nnmail-split-fancy `(| (: spam-split) (: nnmail-split-fancy-with-parent) ;; special cases (any "plus-linux.de" "plus-linux.de") (from "HQ.ACM.ORG" "acm") (from ".*@sil.at" "Mailbox.sil") (from "mailman-owner@.*" "mailman-reminders") (to "\\(srfi-.*\\)@srfi\\.schemers\\.org" "scheme.\\1") (any "\\(srfi-.*\\)@srfi\\.schemers\\.org" "scheme.\\1") ("resent-from" "srfi-37@srfi.schemers.org" "scheme.srfi-37") ("resent-from" "\\(srfi-.*\\)@srfi\\.schemers\\.org" "scheme.\\1") (any ".*@bugs.debian.org" "debian-bugs") ;; to me (any ,gnus-ignored-from-addresses "Mailbox") ;; group parameter? (: gnus-group-split-fancy nil t nil) ;;=20 "Mailbox.misc") IMHO, these should act identical, but they don't. In fact, I get errors every time I try to get new mails: "Error in `nnmail-split-methods'; using `bogus' mail group". I tracked the error down as far as I could, and found out that somewhere down there, an apply gets called with only one argument. I didn't dare remove the condition-case statement from nnmail.el:1043, for fear of mail loss. Is there anything wrong with my configuration or can I make this portion of code more debugable?=20 Thanks, =2D- Andreas Fuchs, , asf@jabber.at, antifuchs Was I helpful? Let others know: http://svcs.affero.net/rm.php?r=3Dantifuchs --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA91lwkucDAWATX9F8RAjdoAJ9/nB80QrGc95ExR0coJJfHz13ooQCfXYo9 ziGE48rwJRGOGukID1DSbU8= =0Jyn -----END PGP SIGNATURE----- --=-=-=--