Return to BSD News archive
Received: by minnie.vk1xwt.ampr.org with NNTP id AA6536 ; Sun, 10 Jan 93 16:15:51 EST Newsgroups: comp.unix.bsd Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!caen!batcomputer!ghost.dsi.unimi.it!serini From: serini@ghost.dsi.unimi.it (Piero Serini) Subject: Elm bug (?) fixed Organization: Computer Science Dep. - Milan University Date: Wed, 13 Jan 1993 01:59:35 GMT Message-ID: <1993Jan13.015935.20437@ghost.dsi.unimi.it> Lines: 41 Hi all. In a previous post on comp.mail.elm I reported the strange behaviour of ELM 2.3 pl xx on my system, a PC 486/50 running 386BSD. When I wrote mail, it used to send an "empty" message, i.e. no subject and no text, headers only. After installing ELM 2.4 pl 13 the problem wasn't solved. I looked in the code, and found the following line: mailmsg2.c - line 520 : sprintf(very_long_buffer,"( (%s %s %s ; %s %s) & ) < %s", mailer, mailerflags, expanded_to, remove_cmd, whole_msg_file, whole_msg_file); which results in the following: "( (/usr/sbin/sendmail -oi -oem "piero" ; /bin/rm -f /tmp//snd.xxx ) & ) < /tmp//snd.xxxx" Now, the tmp file was deleted BEFORE sendmail could read it, hence the error. In fact, simply modifying line 520 as below makes things work: mailmsg2.c - line 520 : sprintf(very_long_buffer,"( (%s %s %s < %s ; %s %s) & )", mailer, mailerflags, expanded_to, whole_msg_file, remove_cmd, whole_msg_file); I'd appreciate to know if this happened to me only, or it's the default behaviour under 386BSD Regards, Piero ------------------------------------------ Piero Serini ----------------- Piero Serini E-mail: piero@strider.st.dsi.unimi.it Via Giambologna, 1 or: serini@ghost.dsi.unimi.it 20136 - Milano - ITALY ** mail me your .signature ** -------------------------------------------------------------------------