home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.elm
- Path: sparky!uunet!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:58:49 GMT
- Message-ID: <1993Jan13.015849.20355@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 **
- -------------------------------------------------------------------------
-
-