Linux 无法使用Mutt发送邮件

Linux 无法使用Mutt发送邮件,linux,rhel,mutt,Linux,Rhel,Mutt,最近,我们将Unix操作系统迁移到了新的版本。从那时起,我们就无法发送邮件。我认为我们缺少一些配置,是否有人可以帮助解决该问题 Command: echo "" | mutt -s "subject" -i /tmp/test.txt -a /tmp/test.txt xxx@gmail.com Error: Can't stat xxx@gmail.com: No such file or directory xxx@gmail.com: unable to attach fi

最近,我们将Unix操作系统迁移到了新的版本。从那时起,我们就无法发送邮件。我认为我们缺少一些配置,是否有人可以帮助解决该问题

Command: echo "" | mutt -s "subject" -i /tmp/test.txt -a /tmp/test.txt xxx@gmail.com

Error: Can't stat xxx@gmail.com: No such file or directory
       xxx@gmail.com: unable to attach file.
当前操作系统:Oracle Linux Server 7.1版

Mutt 1.5.21 2010-09-15


请让我知道会出现什么问题。

请查看。它声明,-a接受一系列参数,这些参数需要以“-”结尾。

谢谢-a'表示附件,但我观察到没有附件,我也无法发送邮件。对不起。我不知道该怎么查。我刚查过,我得到了这个。imsimta版本。如果你要我检查这个。然后我检查了一下,得到了下面的异常。如果“imsimta”不是输入错误,您可以运行以下命令来查找包含二进制文件的包:command not found imsimta如果您不知道您的MTA,请与您的系统管理员联系。谢谢Ceving,我使用了nail应用程序which mailx。工作得很好。谢谢你的帮助。
Command: echo "" | mutt -s "subject" -i /tmp/test.txt -a /tmp/test.txt xxx@gmail.com

Error: Can't stat xxx@gmail.com: No such file or directory
       xxx@gmail.com: unable to attach file.