henda 发表于 2019-1-25 11:44:01

zabbix服务正常,但未收到sendmail邮件告警

  最近的zabbix服务器上的sendmail服务运行正常,但发送邮件失败。
  查看日志截取部分显示如下:
  May 20 16:58:30 localhost sendmail: t4K8wUMm031269: from=root, size=226, class=0, nrcpts=1, msgid=, relay=root@localhost
  May 20 16:58:30 localhost sendmail: t4K8wUaO031270: from=, size=482, class=0, nrcpts=1, msgid=, proto=ESMTP, daemon=MTA, relay=wonhot30.com
  May 20 16:58:30 localhost sendmail: t4K8wUMm031269: to=admin@test.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30226, relay= , dsn=2.0.0, stat=Sent (t4K8wUaO031270 Message accepted for delivery)
  后将
  /etc/mail/hosts_local_name
  /etc/hosts
  /etc/sysconfig/network
  三者中的hostname统一后,重启sendmail服务恢复正常
  




页: [1]
查看完整版本: zabbix服务正常,但未收到sendmail邮件告警