日期:2014-05-16  浏览次数:20732 次

sendmail发送邮件问题
nagios发送报警邮件出现如下错误:
warning: Contact 'nagiosadmin' service notification command '/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: PROBLEM\n\nService: port80\nHost: My Windows Server\nAddress: 192.168.128.129\nState: WARNING\n\nDate/Time: Thu May 6 16:53:01 CST 2010\n\nAdditional Info:\n\nNo data was received from host!" | /bin/mail -s "** PROBLEM Service Alert: My Windows Server/port80 is WARNING **" carcarcar123@126.com' timed out after 30 seconds

然后直接在命令下输入:echo "this is test letter " |mail -s "test" carcarcar123@126.com 可以收到,为何?

------解决方案--------------------
看你的错误,感觉好奇怪。。
这个错误你是从那里看到的,能抓个图吗?
------解决方案--------------------
探讨

哇 熊猫老兄总算来解答 了,现在可以发送了,但都是在垃圾邮件里 怎么才能正常收信呢