home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.misc
- 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
- From: chappell@symcom.math.uiuc.edu (Glenn Chappell)
- Subject: Easy (?) mailing list questions
- Message-ID: <By6L21.GFv@news.cso.uiuc.edu>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Reply-To: chappell@math.uiuc.edu (Glenn Chappell)
- Organization: Math Dept., University of Illinois at Urbana/Champaign
- Date: Mon, 23 Nov 1992 18:08:24 GMT
- Lines: 43
-
- I'm (re)writing some software to handle a mailing list, and I have a
- couple of simple questions:
-
- (1) When a message is sent to the list address, it is echoed (after a
- bit of processing) to everyone on the list. I would like to keep the
- original "To:" and "Cc:" lines (currently I don't) on the echoed message.
-
- I know I can do this by putting the "To:" and "Cc:" lines from the
- incoming message into the outgoing message, then handing it over to
- sendmail and giving the *real* recipient to sendmail on the command line.
-
- My question: Is this a legitimate thing to do?
-
- A message may get sent to the list address, mom & dad and the family
- dog. The echoed message will *look* like it's going to mom & dad and the
- family dog, but it is really going to a person on the list. Is there any
- chance that some site out there will take the "To:" line literally and
- send the message to the family dog?
-
- (2) I don't want to echo bounced mail to the people on the list. So, I
- need to be able to distinguish bounced mail from regular mail. Is there
- an official way to do this? My current method (which has correctly
- recognized all bounced mail for the past year) is to grep the "From:"
- line of all incoming messages for one of the following 14 strings:
-
- MAILER-DAEMON@
- MAILER-DAEMON>
- Mailer-Daemon@
- Mailer-Daemon>
- MAILER@
- MAILER>
- uucp@
- uucp>
- postmaster@
- postmaster>
- computer_services@
- computer_services>
- mmdf@
- mmdf>
-
- Thanx,
-
- Glenn Chappell <><
-