From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33063 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: nnsplit Date: 31 Oct 2000 19:03:13 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <5bvgu9ro64.fsf@brandy.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035169239 23162 80.91.224.250 (21 Oct 2002 03:00:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:00:39 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id 64C3FD049C for ; Tue, 31 Oct 2000 13:04:13 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id MAB20269; Tue, 31 Oct 2000 12:03:52 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 31 Oct 2000 12:03:15 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id MAA20028 for ; Tue, 31 Oct 2000 12:03:01 -0600 (CST) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by mailhost.sclp.com (Postfix) with ESMTP id 73FB8D049C for ; Tue, 31 Oct 2000 13:03:24 -0500 (EST) Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id TAA15867; Tue, 31 Oct 2000 19:03:14 +0100 (MET) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id TAA22563; Tue, 31 Oct 2000 19:03:13 +0100 (MET) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-21) id TAA29910; Tue, 31 Oct 2000 19:03:13 +0100 Original-To: ShengHuo ZHU X-Face: /B3twq_DELA4]7alR?%xv(/f1N;bi:NN=UlA=(1a"pKte&5/Y/9*z&8q[P}+}YgJX_9*}k_ 0E|EJBC~yEok<#VOw:9GQWq1-;PCR-hd;3|Vk]~"|EM{Q5ir5nr!HzZ,W4\k5G|QWHw45gQ*tWydTR , User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.0.90 Original-Lines: 32 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:33063 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:33063 On 31 Oct 2000, zsh@cs.rochester.edu wrote: > > To split incoming messages over multi-backend or split outgoing > messages, my idea is to create a virtual backend nnsplit, each group > of which contains a set of splitting rules. Any new mail or article > going into the group is redirected to a real group. A two-step approach like this has one disadvantage having to do with duplication of information. Suppose you want to store all mail from Peter in nnml:peter, from Paul in nnml:paul, whereas Mary goes in nnfolder:mary and Jane goes in nnfolder:jane. Then your two-step approach requires the user to say `if from Peter or Paul, then put in nnsplit:males, if from Mary or Jane, then put in nnsplit:females'. And then the nnsplit:males group matches against Peter and Paul again. Likewise for the nnsplit:females group. If there was a single-step approach, this duplication wouldn't be necessary. Or am I misunderstanding your proposal? For the two-step approach, I propose a variant: introduce a `keep' operation in nnmail-split-methods, then let nnmail-split-methods be a server parameter, and iterate over all servers. You could also make mail-sources be a server parameter (with this, it would be easy to put all POP3 mail into nnml+pop3:inbox and all IMAP mail into nnml+imap:inbox). kai -- I like BOTH kinds of music.