Gnus development mailing list
 help / color / mirror / Atom feed
From: Andreas Fuchs <asf@void.at>
Subject: spam.el experiences
Date: Sat, 16 Nov 2002 15:54:28 +0100	[thread overview]
Message-ID: <E18D4L6-0008ST-00@eris.void.at> (raw)

[-- Attachment #1: Type: text/plain, Size: 2686 bytes --]

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)
			   ;; 
			   "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? 

Thanks,
--
Andreas Fuchs, <asf@acm.org>, asf@jabber.at, antifuchs
Was I helpful?  Let others know:
http://svcs.affero.net/rm.php?r=antifuchs

[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]

             reply	other threads:[~2002-11-16 14:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-16 14:54 Andreas Fuchs [this message]
2002-11-19  9:09 ` Patch for ifile spam splitting in spam.el (was: Re: spam.el experiences) Andreas Fuchs
2002-11-21 15:37   ` Patch for ifile spam splitting in spam.el Ted Zlatanov
2002-11-21 15:39 ` spam.el experiences Ted Zlatanov
2002-11-22 17:55   ` Jeremy H. Brown
2002-11-22 18:09     ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E18D4L6-0008ST-00@eris.void.at \
    --to=asf@void.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).