[comp.mail.elm] Bug with elmheaders parsing?

jeff@quark.WV.TEK.COM (Jeff Beadles) (10/11/89)

Munch this, Line eater!

It appears that elm is adding multiple header lines to messages.
I've got my elmheaders file set-up with the following:
---
Reply-To: jeff@quark.WV.TEK.COM
Organization:  Tektronix Inc, Wilsonville, Or.
X-fortune: `/usr/jeff/.sh/one-line`
---

Every once in a while, I want the "Reply-To:" field to be different.  Sooo, if
I go to the h)eaders menu, and change the Reply-To: line to be something other
than "jeff@quark.WV.TEK.COM", the header of the message looks like this:

Date: Tue, 10 Oct 89 13:25:01 PDT
Reply-To: someone_else@theirhost.domain
Reply-To: jeff@quark.WV.TEK.COM
Organization:  Tektronix Inc, Wilsonville, Or.
X-Fortune: Reality's the only obstacle to happiness.
X-Mailer: ELM [version 2.2 PL11]

Thus, I am getting two "Reply-To:" lines.

I would expect it to act something like this:

	Set_default_fields_from_elmheaders()

	allow_user_to_modify_header_information()

	send_message_to_mta()

Does this make sense?  An alternate would be to only set headers from
elmheaders that has not already been entered by the user.

	-Jeff
-- 
Jeff Beadles		Utek Engineering, Tektronix Inc.
jeff@quark.WV.TEK.COM

syd@DSI.COM (Syd Weinstein) (10/11/89)

jeff@quark.WV.TEK.COM (Jeff Beadles) writes:
:It appears that elm is adding multiple header lines to messages.
:I've got my elmheaders file set-up with the following:
:---
:Reply-To: jeff@quark.WV.TEK.COM
:Organization:  Tektronix Inc, Wilsonville, Or.
:X-fortune: `/usr/jeff/.sh/one-line`
:---
:Every once in a while, I want the "Reply-To:" field to be different.  Sooo, if
:I go to the h)eaders menu, and change the Reply-To: line to be something other
:than "jeff@quark.WV.TEK.COM", the header of the message looks like this:
Currently, the elmheaders file is extra headers that are just
concatentated into the message, they are not read and parsed to see
if they duplicate the existing headers.  Thus you will get two of them
if you duplicate an existing header.  There are no current plans to
change this.
-- 
=====================================================================
Sydney S. Weinstein, CDP, CCP                   Elm Coordinator
Datacomp Systems, Inc.				Voice: (215) 947-9900
syd@DSI.COM or {bpa,vu-vlsi}!dsinc!syd	        FAX:   (215) 938-0235