Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Gnus registry permanence and spam-log-to-registry
@ 2010-03-22  9:01 Peter G
  2010-03-22 13:05 ` Ted Zlatanov
  0 siblings, 1 reply; 4+ messages in thread
From: Peter G @ 2010-03-22  9:01 UTC (permalink / raw)
  To: info-gnus-english


I'm trying to set up the spam.el package in my .gnus.el, so that I'm
going to have simple spam-handling. 

My current setup is almost working, save for the simple problem that
everytime I first start up gnus in emacs, I'm being interactively
prompted whether i eant to "enable the gnus registry" and that I have to
look into 'gnus-registry-install' if I want it to be set permanent. 

Problem is, I already have set 'gnus-registry-install'. So what am I
missing?

Relevant part of .gnus.el:

(require 'gnus-registry)
(gnus-registry-initialize)
(setq gnus-registry-install t
      gnus-registry-max-entries 20000)

(require 'spam)
(spam-initialize)
(setq spam-split-group "nnimap+HOME:INBOX.spam"
      spam-use-spamassassin-headers t
      spam-use-bogofilter t
      spam-log-to-registry t
      gnus-spam-process-newsgroups
      '(("nnimap+.*" ((spam spam-use-bogofilter))))

      gnus-spam-newsgroup-contents
      '(("nnimap+HOME:INBOX.spam" gnus-group-spam-classification-spam))

      spam-mark-only-unseen-as-spam t
      spam-mark-ham-unread-before-move-spam-from-group t
      gnus-ham-process-destinations '(("nnimap+HOME:INBOX.spam"
				       "nnimap+HOME:INBOX"))
      gnus-spam-process-destinations '(("nnimap+.*"
					"nnimap+HOME:INBOX.Trash")))



      (setq nnimap-split-rule 'nnimap-split-fancy
      ;; understand what this does before you copy it to your own setup!
      nnimap-split-fancy '(|
                           ;; trace references to parents and put in their group
                           (: gnus-registry-split-fancy-with-parent)
                           ;; note that spam by default will go to `nnimap+HOME:INBOX.spam'
                           (: spam-split)))


-- 
Mvh./Regards, Peter.

Please, do not toppost.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-03-22 17:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-22  9:01 Gnus registry permanence and spam-log-to-registry Peter G
2010-03-22 13:05 ` Ted Zlatanov
2010-03-22 14:31   ` Ted Zlatanov
2010-03-22 17:50     ` Peter G

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).