[comp.unix.sysv386] Need help with Mail

terry@tcville.HAC.COM (Robert Terry) (09/25/90)

Anyone out there can help me? I'm having strange problem with this mail
problem. It's a problem ever since last Febuary, and I took over the this
machine just last month and am determined to get this fixed. It's not the
problem sending or receiving the mail messages...it's the problem reading 
the mail messages on MWMS machine. Whenever typing the command, 'mail',
to read mail messages and the error message said,  

	"mwms% mail: mailfile does not begin with a 'From' line"

Below is a sample taken from MWMS and MOS machines. 

====================== On MWMS machine, /usr/mail/terry ==================
Received: by mwms (5.51/E52-MATERIEL)
	id AA00423; Thu, 20 Sep 90 13:08:16 PDT
Date:  Thu, 20 Sep 90 13:08:16 PDT
From: terry (Robert Terry)
Message-Id:  <9009202008.AA00423@mwms>
Company:  Hughes Aircraft; El Segundo, CA 90245
Apparently-To: terry

This is a test from mwms to mwms.

Received: by mwms (5.51/E52-MATERIEL)
	id AA00428; Thu, 20 Sep 90 13:08:55 PDT
Message-Id:  <9009202008.AA00428@mwms>
Company:  Hughes Aircraft; El Segundo, CA 90245
Received: by mos.hac.com; Thu Sep 20 13:11:03 1990
From: terry@mos (robert terry)
To: terry@mwms
Date: Thu Sep 20 13:10:53 1990

This is a test from mos to mwms.


===================== On MOS machine, /usr/mail/terry ====================
From terry Thu Sep 20 13:12 PST 1990
This is a test from mos to mos.

From terry@mwms Thu Sep 20 13:15 PST 1990
>From terry@mwms Thu Sep 20 13:15:01 1990
Received: by mos.hac.com; Thu Sep 20 13:15:01 1990
Received: by mwms (5.51/E52-MATERIEL)
	id AA00445; Thu, 20 Sep 90 13:12:50 PDT
Date:  Thu, 20 Sep 90 13:12:50 PDT
From: terry@mwms (Robert Terry)
Message-Id:  <9009202012.AA00445@mwms>
Company:  Hughes Aircraft; El Segundo, CA 90245
Apparently-To: terry@mos

This is a test from mwms to mos.



Unfortunately, I know little how to configure the sendmail configure file.
I would really appreciated showing me how to get this fixed.

Here's the legend on MWMS:

AST Premium 486/25 running on Interactive OS 2.0.2.
Don't know the sendmail's version.

Either reply here or email directly to my dependable mail station:

	email: terry@tcville.hac.com

				Really appreciated,

				Robert Terry

Hughes Aircraft Company         ======= Please Use This Email Address ======
Software Applications Section   >>>>>>>>>  terry@tcville.hac.com   <<<<<<<<<
PO Box 902, E1/D128             ======= Or You Will Get Bounced Mail ======= 
El Segundo, CA 90245 

marc@dumbcat.sf.ca.us (Marco S Hyman) (09/30/90)

In article <10756@hacgate.UUCP> terry@tcville.UUCP (Robert Terry) writes:
    Anyone out there can help me? I'm having strange problem with this mail
    problem...

    	"mwms% mail: mailfile does not begin with a 'From' line"

Iff you are using sendmail on both machines compare the mailer entries in
both sendmail.cf files (usually /usr/lib/sendmail.cf).  The mailes entries
start with an upper case M.  They should look something like:

Mlocal, P=/bin/lmail, F=lsDFMhumS, S=10, R=20, A=lmail -s $u
Mprog,	P=/bin/sh,   F=lsDFMe,   S=10, R=20, A=sh -c $u
Muux,	P=/bin/smail, F=sDFMhum, S=14, R=24, M=100000,
	A=smail -vH$j $h!$u
Mrelay,	P=/usr/bin/uux, F=CsDFMhum, S=14, R=24, M=100000,
	A=uux - -r $h!rmail ($u)

The Mlocal mailer is used for local delivery.  My guess is that the Mlocal
entry on the machine that is working is different from the machine that is
not working.  [The difference is probably the addition of a U to to the
flags (F=...) specification on the working machine].

Good luck,

// marc
-- 
// marc@dumbcat.sf.ca.us
// {ames,decwrl,sun}!pacbell!dumbcat!marc