跳转到主内容

使用错误/非法格式或缺少 URL 的 URL 设置 ASUP SMTP 身份验证失败

Views:
21
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

适用于

问题描述

  • 设置 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

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

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.