procmail
[Top] [All Lists]

Re: Pipe to perl script?

1996-12-03 21:57:47
    > 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
    > 
    > 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"
    > procmail: Locking ".lock"
    > procmail: [21159] Tue Dec  3 21:38:03 1996
    > procmail: Executing "perl,/homee/downin/nags/filter.pl"
--> > perl: perl: cannot open

What do you think this error means?  There aren't many possibilities.
I'll bet that the directory containing your perl binary isn't named
in the PATH list.

Adjust $PATH so that the directory containing your Perl binary is in
the path, or, place an absolute path to perl on the command line:

    |/usr/local/bin/perl /homee/downin/nags/filter.pl

___________________________________________________________
Alan Stebbens <aks(_at_)sgi(_dot_)com>      http://reality.sgi.com/aks

<Prev in Thread] Current Thread [Next in Thread>