From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/18804 Path: main.gmane.org!not-for-mail From: Lloyd Zusman Newsgroups: gmane.emacs.gnus.general Subject: Re: Splitting, crossposts, duplicates, the universe, and everything. Date: 17 Nov 1998 18:19:12 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035157268 8240 80.91.224.250 (20 Oct 2002 23:41:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:41:08 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id SAA24005 for ; Tue, 17 Nov 1998 18:30:11 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.1/8.9.1) with ESMTP id RAB25091; Tue, 17 Nov 1998 17:19:52 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 17 Nov 1998 17:19:43 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id RAA19874 for ; Tue, 17 Nov 1998 17:19:33 -0600 (CST) Original-Received: from ljz.asfast.net (gnus@ljz.asfast.net [205.230.75.82]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id SAA23661 for ; Tue, 17 Nov 1998 18:19:24 -0500 (EST) Original-Received: (from gnus@localhost) by ljz.asfast.net (8.8.7/8.8.7) id SAA23170; Tue, 17 Nov 1998 18:19:12 -0500 Original-To: ding@gnus.org X-Face: "!ga1s|?LNLE3MeeeEYs(%LIl9q[xV9!j4#xf4!**BFW_ihlOb;:Slb>)vy>CJM writes: > Lloyd Zusman writes: > > > [ ... ] > > > > Once the mail is split, it only ends up in my `one' mailbox. But what > > I want is a single copy in each of the `one', `two', `three', and > > `four' mailboxes. OK. So I figured that I'd just set > > `nnmail-crosspost' to `t'. Once I did that, an email with the same > > `To:' line as above indeed ended up in each of those four mailboxes, > > but it appeared four times in each one, for a total of 16 instances > > altogether. > > > > I sort of see why this happened, but I'm wondering if there's a way to > > prevent this. I'd like to cause one and only one copy to appear in > > each of the mailboxes that appear on the `To:' line. > > > > [ ... ] > > case. > > Actually, `nnmail-split-fancy' should work just fine. Try the > following for the above: > > (setq nnmail-split-methods 'nnmail-split-fancy) > (setq nnmail-split-fancy > '(& > (to "one@asfast\\.com" "one") > (to "two@asfast\\.com" "two") > (to "three@asfast\\.com" "three") > (to "four@asfast\\.com" "four") > "other")) Thank you very much. I did this and got the same results as before (16 instances of the message). And now I realize why: Suppose the `To:' line of some email coming to my system looks like this: To: one@asfast.com, two@asfast.com, three@asfast.com, four@asfast.com This causes 4 separate messages to be sent out, and all four of these come to my machine. My local mail software puts all four of these into a central mailbox, and then Gnus splits them by the above rules. Each of these four messages will then get sent through my `nnmail-split-fancy' methods, and each of them will then go to each of four mailboxes ("one", "two", "three", "four"). In other words, now there are 16 messages where orginally there were four. I know that Gnus has a `gnus-suppress-duplicates' variable that can be set. Would the use of this variable help me in this case? The goal is to have one copy of the message appearing in each of the four mailboxes. -- Lloyd Zusman ljz@asfast.com