From: Jonas Steverud <tvrud@bredband.net>
Subject: Re: Configuring spam.el: A few questions
Date: Sat, 03 Apr 2004 13:57:07 +0200 [thread overview]
Message-ID: <m2fzblz33g.fsf@c-a85372d5.036-4-67626721.cust.bredbandsbolaget.se> (raw)
In-Reply-To: <4nvfkkvodw.fsf@lifelogs.com> (Ted Zlatanov's message of "Wed, 31 Mar 2004 13:54:03 -0500")
Ted Zlatanov <tzz@lifelogs.com> writes:
> On Wed, 31 Mar 2004, tvrud@bredband.net wrote:
[...]
>> As I've understood it, all spam marked mails will be moved to the
>> Spam-group due to the topic parameter above, but then?
>
> With a spam exit processor, the spam will also be processed before
> it's moved. Also, it will be marked expired.
I.e. if I set
nnfolder:Spam:
((spam-contents gnus-group-spam-classification-spam)
(ham-marks
(gnus-ticked-mark)))
And the Email topic:
((spam-process-destination . nil) ;; Necessary at all?
(spam-process
(gnus-group-spam-exit-processor-bogofilter)))
And use spam-split in fancy-splitting to nnfolder:Spam I will have the
following setup:
1. Detected spam during splitting will end up in nnfolder:Spam
2. Undetected spam will be split as an ordinary email.
I then start to read my mail and
a. Spam in ordinary groups (e.g. nnfolder:Ding) will be marked with
M-d and then bogofilter will be trained on it upon exit. The spam
will be marked expired.
b. Emails in nnfolder:Spam will be considered spam unless I tick 'em.
b1. Ticked emails are moved to ham-process-destination (which I will
set on topic level to my main mailbox) and bogofilter will be
trained on it as ham after adding
(ham-process (gnus-group-ham-exit-processor-bogofilter)) to the
Email topic parameter.
b2. Spam (i.e. all emails I do not tick) is ... now my understanding
starts to slip again. It is marked as expired by
(spam-contents gnus-group-spam-classification-spam), right? Is
bogofilter trained on it again? (Doesn't make sense but have to ask.)
(Will the emails in the Spam group have the $-sign automagically?
[Have to ask again.])
If this is the case, I will "only" need to add the following to .gnus
and then I'm past the finish line, right?
(setq gnus-registry-cache-file (concat gnus-dribble-directory
"gnus.registry.eld")
spam-use-bogofilter t
spam-use-BBDB t ;; Whitelist
spam-log-to-registry t
spam-mark-ham-unread-before-move-from-spam-group t
)
(spam-initialize)
(gnus-registry-initialize)
I also need to add (: gnus-registry-split-fancy-with-parent) to the
split rules.
I quite don't understand the difference between the
(: gnus-registry-split-fancy-with-parent) and the
(: nnmail-split-fancy-with-parent). Anyone that cares to explain the
difference and/or the idea behind the registry?
>> If I've understood it correctly, if I set the group parameters of
>> nnfolder:Spam to
>> ((spam-contents gnus-group-spam-classification-spam))
>> everything will work as expected, i.e. bogofilter is trained on the
>> contents of nnfolder:Spam and the content is not moved anywhere,
>> right?
>
> What that parameter does is mark all UNSEEN articles in the Spam group
> as spam when you enter the Spam group.
Unseen = all emails that for one reason or the other is nor shown in
the summary buffer, e.g. read emails. Or is there some other (Gnus
specific) terminology I've missed?
> I recommend to use a "Spam" and a "Train" folder since above you're
> trying to use the "Spam" folder as both
OK. I will try to avoid the Train folder if possible, which according
to my understanding above I can.
Thanks for the help so far! :-)
--
( http://hem.bredband.net/steverud/ ! Wei Wu Wei )
( Meaning of U2 Lyrics, Roleplaying ! To Do Without Do )
next prev parent reply other threads:[~2004-04-03 11:57 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-31 9:05 Jonas Steverud
2004-03-31 18:54 ` Ted Zlatanov
2004-04-03 11:57 ` Jonas Steverud [this message]
2004-04-15 19:54 ` Ted Zlatanov
2004-04-16 9:42 ` Jonas Steverud
2004-04-16 14:36 ` Ted Zlatanov
2004-04-16 20:37 ` Kai Grossjohann
2004-04-17 9:28 ` Jonas Steverud
2004-04-17 18:55 ` Dan Christensen
2004-04-18 8:04 ` Kai Grossjohann
2004-04-18 17:37 ` Dan Christensen
2004-04-18 19:56 ` Terminology (was: Configuring spam.el: A few questions) Jonas Steverud
2004-04-18 20:16 ` Terminology Simon Josefsson
2004-04-18 20:28 ` Terminology Jonas Steverud
2004-04-18 20:50 ` Terminology Simon Josefsson
2004-04-19 8:13 ` Terminology Kai Grossjohann
2004-04-21 15:50 ` Terminology Ted Zlatanov
2004-04-18 20:30 ` Configuring spam.el: A few questions Kai Grossjohann
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=m2fzblz33g.fsf@c-a85372d5.036-4-67626721.cust.bredbandsbolaget.se \
--to=tvrud@bredband.net \
/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).