From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33241 Path: main.gmane.org!not-for-mail From: Toby Speight Newsgroups: gmane.emacs.gnus.general Subject: Re: Mail from multiple lists... Date: 07 Nov 2000 11:21:15 +0000 Organization: Citrix Systems Sender: owner-ding@hpc.uh.edu Message-ID: <8766m02fkk.fsf@delivery.cam.eu.citrix.com> References: <87g0l4kbus.fsf@nwalsh.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035169385 24096 80.91.224.250 (21 Oct 2002 03:03:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:03:05 +0000 (UTC) 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 7E531D049B for ; Tue, 7 Nov 2000 06:22:01 -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 FAB02170; Tue, 7 Nov 2000 05:21:45 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 07 Nov 2000 05:21:10 -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 FAA21195 for ; Tue, 7 Nov 2000 05:20:57 -0600 (CST) Original-Received: from gatekeeper.ctxuk.citrix.com (gatekeeper.ctxuk.citrix.com [195.153.38.114]) by mailhost.sclp.com (Postfix) with ESMTP id D564AD049A for ; Tue, 7 Nov 2000 06:21:21 -0500 (EST) Original-Received: from sh.ctxuk.citrix.com (sh.ctxuk.citrix.com [10.30.224.4]) by gatekeeper.ctxuk.citrix.com (8.8.7/BSCF-1.7) with ESMTP id LAA23443 for ; Tue, 7 Nov 2000 11:21:20 GMT Original-Received: from hwav01.ctxuk.citrix.com (hwav01.ctxuk.citrix.com [10.30.224.26]) by sh.ctxuk.citrix.com (8.8.7/BSCF-1.7) with SMTP id LAA29888 for ; Tue, 7 Nov 2000 11:21:19 GMT Original-Received: from 10.30.224.101 by hwav01.ctxuk.citrix.com (InterScan E-Mail VirusWall NT); Tue, 07 Nov 2000 11:21:19 -0000 (GMT Standard Time) Original-Received: by hwexch01.ctxuk.citrix.com with Internet Mail Service (5.5.2650.21) id ; Tue, 7 Nov 2000 11:21:19 -0000 Original-Received: from delivery.cam.eu.citrix.com ([10.70.128.47]) by hwexch01.ctxuk.citrix.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id WH9LA19H; Tue, 7 Nov 2000 11:21:16 -0000 Original-To: The Gnus Mailing List Original-Lines: 59 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 X-Face: wqk-$Z5Z In article <87g0l4kbus.fsf@nwalsh.com>, 0> Norman D. Walsh ("Norman") wrote: Norman> Unfortunately, my Norman> Norman> (setq nnmail-split-fancy Norman> ... Norman> (any "list1@.*example\.com" "example.list1") Norman> (any "list2@.*example\.com" "example.list2") Norman> ...) Norman> Norman> puts two copies of this message in nnml:example.list1 instead of Norman> putting one copy in example.list1 and another in Norman> example.list2. I assume you have (| ) around those two rules; maybe (& ) is what you're looking for. Split to all matches, not just the first. That does mean that both copies will be split to both groups - that's not a problem for me, as I use duplicate suppression, but you may have different circumstances. Norman> On close inspection, I do see that one of the received headers Norman> offers a clue: Norman> Norman> Received: from eastmail1.example.com (eastmail1.example.com [129.148.1.240]) Norman> by mail1.example.com (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6.1-mail1) with ESMTP id NAA19369 Norman> for ; Mon, 6 Nov 2000 13:02:24 -0800 (PST) Norman> Norman> I suppose I could filter on that, though I feel a little Norman> uncomfortable filtering on received: headers. Is my Norman> discomfort unfounded? I feel a bit uncomfortable, too, if I do that, because you don't know when the site will change mailer (or reconfigure their mailer) and lose the vital bit. But you could use it, with fallback to considering explicit recipients: (| (| (received "for\\s-+list1@.*example\\.com" "example.list1") (received "for\\s-+list2@.*example\\.com" "example.list2")) (& (to "\\