🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Glenn Chappell Mon, 23 Nov 1992 18:08
Easy (?) mailing list questions
#3240
Author: Glenn Chappell
Date: Mon, 23 Nov 1992 18:08
43 lines
2010 bytes
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  <><
Re: Easy (?) mailing list questions
#3246
Author: Craig_Everhart
Date: Mon, 23 Nov 1992 21:14
18 lines
1342 bytes
Here's my view on the mailing list problem.  It's self-consistent, but
there are other (inferior!) views.

(1) No problem; the envelope-to address (what you hand to sendmail on
the command line, but more specifically the address that in SMTP goes
over as the argument to RCPT TO:) doesn't have to have much of anything
to do with the header-to address.

(2) Change the envelope-from address to be what the notices of delivery
errors should be sent to.  (The envelope-from address is what is given
in SMTP on the MAIL FROM: line.)  Again, this address doesn't have to
have anything to do with what's in the From: line of the message header.
 This lets error bounces not be redistributed to the list.

Sendmail has support for both of these features, but I'm not a sendmail
expert, so I can't really tell you how it's done best.

		Craig
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads