From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/3121 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.user Subject: Re: how to use bogofilter efficiently Date: Thu, 23 Oct 2003 16:28:36 -0400 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Message-ID: <4nad7rn1fv.fsf@lockgroove.bwh.harvard.edu> References: <4noew9rq2t.fsf@lockgroove.bwh.harvard.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138669323 17689 80.91.229.2 (31 Jan 2006 01:02:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:02:03 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:31:44 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!lockgroove.bwh.harvard.EDU!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: lockgroove.bwh.harvard.edu (134.174.9.133) Original-X-Trace: news.uni-berlin.de 1066940958 31487167 134.174.9.133 (16 [177066]) 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.1003 (Gnus v5.10.3) Emacs/21.3.50 (usg-unix-v) Cancel-Lock: sha1:dyH9k8+J6g5QuLWRUGlnpTrZlEg= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:3262 Original-Lines: 44 X-Gnus-Article-Number: 3262 Tue Jan 17 17:31:44 2006 Xref: news.gmane.org gmane.emacs.gnus.user:3121 Archived-At: On Thu, 23 Oct 2003, oub@mat.ucm.es wrote: On 22 Oct 2003, tzz@lifelogs.com wrote: >> You can add a bogofilter spam exit processor to the "SPAM" group. >> It will run the spam articles through bogofilter as you are >> describing it. It's not perfect yet, but should work for you. > I am not sure I understand: I split my incoming mail on the imap > server with the bogofilter into MAILBOX and the SPAM group. This > splitting is based on my database. Now, since this splitting is far > from optimal, I want to actualize my database. Should I move the > relevant from my MAILBOX to the SPAM box? Otherwise how does > bogofilter know about the new database? Because your spam-splitting is done on the server, you can't really train bogofilter on a client. The best you can do is move articles to a "train" group and then run bogofilter on it on the server every now and then. spam.el has some facilities for moving articles around. You could hack the source to make a remote-training-bogofilter processor, but that's probably not something you're interested in doing, and definitely isn't something I have the time to do :( > In addition: could I combine (setq spam-use-BBDB-exclusive t) and > (setq spam-use-bogofilter t)? Like first the mail is split into the > MAILBOX (only bbdb members in) and SPAM, spam and unclassified, (*) > then a bogofiler runs on this splitting mail into REALSPAM and > HARMLESS or so. Not in that order. You can do a specific order thus in the fancy split rules: --> set spam-split-group to "REALSPAM" (: spam-split 'spam-use-bogofilter) --> set spam-split-group to "MAYBESPAM" (: spam-split 'spam-use-BBDB-exclusive) ("mail") If you do it this way, you'll have to set spam-split-group with a function outside of spam-split. Let me know if this makes some sense. Ted