zabbix邮件报警 465
#启动邮箱服务 systemctl start postfix.service #配置用户的邮箱发送邮件 vim /etc/mail.rc set from="xxx@xxx.com" set smtp=" smtps://smtp.exmail.qq.com:465" set smtp-auth-user="xxx@xxx.com" set smtp-auth-password="xxxxxx" set smtp-auth=login set ssl-verify=ignore set nss-config-dir=/etc/pki/nssdb #测试发送邮件 [root@VM_centos ~]# echo "messages" | mail -v -s "subject" yxxx@qq.com Resolving host smtp.exmail.qq.com . . . done. Connecting to 163.177.90.125:465 . . . connected. Error in certificate: Peer‘s certificate issuer is not recognized. Comparing DNS name: "pop.qq.com" Comparing DNS name: "ex.qq.com" Comparing DNS