*BSD News Article 17014


Return to BSD News archive

Xref: sserve comp.mail.elm:9281 comp.os.386bsd.bugs:883
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!xlink.net!math.fu-berlin.de!cs.tu-berlin.de!gmdtub!bsd386!ats
From: ats@bsd386.first.gmd.de (Andreas Schulz)
Newsgroups: comp.mail.elm,comp.os.386bsd.bugs
Subject: Re: NetBSD/386bsd elm problem - empty message bodies
Message-ID: <3586@bigfoot.first.gmd.de>
Date: 11 Jun 93 09:29:45 GMT
References: <1utcu1INNfu9@hrd769.brooks.af.mil>
Sender: news@bigfoot.first.gmd.de
Followup-To: comp.mail.elm
Organization: GMD-FIRST
Lines: 36

In article <1utcu1INNfu9@hrd769.brooks.af.mil> burgess@hrd769.brooks.af.mil (Dave Burgess) writes:
>I have been working to install elm on my newly installed NetBSD/386bsd
>system and came across a problem with elm 2.4, pl20.  Whenever I would
>try to send a E-Mail message, everything would appear to work, except
>that the message would be delivered with no message body.  The signature
>block and headers were OK, but the manually input message would be gone.
>The same occurred on a reply.  I have found a solution which allows the
>messages to go through, although I am quite uncertain why the change
>makes any difference.
>
>In pl20, the sendmail line is constructed to look like this:
>( ( sendmail -options name ; rm tmpfile ) < tmpfile) & )
>
>I changed the sequence to look like this:
>( ( sendmail -options name <tmpfile ; rm tmpfile) & )

You will find that change in elm 2.4, pl22. That's the current
version. Someone with a linux system and bash as a shell found
that error also. 
You can also upgrade /bin/sh with the patches, that are posted under
comp.os.386bsd.bugs some time ago, that also helps.
If you want to use elm2.4 pl22, be aware, there is a new error
in it, in the file src/read_rc.c search for an open of the
system_wide rc file, this open must check for a NULL pointer
return and only execute the following two lines including
the fclose, if you got a non NULL from the open.
You will find a more complete diff-list on the system
"bsd386.first.gmd.de" under /usr2/src/ported/elm2.4.p22.386bsd.diff.
This system is an open system with a "guest" login with the password
"guest".

--
	  ATS ( ats@first.gmd.de or ats@cs.tu-berlin.de )

Andreas Schulz  GMD-FIRST     O-1199  Berlin-Adlershof  Rudower Chaussee 5
Gebaeude 13.7      Tel: +49-30-6392-1856	Germany/Europe