メールホストのリレーの問題が原因でData ONTAPからAutoSupport Eメールが届かない
環境
- ONTAP 9
- SMTP
- AutoSupport
問題
NetAppコントローラは、SMTPメールホストサーバを使用してautosupport@ netapp.comを含む外部EメールアドレスにAutoSupport Eメールを中継できません
同様のエラーメッセージ:
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)