Under SunOS and Ultrix, if I open a pipe a la :
there will be a valid To: line in that mail and the required empty line that
separates header from body is there.
If I do the same under NeXTOS 2.1 something strange happens. Any header-like
information that directly follows is put in the header and no "To:" line is
generated. Instead, the mail system at some point inserts a "Apparently-To:"
line just before the first line that does not look like a header line.
`which mail' I get /usr/ucb/Mail on NeXT and /usr/ucb/mail on the Sun. But the
interface that I see on the NeXT is that of /bin/mail.
I have several questions
1. Is /bin/mail always present on a unix system (SysV also)?
2. Does it have a defined interface and will it always accept receiving
addresses on remote systems?
3. Any idea how it is that when I run "mail" in pipe on the NeXT I get
/bin/mail even if /usr/ucb/mail is first in my PATH? The program
runs setuid root, btw, but su-ing to root gives the same results.
Thanks,
--
(+31) 2154 84415/(+31) 35 833539 || Support the League for Programming Freedom!
"If you don't know where you are going, any road will take you there."
Lewis Carroll, "Alice in Wonderland".