Subject: Multiple mailbox question (yet again)

From: [email-masked] (Robert Hahn)
Date: 16 Oct 1994 14:19:38 -0400

I'm sorry if this question has been asked over and over again, and if
someone could point me to a faq or something, I would appreciate it.

But, I'm trying to use "filter" to sort the mail so I could have some of
the mailing-lists not go into my INBOX.

Below is my filter-rules file:

# $HOME/.elm/filter-rules
#
# Filter rules for the Elm Filter program. Don't change without some
# serious thought. (remember - order counts)
#
# (for Rob Hahn, [email-masked])
#
# rule 1
to "[email-masked]" ? save "$HOME/mail/magic-incoming"
# rule 2
to "[email-masked]" ? save "$HOME/mail/magic-incoming"

And here's my .forward file:

"| /usr/local/bin/filter -o /users/hahn/.elm/filter-test"

As of yet, I haven't been able to successfully route my mail in any way,
shape, or form.  What am I doing wrong?

Thanks in advance!

-rsh

-- 
 `	Robert S. Hahn				[email-masked]
--- |	"A mountain is a mountain,		[email-masked]
 O  |-	 and water is water."		 	(212)966-0744:Phone
|____		- A kong-an of Korean Zen master Sung-chul

---

From: [email-masked] (uh..Clem)
Date: 16 Oct 1994 17:11:52 -0400

Comes now Robert Hahn, d/b/a [email-masked], who submitted
the following in article <[email-masked]>:
|
| [...] I'm trying to use "filter" to sort the mail so I could have some of
|the mailing-lists not go into my INBOX.
|
|Below is my filter-rules file:
|
|# $HOME/.elm/filter-rules
|#
|# Filter rules for the Elm Filter program. Don't change without some
|# serious thought. (remember - order counts)
|#
|# (for Rob Hahn, [email-masked])
|#
|# rule 1
|to "[email-masked]" ? save "$HOME/mail/magic-incoming"
|# rule 2
|to "[email-masked]" ? save "$HOME/mail/magic-incoming"
|
|
|And here's my .forward file:
|
|"| /usr/local/bin/filter -o /users/hahn/.elm/filter-test"
|
|As of yet, I haven't been able to successfully route my mail in any way,
|shape, or form.  What am I doing wrong?

	Well, here's a portion of _my_ ~/.elm/filter-rules:

if (to contains "CARR-L") then save "/users/gordy/Mail/carr-l"
if (to contains "net-happenings") then save "/users/gordy/Mail/hap" 
if (to contains "[email-masked]") then save "/users/gordy/Mail/socks"
if (to contains "[email-masked]") then save "/users/gordy/Mail/rre"

	I noticed a substantial difference in syntax from yours; you 
might try the more verbose way, which at least has the virtue of 
working for me.

	My .forward file, BTW, is:

"| /usr/local/bin/filter -vo /users/gordy/.elm/filter-errors"

-- 
  Gordy Thompson                                 some days you're the pigeon,
  [email-masked]                -=0=-           some days you're the statue.

---

From: [email-masked] (Gary Mort)
Date: 17 Oct 1994 08:46:27 -0400

Well, I don't know about the forward, but I do have filter
working for the magic mailing list(gg-l).  Heres my rule for it:

if (sender contains mtg-l) then
	save "/net/u/2/g/gam/Mail/newmagic"

I think part of your problem may be the "to" in
your filter rules.  The magic mailing list, if I
recall correctly, takes all mail it receives
and than resends it with its own header, so the to
column is your name not mtg-l.  I'm almost positive
it does this is digest mode, and fairly positive it does
it in non-digest mode as well(but since I receive digests
I'm not sure).

Questions, since this makes at least 3 people on the magic mailing
list that I know of, is it possible/a good idea for panix to
set up a local newsgroup and pipe mail from the list to the
newsgroup(and vice versa).  That way we'd cut down on the excess traffic
of having 3+ copies of every message come to panix?

---

From: [email-masked] (Noah Mittman)
Date: 17 Oct 1994 11:40:36 -0400

Gary Mort ([email-masked]) screamed from panix.questions:
: Questions, since this makes at least 3 people on the magic mailing
: list that I know of, is it possible/a good idea for panix to
: set up a local newsgroup and pipe mail from the list to the
: newsgroup(and vice versa).  That way we'd cut down on the excess traffic
: of having 3+ copies of every message come to panix?

Agreed. I'd have joined as well, if it wasn't for the fact I'm already
getting too much mail as it is. :)

Another vote for a local group (if you need one).
-- 
noah [[email-masked]] | <tankPolice!>
"but if the answer isn't violence / neither is your silence" - pwei
{http://www.seas.upenn.edu/~bhou/noahUpdate/home.html}

---

From: [email-masked] (S. Nass/PANIX)
Date: 17 Oct 1994 16:45:49 -0400

>of having 3+ copies of every message come to panix?

This is a backburner project for PANIX because, while it would be nice,
it takes lower priority than various other things we have to work on.
But it's a good idea and when we have the resources to devote to a
mailing list-to-news gateway, we'll work on it.

I've removed comp.mail.pine from the follow-ups to this part of the
thread, since it is specific to PANIX. -S.
-- 
Simona Nass                                               Staff Account
PANIX Public Access Internet and Unix, NYC                 [email-masked]

---

From: [email-masked] (Macgician!)
Date: 19 Oct 94 13:29:28 GMT

In article <[email-masked]>, [email-masked] (uh..Clem) wrote:

  +           Well, here's a portion of _my_ ~/.elm/filter-rules:
  +   
  +   if (to contains "CARR-L") then save "/users/gordy/Mail/carr-l"
  +   if (to contains "net-happenings") then save "/users/gordy/Mail/hap" 

Right it works for me too..
But I was wondering if I could have two rules for the same mail. For ex:

# Rule which will save and then forward it to someone else at the sametime.
if (From contains [email-masked]") save "/usr/staff/me/mail/gordy" then 
   forward "help"

Any pointers...to get around this is highly appreciated.

-- 
   @|\@@   [email-masked]            http://monroe.temple.edu
   -  @@@@   These views are Orders in Pride Land, where no Hyenas live.
 /7   @@@@        Mophusa: Everything that the light touches is mine.
/    @@@@@@       Simbha : Everything, hmmm..what about the Dark Side.
\-' @@@@@@@@`-________________
 -@@@@@@@@@     Lion King  /  \
 _____/    /_       ______/   |_____-
/,________/  `-.___/,__________-----_)

---

From: Alexei Kosut <[email-masked]>
Date: Thu, 20 Oct 1994 16:45:39 -0700 (PDT)

> But I was wondering if I could have two rules for the same mail. For ex:

To quote from the Elm FAQ (ftp.uu.net:/networking/mail/elm/Elm-FAQ.Z):

3.10	How do I do multiple actions for one rule?

	You can't do that directly in the filter-rules file. You have to
	write a shell script or program that does what you want, and then call
	it with the execute or executec action.

+= Alexei Kosut <[email-masked]> == Pass the Prozac, please =+
|    __   ___ ___ __   ___ __    // _____________________________________| 
|   / /  / _// _// /  / _//  |  // "Computer viruses are the only life   |
|  / /_ / _ / _// /_ / _ /  /  // form wholly created by humans... Talk  |
| /___//__//_/ /___//__//_/_| // about creating life in our own image."  |
+= http://www.nueva.pvt.k12.ca.us/~akosut/ ========= Stephen W. Hawking =+

---

From: [email-masked] (S. Nass/PANIX)
Date: 25 Oct 1994 13:38:05 -0400

<[email-masked]> was cancelled from within rn.
-- 
Simona Nass                                               Staff Account
PANIX Public Access Internet and Unix, NYC                 [email-masked]