home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / mail / misc / 3773 < prev    next >
Encoding:
Text File  |  1992-11-23  |  1.9 KB  |  55 lines

  1. Newsgroups: comp.mail.misc
  2. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!uwm.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!chappell
  3. From: chappell@symcom.math.uiuc.edu (Glenn Chappell)
  4. Subject: Easy (?) mailing list questions
  5. Message-ID: <By6L21.GFv@news.cso.uiuc.edu>
  6. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  7. Reply-To: chappell@math.uiuc.edu (Glenn Chappell)
  8. Organization: Math Dept., University of Illinois at Urbana/Champaign
  9. Date: Mon, 23 Nov 1992 18:08:24 GMT
  10. Lines: 43
  11.  
  12. I'm (re)writing some software to handle a mailing list, and I have a
  13. couple of simple questions:
  14.  
  15. (1) When a message is sent to the list address, it is echoed (after a
  16. bit of processing) to everyone on the list. I would like to keep the
  17. original "To:" and "Cc:" lines (currently I don't) on the echoed message.
  18.  
  19. I know I can do this by putting the "To:" and "Cc:" lines from the
  20. incoming message into the outgoing message, then handing it over to
  21. sendmail and giving the *real* recipient to sendmail on the command line.
  22.  
  23. My question: Is this a legitimate thing to do?
  24.  
  25. A message may get sent to the list address, mom & dad and the family
  26. dog. The echoed message will *look* like it's going to mom & dad and the
  27. family dog, but it is really going to a person on the list. Is there any
  28. chance that some site out there will take the "To:" line literally and
  29. send the message to the family dog?
  30.  
  31. (2) I don't want to echo bounced mail to the people on the list. So, I
  32. need to be able to distinguish bounced mail from regular mail. Is there
  33. an official way to do this? My current method (which has correctly
  34. recognized all bounced mail for the past year) is to grep the "From:"
  35. line of all incoming messages for one of the following 14 strings:
  36.  
  37. MAILER-DAEMON@
  38. MAILER-DAEMON>
  39. Mailer-Daemon@
  40. Mailer-Daemon>
  41. MAILER@
  42. MAILER>
  43. uucp@
  44. uucp>
  45. postmaster@
  46. postmaster>
  47. computer_services@
  48. computer_services>
  49. mmdf@
  50. mmdf>
  51.  
  52.                 Thanx,
  53.  
  54.                 Glenn Chappell  <><
  55.