From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/4435 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.user Subject: Re: using spam.el Date: Tue, 08 Feb 2005 14:11:53 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <4nu0omvpc6.fsf@lifelogs.com> References: <87wttuy8ss.fsf@house.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138670351 23224 80.91.229.2 (31 Jan 2006 01:19:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:19:11 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:33:46 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-X-Trace: individual.net b4AEIvJCpBwJh94P703ixQ3RwJ8bNffdm566FsL3tLcyKJCq0H X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:/D6VIoA3mhQoDoTb2vOZTbi6bp0= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4576 Original-Lines: 53 X-Gnus-Article-Number: 4576 Tue Jan 17 17:33:46 2006 Xref: news.gmane.org gmane.emacs.gnus.user:4435 Archived-At: On Sun, 30 Jan 2005, exaltiNOSPAM@yahoo.com wrote: > I am having the dickens of a time understanding how to use spam.el with > bogofilter. So far I have the following in my custom.el and .gnus: > > (setq nnmail-split-methods 'nnmail-split-fancy > nnmail-split-fancy > '(| > (: spam-split) > ....)) > > in my .gnus and: > > (require 'spam) > (spam-initialize) > (require 'gnus-registry) > (gnus-registry-initialize) > (setq spam-log-to-registry t) > (setq spam-use-bogofilter t) > > in my ~/.xemacs/custom.el. > > When fetching mail this setup does seem to be filtering messages. My > issue right now is that when I get a false positive and the message is > thrown into the spam folder, is there some straight forward way to > classify it as ham? I read that when spam is initialized I get one > command which classifies as spam and one which shows the score. Is > there one that classifies a message as ham? You access group parameters with `G c' - the following instructions will use that customization screen. You can also use a global Gnus parameter if you prefer doing it through Lisp. Make sure the spam group is known as such to the spam.el package (the spam-newsgroup-contents group parameter should be set correctly). Set the exit spam and ham processors for the group to bogofilter. Set an spam/ham exit processing destination if you want to save the ham/spam processed articles. When you enter the group, all unseen messages will be marked as spam. Mark the ones you want as ham (ham is marked with the ham-mark, which is a list of possible marks and also customizable; by default they are gnus-del-mark gnus-read-mark gnus-killed-mark gnus-kill-file-mark gnus-low-score-mark). To apply the gnus-del-mark just hit `d' on a message. Now, when you exit the group, the articles will be processed by the spam or ham processor (both bogofilter in this case) and go to the ham/spam process destination if you set it. Ted