2017-10-16 73 views
0

最近我们已经将Unix操作系统迁移到新的风格。从那以后,我们无法发送邮件。我认为我们错过了一些配置,有人可以帮助解决这个问题。无法使用Mutt发送邮件

Command: echo "" | mutt -s "subject" -i /tmp/test.txt -a /tmp/test.txt [email protected] 

Error: Can't stat [email protected]: No such file or directory 
     [email protected]: unable to attach file. 

当前OS:甲骨文Linux服务器7.1版

笨蛋1.5.21(2010-09-15)

请让我知道会是什么问题。

回答

1

看看man page。它指出,-a需要一个参数列表,这些参数需要以--终止。

+0

谢谢。 '-a'是附件,但是我发现没有附件也无法发送邮件。 – abc

+0

您有工作[MTA](https://en.wikipedia.org/wiki/Message_transfer_agent)? – ceving

+0

对不起。我不确定我该如何检查。 – abc