Gnus development mailing list
 help / color / mirror / Atom feed
From: Peter Lee <pete_lee@swbell.net>
Subject: Marking as spam -- spam-stat
Date: Wed, 29 Oct 2003 15:31:48 -0600	[thread overview]
Message-ID: <uoevzvigr.fsf@swbell.net> (raw)

In a ham group, if I see spam, I have to manually move it to spam
group with 'B M'.  Then I have to remember that at some point in the future I
need to run spam-stat-update which I have defined as:

(defun spam-stat-update ()
  "Learn about my spam and non-spam"
(interactive)
(let ((starting (current-time-string)))
  ;; LEARN SPAM
  (spam-stat-process-spam-directory "~/Mail/mail/spam")

  ;; LEARN HAM
  (let ((ham-groups '("mail.misc" "mail.vcpphelp" "mail.windbg" "mail.hew")))
    (mapc (lambda (x)
            (spam-stat-process-non-spam-directory
             (format "~/Mail/mail/%s" x)))
          ham-groups))

Isn't there a way to delete a message as spam such that it would get
moved to the spam group and the spam database would get automatically
updated?  Same goes for when ham appears in a spam group.

The addin for Outlook (SpamBayes) has this functionality and it's
very nice.  With it, I can build the db once, and then just
incrementally update as needed.

I'm hoping something similar can be done with spam-stat and gnus.
Thanks.




             reply	other threads:[~2003-10-29 21:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-29 21:31 Peter Lee [this message]
2003-10-30 10:20 ` Ian Dobbie
2003-10-30 19:29 ` Danny Siu
2003-10-31 16:20   ` Peter Lee
2003-10-31 17:01   ` 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=uoevzvigr.fsf@swbell.net \
    --to=pete_lee@swbell.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).