war*_*ren 3 email yum postfix mta centos-6
在我的旧服务器和我运行的大多数其他设备上,有一个提供的mail
程序。
在我的新 CentOS 6 服务器上,运行 postfix 作为 MTA,我无法通过以下方式发送命令行电子邮件mail
- 该工具不存在。
运行时yum whatprovides mail
调用,我什么也没得到有用回:
$ yum whatprovides mail
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: centos.kiewel-online.ch
* extras: centos.kiewel-online.ch
* updates: centos.kiewel-online.ch
base | 3.7 kB 00:00
base/primary_db | 4.2 MB 00:00
cr | 3.5 kB 00:00
cr/primary_db | 3.9 MB 00:00
extras | 3.0 kB 00:00
extras/primary_db | 1.9 kB 00:00
updates | 3.5 kB 00:00
updates/primary_db | 3.3 MB 00:00
Warning: 3.0.x versions of yum would erroneously match against filenames.
You can use "*/mail" and/or "*bin/mail" to get that behaviour
No Matches found
Run Code Online (Sandbox Code Playgroud)
在 CentOS 6 上应该如何发送用户到用户的邮件?
在 CentOS 中,此二进制文件由以下mailx
软件包提供:
yum install mailx
Run Code Online (Sandbox Code Playgroud)
仅供参考,正如您帖子底部的消息所示,您使用whatprovides
不正确。一个名为“mail”的文件的正确用法搜索镜像应该是:
yum whatprovides */mail
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
18082 次 |
最近记录: |