From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,a4d5d0c32a69a3dc X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,a4d5d0c32a69a3dc X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-02-23 02:06:54 PST Xref: gmd.de comp.unix.osf.misc:1029 comp.unix.osf.osf1:2357 Path: gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!pipex!warwick!ral!elric.cc.rl.ac.uk!cds From: cds@elric.cc.rl.ac.uk (Chris Seelig) Newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1 Subject: Re: DEC osf/1 mail Date: 23 Feb 1994 10:06:54 GMT Organization: Rutherford Appleton Laboratories Distribution: world Message-ID: <2kf9ru$1d58@unixfe.rl.ac.uk> References: <2kec2n$po7@thebes.cc.waikato.ac.nz> Reply-To: c.d.seelig@rl.ac.uk NNTP-Posting-Host: elric.cc.rl.ac.uk X-Newsreader: mxrn 6.18-6 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