mailx发邮件报错Error initializing NSS: Unknown error -8015. . . . message not sent.处理

前提:在配置zabbix3.0监控发送邮件告警时zabbix界面显示邮件以送达,但是QQ邮箱却没有收到邮件,再shell命令行测试发邮件QQ邮箱又是可以收到的,在别人的提醒下用zabbix用户执行发送邮件的命令,结果报错,见下图:

于是在网上搜索,参考链接 http://www.bubuko.com/infodetail-2625638.html     https://blog.51cto.com/13531029/2049796

解决方法如下:

具体原因请看参考链接里的讲解

cp -a /root/.certs /tmp/

chmod -R 777 .certs

这个时候再执行即可正常发送邮件了,而且zabbix也能向QQ邮箱正常发送告警了。

原文地址:https://www.cnblogs.com/godfather007/p/10534016.html

时间: 2024-08-29 12:39:03

mailx发邮件报错Error initializing NSS: Unknown error -8015. . . . message not sent.处理的相关文章

php 发邮件报错unable to get local issuer certificate

发邮件的时候报错,邮件无法发送:SSL certificate: unable to get local issuer certificate 在Windows下,curl找不到CA证书去验证对方的证书! 方法一:(极度不推荐,不安全) curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); 方法二: It's easy to fix (php 5.3.7 or higher) - Download a list file with an up-to-d

python smtp发邮件报错“[Errno -2] Name or service not known”的解决

最近给ss-py-mu写了个检查用户是否到期,并在到期前的第2天邮件提醒的功能. 配置存储在ini文件中,通过configparser模块获取,但尝试发送邮件的时候发现报错[Errno -2] Name or service not known. 网上查了查说防火墙要开25和53端口,但是我本机调试是没启用防火墙的.而且这个53的DNS一般机器是不会禁用的,25我就有点不明白了,访问邮件服务器的25难道本机也要用25吗? 不过qq企业邮是用的465端口,应该没用到25吧. 最后debug发现我的

关于发邮件报错535 Error:authentication failed&553 authentication is required

553 authentication is required:这个错误的意思是你必须需要认证. 也就是说,你连接smtp服务器的时候必须使用密码来连接:下面代码红色那句 代码: 1 @Override 2 public void run() { 3 try { 4 log.info("邮件创建开始了...."); 5 //1.创建session 6 Session session = Session.getInstance(prop); 7 //2.开启session的debug模式,

【Unity3D】生成工程报错解决—UnityEditor.HostView:OnGUI() Error building Player: Couldn't build player because of unsupported data on target platform.

错误 错误1:An asset is marked as dont save, but is included in the build: unityEditor.HostView:OnGUI() 错误2:Building - Failed to write file: sharedassets0.assetsUnityEditor.HostView:OnGUI() 错误3:Error building Player: Couldn't build player because of unsup

webpack编译报错:Module not found: Error: Cannot resolve 'file' or 'directory' ./../../node_modules..

在同事的mac电脑上,可以正常编译,拿到我这边就出错了(⊙﹏⊙) 好像是webpack在window下的一个bug,需要让 webpack 和你的项目保持在一个盘符下,参考. 解决方法: 修改config.js配置文件,在所有目录前加上path.join,参考1,参考2. webpack编译报错:Module not found: Error: Cannot resolve 'file' or 'directory' ./../../node_modules..

angular2 ng build --prod 报错:Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory'

调试页面 ng serve 正常 ng build 也正常 ng build --prod 异常:Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' 开始以为是以前那样,引用错了路径或少引用了东西. 搜了好多资料,发现是 angular-cli 的版本有点低了(因为用了最新的material) 找到原因了,问题就很容易解决了 第一步: rm -rf node_modules/ 第二部: npm

11gR2数据库日志报错:Fatal NI connect error 12170、

11gR2数据库日志报错:Fatal NI connect error 12170.TNS-12535.TNS-00505 [问题点数:100分,结帖人MarkIII] 不显示删除回复             显示所有回复             显示星级回复             显示得分回复             只显示楼主           收藏 关注 MarkIII MarkIII 等级: 结帖率:98.94% 楼主发表于: 2011-05-13 10:33:10 Fatal NI

【Vue报错】Module build failed: Error: No parser and no file path given, couldn't infer a p arser.

在创建一个vue项目启动时报错,报错的内容为: error in ./src/App.vue Module build failed: Error: No parser and no file path given, couldn't infer a p arser. at UndefinedParserError.Wrapper (D:\dyyc\bookstore\[email protected] [email protected]\index.js:1948:14) at new Und

QRCode.js网址太长生成二维码报错:Code Length OverFlow Error

当网址的长度有2百多时,使用QRCode生成二维码报错: Code Length OverFlow Error 解决方法: 到 https://github.com/KeeeX/qrcodejs 下载 qrcode.js 或 qrcode.min.js 替换掉原来的,再刷新页面,问题搞定! 原文地址:http://blog.51cto.com/wenguonideshou/2152434