[comp.mail.elm] Elm 2.2 doesn't like my mail headers

jeff@quark.WV.TEK.COM (Jeff Beadles;685-2568;61-215;692-7925 692-9745;quark) (04/21/89)

Greetings,
	I just compiled the latest version of elm here.  It's for a BSD 4.2
	based system with sendmail/SMTP as the primary transport agent.
	Elm doesn't like the headers of the mail in /usr/spool/mail/username.

	I've browsed 'TFM' but haven't seen anything regarding this. 

	The tests that are supplied work without error.  Here's a copy of a
	typical mail header:  (I added the >'s)


>Received: by quark.WV.TEK.COM (5.17/6.24)
>	id AA01215; Fri, 14 Apr 89 08:33:11 PDT
>Received: by orca.WV.TEK.COM (5.51/7.0)
>	id AA21737; Fri, 14 Apr 89 08:25:10 PDT
>Received: by tektronix.TEK.COM (5.51/7.0)
>	id AA23714; Fri, 14 Apr 89 08:24:29 PDT
>Message-Id: <8904141507.AA23714@tektronix.TEK.COM>
>Date:     Fri, 14 Apr 89 7:00:01 PDT
>From: <user@host.northrop.com>
>To: jeff@quark.WV.TEK.com
>Subject: goes here


Any ideas?
	-Jeff

--
Jeff Beadles
jeff@orca.WV.TEK.COM

rob@PacBell.COM (Rob Bernardo) (04/21/89)

In article <3184@orca.WV.TEK.COM> jeff@quark.WV.TEK.COM (Jeff Beadles) writes:
+Greetings,
+	I just compiled the latest version of elm here.  It's for a BSD 4.2
+	based system with sendmail/SMTP as the primary transport agent.
+	Elm doesn't like the headers of the mail in /usr/spool/mail/username.

Can you tell us what you mean by "doesn't like the headers"? What does
elm do/say that it shouldn't or not do/say that it should?

If the message truly begins this way in your mailbox:
+>Received: by quark.WV.TEK.COM (5.17/6.24)
+>	id AA01215; Fri, 14 Apr 89 08:33:11 PDT
+>Received: by orca.WV.TEK.COM (5.51/7.0)
+>	id AA21737; Fri, 14 Apr 89 08:25:10 PDT
+>Received: by tektronix.TEK.COM (5.51/7.0)
+>	id AA23714; Fri, 14 Apr 89 08:24:29 PDT
+>Message-Id: <8904141507.AA23714@tektronix.TEK.COM>
+>Date:     Fri, 14 Apr 89 7:00:01 PDT
+>From: <user@host.northrop.com>
+>To: jeff@quark.WV.TEK.com
+>Subject: goes here

the problem is that there is no "From " line. The very first line of a message
must be of the form "From [address] [date]". The mail transport agent is
supposed to take care of that. Without that line as the first line in the
mailbox, elm will report that it is corrupted. Without that line as the
first line of each message, elm will not recognize it as the beginning
of a separate message.
-- 
Rob Bernardo, Pacific Bell UNIX/C Reusable Code Library
Email:     ...![backbone]!pacbell!pbhyf!rob   OR  rob@pbhyf.PacBell.COM
Office:    (415) 823-2417  Room 4E850O San Ramon Valley Administrative Center
Residence: (415) 827-4301  R Bar JB, Concord, California

syd@dsinc.DSI.COM (Syd Weinstein) (04/22/89)

In article <3184@orca.WV.TEK.COM> jeff@quark.WV.TEK.COM (Jeff Beadles) writes:
:	Elm doesn't like the headers of the mail in /usr/spool/mail/username.
:>Received: by quark.WV.TEK.COM (5.17/6.24)
:>	id AA01215; Fri, 14 Apr 89 08:33:11 PDT
:>Received: by orca.WV.TEK.COM (5.51/7.0)
:>	id AA21737; Fri, 14 Apr 89 08:25:10 PDT
:>Received: by tektronix.TEK.COM (5.51/7.0)
:>	id AA23714; Fri, 14 Apr 89 08:24:29 PDT
:>Message-Id: <8904141507.AA23714@tektronix.TEK.COM>
:>Date:     Fri, 14 Apr 89 7:00:01 PDT
:>From: <user@host.northrop.com>
:>To: jeff@quark.WV.TEK.com
:>Subject: goes here
:
:
:Any ideas?
:	-Jeff
Yes,
  RFC822 calls for the first line to start with From.
  You are missing the top line of the headers.  In sendmail,
  I would say that the
DlFrom $g  $d
  line is missing.

-- 
=====================================================================
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

jeff@quark.WV.TEK.COM (Jeff Beadles;685-2568;61-215;692-7925 692-9745;quark) (04/28/89)

In article <113@dsinc.DSI.COM> syd@dsinc.UUCP (Syd Weinstein) writes:
>In article <3184@orca.WV.TEK.COM> I wrote:
>:
>:Any ideas?
>Yes,
>  RFC822 calls for the first line to start with From.
>  You are missing the top line of the headers.  In sendmail,
>  I would say that the
>DlFrom $g  $d
>  line is missing.

Well, the macro $l is defined as above.  The mailer flags for SMTP (I don't
use uucp mail...) are:

Msmtp,  P=[IPC], F=umDFMueCX, S=17, R=20, A=IPC $h

I was looking thru my copy of RFC822, and didn't see where it says that
'from_' was required.  On pg. 18 (Of August 13, 1982) it says:

     authentic   =   "From"       ":"   mailbox  ; Single author

Does this mean that there should be the field 'From' a ':' and an address?
(IE: 'From: jeff@quark.wv.tek.com'?)

	Please send mail if you wish and I'll follow-up to the net.
	(Expecially for the RFC question.)

	-Jeff
--
Jeff Beadles
jeff@quark.WV.TEK.COM