From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/13268 Path: news.gmane.org!not-for-mail From: Seb Newsgroups: gmane.emacs.gnus.user Subject: Re: nnimap split rules Date: Wed, 18 Nov 2009 21:56:27 -0600 Organization: Church of Emacs Message-ID: <87einvqiac.fsf@kolob.sebmags.homelinux.org> References: <1150693890.829621.198110@h76g2000cwa.googlegroups.com> <1150868033.023833.6360@i40g2000cwc.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1258603072 26522 80.91.229.12 (19 Nov 2009 03:57:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Nov 2009 03:57:52 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Nov 19 04:57:45 2009 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NAy9P-00057o-4P for gegu-info-gnus-english@m.gmane.org; Thu, 19 Nov 2009 04:57:43 +0100 Original-Received: from localhost ([127.0.0.1]:46188 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAy9O-0001F7-Mr for gegu-info-gnus-english@m.gmane.org; Wed, 18 Nov 2009 22:57:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAy8i-0000Lw-Ap for info-gnus-english@gnu.org; Wed, 18 Nov 2009 22:57:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAy8d-0000FQ-6Z for info-gnus-english@gnu.org; Wed, 18 Nov 2009 22:56:59 -0500 Original-Received: from [199.232.76.173] (port=39174 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAy8d-0000Ex-1L for info-gnus-english@gnu.org; Wed, 18 Nov 2009 22:56:55 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:46988) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NAy8b-00062B-HA for info-gnus-english@gnu.org; Wed, 18 Nov 2009 22:56:54 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NAy8X-0004qp-Tg for info-gnus-english@gnu.org; Thu, 19 Nov 2009 04:56:50 +0100 Original-Received: from s01060015e975d7fb.wp.shawcable.net ([24.77.73.195]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Nov 2009 04:56:49 +0100 Original-Received: from spluque by s01060015e975d7fb.wp.shawcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Nov 2009 04:56:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 44 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: s01060015e975d7fb.wp.shawcable.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:kDvGGjHTNtuejMedgnQMUdzKYKk= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:13268 Archived-At: On 20 Jun 2006 22:33:53 -0700, "harry meyers" wrote: > Ted Zlatanov schrieb: >> 1) I think your fancy split rules are wrong. They look like simple >> split rules. Look at the nnimap-split-fancy docs. >> 2) gnus-spam-process-destination doesn't affect splitting, it matters >> when you exit a group and you have articles in it that are marked as >> spam. They will be processed by the spam backends and then sent to >> the spam-process-destination ("SPAM" for all groups in your setup). >> There's a similar process for non-spam (ham) articles. >> Hope this helps Ted > Yes, thans, that helped. As spam splitting with bogofilter requires > fancy split rules I changed that in my gnus but did not change the > other splitting rules to fancy split rules. Now I did this, everything > works properly. harry Can someone please show a working example of `nnimap-split-fancy' with `spam-split' using bogofilter? I have: ---<--------------------cut here---------------start------------------->--- (require 'spam) (setq spam-split-group "SPAM" spam-use-bogofilter t nnimap-split-inbox '("INBOX") nnimap-split-predicate "UNSEEN" nnimap-split-rule 'nnimap-split-fancy nnimap-split-fancy '(| (from ".*sebmags.homelinux.org.*" "System") (: spam-split) "INBOX")) (spam-initialize) ---<--------------------cut here---------------end--------------------->--- but invariably all messages in INBOX are obliterated completely from the IMAP server. Any help would be very much appreciated. Cheers, -- Seb