* Help with problem piping mail
@ 1995-04-24 4:00 Paul V Hardiman
0 siblings, 0 replies; only message in thread
From: Paul V Hardiman @ 1995-04-24 4:00 UTC (permalink / raw)
I'm having a problem with DEC OSF/1 V3.0 Worksystem Software (Rev. 347)
on a DEC Alpha machine. The problem occurs when I set up a .forward
file to pipe incoming mail to a perl script e.g.
"|/usr/local/etc/gopher/gmail"
This always results in:
----- The following addresses had delivery problems -----
"| /usr/work/gopherlib/.sup/gmail/rungmail" (unrecoverable error)
(expanded from: <gmail@alpha1.csd.uwm.edu>)
----- Transcript of session follows -----
sh: 32481 Memory fault - core dumped
554 "| /usr/work/gopherlib/.sup/gmail/rungmail"... unknown mailer
error 139
The purpose of the perl script is to insert the mailed message into
a gopher hierarchy. The error occurs using both perl 4.037 and
perl 5.000. The same perl scripts work OK on an RS/6000 using
perl 4.036 and perl 5.001+.
Thinking it was a perl problem, I wrote a short C program to read
stdin and write it to a temporary file. This program causes the
same error when the stdin is piped from mail. So the problem
doesn't necessarily involve perl. As a further test, I ran both
the perl script and the C program manually, piping a test file
into them; e.g.
cat test.file | /usr/local/etc/gopher/gmail
The programs work perfectly OK run in this manner.
It appears to me that there is a problem with OSF1 when piping
incoming mail to any kind of program. Has anyone else run into
this problem? If so, is there a fix or circumvention?
Thanks in advance for any insight you can contribute.
--
Paul Hardiman
University of Wisconsin - Milwaukee
Information & Media Technology
hardiman@csd.uwm.edu
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-04-24 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-04-24 4:00 Help with problem piping mail Paul V Hardiman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox