Set ASUP SMTP authentication failure with URL using bad/illegal format or missing url
Applies to
- ONTAP 9
- AutoSupport (ASUP)
- system node autosupport modify
Issue
- Set AutoSupport SMTP authtication server failure with
using bad/illegal format or missing URL.- Pattern 1 (The format when specifying a username is
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 - Pattern 2 (The user name itself includes the "@" symbol and domain information, the format to be used is
user%40domain.com@mymailhost.example.com)
- Pattern 1 (The format when specifying a username is
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
Notifydsection 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
