From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49305 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: spam filtering using IMAP ? Date: Thu, 16 Jan 2003 09:11:14 -0500 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: <4nel7dyykd.fsf@lockgroove.bwh.harvard.edu> References: <4ny95l7312.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 1042726278 11795 80.91.224.249 (16 Jan 2003 14:11:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 16 Jan 2003 14:11:18 +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 18ZAjS-00032a-00 for ; Thu, 16 Jan 2003 15:10:58 +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 18ZAk0-0007j4-00; Thu, 16 Jan 2003 08:11:32 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 16 Jan 2003 08:12:28 -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 IAA13340 for ; Thu, 16 Jan 2003 08:12:15 -0600 (CST) Original-Received: (qmail 91400 invoked by alias); 16 Jan 2003 14:11:15 -0000 Original-Received: (qmail 91379 invoked from network); 16 Jan 2003 14:11:15 -0000 Original-Received: from clifford.bwh.harvard.edu (134.174.9.41) by 66.230.238.6 with SMTP; 16 Jan 2003 14:11:15 -0000 Original-Received: from lockgroove.bwh.harvard.edu (lockgroove [134.174.9.133]) by clifford.bwh.harvard.edu (8.10.2+Sun/8.11.0) with ESMTP id h0GEBEW15641; Thu, 16 Jan 2003 09:11:14 -0500 (EST) Original-Received: (from tzz@localhost) by lockgroove.bwh.harvard.edu (8.11.6+Sun/8.11.0) id h0GEBEp26922; Thu, 16 Jan 2003 09:11:14 -0500 (EST) Original-To: Mats Lidell 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: Mats Lidell , ding@gnus.org In-Reply-To: (Mats Lidell's message of "Thu, 16 Jan 2003 13:41:12 +0100") User-Agent: Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.2 (sparc-sun-solaris2.8) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:49305 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:49305 You could actually write a wrapper (let's say for Bogofilter) which invokes Bogofilter on the server. Modify spam-bogofilter-path, and have the wrapper invoke bogofilter on the server over SSH or however you want. It will be slow, but it can be done. Then you can just use bogofilter as a spam/ham processor in spam.el, and it will update the database on the server. You could also, on the server side, periodically connect to IMAP and process any new messages in the spam/ham folders you define. That's completely outside of the Gnus/spam.el domain though - you would only be using Gnus/spam.el to move messages around. For incoming mail, use spam-check-bogofilter-headers instead of spam-check-bogofilter, and set up bogofilter to process your mail on the IMAP server. All spam mail (with the "X-Bogosity: Yes" header) will go to the spam-split-group. Ted