From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54439 Path: main.gmane.org!not-for-mail From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de> Newsgroups: gmane.emacs.gnus.general Subject: spam.el and IMAP (was: Gnus and Outlook and spam?) Date: Thu, 23 Oct 2003 21:38:04 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Sender: ding-owner@lists.math.uh.edu Message-ID: References: <863cdldm6j.fsf@slowfox.dyndns.org> <4nn0bskkge.fsf@lockgroove.bwh.harvard.edu> <76brs7q5yz.fsf@newjersey.ppllc.com> Reply-To: reiner.steib@gmx.de NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066940595 22468 80.91.224.253 (23 Oct 2003 20:23:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Oct 2003 20:23:15 +0000 (UTC) Original-X-From: ding-owner+M2980@lists.math.uh.edu Thu Oct 23 22:23:14 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 1AClzF-00080w-00 for ; Thu, 23 Oct 2003 22:23:13 +0200 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 1AClyz-000066-00; Thu, 23 Oct 2003 15:22:57 -0500 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AClyr-00005z-00 for ding@lists.math.uh.edu; Thu, 23 Oct 2003 15:22:50 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 72AFD3A0063 for ; Thu, 23 Oct 2003 15:22:48 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AClyp-0007Wz-00 for ; Thu, 23 Oct 2003 22:22:47 +0200 Mail-Followup-To: ding@gnus.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AClyn-0007Wk-00 for ; Thu, 23 Oct 2003 22:22:45 +0200 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AClyn-0005p4-00 for ; Thu, 23 Oct 2003 22:22:45 +0200 Original-Lines: 36 Original-X-Complaints-To: usenet@sea.gmane.org X-Face: /U7=m^"/-Dn61mAl{g9e3>\G5Tp,oEX|V)g2I1hBk\ML;)7A?6cmB-y7y?'NA^J<=oz7syB =(McAwIHgLX!.B?R3X}98d@?>CrT094KLWh]WU4gDpnL/")MS(XoQTv`Oq225uL>+;CpPXo$N5e>N> $tPd-gbB^F{gQS#1ase]XO~D4p4M"3+F-7~u]dy3I?Pb8RO*H-EFeWDUf?Rf,d]pv\Jvh2Cht!A=im yKAS2Z%Ao^;}W/qzMvMm Mail-Copies-To: nobody User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:XKn2cXZzoT6ax/roggQwEeBPj/M= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54439 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54439 On Thu, Oct 23 2003, Jake Colman wrote: > I was using IMapAssassin, a script executed via cron to read my IMAP > Inbox and pass its contents through SpamAssassin, but my IS group > was not happy with its continuous use of resources. Does gnus have > anything I can use? I am getting desperate! Our computing center has set up bogofilter on the server (IMAP) [1]. Recognized spam goes to "Spam/spamblock", the rest thru the normal filter rules or to INBOX. Training on false positives or negatives is done by copying or moving the article to "bayes/ham" or "bayes/spam". A cron job on the server feeds those to bogofilter with the suitable ham/spam options and deletes them. With the following entries in `gnus-parameters', `spam.el' does most of the job for me: ("nnimap.*:Spam/spamblock" (ham-process-destination . "nnimap+urz:bayes/ham") (spam-contents gnus-group-spam-classification-spam)) ("nnimap.*:\\(INBOX\\|...\\)" (spam-process-destination . "nnimap+urz:bayes/spam") (spam-contents gnus-group-spam-classification-ham)) BTW, is there a simple way to tell `spam.el' to put ham articles from "Spam/spamblock" to both, "bayes/ham" _and_ "INBOX"? I.e. probably first copy the article to the first group and then move it to the second. Bye, Reiner. [1] In combination with DCC. -- ,,, (o o) ---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/