From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49346 Path: main.gmane.org!not-for-mail From: Andreas Fuchs Newsgroups: gmane.emacs.gnus.general Subject: spam filtering by bayesian classifier and imap - ideas Date: Sun, 19 Jan 2003 10:59:59 +0000 (UTC) Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1042974153 4255 80.91.224.249 (19 Jan 2003 11:02:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 19 Jan 2003 11:02:33 +0000 (UTC) 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 18aDDj-00016V-00 for ; Sun, 19 Jan 2003 12:02:31 +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 18aDD1-00072c-00; Sun, 19 Jan 2003 05:01:47 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 19 Jan 2003 05:02:43 -0600 (CST) Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id FAA20603 for ; Sun, 19 Jan 2003 05:02:29 -0600 (CST) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18aDBI-00011e-00 for ; Sun, 19 Jan 2003 12:00:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@hpc.uh.edu Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18aDBH-00011V-00 for ; Sun, 19 Jan 2003 11:59:59 +0100 Original-Path: not-for-mail Original-Lines: 29 Original-X-Complaints-To: usenet@main.gmane.org Mail-Copies-To: never X-Url: http://asf.void.at/ X-Attribution: asf X-Face: 3*3w/y?I6|`'CYW7F~m0]U1)L\|[x"?/V6^;s3FU#q|F'AL(3C?$eslHvAmR:KjT"&LZeqM 0wMS%HM` Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:49346 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:49346 Hi, I am about to move my mails from an nnml spool to an imap-based setup, and, naturally, I wonder how to keep spam filtering as speedy and useful as it currently is. My plan (which requires a shell account and a spam classifier on the imap server) is this one: 1. Have a spam filter which runs on the server pre-classify mails. Spam mails should get a X-Spam: yes header or similar. 2. Use gnus and nnimap-split-fancy to split mail into the correct groups. 3. When exiting a group, do this: 1| when in a spam group, move all non-spam-marked articles to a group `INBOX.ham.reclassify'. 1| when not in a spam group, move all spam-marked articles to a group `INBOX.spam.reclassify'. 2 Start, via ssh (or let a cron job run), an imap client on the server which reclassifies the articles and moves spam to the spam inbox and ham to the regular inbox, so that it can be re-split. Does that make sense? Would this be usable on a multi-user imap server? Comments? Who would be interesed in this? -- Andreas Fuchs, , asf@jabber.at, antifuchs