Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
SMTP Mail Warning: Unable to validate mailserver "smtp.******.net:2555". Reason: Weird server reply.
2020-07-17
01:28 PM
8,000 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I am unable to config specific smtp mail settings. Get error message as Warning: Unable to validate mailserver "smtp.******.net:2555". Reason: Weird server reply.
Kindly advice on the below commands
RUH-PS-DM5000H::> event config modify -mail-server smtp.******.net:2555 -mail-from ruh.DM5000@alerts.******.net
Warning: Unable to validate mailserver "smtp.******.net:2555". Reason: Weird server reply.
Do you want to continue? {y|n}: n
RUH-PS-DM5000H::> event config modify -mail-server smtp.******.net:2555 -mail-from ruh.DM5000@alerts.******.net
RUH-PS-DM5000H::> event notification destination create -name storage-admins -email it.systems@*****.net
RUH-PS-DM5000H::> event notification create -filter-name important-events -destinations storage-admins
RUH-PS-DM5000H::> event config shownotification destination show
Name Type Destination
-------------- ---------- ---------------------
snmp-traphost snmp - (from "system snmp traphost")
storage-admins email it.systems@*****.net (via "smtp.******.net:2555" from "ruh.DM5000@alerts.******.net", configured in "event config")
2 entries were displayed.
Solved! See The Solution
1 ACCEPTED SOLUTION
ahmar has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Looking at the command: 'event config', it seems you are manually entering 'smtp.******.net:2555' as smtp server, why is there ':2555' ? Doesn't make any sense.
SMTP mail server are usually in this format:
smtp.yourcompany.com (smtp is nothing but your mailhost, in your case 'smtp' is your mail I believe, only you can confer that)
or,
mailhost.abc.co.whatever
or,
mailhost.abc.com
Just try configuring using "smtp.******.net" as smtp server.
Use this command:
::> event config modify -mail-server smtp.******.nets -mail-from ruh.DM5000@alerts.******.net
If you still get error, then follow the standard SMTP troubleshooting steps:
Troubleshooting AutoSupport message delivery over SMTP
https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.dot-cm-sag%2FGUID-9554CD61-AE6F-4FDA-86A6-0E1480405873.html
Thanks!
7 REPLIES 7
ahmar has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Looking at the command: 'event config', it seems you are manually entering 'smtp.******.net:2555' as smtp server, why is there ':2555' ? Doesn't make any sense.
SMTP mail server are usually in this format:
smtp.yourcompany.com (smtp is nothing but your mailhost, in your case 'smtp' is your mail I believe, only you can confer that)
or,
mailhost.abc.co.whatever
or,
mailhost.abc.com
Just try configuring using "smtp.******.net" as smtp server.
Use this command:
::> event config modify -mail-server smtp.******.nets -mail-from ruh.DM5000@alerts.******.net
If you still get error, then follow the standard SMTP troubleshooting steps:
Troubleshooting AutoSupport message delivery over SMTP
https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.dot-cm-sag%2FGUID-9554CD61-AE6F-4FDA-86A6-0E1480405873.html
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your input, Is there a way to do this via gui interface?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You're welcome. Unfortunately, we cannot use GUI, but CLI should be straight forward if you use that command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your input, will try the commands and update.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We tried the command without the port number 2555 and it works without error.
But customer is looking for the custom port number 2555 in the alerts config, Hence we conclude that Netapp will not support custom port number 2555.
Kindly advice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
All alerts and notification are working after removal of the custom port in the smtp command.
Thanks for the support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've edited the posts here to remove the specific server name.
In doing so, I noticed that the send to email address (it.systems@*****.net) is missing the last letter of the domain, unlike the other entries in the output you've shared.
In addition to the above suggestion by @Ontapforrum, you might check the server addresses one more time.
Community Manager \\ NetApp
