Mailx
Rick Stevens
rstevens at vitalstream.com
Wed May 17 18:09:56 UTC 2006
On Wed, 2006-05-17 at 10:42 -0700, Han Tin wrote:
> Mailx -s "TEST" <e-mail address>
>
> -bash: mailx: command not found
mailx is NOT a program. If you were to do an "rpm -qil mailx" on your
system, you'd see something like:
[root at prophead ~]# rpm -qil mailx
Name : mailx Relocations: (not relocatable)
Version : 8.1.1 Vendor: Red Hat, Inc.
Release : 44 Build Date: Tue 08 Mar 2005
06:30:45 AM PST
Install Date: Thu 07 Jul 2005 05:21:39 PM PDT Build Host:
bugs.build.redhat.com
Group : Applications/Internet Source RPM:
mailx-8.1.1-44.src.rpm
Size : 78808 License: BSD
Signature : DSA/SHA1, Fri 20 May 2005 10:34:28 AM PDT, Key ID
b44269d04f2a6fd2Packager : Red Hat, Inc.
<http://bugzilla.redhat.com/bugzilla>
Summary : The /bin/mail program for sending quick email messages.
Description :
The mailx package installs the /bin/mail program, which is used to
send quick email messages without opening up a full-featured
mail user agent. Mailx is often used in shell scripts.
/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
If you notice, the only executable is "/bin/mail". So, to send mail
you'd use:
mail -s "Subject Line" address-to-send-mail-to
Then type in the mail you want to send, and end it with a "CTRL-D".
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- I was married by a judge. I should have asked for a jury. -
- -- Groucho Marx -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list