From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a4d5d0c32a69a3dc X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,a4d5d0c32a69a3dc X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-02-27 18:10:58 PST Xref: gmd.de comp.unix.osf.misc:1028 comp.unix.osf.osf1:2326 Path: gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!yeshua.marcam.com!zip.eecs.umich.edu!caen!batcomputer!munnari.oz.au!foxhound.dsto.gov.au!fang.dsto.gov.au!yoyo.aarnet.edu.au!news.adelaide.edu.au!andrewr From: andrewr@itd.adelaide.edu.au (Andrew Rutherford) Newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1 Subject: Re: DEC osf/1 mail Followup-To: comp.unix.osf.misc,comp.unix.osf.osf1 Date: 24 Feb 1994 07:24:24 GMT Organization: The University of Adelaide Message-ID: <2khkn8$nms@huon.itd.adelaide.edu.au> References: <2kec2n$po7@thebes.cc.waikato.ac.nz> NNTP-Posting-Host: iagu.itd.adelaide.edu X-Newsreader: TIN [version 1.2 PL2] 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