当前位置: 技术问答>linux和unix
sendmail发送邮件问题
来源: 互联网 发布时间:2016-08-25
本文导语: nagios发送报警邮件出现如下错误: warning: Contact 'nagiosadmin' service notification command '/usr/bin/printf "%b" "***** Nagios *****nnNotification Type: PROBLEMnnService: port80nHost: My Windows ServernAddress: 192.168.128.129nState: WARNINGnnDate/Time...
nagios发送报警邮件出现如下错误:
warning: Contact 'nagiosadmin' service notification command '/usr/bin/printf "%b" "***** Nagios *****nnNotification Type: PROBLEMnnService: port80nHost: My Windows ServernAddress: 192.168.128.129nState: WARNINGnnDate/Time: Thu May 6 16:53:01 CST 2010nnAdditional Info:nnNo 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 可以收到,为何?
warning: Contact 'nagiosadmin' service notification command '/usr/bin/printf "%b" "***** Nagios *****nnNotification Type: PROBLEMnnService: port80nHost: My Windows ServernAddress: 192.168.128.129nState: WARNINGnnDate/Time: Thu May 6 16:53:01 CST 2010nnAdditional Info:nnNo 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 可以收到,为何?
|
看你的错误,感觉好奇怪。。
这个错误你是从那里看到的,能抓个图吗?
这个错误你是从那里看到的,能抓个图吗?
|
白天 估计得到帖子列表的时候 别人先回复了 所以没看到你的帖子
在垃圾邮件 这属于收信端的设置 跟邮件发送已经没关系了
163邮箱里 在垃圾邮箱上面有个按钮 不是垃圾邮件