From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/51437 Path: main.gmane.org!not-for-mail From: Jody Klymak Newsgroups: gmane.emacs.gnus.general Subject: Re: spam.el and Procmail splitting strategy? Date: Mon, 14 Apr 2003 12:49:32 -0700 Organization: Ocean Mixing Group, Oregon State U. Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050349782 18616 80.91.224.249 (14 Apr 2003 19:49:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 14 Apr 2003 19:49:42 +0000 (UTC) Original-X-From: owner-ding@hpc.uh.edu Mon Apr 14 21:49:39 2003 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 1959xT-0004q2-00 for ; Mon, 14 Apr 2003 21:49:39 +0200 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 1959xb-0001U2-00; Mon, 14 Apr 2003 14:49:47 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 14 Apr 2003 14:50:54 -0500 (CDT) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [64.157.176.121]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id OAA23333 for ; Mon, 14 Apr 2003 14:50:43 -0500 (CDT) Original-Received: (qmail 58396 invoked by alias); 14 Apr 2003 19:49:32 -0000 Original-Received: (qmail 58391 invoked from network); 14 Apr 2003 19:49:32 -0000 Original-Received: from dnsman.oce.orst.edu (128.193.64.33) by gnus.org with SMTP; 14 Apr 2003 19:49:32 -0000 Original-Received: from PENDER.mail.oce.orst.edu (pender.OCE.ORST.EDU [128.193.65.180]) by dnsman.oce.orst.edu (8.9.2/8.9.2) with ESMTP id MAA01949 for ; Mon, 14 Apr 2003 12:49:29 -0700 (PDT) Original-To: From In-Reply-To: (Ted Zlatanov's message of "Sat, 05 Apr 2003 08:42:38 -0500") User-Agent: Gnus/5.090017 (Oort Gnus v0.17) Emacs/21.2 (windows-nt) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:51437 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:51437 Hi Ted, Just realized that I never got back to you... Ted Zlatanov writes: > Well, I was thinking of a 'respool spam/ham process destination, as > suggested before, which would resubmit the spam/ham mail to the spool > process from any mailbox. Would that work for you? Not sure if that would work. Does imap support re-spooling? I am pretty happy taking bbdb out of my .procmail and splitting it in gnus instead. It does, however, seem that this will end up being a generic problem if other mail groups get infected. Doing all my splitting in gnus may be a good option - it just means that I need to have a gnus running at all times on my main machine. It seems that it should be possible to spam-split new messages in any group upon entry. I guess it just doesn't fit with the existing splitting mechanism. Perhaps the splitting mechanism not be extended so that the last argument in nnimap-split-fancy is something like "current-split-inbox" instead of a single mail box? Then I could do something like: (setq nnimap-split-rule 'nnimap-split-fancy nnimap-split-inbox ("INBOX" "mail/ZIn.bbdb") nnimap-split-fancy '(| (: spam-split) ;; default mailbox 'current-split-mailbox) ) instead of: (setq nnimap-split-rule 'nnimap-split-fancy nnimap-split-inbox "INBOX" nnimap-split-fancy '(| (: spam-split) (any ".*bbdb.*" "mail/ZIn.bbdb") ;; default mailbox "mail/Inbox.spam") ) Of course, I have no idea how the splitting code is written so that may not be easy. > I think it would be easier in the end to keep splitting on the client > side with spam.el. I agree - being able to continuously train bogofilter from within gnus is very convenient. Thanks, Jody -- Jody Klymak 104 Ocean Admin Bldg., OSU mailto:jklymak@coas.oregonstate.edu Corvallis OR, 97330