From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/957 Path: news.gmane.org!not-for-mail From: Kirk Strauser Newsgroups: gmane.emacs.gnus.user Subject: Re: Splitting with SpamAssassin and group parameters Date: Tue, 20 Aug 2002 15:24:05 GMT Organization: The Strauser Group Message-ID: <87znvhpnis.fsf@pooh.int> References: <87r8gubm11.fsf@pooh.int> <87u1lq7b82.fsf@emacswiki.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138667813 9100 80.91.229.2 (31 Jan 2006 00:36:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:36:53 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:28:24 2006 Original-Path: quimby.gnus.org!lackawana.kippona.com!news.teledanmark.no!newsfeed.icl.net!newsfeed.fjserv.net!newspump.monmouth.com!newspeer.monmouth.com!prodigy.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr12.news.prodigy.com.POSTED!not-for-mail Original-Sender: kirk@pooh.int Original-Newsgroups: gnu.emacs.gnus X-Newsreader: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-NNTP-Posting-Host: 208.191.142.2 Original-X-Complaints-To: abuse@prodigy.net Original-X-Trace: newssvr12.news.prodigy.com 1029857045 ST000 208.191.142.2 (Tue, 20 Aug 2002 11:24:05 EDT) Original-NNTP-Posting-Date: Tue, 20 Aug 2002 11:24:05 EDT X-UserInfo1: [[PAPDCAOHTUC^@SEBCBNWX@RJ_XPDLMN@GZ_GYO^BVNDQUBLNTC@AWZWDXZXQ[K\FFSKCVM@F_N_DOBWVWG__LG@VVOIPLIGX\\BU_B@\P\PFX\B[APHTWAHDCKJF^NHD[YJAZMCY_CWG[SX\Y]^KC\HSZRWSWKGAY_PC[BQ[BXAS\F\\@DMTLFZFUE@\VL Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:1097 Original-Lines: 42 X-Gnus-Article-Number: 1097 Tue Jan 17 17:28:24 2006 Xref: news.gmane.org gmane.emacs.gnus.user:957 Archived-At: At 2002-08-19T22:08:45Z, Alex Schroeder writes: > I use fancy splitting AND bbdb splitting. Why don't you give it a try? I > am sure you could add gnus-group-split to the fancy splitting rules. Here > is some code to get you started: Thanks for the shove in the right direction! Here's my new splitting algorithm: ;; ---------------------------------------- ;; %%% NEW SPLIT RULES (2002-08-20) (setq nnmail-split-methods 'bbdb/gnus-split-method bbdb/gnus-split-nomatch-function 'nnmail-split-fancy ;; Ideas from http://www.emacswiki.org/cgi-bin/wiki.pl?SplitMailUsingBbdb nnmail-split-fancy `(| ("x-spam-status" "Yes" "mail.spam") (: (lambda () (car (gnus-group-split)))) "mail.misc") ) ;; ---------------------------------------- Now my mail is filter as follows: 1) Addresses matching entries in my BBDB are explicitly split into the group specified in `gnus.private' 2) Mails are then matched against any fancy splits I've defined 3) Next, mails are split according to the rules defined in my group parameters 4) Anything remaining goes to mail.misc Thanks again, Alex! -- Kirk Strauser The Strauser Group - http://www.strausergroup.com/