raanan@bc-cis.UUCP (08/29/87)
Again, I still have problems with rmail. It turns out that 4.2BSD has two `rmail`s: 1. does not do anything when I do `rmail x <file` but DOES deliver the mail when I do `rmail bc-cis!x < file` it works (bc-cis is the name of my local-host). In the latter case, rmail adds a "somewhere!" at the first "From" line. I guess that it always put "somewhere" in the "From" line unless there is a "From user.... remote from xxx" line in the stdin and then it will put "xxx" in the "From" line instead of "somewhere". Why is all this mass? 2. is actually /bin/mail that is linked to "rmail". This one will deliver mail when I do "rmail x < file" but it will put a "From bin" line in the beginning of the mail. But, the bigest problem is that it takes the body of the letter in stdin as the part of the "To:" line. Example: rmail x From: y To: x This is a test. <EOT> will generate a "To: x.To.is.a.test" line !!?? Raanan. -- ------------------------------------------------------------------------ Raanan Herrmann (bc-cis!raanan, raanan@bc-cis.UUCP raanan@bklyncis.BITNET)