From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56883 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: CRM114 Mailfilter and spam.el Date: Fri, 02 Apr 2004 12:06:04 -0500 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: ding-owner@lists.math.uh.edu Message-ID: <4n65ci5myr.fsf@lifelogs.com> References: <87isgjpggh.fsf@virgil.koldfront.dk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1080926462 18159 80.91.224.253 (2 Apr 2004 17:21:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Apr 2004 17:21:02 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M5422@lists.math.uh.edu Fri Apr 02 19:20:51 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B9SLb-0005Yn-00 for ; Fri, 02 Apr 2004 19:20:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1B9SL9-0001cd-00; Fri, 02 Apr 2004 11:20:23 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1B9SL2-0001cX-00 for ding@lists.math.uh.edu; Fri, 02 Apr 2004 11:20:16 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1B9SL0-0001wO-9j for ding@lists.math.uh.edu; Fri, 02 Apr 2004 11:20:14 -0600 Original-Received: from clifford.bwh.harvard.edu (clifford.bwh.harvard.edu [134.174.9.41]) by justine.libertine.org (Postfix) with ESMTP id 597963A01F5 for ; Fri, 2 Apr 2004 11:20:11 -0600 (CST) Original-Received: from asimov (asimov [134.174.9.63]) by clifford.bwh.harvard.edu (8.10.2+Sun/8.11.0) with ESMTP id i32HICl11370; Fri, 2 Apr 2004 12:18:13 -0500 (EST) Original-To: asjo@koldfront.dk (=?iso-8859-1?q?Adam_Sj=F8gren?=) 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: asjo@koldfront.dk (=?iso-8859-1?q?Adam_Sj=F8gren?=), ding@gnus.org In-Reply-To: <87isgjpggh.fsf@virgil.koldfront.dk> (Adam =?iso-8859-1?q?Sj=F8gren's?= message of "Thu, 01 Apr 2004 22:54:06 +0200") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-Spam-Score: -4.9 (----) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56883 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56883 On Thu, 01 Apr 2004, asjo@koldfront.dk wrote: > So, I've begun to take a stab at switcing from spam-stat.el to > CRM114 Mailfilter and spam.el. Great! Just so you know, I plan to add a better way to add backends to spam.el; something like (spam-add-statistical-backend) for instance. It's not going to be ready for a while, but it's been on my mind. > Now I just need to figure out how to configure spam.el to call > mailfilter.crm --learnspam/--learnnonspam at the *appropriate* > moments only. Yes, this is very important and I've been trying to get the gnus-registry to cooperate with spam.el on this. > * Email comes in, and is split with spam-split. Spam goes into > "nnml:spam", ham goes through my usual, other splitrules (bbdb > and stuff). OK. > * If a spam is misclassified as ham, I would like to mark that > message in some way, so that it is moved to nnml:spam and > mailfilter.crm is called with --learnspam on it. Set the spam-mark on the message. When you exit the group, the spam message will be moved to the group named by spam-process-destination (multiples are OK). Also, the exit spam processor will be invoked on the spam message - so set your exit spam processor to crm114. > * If a ham is misclassified as spam, and therefore is split into > nnml:spam, I would like to move it to the correct group and have > mailfilter.crm called on it with --learnnonspam. Set a ham-mark (usually the tick mark) on the message. The ham message, when you quit the group, will be moved to the ham-process-destination (which can be multiple groups) and processed with the ham exit processor. If you set spam-mark-ham-unread-before-move-from-spam-group, the ham will also be marked unread before it's moved out of the spam group. > * I would like spam.el *never* to mark *any* message as expirable. This is hardcoded right now in spam-mark-spam-as-expired-and-move-routine: (gnus-summary-mark-article article gnus-expirable-mark) but it could be changed. Why would you NOT want to expire spam? Ted