Red Hat Topics - Redhat mail question

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Topics > November 2004 > Redhat mail question





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Redhat mail question
tyates@newsguy.com

2004-11-23, 5:45 pm

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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com