From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47159 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general,gmane.mail.ifile Subject: Re: ifile-gnus.el version 0.3.5 (spam-filtering / general email classification) Date: Sun, 13 Oct 2002 07:47:45 -0400 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034509553 22482 127.0.0.1 (13 Oct 2002 11:45:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 13 Oct 2002 11:45:53 +0000 (UTC) Cc: ifile-discuss , ding Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 180hBw-0005qU-00 for ; Sun, 13 Oct 2002 13:45:52 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 180hAe-0001dr-00; Sun, 13 Oct 2002 06:44:32 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 13 Oct 2002 06:45:13 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id GAA26811 for ; Sun, 13 Oct 2002 06:45:01 -0500 (CDT) Original-Received: (qmail 19492 invoked by alias); 13 Oct 2002 11:45:50 -0000 Original-Received: (qmail 19487 invoked from network); 13 Oct 2002 11:45:50 -0000 Original-Received: from ns3.beld.net (208.229.215.83) by gnus.org with SMTP; 13 Oct 2002 11:45:50 -0000 Original-Received: from heechee.beld.net (dhcp-0-50-8b-df-51-5e.cpe.beld.net [65.202.179.67]) by ns3.beld.net (Postfix) with ESMTP id 2CD2B3BC9F; Sun, 13 Oct 2002 07:44:07 -0400 (EDT) Original-To: jhbrown@ai.mit.edu (Jeremy H. Brown) 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" Mail-Followup-To: jhbrown@ai.mit.edu (Jeremy H. Brown), ifile-discuss , ding In-Reply-To: (jhbrown@ai.mit.edu's message of "10 Oct 2002 17:12:51 -0400") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-redhat-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47159 gmane.mail.ifile:233 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47159 On 10 Oct 2002, jhbrown@ai.mit.edu wrote: > You can use ifile-gnus either as a spamfilter, or to automatically > and adaptively classify all of your incoming email. My personal > experience has been that ifile is 80-90% accurate in general email > classification, and insanely accurate in spam vs. non-spam > classification. I set up a first cut of the ifile functionality for spam.el; like the other checks, you just set spam-check-ifile to t and the ifile-spam-filter function will be invoked with nil as the non-spam group name parameter, so it will return either spam-split-group or nil. I wrap the call to ifile-spam-filter in a let ((ifile-primary-spam-group spam-split-group)) so ifile will use the spam-split-group name. Let me know if there are problems. Some ideas: it would be nice if ifile-gnus.el could support nnimap, and if it could hook at group exit time, to look at articles marked as spam. spam.el already does that: (add-hook 'gnus-summary-prepare-hook 'spam-summary-prepare) (add-hook 'gnus-summary-prepare-exit-hook 'spam-summary-prepare-exit) where spam-summary-prepare marks unread articles in spam-junk-mailgroups with the spam-mark, and spam-summary-prepare-exit invokes the bogofilter registration currently on all articles marked as spam, whether manually or through spam-summary-prepare. I think ifile could be added to spam-summary-prepare-exit if there's interest. That would add some precision to the already good ifile spam detection, by classifying messages marked as spam even if they are not moved to a spam group. Thanks Ted