Set ASUP SMTP authentication failure with URL using bad/illegal format or missing url
Applies to
- ONTAP 9
- AutoSupport (ASUP)
Issue
- Set AutoSupport SMTP authtication server failure with "using bad/illegal format or missing URL ".
cluster::>autosupport modify -node * -mail-host user1@email.demo.com
Enter password for remote host "email.demo.com":
Enter password for remote host "email.demo.com" again:
Warning: SMTP connectivity check failed for destination: user1:********@email.demo.com. Error: URL using bad/illegal format or missing URL
Notifyd
section shows the same failure reason.
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