[comp.mail.sendmail] Old style From_ -header

kim@kannel.lut.fi (Kimmo Suominen) (01/03/90)

I'm having trouble on my HP9000/825, HP-UX Version 3.10.  I installed a ported
MX/IDA Sendmail Version 5.61++/IDA-1.2.8.  The network mailer selected is TCP.

The trouble is I'm not getting a correct old style From_ -header in front of
the message.  The header is all ok, when sending and receiving a local msg,
but when the msg is received from the network, the line says "From root ..."
instead of the real author.

Any help would be appreciated.  Reply in this newsgroup or via e-mail.

Kim
--
 ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
( Kimmo Suominen        ! Lappeenranta U of Technology ! kim@kannel.lut.fi )
( "That's what I think" ! Computing Centre  *  Finland ! Funet: KUULA::KIM )
 ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

henk@hnetnl.hobbynet.nl (Henk Dijkstra) (01/03/90)

kim@kannel.lut.fi (Kimmo Suominen) writes:

>I'm having trouble on my HP9000/825, HP-UX Version 3.10.  I installed a ported
>MX/IDA Sendmail Version 5.61++/IDA-1.2.8.  The network mailer selected is TCP.

>The trouble is I'm not getting a correct old style From_ -header in front of
>the message.  The header is all ok, when sending and receiving a local msg,
>but when the msg is received from the network, the line says "From root ..."
>instead of the real author.

I'm having also trouble with sendmail, but my problem is I can't seem to
get the unix style From <author> line in my front of the RFC822 headers.
I have defined a macro: DlFrom $g  $d , but the problem is I don't
know what to do with it to get the From line in my local mail.
I tried inserting it in the Define header lines but all I get
are error messages or From: lines. (e.g. H?mflags?hname:htemplate)

>Any help would be appreciated.  Reply in this newsgroup or via e-mail.
Likewise...
>Kim
>--
> ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
>( Kimmo Suominen        ! Lappeenranta U of Technology ! kim@kannel.lut.fi )
>( "That's what I think" ! Computing Centre  *  Finland ! Funet: KUULA::KIM )
> ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

-- 
Henk Dijkstra				|| uucp: henk@hnetnl.hobbynet.nl
Stichting Hobbynet, Netherlands.	|| Tel: 31-3240-61683 (Voice)

kim@kannel.lut.fi (Kimmo Suominen) (01/03/90)

>>>>> On 21 Jan 90, kim@lut.fi (Kimmo Suominen) said:

Kim> I'm having trouble on my HP9000/825, HP-UX Version 3.10.  I installed a
Kim> ported MX/IDA Sendmail Version 5.61++/IDA-1.2.8.  The network mailer
Kim> selected is TCP.

Kim> The trouble is I'm not getting a correct old style From_ -header in front
Kim> of the message.  The header is all ok, when sending and receiving a local
Kim> msg, but when the msg is received from the network, the line says "From
Kim> root ..."  instead of the real author.

This problem is now solved with help from tml@hemuli.atk.vtt.fi (Tor
Lillqvist) and the solution was to use /bin/rmail as the local mailer.  The
manual claims mail and rmail almost identical - the only difference is that
rmail won't read mail.  But there seems to be other differences, too.

Anyway, don't try to use rmail on BSD machines as the local delivery agent.
That will cause a loop (I'm speaking of experience).

>>>>> On 3 Jan 90 02:43:36 GMT, henk@hnetnl.hobbynet.nl (Henk Dijkstra) said:

Henk> I'm having also trouble with sendmail, but my problem is I can't seem to
Henk> get the unix style From <author> line in my front of the RFC822 headers.
Henk> I have defined a macro: DlFrom $g  $d , but the problem is I don't
Henk> know what to do with it to get the From line in my local mail.
Henk> I tried inserting it in the Define header lines but all I get
Henk> are error messages or From: lines. (e.g. H?mflags?hname:htemplate)

Do you have the l flag in the mailer definition flags?  Tor gave me the
followin line to use in my sendmail.cf

	Mlocal,	P=/bin/rmail, F=DFMSlms,	A=rmail -d $u

You could try it, too.  If you're running BSD, then use

	Mlocal,	P=/bin/mail, F=DFMSlmns,	A=mail -d $u

Hope that'll help.

Kim
--
 ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
( Kimmo Suominen        ! Lappeenranta U of Technology ! kim@kannel.lut.fi )
( "That's what I think" ! Computing Centre  *  Finland ! Funet: KUULA::KIM )
 ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

henk@hnetnl.hobbynet.nl (Henk Dijkstra) (01/06/90)

kim@kannel.lut.fi (Kimmo Suominen) writes:

>>>>>> On 21 Jan 90, kim@lut.fi (Kimmo Suominen) said:

>>>>>> On 3 Jan 90 02:43:36 GMT, henk@hnetnl.hobbynet.nl (Henk Dijkstra) said:

>Henk> I'm having also trouble with sendmail, but my problem is I can't seem to
>Henk> get the unix style From <author> line in my front of the RFC822 headers.
>Henk> I have defined a macro: DlFrom $g  $d , but the problem is I don't
>Henk> know what to do with it to get the From line in my local mail.
>Henk> I tried inserting it in the Define header lines but all I get
>Henk> are error messages or From: lines. (e.g. H?mflags?hname:htemplate)

>Do you have the l flag in the mailer definition flags?  Tor gave me the
>followin line to use in my sendmail.cf

>	Mlocal,	P=/bin/rmail, F=DFMSlms,	A=rmail -d $u

>You could try it, too.  If you're running BSD, then use

>	Mlocal,	P=/bin/mail, F=DFMSlmns,	A=mail -d $u

>Hope that'll help.

It most certainly did help! 
I have played a little with the Mlocal line as you sugested and
everything looks fine now!
Here it is:
	Mlocal, P=/bin/lmail, F=lsFMDmS, S=10, R=20, A=lmail -s $u

This is for Interactive Unix/386 SYSV3.2 with sendmail 2.2, and smail/rmail,
lmail/mail some of the files are BSD like some are SYS V.
I tried /bin/mail but it entered a recursive loop, /bin/rmail did'nt seem
to do anything. 

Henk.
-- 
Henk Dijkstra				|| uucp: henk@hnetnl.hobbynet.nl
Stichting Hobbynet, Netherlands.	|| Tel: 31-3240-61683 (Voice)