如何安装“邮件”

tee*_*ink 8 email redhat-enterprise-linux

我正在尝试在 Red Hat 4.1.2-48 机器上安装“邮件”。我试过:

yum install mail
Run Code Online (Sandbox Code Playgroud)

它打印出:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.anl.gov
 * epel: mirror.steadfast.net
 * extras: centos.mirrors.tds.net
 * ius: mirror.rackspace.com
 * updates: yum.singlehop.com
base                                                     | 1.1 kB     00:00     
epel                                                     | 3.7 kB     00:00     
extras                                                   | 2.1 kB     00:00     
ius                                                      | 2.2 kB     00:00     
updates                                                  | 1.9 kB     00:00     
utterramblings                                           |  951 B     00:00     
Setting up Install Process
No package mail available.
Nothing to do
Run Code Online (Sandbox Code Playgroud)

我该如何解决这个问题?

Vla*_*lad 16

也许你的意思是yum install mailx

您可以测试它使用 echo "Test" | mail yourname@domain.tld