home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / mail / elm / 4039 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.7 KB  |  51 lines

  1. Newsgroups: comp.mail.elm
  2. Path: sparky!uunet!caen!batcomputer!ghost.dsi.unimi.it!serini
  3. From: serini@ghost.dsi.unimi.it (Piero Serini)
  4. Subject: Elm bug (?) fixed
  5. Organization: Computer Science Dep. - Milan University
  6. Date: Wed, 13 Jan 1993 01:58:49 GMT
  7. Message-ID: <1993Jan13.015849.20355@ghost.dsi.unimi.it>
  8. Lines: 41
  9.  
  10.  
  11. Hi all.
  12.  
  13. In a previous post on comp.mail.elm I reported the
  14. strange behaviour of ELM 2.3 pl xx on my system,
  15. a PC 486/50 running 386BSD.
  16. When I wrote mail, it used to send an "empty" message,
  17. i.e. no subject and no text, headers only.
  18. After installing ELM 2.4 pl 13 the problem wasn't solved.
  19. I looked in the code, and found the following line:
  20.  
  21. mailmsg2.c - line 520 : 
  22.         sprintf(very_long_buffer,"( (%s %s %s ; %s %s) & ) < %s",
  23.                 mailer, mailerflags, expanded_to,
  24.                 remove_cmd, whole_msg_file, whole_msg_file);
  25.  
  26. which results in the following:
  27. "( (/usr/sbin/sendmail -oi -oem "piero" ;
  28.    /bin/rm -f /tmp//snd.xxx ) & ) < /tmp//snd.xxxx"
  29.  
  30. Now, the tmp file was deleted BEFORE sendmail could read it,
  31. hence the error. In fact, simply modifying line 520 as below
  32. makes things work:
  33.  
  34. mailmsg2.c - line 520 : 
  35.         sprintf(very_long_buffer,"( (%s %s %s < %s ; %s %s) & )",
  36.                 mailer, mailerflags, expanded_to, whole_msg_file,
  37.                 remove_cmd, whole_msg_file);
  38.  
  39. I'd appreciate to know if this happened to me only, or it's
  40. the default behaviour under 386BSD
  41.  
  42. Regards,
  43. Piero
  44.  
  45. ------------------------------------------ Piero Serini -----------------
  46. Piero Serini                  E-mail: piero@strider.st.dsi.unimi.it
  47. Via Giambologna, 1                or: serini@ghost.dsi.unimi.it   
  48. 20136 - Milano - ITALY            ** mail me your .signature **
  49. -------------------------------------------------------------------------
  50.  
  51.