It works! *big smile*
I followed the corrective measures given
by you all ( Jeff, Thornton, and Aaron),
thanks tons!
1. I think it was permissions, you cannot
have write access on your home directory,
nor can you (stupid me) have execute
access on the .procmailrc file.
2. You do not have a .forward, and in
fact, having one messes everything up!
I'd like to especially thank Karl,
who gave me an easier way to test
stuff (following). It's hard to try
various combinations without a nice
repeatable test plan. Thanks Karl.
Best wishes,
Clark
------- Original Message --------
Subject: Re: RH 6.0 out of box?
Date: 8 Jul 1999 21:36:04 -0400
From: vogelke(_at_)c17mis(_dot_)region2(_dot_)wpafb(_dot_)af(_dot_)mil
Organization: Sumaria Systems Inc.
To: clark(_dot_)evans(_at_)manhattanproject(_dot_)com
On Thu, 8 Jul 1999 16:24:27 -0400 (EDT),
"Clark C. Evans" <clark(_dot_)evans(_at_)manhattanproject(_dot_)com> said:
C> Hello. I've spent several hours trying to get procmail to work out of
C> the box with no success, is there something special for sendmail that
C> has to be done by the sysadmin?
If you're really running smrsh, a symbolic link may not be enough; does
the link live in /etc/smrsh, and is it pointing to the real binary
elsewhere?
The best way to check is create a file called MAILLOG in your mail
directory, and add this to your .procmailrc file:
LOGFILE=$MAILDIR/MAILLOG
VERBOSE=on
Then create a small test message in (say) /tmp/msg which looks like
this:
cut here -------------------
From foo(_at_)bar Thu Jul 8 16:50:13 1999
Date: Thu, 8 Jul 1999 16:24:27 -0400 (EDT)
From: "Someone" <someuser(_at_)some(_dot_)host>
To: vogelke
Subject: RH 6.0 out of box?
Message-ID: <msgid-goes-here>
This is a test.
cut here -------------------
Get rid of the spaces in column 1, run this command, and see what ends
up in the MAILLOG file:
procmail < /tmp/msg
--
Karl Vogel
ASC/YCOA, Wright-Patterson AFB, OH 45433, USA
vogelke(_at_)c17mis(_dot_)region2(_dot_)wpafb(_dot_)af(_dot_)mil or
kvogel(_at_)sumaria(_dot_)com
Heavier-than-air flying machines are impossible.
--Lord Kelvin, president, Royal Society, 1895.