* Mail filtering
@ 1999-02-15 12:17 Shaun Lipscombe
1999-02-15 12:35 ` Kai.Grossjohann
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Shaun Lipscombe @ 1999-02-15 12:17 UTC (permalink / raw)
If I mail to a mailing list (gnus for example) because I have a filter
for gasops.co.uk:
(nnmail-split-methods '(
("gnus" "^\\(To:\\|Cc\\):.ding@gnus\\.org")
("gmsl" "^From:.*gasops\\.co\\.uk")
)
)
my thinking would be that my post would appear in gnus, but it infact
appears in gmsl. To put it another way, I would expect the matching
of the regular expression's to finish when a match is found. When I
post to any mailing lists 'my' post appears in nnml:gmsl because it
was from me, but thats why I put the gmsl reg. expr. at the bottom.
Have I missed something. This is annoying because it means that while
I am in nnml:gnus I can only see the follow-up (if any ;-p) to my post
but I cannot refer to my post to remind myself of the query I posed.
Thanks :-)
--
( )
~oo~
.. Gnu!
/ =\ \=
- - - =-=-The choice of the Linux generation-=-=
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Mail filtering
1999-02-15 12:17 Mail filtering Shaun Lipscombe
@ 1999-02-15 12:35 ` Kai.Grossjohann
1999-02-15 12:58 ` Shaun Lipscombe
1999-02-15 14:38 ` Kai.Grossjohann
1999-02-16 11:31 ` Hrvoje Niksic
2 siblings, 1 reply; 10+ messages in thread
From: Kai.Grossjohann @ 1999-02-15 12:35 UTC (permalink / raw)
Shaun Lipscombe <shaun.lipscombe@gasops.co.uk> writes:
> (nnmail-split-methods '(
> ("gnus" "^\\(To:\\|Cc\\):.ding@gnus\\.org")
> ("gmsl" "^From:.*gasops\\.co\\.uk")
> )
> )
You MUST have an entry with an empty regex. Otherwise, mails which do
not match anything will be DELETED SILENTLY!
Your `gnus' regex searches for "To::" instead of "To:".
kai
--
I like _\bb_\bo_\bt_\bh kinds of music.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Mail filtering
1999-02-15 12:35 ` Kai.Grossjohann
@ 1999-02-15 12:58 ` Shaun Lipscombe
1999-02-19 14:22 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 10+ messages in thread
From: Shaun Lipscombe @ 1999-02-15 12:58 UTC (permalink / raw)
Kai.Grossjohann@CS.Uni-Dortmund.DE writes:
> Shaun Lipscombe <shaun.lipscombe@gasops.co.uk> writes:
>
> > (nnmail-split-methods '(
> > ("gnus" "^\\(To:\\|Cc\\):.ding@gnus\\.org")
> > ("gmsl" "^From:.*gasops\\.co\\.uk")
> > )
> > )
>
I typed it in wrong. This is what I have
;; Split
(setq nnmail-split-methods
'(("edupage" "^From: Edupage Editors")
("cert" "^From: CERT Advisory")
("sybase" "^\\(To\\|Cc\\):.*ase-linux-list@isug\\.com")
("gnus" "^\\(To\\|Cc\\):.*ding@gnus\\.org")
("gmsl" "From:.*gasops\\.co\\.uk")
("jokes" "^From: Jokes@Gagler\\.com")
("other" "")))
Sorry.
> You MUST have an entry with an empty regex. Otherwise, mails which do
> not match anything will be DELETED SILENTLY!
>
> Your `gnus' regex searches for "To::" instead of "To:".
>
> kai
> --
> I like _\bb_\bo_\bt_\bh kinds of music.
Any ideas now?
--
( )
~oo~
.. Gnu!
/ =\ \=
- - - =-=-The choice of the Linux generation-=-=
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Mail filtering
1999-02-15 12:58 ` Shaun Lipscombe
@ 1999-02-19 14:22 ` Lars Magne Ingebrigtsen
1999-02-19 15:51 ` Shaun Lipscombe
0 siblings, 1 reply; 10+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-02-19 14:22 UTC (permalink / raw)
Shaun Lipscombe <shaun.lipscombe@gasops.co.uk> writes:
> I typed it in wrong. This is what I have
>
> ;; Split
> (setq nnmail-split-methods
> '(("edupage" "^From: Edupage Editors")
> ("cert" "^From: CERT Advisory")
> ("sybase" "^\\(To\\|Cc\\):.*ase-linux-list@isug\\.com")
> ("gnus" "^\\(To\\|Cc\\):.*ding@gnus\\.org")
> ("gmsl" "From:.*gasops\\.co\\.uk")
> ("jokes" "^From: Jokes@Gagler\\.com")
> ("other" "")))
Looks OK to me. Are you sure that this is what `nnmail-split-methods'
really is? `C-h v nnmail-split-methods RET' will tell you the value
of the variable.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Mail filtering
1999-02-15 12:17 Mail filtering Shaun Lipscombe
1999-02-15 12:35 ` Kai.Grossjohann
@ 1999-02-15 14:38 ` Kai.Grossjohann
1999-02-16 9:36 ` Shaun Lipscombe
1999-02-16 11:31 ` Hrvoje Niksic
2 siblings, 1 reply; 10+ messages in thread
From: Kai.Grossjohann @ 1999-02-15 14:38 UTC (permalink / raw)
Shaun Lipscombe <shaun.lipscombe@gasops.co.uk> writes:
> my thinking would be that my post would appear in gnus, but it infact
> appears in gmsl.
Does it appear *only* in gmsl, or does it appear in both groups?
If the latter, see the variable nnmail-crosspost.
kai
--
I like _\bb_\bo_\bt_\bh kinds of music.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Mail filtering
1999-02-15 12:17 Mail filtering Shaun Lipscombe
1999-02-15 12:35 ` Kai.Grossjohann
1999-02-15 14:38 ` Kai.Grossjohann
@ 1999-02-16 11:31 ` Hrvoje Niksic
1999-02-16 12:12 ` Kai.Grossjohann
2 siblings, 1 reply; 10+ messages in thread
From: Hrvoje Niksic @ 1999-02-16 11:31 UTC (permalink / raw)
Shaun Lipscombe <shaun.lipscombe@gasops.co.uk> writes:
> (nnmail-split-methods '(
> ("gnus" "^\\(To:\\|Cc\\):.ding@gnus\\.org")
^ <-- wrong
> ("gmsl" "^From:.*gasops\\.co\\.uk")
> )
> )
The first item doesn't match because of a spurious colon. The regexp
is saying something like "match `To:: ding@gnus.org' or `Cc: ding@gnus.org'.
Remove the colon and it should work.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Mail filtering
1999-02-16 11:31 ` Hrvoje Niksic
@ 1999-02-16 12:12 ` Kai.Grossjohann
0 siblings, 0 replies; 10+ messages in thread
From: Kai.Grossjohann @ 1999-02-16 12:12 UTC (permalink / raw)
Hrvoje Niksic <hniksic@srce.hr> writes:
> The first item doesn't match because of a spurious colon. The
> regexp is saying something like "match `To:: ding@gnus.org' or
> `Cc: ding@gnus.org'.
Look for another message where Shawn shows his _real_ entry: I don't
understand why that fails to work, either.
kai
--
I like _\bb_\bo_\bt_\bh kinds of music.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~1999-02-19 15:51 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-02-15 12:17 Mail filtering Shaun Lipscombe
1999-02-15 12:35 ` Kai.Grossjohann
1999-02-15 12:58 ` Shaun Lipscombe
1999-02-19 14:22 ` Lars Magne Ingebrigtsen
1999-02-19 15:51 ` Shaun Lipscombe
1999-02-15 14:38 ` Kai.Grossjohann
1999-02-16 9:36 ` Shaun Lipscombe
1999-02-16 10:12 ` Kai.Grossjohann
1999-02-16 11:31 ` Hrvoje Niksic
1999-02-16 12:12 ` Kai.Grossjohann
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).