From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49020 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: spam filtering using IMAP ? Date: Fri, 10 Jan 2003 03:02:40 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <4n4r8im7va.fsf@lockgroove.bwh.harvard.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1042164135 7528 80.91.224.249 (10 Jan 2003 02:02:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 10 Jan 2003 02:02:15 +0000 (UTC) Cc: ding@gnus.org 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 18WoUv-0001xH-00 for ; Fri, 10 Jan 2003 03:02:13 +0100 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 18WoVh-0002UQ-00; Thu, 09 Jan 2003 20:03:01 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 09 Jan 2003 20:03:57 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id UAA20026 for ; Thu, 9 Jan 2003 20:03:44 -0600 (CST) Original-Received: (qmail 16333 invoked by alias); 10 Jan 2003 02:02:44 -0000 Original-Received: (qmail 16328 invoked from network); 10 Jan 2003 02:02:44 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by 66.230.238.6 with SMTP; 10 Jan 2003 02:02:44 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.6/8.12.6) with ESMTP id h0A22eRr006371 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 10 Jan 2003 03:02:40 +0100 Original-To: Arnd Kohrs Mail-Copies-To: nobody X-Payment: hashcash 1.1 0:030110:kohrs@castify.net:0dc9044ec82bbd96 X-Hashcash: 0:030110:kohrs@castify.net:0dc9044ec82bbd96 X-Payment: hashcash 1.1 0:030110:ding@gnus.org:01a843441ea4e73c X-Hashcash: 0:030110:ding@gnus.org:01a843441ea4e73c In-Reply-To: <4n4r8im7va.fsf@lockgroove.bwh.harvard.edu> (Ted Zlatanov's message of "Thu, 09 Jan 2003 14:38:17 -0500") User-Agent: Gnus/5.090011 (Oort Gnus v0.11) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:49020 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:49020 Ted Zlatanov writes: > On Thu, 09 Jan 2003, kohrs@castify.net wrote: >> Can one spam filter when using nnimap for all email? >> >> I guess the answer is still "NO!". >> >> IMHO the reason for this is that when nnimap splits, it only loads >> the headers and not the bodies of the articles, so that the spam >> recognition which is based on the bodies may not be used. > > As far as spam.el is concerned, it only looks at whatever is in the > current buffer when spam-split is invoked. Spam and ham processors > use the full body of the message at summary exit, so in spam-split we > have the only difference of opinion between the nnimap and other > backends. > > It's worth noting that > > 1) many people don't use spam.el (the majority) > > 2) we don't want nnimap to download full articles when splitting, even > with spam.el, because whitelist/blacklist/BBDB/blackhole splitters > don't need the full article > > So I would suggest that this could be an option that spam-split could > set when dealing with a nnimap backend and a splitter that needs the > full message. For instance, spam-use-ifile would require full nnimap > downloads, but spam-use-blackholes wouldn't. > > nnimap gurus, is that possible? Fancy splitting works for nnimap, so maybe what you propose simply just works? (Assuming spam.el uses fancy splitting, I'm afraid I haven't had time to look at it.) Adding a variable that will make nnimap download entire articles (and then limiting to the headers, like nnmail do) should be doable if it is needed.