Gnus development mailing list
 help / color / mirror / Atom feed
* Splitting based on different Maildir* sources?
@ 2003-07-08 20:32 Chris Shenton
  2003-07-10 16:44 ` Andre Srinivasan
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Shenton @ 2003-07-08 20:32 UTC (permalink / 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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Splitting based on different Maildir* sources?
  2003-07-08 20:32 Splitting based on different Maildir* sources? Chris Shenton
@ 2003-07-10 16:44 ` Andre Srinivasan
  0 siblings, 0 replies; 2+ messages in thread
From: Andre Srinivasan @ 2003-07-10 16:44 UTC (permalink / raw)



You can use nnmail-split-fancy.  I use procmail to split all my mail
and then file into separate groups with the following:

(setq nnmail-split-fancy
      ' (| ("x-gnus-mail-source" ".*/\\([^/]*\\)/new" "\\1")
           "inbox"))


                                                        -andre.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-10 16:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-08 20:32 Splitting based on different Maildir* sources? Chris Shenton
2003-07-10 16:44 ` Andre Srinivasan

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).