faxspool from sendmail
Greg Shepherd (gshepher@sps.lane.edu)
Wed, 24 Sep 1997 08:27:54 -0700
I wrote a quick perl script that takes a message piped from sendmail and
calls faxspool. When I run the script from the command line, all is well.
When piped from sendmail, my script runs fine, but it fails to call
faxspool successfully:
----- Transcript of session follows -----
/dev/fd/3: logname: not found
/dev/fd/3: id: not found
/dev/fd/3: expr: not found
cannot determine user id. fix program.
I see where the code generating this error message is in faxspool, but as
to why it fails, I fail to understand.
Thanks for any help sent this way.
Greg
===================================================================
Greg Shepherd
Springfield Public Schools
Springfield, OR
Systems Engineer
(541) 726-3268
gshepher@sps.lane.edu
"...It is somewhat of a rude awakening for many of these parents to
find that America is facing a most serious situation regarding its
popular music. Welfare workers tell us that never in the history of
our land have there been such immoral conditions among our
young people, and in the surveys made by many organizations
regarding these conditions, the blame is laid on jazz music and its
evil influence on the young people of today... That it has a
demoralizing effect upon the human brain has been demonstrated
by many scientists."
- Ladies Home Journal, 1921
===================================================================
.