Skip to main content
NetApp Knowledge Base

Can user name contain @ mark in configuring authentication to smtp server for ASUP transferring?

Views:
1,762
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:
11/27/2024, 10:07:48 AM

Applies to

ONTAP 9

Answer

  • No, it cannot.
  • As a workaround, in the user name, enter %40 instead of the @ symbol. 

For examples:

  • ONTAP 9.5 or earlier: autosupport modify -node node1 -mail-hosts user1%40host.com:pw1@mailhost1host.com
  • ONTAP 9.6 or later:  autosupport modify -node node1 -mail-hosts user1%40host.com@mailhost1

Note: This also works for passwords

Additional Information

  • BUG 851157 - AutoSupport 'mail-hosts' parameter causes an authentication error when an email address is used as the user name
  •  user name cannot contain the following special symbols so please convert special symbols into hex:
    • @ → %40
    •  # → %23
    •  :  → %3A
    •  ;  → %3B
  • Use set -active-help false command if  user name contains ? symbol.

For examples:

::> set -active-help false


::> autosupport modify -node fas8200-dal-1a -mail-hosts user1?@mailhost1

Enter password for remote host "user1":

 

 

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.