[KLUG Members] mailx command

Jay Patel members@kalamazoolinux.org
Mon, 24 Feb 2003 08:56:09 -0800 (PST)


Thanks Bruce. Well, I am trying to write a perl script
which calls the "mail" command in red hat linux 7.3
but "mail" doesnt allow me to change the from address
of the mail... mailx allows me to change the from
address by typing the following message

   mailx -s subject -r from@wmich.edu
jaypatel@wmich.edu < actualMailfile

   but the mail command doesnt allow to change the
from address and doesnt have -r option. Can you
suggest me if there is some other way of doing it.

 Thanks in advance.
 
     - Jay.



--- Bruce Smith <bruce@armintl.com> wrote:
> > I am working on redhat 7.3 and i wanted to
> implement 
> > mailx command in redhat... is the mailx command
> > available for the redhat 7.3... i know it comes in
> > solaris and stuff like that... i wanted to use the
> > mailx command in redhat... i would like to know
> where
> > to obtain mailx package which contains the mailx
> > command... please let me know about if its
> available..
> > i tried in google it doesnt seem to help me much..
> 
> The "mail" command on Redhat 7.3 is equivalent to
> the "mailx"
> command on HP-UX (and probably Solaris & other
> commercial Unixes).
> 
> --------------------------------------------
> Bruce Smith                bruce@armintl.com
> System Administrator / Network Administrator
> Armstrong International, Inc.
> Three Rivers, Michigan  49093  USA
> http://www.armstrong-intl.com/
> --------------------------------------------
> 
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
>



__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/