Subject: Problem about my .procmailrc [filtering]

From: Ming-Yen Hsu <[email-masked]>
Date: Tue, 30 Aug 1994 11:58:28 +0800 (CST)

Hi,
I am impressed with the new features of Pine 3.90. However, I am confused
by the procmail rcfile.

My question is about the condition of "From". All I new mail with Subject
"WWW comment" go into the right folder correctly, but the mail from my
friend "jeff@somewhere" never get into the right place and keep in INBOX.

Somebody help me! Thanks in advanced.

-------------------------------------------------------------------------
# Please check if all the paths in PATH are reachable, remove the ones that
# are not.

PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
MAILDIR=$HOME/Mail	# You'd better make sure it exists
DEFAULT=/usr/spool/mail/$USER

:0:				# Anything from thf
* ^From.*jeff
jeff				# will go to $MAILDIR/todd

:0:myfile
* ^Subject:.*comment
comments

:0:
* ^TOfvwm
fvwm

# Anything that has not been delivered by now will go to $DEFAULT
# using LOCKFILE=$DEFAULT$LOCKEXT
----------------------------------------------------------------------

-- Ming-Yen, Database Lab. ---------- giving you the best that I got --
Computer Science & Information Eng.  voice: ........ 886-3-4227151x4504
National Central University, Taiwan    fax: ........ 886-3-4227151x4508
-- MIME and BIG5 accepted ---------- email: .. [email-masked]

---

From: "Michael J. Corrigan" <[email-masked]>
Date: Tue, 30 Aug 1994 00:06:56 -0700

Try:

:0:				# Anything from thf
* ^From.*jeff.*

---

From: [email-masked] (Ming-Yen Hsu)
Date: Tue, 30 Aug 1994 09:49:20 GMT

>From: [email-masked] ("Michael J. Corrigan")
>Try:
>:0:                             # Anything from thf
>* ^From.*jeff.*

Thanks for your suggestion, but it didn't work :(

---

From: [email-masked] (Ming-Yen Hsu)
Date: Tue, 30 Aug 1994 14:56:54 GMT

Actually, I have found a mailing list talking about procmail, but no
answer for now. Sorry for asking about procmail here again!

This time I found something strange. I substitute the "jeff" with an-
other person and the procmail work! The only difference I can figure
out is that this man is at the same domain as I am, but jeff isn't.

We are running SunOS with NIS and a local domain name "dblab", I found
all mail sent from machines in our lab can be recognized by procmail.
The "Subject" condition can work is because I use our machine as smtp
server for people who want to send comments to me. I sent a mail with
subject contained "WWW comment" from other machine and the procmail
failed again!

Now I use "filter" and work fine, but there is no "You have new mail"
message when I login. It seems the elm has to be re-compiled with
some patch to do that.

I do believe that procmail is more powerful, but why can I just use it :~(
Does anyone has experience running procmail with NIS?

---

From: [email-masked] (Ming-Yen Hsu)
Date: Tue, 30 Aug 1994 17:10:52 GMT

I have solved the problem! Thanks for all the kindness replies. It is
really wonderful to enjoy Pine!