From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54444 Path: main.gmane.org!not-for-mail From: Danny Siu Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus and Outlook and spam? Date: Thu, 23 Oct 2003 15:31:48 -0700 Organization: Adobe Systems Incorporated 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> <4nismfkg7b.fsf@lockgroove.bwh.harvard.edu> <76y8vbonov.fsf@newjersey.ppllc.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1066948369 28401 80.91.224.253 (23 Oct 2003 22:32:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Oct 2003 22:32:49 +0000 (UTC) Original-X-From: ding-owner+M2985@lists.math.uh.edu Fri Oct 24 00:32:46 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 1ACo0b-0007tK-00 for ; Fri, 24 Oct 2003 00:32:45 +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 1ACo0F-0000ZJ-00; Thu, 23 Oct 2003 17:32:23 -0500 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1ACo07-0000ZD-00 for ding@lists.math.uh.edu; Thu, 23 Oct 2003 17:32:15 -0500 Original-Received: from smtp-relay-8.adobe.com (smtp-relay-8.adobe.com [192.150.22.8]) by justine.libertine.org (Postfix) with ESMTP id A19213A004F for ; Thu, 23 Oct 2003 17:32:14 -0500 (CDT) Original-Received: from inner-relay-3.corp.adobe.com (inner-relay-3 [153.32.251.51]) by smtp-relay-8.adobe.com (8.12.10/8.12.10) with ESMTP id h9NMVuZS008551 for ; Thu, 23 Oct 2003 15:32:01 -0700 (PDT) Original-Received: from mailsjtest (mailsj [153.32.1.135]) by inner-relay-3.corp.adobe.com (8.12.9/8.12.9) with ESMTP id h9NMVdGv027906 for ; Thu, 23 Oct 2003 15:31:56 -0700 (PDT) Original-Received: from GIGI.corp.adobe.com (c-155-152.corp.adobe.com [153.32.155.152]) by mailsjtest.corp.adobe.com (iPlanet Messaging Server 5.2 Patch 1 (built Aug 19 2002)) with ESMTP id <0HN800EWFEM4SD@mailsjtest.corp.adobe.com> for ding@gnus.org; Thu, 23 Oct 2003 15:32:29 -0700 (PDT) X-Face: fHBvLrQQW(GRz#RNTAN(,')p8NGv}{6dMh\:?%*D\+8hgkiA_dub1@\,Y"r5'a8C(8e~cGG(WFTU\OlAqI[B?V7m'ZGkquvZ/d k~E"A"@WK;0mLF&\%W1kIC]O"z#/>YNUefE1%5/NUX;ml]@$nW;05Z9uZ/CqTz]A)+`1ROuF~||pG= k>Zi@hE- In-reply-to: <76y8vbonov.fsf@newjersey.ppllc.com> Original-To: ding@gnus.org Mail-Followup-To: ding@gnus.org X-Mailer: Gnus v5.10.3 User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (windows-nt) X-Location: San Jose X-Emacs: 21.3.1 Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54444 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54444 Jake Colman writes: TZ> Sure. Check out the manual. You can cooperate with anti-spam TZ> packages or use the spam-stat.el package to do all the stats inside TZ> Emacs. Jake> But spam-stats is not for nnimap, if I read it correctly. I have been using spam-stats with nnimap and see no problem with it. Ted has gone a great job on spam support in guns. Jake> It sounds like I would want to install bogofilter and use the Jake> nnimap-split-fancy to pass the incoming email through bogofilter. Jake> I already have a long nnimap-split-rule variable definition. Do I Jake> convert from nnimap-split-rule to nnimap-split-fancy? Is that Jake> documented anywhere? here is my spam, imap, mail split setup in .gnus. Of course, I customized 'G C' my "spam" group and make sure "gnus-group-spam-classification-spam" is set and "Spam Summary Exit Processor" is "gnus-group-spam-exit-processor-stat" so that spam-stat is learning. (require 'spam-stat) (require 'spam) (spam-stat-load) (setq spam-use-stat t) (setq nnmail-split-methods nil) (setq nnimap-split-rule 'split-dannys-mail) (defun danny-nnmail-spam-split () (save-excursion (condition-case nil (let* ((s (spam-split))) (if s (list s) nil)) (error nil)))) (defun split-dannys-mail () "The way I want to split my mails." (goto-char (point-min)) (cond ;; reply-to and follow-up mail should go with parent! ((danny-registry-split-fancy-with-parent)) ;; remove spam ((danny-nnmail-spam-split)) ;; Gnus ((re-search-forward "^\\(To\\|[Cc][Cc]\\):.*ding@\\(gnus.org\\|ifi.uio.no\\|hpc.uh.edu\\)" nil t) (list "GNUS")) ... ...)) -- Danny Siu