Gnus development mailing list
 help / color / mirror / Atom feed
From: "Ted Zlatanov" <tzz@lifelogs.com>
Cc: reiner.steib@gmx.de
Subject: Re: What's wrong with my spam.el settings now?
Date: 20 Sep 2005 12:07:20 -0400	[thread overview]
Message-ID: <4nmzm7k9jb.fsf@lifelogs.com> (raw)
In-Reply-To: <87mznufe09.fsf@lucien.dreaming> (=?iso-8859-1?Q?Bj=F6rn_Lind?= =?iso-8859-1?Q?str=F6m's?= message of "Sun, 07 Aug 2005 08:38:14 +0200")

On Sun, 07 Aug 2005, bkhl@elektrubadur.se wrote:

> After upgrading to No Gnus (CVS of 20050719) my spam group is behaving
> differently. Spam is split to nnml:spam properly, and if I enter that
> group and leave, the new spam messages will still have it spam mark, and
> when I leave again, it will be processed again.

Hi Bjorn,

first of all, sorry for the very late response to you and all the
other people with spam.el questions (especially Reiner Steib).  I was
unable to read ding or contribute to Gnus until now.

I see from your configuration that spam-mark-only-unseen-as-spam is
set.  You should only get messages marked as spam once, when you enter
the group and they are unseen.  After that, they will be unread but
not unseen, so they shouldn't be marked as spam again.  To confirm,
when you enter the second time, is there a dot (.) to the left of the
spam-marked article in the summary line?  If yes, Gnus is not saving
the marks of the articles, that's why you see them marked as spam
again.

If no, set gnus-verbose to 10 and send me the output in *Messages*
when you enter and exit the group twice.  Let me know if you need more
help.

Thanks!
Ted


> What has changed that I need to compensate for?
> 
> Here are the relevant parts of my configuration:
> 
> ;; Spam
> (require 'spam)
> (spam-initialize)
> 
> ;; Prevent multiple registration of articles.
> (require 'gnus-registry)
> (gnus-registry-initialize)
> (setq spam-log-to-registry t)
> 
> ;; Use bogofilter for spam processing.
> (setq spam-use-bogofilter t)
> 
> ;; Put incoming spam in "spam".
> (setq spam-split-group "spam")
> 
> ;; Set spam and ham groups.
> (setq gnus-spam-newsgroup-contents
>       '(("^nnml:spam" gnus-group-spam-classification-spam)
>         ("^nnml:.*" gnus-group-spam-classification-ham)))
> 
> ;; Train the filter.
> (setq spam-process-ham-in-spam-groups t
>       gnus-spam-process-newsgroups
>       '(("^nntp\\+news\\.gmane\\.org:"
>          ((spam spam-use-gmane)))
>         ("^nnml:.*"
>          ((spam spam-use-bogofilter)))))
> 
> ;; Move processed spam.
> (setq spam-move-spam-nonspam-groups-only t)
  > (setq spam-mark-only-unseen-as-spam t)
> (setq gnus-spam-process-destinations
>       '(("^nnml:.*" "nnml:spam")))
> 
> ;; Move processed ham.
> (setq spam-mark-ham-unread-before-move-from-spam-group t)
> (setq gnus-ham-process-destinations
>       '(("^nnml:spam" "nnml:reclassify")))
> 
> ;; Splitting
> (setq '(|
>          (: spam-split)
>          ...))




  reply	other threads:[~2005-09-20 16:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-07  6:38 Björn Lindström
2005-09-20 16:07 ` Ted Zlatanov [this message]
2005-09-20 17:10   ` Björn Lindström
2005-09-21 14:49     ` Ted Zlatanov
2005-09-21 14:58       ` Björn Lindström
2005-09-21 18:19         ` Ted Zlatanov
2005-09-21 19:40           ` Simon Josefsson
2005-09-27 19:38             ` Ted Zlatanov
2005-09-29 17:54               ` Simon Josefsson
2005-09-29 18:49                 ` Björn Lindström
2005-09-30  0:18                   ` Simon Josefsson
2005-09-30 10:09                     ` Björn Lindström
2005-10-04 18:04                     ` 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=4nmzm7k9jb.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=reiner.steib@gmx.de \
    /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).