On Tuesday 24 October 95, at 4 h 21, the keyboard of "Bill McClatchie"
<wmcclatc(_at_)nyx10(_dot_)cs(_dot_)du(_dot_)edu> wrote:
My scripts work fine when run manually, but I get buggy results when
procmail calls them.
This is the pipe I have been trying to use - with strange results.
| perl $HOME/bin/maintain
You didn't give many details (what means "buggy results"? The script runs
or not?)
First things to do:
1) Check the Perl script with 'perl -cw'. Yes, I know, it works from the
shell, but it's better to be sure.
2) Check the PATH when procmail executes. May be perl is not in it.
Change the PATH or use the complete path name.
3) Put 'VERBOSE=on' and 'LOGFILE=/somewhere/procmail.logfile' at the
beginning of the procmailrc to see what happens.
I use Perl from procmail without trouble.
Stephane Bortzmeyer Institut Pasteur
bortzmeyer(_at_)pasteur(_dot_)fr Service d'Informatique Scientifique
Paris, France
+33 1 40 61 34 62
http://web.cnam.fr/personnes/bortzmeyer/home_page.dom