From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48299 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Add hooks to Gnus on move/edit/delete? Date: Sun, 29 Dec 2002 23:06:29 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: <847kdswkd6.fsf@lucy.cs.uni-dortmund.de> References: <84fzsgk72x.fsf@lucy.cs.uni-dortmund.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1041200214 6814 80.91.224.249 (29 Dec 2002 22:16:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 29 Dec 2002 22:16:54 +0000 (UTC) Return-path: Original-Received: from util1.math.uh.edu ([129.7.128.22]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Sljn-0001lV-00 for ; Sun, 29 Dec 2002 23:16:51 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by util1.math.uh.edu with esmtp (Exim 4.10) id 18SlcM-0004zR-00; Sun, 29 Dec 2002 16:09:10 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 29 Dec 2002 16:08:26 -0600 (CST) Original-Received: from mailout02.sul.t-online.com (mailout02.sul.t-online.com [194.25.134.17]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id QAA10240 for ; Sun, 29 Dec 2002 16:08:02 -0600 (CST) Original-Received: from fwd11.sul.t-online.de by mailout02.sul.t-online.com with smtp id 18SlZs-0001Dp-07; Sun, 29 Dec 2002 23:06:36 +0100 Original-Received: from lucy.is.informatik.uni-duisburg.de (520080024987-0001@[80.135.123.115]) by fmrl11.sul.t-online.com with esmtp id 18SlZp-1al21IC; Sun, 29 Dec 2002 23:06:33 +0100 Original-Received: by lucy.is.informatik.uni-duisburg.de (Postfix, from userid 1003) id 4868043ACF; Sun, 29 Dec 2002 23:06:29 +0100 (CET) Original-To: ding@hpc.uh.edu In-Reply-To: (Ted Zlatanov's message of "Sun, 29 Dec 2002 14:14:51 -0500") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) X-Sender: 520080024987-0001@t-dialin.net Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:48299 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:48299 Ted Zlatanov writes: > On Sun, 29 Dec 2002, kai.grossjohann@uni-duisburg.de wrote: >> First of all, ifile-gnus.el now uses a different mechanism for >> communicating with the backend, and the new mechanism works for more >> than one backend. > > Is this released, and does it work with nnimap? I haven't followed > ifile-gnus.el, unfortunately, due to lack of time. I think it might work if you use nnimap splitting. If you use Sieve or procmail, then it could be difficult, since the ifile database would be on your local host in the home dir, whereas the Sieve/procmail rules are on the IMAP server. > So if ifile-spam-filter could and should be replaced with another > ifile-gnus.el function that returns regular group names, spam.el can > do all the ifile classification automatically if the user just sets > spam-use-ifile to t. > > Does that sound reasonable? I'm not sure. How do I tell spam.el which group a message is in? If ifile has chosen the group wrongly, how do I tell it about the error? ifile-gnus intercepts move and copy operations to see that. So designating a message as spam works by moving it to the spam group. Maybe a two-stage process is better: first decide whether it's spam or not, then distribute the non-spam to the right groups. But then, there is Gmane, which makes a lot of splitting unnecessary :-) -- Ambibibentists unite!