On Tuesday 24 October 95, at 4 h 21, the keyboard of "Bill McClatchie"
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
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
+33 1 40 61 34 62