Gnus development mailing list
 help / color / mirror / Atom feed
From: Lloyd Zusman <ljz@asfast.com>
Cc: ding@gnus.org
Subject: Splitting, crossposts, duplicates, the universe, and everything.
Date: 17 Nov 1998 11:14:05 -0500	[thread overview]
Message-ID: <ltn25qi9f6.fsf@asfast.com> (raw)

[ This is an auto-generated, courtesy copy of a message that I've
  also posted to the gnu.emacs.gnus newsgroup. ]

I'm using pgnus-0.43, and I'm running into a situation involving mail
splitting that I don't know how to solve.

Suppose these are my split methods:

 (setq nnmail-split-methods 
        '(("one"      "^\\(To\\|Cc\\):.*one@asfast\\.com")
          ("two"      "^\\(To\\|Cc\\):.*two@asfast\\.com")
          ("three"    "^\\(To\\|Cc\\):.*three@asfast\\.com")
          ("four"     "^\\(To\\|Cc\\):.*four@asfast\\.com")
	  ("other"    "")))

Furthermore, suppose I have set `nnmail-crosspost' to nil.

I have all my incoming email to the various users on my system going
to a single mail spool, and I use Gnus to split it.

Now, suppose I receive some email with the following `To:' line:

 To: one@asfast.com, two@asfast.com, three@asfast.com, four@asfast.com

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.

I looked at `nnmail-split-fancy', and it doesn't seem to handle this
case.

Any ideas?

Thanks in advance.

-- 
 Lloyd Zusman
 ljz@asfast.com


             reply	other threads:[~1998-11-17 16:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-17 16:14 Lloyd Zusman [this message]
1998-11-17 19:09 ` Michael Welsh Duggan
1998-11-17 23:19   ` Lloyd Zusman
1998-11-17 23:23     ` Alexandre Oliva
1998-11-18  2:27       ` Lloyd Zusman
1998-11-20 17:02         ` Stephen Zander
1998-11-17 23:40     ` Karl Kleinpaste
1998-11-17 23:35   ` Alexandre Oliva

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ltn25qi9f6.fsf@asfast.com \
    --to=ljz@asfast.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).