From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5fcce30bb8c183f7,start X-Google-Attributes: gidfee84,public From: hardiman@alpha1.csd.uwm.edu (Paul V Hardiman) Subject: Help with problem piping mail Date: 1995/04/24 Message-ID: <3nghhk$5up@uwm.edu>#1/1 X-Deja-AN: 101475933 distribution: world organization: Information & Media Technologies, University of Wisconsin - Milwaukee newsgroups: comp.unix.osf.osf1 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: ) ----- 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