From: andrewr@itd.adelaide.edu.au (Andrew Rutherford)
Subject: Re: DEC osf/1 mail
Date: 24 Feb 1994 07:24:24 GMT [thread overview]
Message-ID: <2khkn8$nms@huon.itd.adelaide.edu.au> (raw)
In-Reply-To: 2kec2n$po7@thebes.cc.waikato.ac.nz
Hamish Marson (hamish@thebes.cc.waikato.ac.nz) wrote:
: 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...
I think you'll find it wouldn't capitalise it if you did this:
(echo "" ; cat /etc/passwd) | mail user@wherever
Why? Well, until it sees either a blank line, or something to
convince it it's not in header land, it assumes it's all headers. The
password file is full of "Valid-ish-type-header-name:lots-of-data", so
mail thinks the entire file is a ton of headers and acts accordingly.
You get a similar fun effect (I first noticed this from our
News system on Ultrix) from cron jobs where all output is of the form
"commandname: message string", where most of the output ends up in
the headers. :-)
Hope this helps,
Andrew.
/*
* andrewr@iagu.itd.adelaide.edu Andrew Rutherford
* +61 8 303 5669 Network Specialist, ITD
* Room 1060, Adelaide Uni University of Adelaide, SA, 5005
*/
T
prev parent reply other threads:[~1994-02-24 7:24 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
1994-02-24 2:56 ` Anthony Baxter
1994-02-24 7:24 ` Andrew Rutherford [this message]
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