Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
Subject: Re: spam.el/spam-stat checks in non-mail groups
Date: Fri, 22 Aug 2003 06:31:48 -0400	[thread overview]
Message-ID: <4nada2j84r.fsf@lockgroove.bwh.harvard.edu> (raw)
In-Reply-To: <87ekzealuw.fsf@everett.mit.edu>

On Thu, 21 Aug 2003, dmaze@mit.edu wrote:

> I have spam.el happily set up to use spam-stat for all of my
> incoming mail.  This works great, but I have groups that aren't mail
> groups.  In particular, I have a couple of groups that are read-only
> archives of mailing lists[1], so these also get a fair bit of spam.
> Is there a way to run the spam.el checks on messages in non-news
> groups, and automatically give spam messages '$' marks if they need
> it?

Well these are two different things.

You can make a newsgroup a spam group, so unread or unseen messages
will get the spam-mark.  Just make sure spam-process-destination is
nil because you can't move messages of course.

You can't currently do spam checks on unseen messages in a newsgroup.

It should be possible though, by running spam-split on every unseen
message at summary entry and checking if the output is equal to
spam-split-group (remember that the ifile backend, for instance, will
output a valid group name for non-spam so you can't just check for a
string).  It's pretty simple to do this.  Maybe in such groups the
spam-process-destination should be automatically ignored but all other
spam functionality should be available.  

I don't think there's a way to automatically find out if a group is
not a mail group, is there?

What do you think?

Ted


       reply	other threads:[~2003-08-22 10:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87ekzealuw.fsf@everett.mit.edu>
2003-08-22 10:31 ` Ted Zlatanov [this message]
2003-08-22 19:26   ` David Z Maze
2003-08-23 14:07     ` David Z Maze

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=4nada2j84r.fsf@lockgroove.bwh.harvard.edu \
    --to=tzz@lifelogs.com \
    /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).