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

  1. Newsgroups: comp.mail.mh
  2. Path: sparky!uunet!europa.asd.contel.com!howland.reston.ans.net!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxc.cso.uiuc.edu!paul
  3. From: paul@uxc.cso.uiuc.edu (Paul Pomes - UofIllinois CSO)
  4. Subject: Re: MH 6.8 problem of sending mail with bcc field
  5. References: <KAWAMOTO.93Jan7144952@daisy.ics.osaka-u.ac.jp>
  6. Message-ID: <C0HoIA.4B0@news.cso.uiuc.edu>
  7. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  8. Reply-To: Paul-Pomes@uiuc.edu
  9. Organization: University of Illinois at Urbana
  10. Date: Thu, 7 Jan 1993 15:03:44 GMT
  11. Lines: 34
  12.  
  13. kawamoto@ics.osaka-u.ac.jp (KAWAMOTO Yosihisa) writes:
  14.  
  15. >Hello everyone,
  16. >
  17. >I have a problem in MH 6.8.  I cannot send mail with bcc field.
  18. >'send' complains in mail with bcc field like:
  19. >kawamoto$ send
  20. >Use "/home/rose/kawamoto/mail/drafts/2"? y
  21. >post: problem initializing server; [RPLY] 503 Sender already specified
  22. >send: message not delivered to anyone
  23. >kawamoto$
  24.  
  25. This is a problem with sendmail due to the lack of resetting when ONEX has
  26. been given.  Vanilla sendmail forks and runs in the child after receiving
  27. the MAIL command.  A RSET causes the child to exit and with it all the
  28. old state information fades away.  The ONEX command prevents the fork()
  29. and so RSET becomes a no-op.  The fix is to add some code to srvrsmtp.c
  30. to handle RSET after ONEX.  Here's a rough code fragment:
  31.  
  32.           case CMDRSET:        /* rset -- reset state */
  33.             message("250", "Reset state");
  34.             if (OneXact)
  35.             {
  36.                 hasmail = FALSE;
  37.                 dropenvelope(CurEnv);
  38.                 CurEnv = newenvelope(CurEnv);
  39.                 CurEnv->e_flags = BlankEnvelope.e_flags;
  40.             }
  41.             if (InChild)
  42.                 finis();
  43.             break;
  44.  
  45. -- 
  46. Freedom is a family value.  Ski Colorado.    --Paul Pomes (1992)
  47.