From: cds@elric.cc.rl.ac.uk (Chris Seelig)
Subject: Re: DEC osf/1 mail
Date: 23 Feb 1994 10:06:54 GMT [thread overview]
Message-ID: <2kf9ru$1d58@unixfe.rl.ac.uk> (raw)
In-Reply-To: 2kec2n$po7@thebes.cc.waikato.ac.nz
In article <2kec2n$po7@thebes.cc.waikato.ac.nz>,
hamish@thebes.cc.waikato.ac.nz (Hamish Marson) writes:
|>Umm.. Has anyone noticed anything odd with osf/1's mail? Like re-writing
|>the first word of each line to be uppercase? Or am I just (un)lucky? Is
|>this an undocumented feature?
|>
|>4 instance... I mail myself the password file with
|>
|>mail user@wherever < /etc/passwd
|>
|>and the file comes out like this
|>
|>Root: Hjdsflkjmn:0...
|>^^^^ ^^
|>
|>Notice the capitalisation, and the space inserted before the password...
|>
|>Is this just me? I'm sure it doesn't happen on anything else we've got.
|>
|>(PS The recipient m/c was a VAX running VMS and using DECWmail. Also a
|>bounced message turned up in my osf/1 mailbox with the smae problem.
|>Destinatuion user doesn't seem to change it...)
|>
Looks like something is taking the lines of your passwd file
to be part of the headers for the mail message.
The headers should be separated from the message by a blank line.
Having just tried it, it seems that mail doesnt put that blank line
in when you redirect its input.
In fact (having just played a bit more!) mail does put the blank in
but it seems to look at the lines first, and if it thinks they are
a header line then it puts then in before the blank, it stops
looking at lines once it has read a blank line. Since passwd file lines
resemble a header line it is mistaking each entry in the file as part
of the header.
mailx (Mail) seems to be clear of this, that is it always puts the
blank line in to separate the headers and message.
Maybe it is like that so a program using mail can add header lines
to mail it is sending out (or something like that). But it seems to
need a better way of telling what is meant to be a header line.
Chris
next prev parent reply other threads:[~1994-02-23 10:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-02-23 1:38 DEC osf/1 mail Hamish Marson
1994-02-23 9:31 ` Magnus Y Alvestad
1994-02-23 10:06 ` Chris Seelig [this message]
1994-02-24 2:56 ` Anthony Baxter
1994-02-24 7:24 ` Andrew Rutherford
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox