Gnus development mailing list
 help / color / mirror / Atom feed
* Bogofilter and spam.el
@ 2003-11-13 12:18 Markus Korber
  2003-11-19 21:16 ` Ted Zlatanov
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Korber @ 2003-11-13 12:18 UTC (permalink / raw)


I've problems using spam.el in connection with bogofilter and IMAP.

I get new mail with 'g'.  However, even though 'S t' in my INBOX
indicates a spamicity value of 1.0, spam is sometimes moved to
INBOX/spam and sometimes not.  If I press 'g' a second time, however,
spam is moved.  My setup is as follows:

,----
| (setq spam-use-bogofilter t
|       spam-bogofilter-database-directory "/home/mkorber/.bogofilter")
| 
| (setq spam-mark-only-unseen-as-spam t)
| 
| (require 'spam)
| 
| (setq nnimap-split-download-body t)
| 
| (setq spam-process-ham-in-spam-groups t)
| ;(setq spam-mark-ham-unread-before-move-from-spam-group t)
| 
| (setq spam-stat-split-fancy-spam-group "spam")
| (setq spam-split-group "spam")
| 
| (setq nnimap-split-rule 'nnimap-split-fancy
|       nnimap-split-fancy
|       '(| ("^From"        "xxx"                "INBOX/xxx")
|           (: spam-split) 
|           "INBOX/"))
| 
| (setq gnus-spam-newsgroup-contents
| 		'(("^nnimap:spam$" gnus-group-spam-classification-spam)
| 		  ("^nnimap:INBOX$" gnus-group-spam-classification-ham))
| 
| 		gnus-spam-process-destinations 
| 		'(("^nnimap:INBOX$" "nnimap+aphona IMAP server:spam"))
| 		gnus-ham-process-destinations 
| 		'(("^nnimap:spam$" "nnimap+aphona IMAP server:INBOX"))
| 
| 		gnus-spam-process-newsgroups
| 		'(("^nnimap:spam$" 
| 			(gnus-group-spam-exit-processor-bogofilter))
| 
| 		  ("^nnimap:INBOX$"
| 			(gnus-group-spam-exit-processor-bogofilter
| 			 gnus-group-ham-exit-processor-bogofilter))))
`----




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

end of thread, other threads:[~2003-11-20 14:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-13 12:18 Bogofilter and spam.el Markus Korber
2003-11-19 21:16 ` Ted Zlatanov
2003-11-20 14:40   ` Markus Korber

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