From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54894 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.gnus.general Subject: Re: spam.el: automatically resplitting ham in a spam group? Date: Thu, 20 Nov 2003 20:30:58 +0000 Sender: ding-owner@lists.math.uh.edu Message-ID: <874qwykcjh.fsf@emptyhost.emptydomain.de> References: <87ptfoni1r.fsf@emptyhost.emptydomain.de> <87llqcnhxv.fsf@emptyhost.emptydomain.de> <87he10hv3v.fsf@amalthea.paradoxical.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1069360327 19002 80.91.224.253 (20 Nov 2003 20:32:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 Nov 2003 20:32:07 +0000 (UTC) Original-X-From: ding-owner+M3434@lists.math.uh.edu Thu Nov 20 21:32:05 2003 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 1AMvTB-00052f-00 for ; Thu, 20 Nov 2003 21:32:05 +0100 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 1AMvST-0003CJ-00; Thu, 20 Nov 2003 14:31:21 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AMvSK-0003CB-00 for ding@lists.math.uh.edu; Thu, 20 Nov 2003 14:31:12 -0600 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id DA8C83A0025 for ; Thu, 20 Nov 2003 14:31:11 -0600 (CST) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1AMvSJ-0001Qo-00 for ; Thu, 20 Nov 2003 21:31:11 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 22 Original-NNTP-Posting-Host: 213-203-244-156.kunde.vdserver.de Original-X-Trace: quimby.gnus.org 1069360271 5159 213.203.244.156 (20 Nov 2003 20:31:11 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Thu, 20 Nov 2003 20:31:11 +0000 (UTC) User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:XImyJPX3wFj1Zt76iCcHhMxMNoM= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54894 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54894 Josh Huber writes: > Kai -- do you use spam.el? I've been thinking about ways to get bayes > spam filtering working well with a configuration like this...any > recommendations? Yes. I just tell spam.el to move spams to INBOX.makespam and hams to INBOX.makeham, and then the server-side config does the rest. Incoming mail is passed through Bogofilter before invoking cyrdeliver. (I should be using LMTP but haven't figured that out, yet.) There are cron jobs which connect to the imap server using an administrative account (it's a Perl script using Mail::IMAPClient). The cron jobs train Bogofilter on user.jrl.makespam and user.jrl.makeham. The spam is then deleted, and the ham moved back into the user's inbox. (I have a separate database for each user.) I could show the script if you like, but it's really ugly. Kai