From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/7571 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.user Subject: Re: nnimap split rules Date: Mon, 19 Jun 2006 10:55:00 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: References: <1150693890.829621.198110@h76g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1150731708 23949 80.91.229.2 (19 Jun 2006 15:41:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Jun 2006 15:41:48 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Jun 19 17:41:46 2006 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FsLsa-0004bX-7f for gegu-info-gnus-english@m.gmane.org; Mon, 19 Jun 2006 17:41:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FsLsZ-00027c-Li for gegu-info-gnus-english@m.gmane.org; Mon, 19 Jun 2006 11:41:31 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!newsfeed.arcor.de!feed.cnntp.org!news.cnntp.org!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 41 Original-X-Trace: URcSF/Y74k07ERiPqxbX+U/c80Ok9uKQHZKtQs5jRuNjHi9w7uN5uAq1yobRi2bZhWOUtmL8WFG45S3mOeqCLshndezycar2YW4vtiDHqsXf03bZHBOO0jWdNzTSp0fK Original-X-Complaints-To: abuse@albasani.net Original-NNTP-Posting-Date: Mon, 19 Jun 2006 14:55:01 +0000 (UTC) X-User-ID: x3WHpoAdLwFYrTPdvU5zFyFIkvpzBJuTPjh8tsj3btQ= X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Cancel-Lock: sha1:wqnnaAafaUpLznuFBO5SrLrCUkk= User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) X-NNTP-Posting-Host: a0zSW46B1aevDP8t/2jw2zpT+NvhYwOphPSvHTUTvnA= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:77755 Original-To: info-gnus-english@gnu.org 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:7571 Archived-At: On 19 Jun 2006, late@literaturlatenight.de wrote: > I had defined some split rules which splitted my mail from my Inbox > folder properly but stopped working after I added a split rule for spam > with bogofilter. After I tried some different settings now the > according lines look like this: > > (setq spam-use-bogofilter t) > (require 'spam) > > (setq > nnimap-split-rule 'nnimap-split-fancy > nnimap-split-inbox "INBOX" > nnimap-split-fancy '(| > (: spam-split) > ("Texte/theater" "Subject:.*ed harry") > ("Texte/mantra" "Subject:.*mantra") > ("daily" "Subject:.*daily") > ("config" "Subject:.*config") > ;; default mailbox > "INBOX")) > > (setq gnus-spam-process-destinations > '((".*" "SPAM"))) > > (setq spam-split-group "SPAM") > > As far as I can see spam split works but not splitting mail from my > inbox 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