ONTAP Discussions

SMTP Mail Warning: Unable to validate mailserver "smtp.******.net:2555". Reason: Weird server reply.

ahmar
6,999 Views

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.

 

1 ACCEPTED SOLUTION

Ontapforrum
6,985 Views

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!

View solution in original post

7 REPLIES 7

Ontapforrum
6,986 Views

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!

ahmar
6,979 Views

Thanks for your input, Is there a way to do this via gui interface?

Ontapforrum
6,959 Views

You're welcome. Unfortunately,  we cannot use GUI, but CLI should be straight forward if you use that command.

ahmar
6,954 Views

Thanks for your input, will try the commands and update.

ahmar
6,875 Views

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

ahmar
6,857 Views

Hi,

 

All alerts and notification are working after removal of the custom port in the smtp command.

 

Thanks for the support

Drew_C
6,981 Views

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
Public