Can user name contain @ mark in configuring authentication to smtp server for ASUP transferring?
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@mailhost1
,host.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":
- The username and password pair setting is unavailable via System Manager GUI. Please use CLI instead and refer to the following docs below.
- system node autosupport modify for ONTAP 9.5 or earlier
- system node autosupport modify for ONTAP 9.6 or later