使用错误/非法格式或缺少 URL 的 URL 设置 ASUP SMTP 身份验证失败
适用于
- ONTAP 9
- AutoSupport (ASUP)
- system node autosupport modify
问题描述
- 设置 AutoSupport SMTP 身份验证服务器失败,使用
using bad/illegal format or missing URL。- 模式 1 (指定用户名时的格式为
user1@mymailhost.example.com)cluster::>autosupport modify -node * -mail-host user1@mymailhost.example.com
Enter password for remote host "mymailhost.example.com":
Enter password for remote host "mymailhost.example.com" again:Warning: SMTP connectivity check failed for destination: user1:********@mymailhost.example.com. Error: URL using bad/illegal format or missing URL - 模式 2 (用户名本身包括"@"符号和域信息,要使用的格式为
user%40domain.com@mymailhost.example.com)
- 模式 1 (指定用户名时的格式为
ontap914::> system node autosupport modify -node ontap914-01 -state enable -mail-hosts user1%40domain.com@mymailhost.example.com
Enter password for remote host "mymailhost.example.com":
Enter password for remote host "mymailhost.example.com" again:
Warning: SMTP connectivity check failed for destination: user1%40domain.com:********@mymailhost.example.com. Error: URL using bad/illegal format or missing URL
Notifyd部分显示了相同的失败原因。
00000017.0005855f 0018ffc9 Thu Mar 07 2024 10:06:13 +08:00 [kern_notifyd:info:1942] 0x80e572500: 0: ERR: AutoSupport::StatusCheck: Connectivity check to SMTP Mail Host cht:********@mail.cii_encrypt/ZXGpqzuzse7c8bQP74472RLKHdilT2y5RU/aNLTOQMk=/cii_encrypt destination failed. Reason: URL using bad/illegal format or missing URL
00000017.00058560 0018ffc9 Thu Mar 07 2024 10:06:13 +08:00 [kern_notifyd:info:1942] 0x80e572500: 0: ERR: AutoSupport::StatusCheck: URL rejected: Malformed input to a URL function