Gnus development mailing list
 help / color / mirror / Atom feed
From: Alex Schroeder <alex@emacswiki.org>
Subject: Re: spam*.el and ifile-gnus.el?
Date: Tue, 10 Sep 2002 22:56:37 +0200	[thread overview]
Message-ID: <8765xdva0q.fsf@emacswiki.org> (raw)
In-Reply-To: <vaf8z29eogn.fsf@lucy.cs.uni-dortmund.de>

Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> Has anyone connected spam*.el and ifile-gnus.el?
>
> Right now, I move messages into the spam group to tell ifile that
> they are spam, but maybe spam*.el can do that for me?

Here is what I do.  I filter using the BBDB as a whitelist.  I filter
away all HTML-only and Korean mail into mail.spam.filtered, because I
don't want to train spam-stat.el on them.  Some computer challenged
people send me HTML-only mail, so I need them in the list as well.  :)
The rest is either for mail.misc or mail.spam.  I use spam-stat.el to
make this decision for me.  And from time to time, I retrain
spam-stat.el on mail.misc and mail.spam only.

Thus, the splitting and training works fine using spam-stat.el.  This
approach is not compatible with the ideas in spam.el.  spam.el could
use spam-stat.el as well, but the glue code is missing (and no new
spam-stat.el being available does not improve the situation...).

Alex.

PS: At the moment spam-stat.el still must have some bugs in it, but it
happens very rarely.  This is why I have not yet released a new
version.  I would like to release it as soon as possible, so if
anybody wants to help debugging it, just ask.  :)

(setq nnmail-crosspost nil
      nnmail-split-methods 'nnmail-split-fancy
      bbdb/gnus-split-default-group nil
      bbdb/gnus-split-nomatch-function nil
      bbdb/gnus-split-myaddr-regexp gnus-ignored-from-addresses
      nnmail-expiry-wait 28
      gnus-total-expirable-newsgroups
      (regexp-opt '("mail.guile"
		    "mail.gnutella"
		    "mail.emacs.devel"
		    "mail.emacs.ilisp"
		    "mail.frieden.jetzt"
		    "mail.baeckeranlage"))
      nnmail-split-fancy
      `(| ("Gnus-Warning" "This is a duplicate" "mail.spam.duplicates")
	  ;; spam filtering based on spam assassin
	  ;; ("X-Spam-Flag" "YES" "mail.spam")
	  ;; ("X-Spam-Level" "\\*\\*\\*\\*\\*\\*\\*" "mail.spam.filtered")
	  ;; computer challenged people I know sending me HTML mails
	  ("From" "Sarah Leiken" "mail.family")
	  ;; remaining HTML only mail is spam
	  ("Content-Type" "text/html" "mail.spam.filtered")
	  ;; weird character sets are spam, too
	  ("Subject" "=?ks_c_5601-1987" "mail.spam.filtered")
	  ;; virus detection is spam
	  ;; ("Subject" "^Norton AntiVirus detected" "mail.spam.filtered")
	  ;; temporary spam stuff
	  ;; (any "machine365.com" "mail.spam.filtered")
	  ;; now use the BBDB to split
	  (: (lambda ()
	       (car (bbdb/gnus-split-method))))
	  ;; some of the packages I maintain
	  ("Subject" "\\(color-theme\\|ansi-color\\)" "mail.emacs")
	  ;; spam filtering based on statistics
	  (: spam-stat-split-fancy)
	  ;; mail from and to me, mail to any of the emacswiki addresses
	  ;; (any ,gnus-ignored-from-addresses "mail.misc")
	  ;; (any ".*@emacswiki.org" "mail.emacs.wiki")
	  ;; anonymous mail, probably spam
	  ;; "mail.spam.anonymous"
	  "mail.misc"))



  reply	other threads:[~2002-09-10 20:56 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-10 17:36 Kai Großjohann
2002-09-10 20:56 ` Alex Schroeder [this message]
2002-09-11  9:59   ` Kai Großjohann
2002-09-12  0:05     ` David Aspinwall
2002-09-12 15:35       ` Arnd Kohrs
2002-09-13  4:21         ` Jeremy H. Brown
2002-09-13  6:37           ` Andreas Fuchs
2002-09-13  7:17             ` Jeremy H. Brown
2002-09-13  7:50               ` Arnd Kohrs
2002-09-14  7:39                 ` Simon Josefsson
2002-09-15 18:16                 ` Jeremy H. Brown
2002-09-30 17:48                 ` Ted Zlatanov
2002-09-30 21:40                   ` Clemens Fischer
2002-09-13 11:20           ` Kai Großjohann
2002-09-15 18:16             ` Jeremy H. Brown
2002-09-13  3:39       ` Jeremy H. Brown
2002-09-30 17:54 ` Ted Zlatanov
2002-12-29 17:42   ` Lars Magne Ingebrigtsen
2002-12-29 19:06     ` Ted Zlatanov
2002-12-29 19:29       ` Lars Magne Ingebrigtsen

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=8765xdva0q.fsf@emacswiki.org \
    --to=alex@emacswiki.org \
    /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).