Gnus development mailing list
 help / color / mirror / Atom feed
From: Chris Shenton <chris@shenton.org>
Subject: Splitting based on different Maildir* sources?
Date: 08 Jul 2003 16:32:21 -0400	[thread overview]
Message-ID: <867k6sdaju.fsf@PECTOPAH.shenton.org> (raw)

My MTA is qmail and it files my mail in to ~/Maildir/* and this works
fine with a source specified like:

(setq  mail-sources '((maildir	:plugged	t)
                      ;more sources elided
)) 

I've been using DCC (dccproc client) to check for spammy mail, tag it
with a line, then use a split-fancy rule like:

	("X-DCC-.*-Metrics"	"Body=many"		"in.dcc-body-many")
	("X-DCC-.*-Metrics"	"Fuz[12]=many"		"in.dcc-body-many")

to file them into a spammy Gnus group.


Now I'm trying to use dccproc to file them into a totally separate
Maildir so Gnus doesn't have to file them.  For those of you who care
I do it like the following.  In ~/.qmail:

| /var/qmail/bin/condredirect chris-dccspam /bin/sh -c '! /usr/local/bin/dccproc -c CMN,10 -o /dev/null -w /home/chris/.dcc/whiteclnt'
./Maildir/

In ~/.qmail-dccspam:

./Maildir-dccspam/


But if I tell gnus to get it by specifying a source like:

  (maildir :path "/home/chris/Maildir-dccspam/")

Then it will be slurped in like the rest of my mail and split into the
same groups as the rest.  

Is there a way to file news from this /Maildir-dccspam/ into a
separate group or hierarchy than all the rest of the mail?

Thanks.



             reply	other threads:[~2003-07-08 20:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-08 20:32 Chris Shenton [this message]
2003-07-10 16:44 ` Andre Srinivasan

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=867k6sdaju.fsf@PECTOPAH.shenton.org \
    --to=chris@shenton.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).