From: bkhl@elektrubadur.se (Björn Lindström)
Subject: Re: Spam setup help
Date: Sun, 29 Feb 2004 02:09:05 +0100 [thread overview]
Message-ID: <s38fzcubsjy.fsf@interjektion.ling.uu.se> (raw)
In-Reply-To: <yovak72be8tu.fsf@relaskop.wsl.ch>
After reading your mail I end up with the code included in the end of
this post, which seems to work, except for the registration thing. If I
uncomment that, I get this when I try to load gnus:
Loading gnus...
Loading image...done
Loading mule-util...done
Loading gnus...done
Loading gnus-start...
Loading easymenu...done
Loading gnus-start...done
Loading edmacro...done
Loading executable...done
byte-code: Error in ~/.gnus: gnus-registry-initialize
What's that all about?
;;; From ~/.gnus:
;;;
;;; Spam
;;;
(require 'spam)
(spam-initialize)
;; Prevent multiple registration of articles.
; (gnus-registry-initialize)
; (setq spam-log-to-registry t)
;; Processsor for splitting incoming mail
(setq spam-use-bogofilter t)
;; Where to put incoming mail
(setq spam-split-group "spam")
;; Declare spam and ham groups.
(setq spam-junk-mailgroups nil)
(setq gnus-spam-newsgroup-contents
'(("^nnfolder:spam" gnus-group-spam-classification-spam)
("^nnfolder:.*" gnus-group-spam-classification-ham)))
;; Train spam detection tools.
(setq spam-process-ham-in-spam-groups t)
(setq gnus-spam-process-newsgroups
'(
("^nntp\\+news\\.gmane\\.org:"
((spam spam-use-gmane)
(spam spam-use-bogofilter)))
("^nnfolder:.*"
((spam spam-use-bogofilter)
(ham 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
'(
("^nntp\\+news\\.gmane\\.org:" "nnfolder:spam")
("^nnfolder:.*" "nnfolder:spam")))
;; Move processed ham.
(setq spam-mark-ham-unread-before-move-from-spam-group t)
(setq gnus-ham-process-destinations
'(("^nnfolder:spam" "nnfolder:reclassify")))
--
Björn Lindström <bkhl@elektrubadur.se>
http://bkhl.elektrubadur.se/
next prev parent reply other threads:[~2004-02-29 1:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-25 2:02 Björn Lindström
2004-02-25 10:45 ` Adrian Lanz
2004-02-29 1:09 ` Björn Lindström [this message]
2004-03-13 17:04 ` 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=s38fzcubsjy.fsf@interjektion.ling.uu.se \
--to=bkhl@elektrubadur.se \
/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).