跳转到主内容

用户名在为SMTP服务器配置身份验证以进行ASUP传输时是否可以包含@标记?

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

适用场景

ONTAP 9.5或更早版本

问题解答

  • AutoSupport  mail-hosts 参数支持使用 user:password@mailhost 格式进行身份验证。
  • 但是、如果使用电子邮件地址作为用户名、则 @ 电子邮件地址中的符号会错误地解释为邮件主机名、并且参数无法正确解析。

例如: autosupport modify -node node1 -mail-hosts user1@host.com:pw1@mailhost1, host.com 被解释为邮件主机名。

  • 作为临时解决策、在用户名中输入、 %40 而不是 @ 符号。

例如: autosupport modify -node node1 -mail-hosts user1%40host.com:pw1@mailhost1

追加信息

  • 错误851157
  • 无法通过System Manager图形用户界面使用用户名和密码对设置。请改用命令行界面、并参阅以下文档。
    • ONTAP 9.5或更早版本: system node
      [-mail-hosts <text>,…​] SMTP AutoSupport修改-
      此外,您还可以选择在每个邮件服务器的身份验证前添加用户名和密码组合。
      用户名和密码对的格式为 user1:pw1@mymailhost.example.com .<!-----
      用户名和密码可以在无、全部或部分邮件主机上指定。
    • ONTAP 9.6或更高版本: system node
      [-mail-hosts <text>,…​] smp AutoSupport修改- SMTP邮件主机
      也可以选择在用户名和密码的组合前面添加,以便对每个邮件服务器进行身份验证。
      用户名和密码对的格式为 user1@mymailhost.example.com 。-----------------------
      系统将提示用户输入密码。-----------------------
      用户名和密码可以在无、全部或部分邮件主机上指定。

 

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.