[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A question about splitting
From: |
Glyn Millington |
Subject: |
Re: A question about splitting |
Date: |
Fri, 07 Nov 2008 21:50:25 +0000 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) |
Andreas Davour <anteRUN@updateLIKE.uu.HELLse> writes:
> I'm trying to split my mail, but it wont work like it should.
>
> This ends up in my "INBOX" nnfolder:
>
> ---- MESSAGE ----
> From: Super-User
> Subject: Tapemonitor L700B
> To:
> Date: Fri, 07 Nov 2008 08:00:01 -0500 (EST)
>
> ---- END MESSAGE ----
>
> And my splitting rules look like this:
>
> ---- CODE ----
> (setq
> nnmail-crosspost nil
> nnmail-split-methods 'nnmail-split-fancy
> nnmail-split-fancy
> ;; | means no nothing after first match
>
> `(| ("Subject" ".*sam-qfs-discuss.*" "qfs-discussion")
>
> (from ".* via RT.*" "RT")
>
> ;; if from my tape monitoring scripts, store in "tape-monitor"
> (Subject "^Tapemonitor.*" "tape-monitor")
>
> (from ".*Cacti.*" "Cacti-Alerter")
>
> ;; any general root mail from sunhpc1
> (to ".*root.*" "root-mail")
>
> ;; All remaining mail goes to the general INBOX
> "INBOX"))
>
> ---- END CODE ----
>
>
> Any splitting expert who can tell me why the "Subject" rule don't seem
> to be triggered, and it trickles down to INBOX?
Hi Andreas
Have you tried setting it up like the other Subject rule there ie
("Subject" ".*Tapemonitor" "tape-monitor") ?
That should work :-)
atb
Glyn