Redhat mail question

tyates_at_newsguy.com
Date: 11/23/04


Date: 23 Nov 2004 07:25:04 -0800

I'm running Red Hat Enterprise Linux ES release 3 (Taroon Update 3) and can't
figure out why mail doesn't obey tilde escapes as it does on AIX. Anyone know
why this doesn't work?

mail a_recipient@here.com << MAIL
~sTEST EMAIL
~r/tmp/out
This is my text
MAIL

~s according to the man page is suppose to be in position 1 and will set the
"subject" of the message but it appears in the text portion of the message and a
subject is never set.

~r is supposed to read the contents of /tmp/out into the text area of the
message.

I moved a script from AIX that worked like this but for some reason linux "mail"
doesn't work that way.

Thanks



Relevant Pages