On Tue Dec 03 1996, Dave Downin wrote:
I'm having problems piping messages to a perl script for processing. The
entery in my.procmailrc is:
VERBOSE=yes
PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/opt/local/bin:/homee/downin/nags:.
MAILDIR=$HOME/Mail
DEFAULT=/var/mail/downin
LOGFILE=$MAILDIR/log
:0:
* ^From:(_dot_)*downin(_at_)reboot(_dot_)dt(_dot_)navy(_dot_)mil
|perl /homee/downin/nags/filter.pl
^^
^^- misspelled?
(Sometimes the simplest mistakes can be so easily overlooked:)
I've checked and all permissions seem to be correct. The entry in the
logfile is as follows:
procmail: Match on
"^From:(_dot_)*downin(_at_)reboot(_dot_)dt(_dot_)navy(_dot_)mil"
procmail: Couldn't determine implicit lockfile from "perl"
There is no destination given for the filter, so procmail
should be told of an explicit lockfile name to use, eg:
:0: perl_filter.lock
(whatever)
procmail: Locking ".lock"
procmail: [21159] Tue Dec 3 21:38:03 1996
procmail: Executing "perl,/homee/downin/nags/filter.pl"
perl: perl: cannot open
Bad pathname? (see above)
I `/homee/' is correct, then perl should be in the path you gave it in
the rc file, and the filter should have correct pathnames embedded in
it too.
Cheers
Tony