[ale] mailx

Mike Murphy mike at tyderia.net
Fri Jan 28 17:51:06 EST 2005


on a fedora core 1 machine (which is similar to RHES3):
[mmurphy at xwing mmurphy]$ rpm -qa |grep mailx
mailx-8.1.1-31.1

[mmurphy at xwing mmurphy]$ rpm -q --list mailx-8.1.1-31.1
/bin/mail
/etc/mail.rc
/usr/bin/Mail
/usr/lib/mail.help
/usr/lib/mail.tildehelp
/usr/share/man/man1/Mail.1.gz
/usr/share/man/man1/mail.1.gz

So it seems that mailx == /bin/mail. Looking at the usage statement of 
/bin/mail on that machine and comparing it to that of mailx on a solaris 
machine, it seems that that mail has the same major flags that mailx 
does (like -s subject, etc).

So, I suspect you can use /bin/mail as a mailx substitute safely. You 
might want to symlink /bin/mailx to /bin/mail for something...

Mike



Armsby John-G16665 wrote:
> We have RedHat Enterprise update 3 running.  We have a group who want to 
> use mailx with korn shell scripts. 
>  
> I tried to install the mailx rpm from the install CD but rpm says that 
> mailx is already installed.  I can not "locate" "mailx" anywhere.  I 
> have used mailx from HPUX and so I know to expect the test based mail 
> tool to come up when I type "mailx".  Is mailx on Linux aliased to somethng?
>  
> John
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale

-- 

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Mike Murphy
781 Inman Mews Drive Atlanta GA 30307
Landline: 404-653-1070
Mobile: 404-545-6234
Email: mike at tyderia.net
AIM: mmichael453
ICBM: 33:45:14.0584N  84:21:43.038W
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+



More information about the Ale mailing list