由于邮件主机上的中继问题,无法从 Data ONTAP 接收 AutoSupport 电子邮件
适用于
- ONTAP 9
- SMTP
- AutoSupport
问题描述
NetApp 控制器无法将 AutoSupport 电子邮件转发到外部电子邮件地址,包括使用 SMTP 邮件主机服务器的 autosupport@netapp.com
类似错误消息:
message: 550 5.7.1 Unable to relayREADMSG:554 Mail from user@domain.com rejected for policy reasonsmessage: Access denied: 550
检查 AutoSupport 历史记录
>autosupport history show
Seq Attempt Percent Last
Node Num Destination Status Count Complete Update
------------ ----- ----------- -------------------- -------- -------- --------
node01 1680 smtp transmission-failed 15 - 5/28/2020 02:20:53
- 使用"
autosupport history show -seq-num ### -instance"命令查看特定序列和Last Error是Failed sending data to the peer。
Node> system autosupport history show -seq-num 1680 -instance
Node: node01
AutoSupport Sequence Number: 1680
Destination for This AutoSupport: smtp
Trigger Event: callhome.management.log
Time of Last Update: 5/28/2020 02:20:53
Status of Delivery: transmission-failed
Delivery Attempts: 15
AutoSupport Subject: MANAGEMENT_LOG
Delivery URI: mailto:autosupport@netapp.com
Last Error: Failed sending data to the peer
Time of Generation: 5/28/2020 00:01:51
AutoSupport Compressed Size: 131.4KB
Percent Complete: -
Rate of Upload: -
Time Remaining for Upload: 0s
AutoSupport Decompressed Size: 476.0KB
Total Collection Time (ms): 6257
可通过在 AutoSupport 子系统中查看 notifyd.log 中记录的错误、通过查看 /mroot/etc/log/mlog/notifyd.log 或查看组织的 Mailhost 日志来确定详细的错误消息。
如何查看 notifyd.log
>rdfile /etc/log/mlog/notifyd.log
示例输出:
(emittime: 8/6/2017 01:16:27) (message: RCPT TO:<autosupport@netapp.com>)
(emittime: 8/6/2017 01:16:27) (message: SMTP 0x8115ae810 state change from MAIL to RCPT)
(emittime: 8/6/2017 01:16:32) (message: 550 5.7.1 Unable to relay)
或
(emittime: 7/7/2017 05:10:31) (message: DO phase starts)
(emittime: 7/7/2017 05:10:31) (message: MAIL FROM:<user@domain.com>)
(emittime: 7/7/2017 05:10:31) (message: SMTP 0x812b31810 state change from STOP to MAIL)
(emittime: 7/7/2017 05:10:31) (message: 554 Mail from user@domain.com rejected for policy reasons.)
或
(emittime: 3/11/2015 10:11:58) (message: Access denied: 550)