From: Alex Schroeder <alex@emacswiki.org>
Subject: Re: Getting started with spam filtering
Date: Thu, 09 Jan 2003 19:38:46 +0100 [thread overview]
Message-ID: <87r8bmjhhl.fsf@emacswiki.org> (raw)
In-Reply-To: <kpadial7wb.fsf@wintermute.casa>
Jorge Godoy <godoy@ieee.org> writes:
> Alex Schroeder <alex@emacswiki.org> writes:
>
>> Just for the record -- I use spam-stat.el without spam.el at the
>> moment, and it works just fine. So if anybody has questions about how
>> to get started, just ask and I will do my best, much as Ted is doing
>> for spam.el. :)
>
> It would be interesting if you could post a step-by-step on how to get
> it running. I can publish it on a website for you (or you can add it
> to Emacs Wiki :-))
You can start by looking in the Gnus manual node "Filtering Spam Using
Statistics (spam-stat.el)". The node "Creating a spam-stat
dictionary" explains how to create your dictionary. The node
"Splitting mail using spam-stat" explains how change your mail
splitting setup.
The short version is this:
You need two nnml directories, one with spam, one with non-spam mails
before you start!
1. Call `spam-stat-process-spam-directory' on `~/Mail/mail/spam'.
2. Call `spam-stat-process-non-spam-directory' on `~/Mail/mail/misc'.
3. Call `spam-stat-save' to save the dictionary.
4. Add this to your `~/.gnus' file:
(require 'spam-stat)
(spam-stat-load)
5. Change your mail splitting following the one of these examples:
(setq nnmail-split-fancy
`(| (: spam-stat-split-fancy)
"mail.misc"))
(setq nnmail-split-fancy
`(| ("Content-Type" "text/html" "mail.spam.filtered")
(: spam-stat-split-fancy)
("Subject" "\\bspam-stat\\b" "mail.emacs")
"mail.misc"))
I am grateful for any holes poking in the manual section on
spam-stat.el -- only then can I improve it. I just noticed, for
example, that the manual section that tells you to call spam-stat-save
is not formatted correctly...
Alex.
next prev parent reply other threads:[~2003-01-09 18:38 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-07 13:51 Niklas Morberg
2003-01-07 14:44 ` Ted Zlatanov
2003-01-07 16:43 ` Frank Schmitt
2003-01-07 17:30 ` Ifile vs. bogofilter (was: Getting started with spam filtering) Frank Schmitt
2003-01-08 6:04 ` Getting started with spam filtering Kai Großjohann
2003-01-08 9:18 ` Lars Magne Ingebrigtsen
2003-01-08 15:26 ` Ted Zlatanov
2003-01-08 23:36 ` Alex Schroeder
2003-01-09 14:23 ` Jorge Godoy
2003-01-09 15:11 ` Andreas Fuchs
2003-01-09 18:38 ` Alex Schroeder [this message]
2003-01-10 7:44 ` Niklas Morberg
2003-01-10 12:12 ` Alex Schroeder
2003-01-10 12:51 ` Niklas Morberg
2003-01-10 13:10 ` Ted Zlatanov
2003-01-10 13:43 ` Niklas Morberg
2003-01-10 16:39 ` Ted Zlatanov
2003-01-24 13:45 ` Displaying spam score (Was: Re: Getting started with spam filtering) Niklas Morberg
2003-01-10 14:44 ` Getting started with spam filtering Alex Schroeder
2003-01-15 1:32 ` Danny Siu
2003-01-10 13:43 ` Kai Großjohann
2003-01-11 15:41 ` Simon Josefsson
2003-01-09 8:03 ` Niklas Morberg
2003-01-09 16:24 ` Ted Zlatanov
2003-01-09 23:23 ` Alex Schroeder
2003-01-10 2:07 ` Ted Zlatanov
2003-01-10 4:55 ` Alex Schroeder
2003-01-10 5:54 ` Ted Zlatanov
2003-01-10 10:41 ` Niklas Morberg
2003-01-10 11:01 ` Niklas Morberg
2003-01-10 12:50 ` Ted Zlatanov
2003-01-08 11:28 ` Niklas Morberg
2003-01-08 15:23 ` 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=87r8bmjhhl.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).