2017-10-16 136 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