SMTP Outbound Connection Test Validation Failed with Error "Email test error: Unknown SMTP host <SMTP_Server_FDQN_IP>"
book
Article ID: 388222
calendar_today
Updated On:
Products
VMware Aria Suite
Issue/Introduction
While validating the connection of the standard email plugin, you might encounter an error indicating: Email test error: Unknown SMTP host <SMTP_Server_FDQN_IP>
Upon testing the connection with the Standard Email Plugin, you might observe the following errors in the log files: /storage/vcops/log/vcops-bridge.log
ERROR [ServerConnection on port 10000 Thread 62117] com.vmware.vcops.bridge.server.BridgeTracerAspect.processBridgeResult - Email test error: [Unknown SMTP host: <SMTP_Server_FDQN_IP>]. ERROR [ServerConnection on port 10000 Thread 62117] com.vmware.vcops.bridge.server.BridgeTracerAspect.processBridgeResult - SessionId: N/A; UserId: N/A; UserName: null.
Environment
Aria operations 8.X
Cause
The issue is caused by the inability to perform DNS resolution for the <SMTP_Server_FQDN_IP>
You can test the SMTP server by using nslookup, ping, or curl from Aria Operations.
1. Running nslookup <SMTP_Server_FQDN> results in: Server can't find <SMTP_Server_FQDN_IP> SERVFAIL. 2. Running ping <SMTP_Server_FQDN> returns: Temporary failure in name resolution. 3. Running curl -v https://<SMTP_Server_FQDN>:<portnumber> results in: Could not resolve host: <SMTP_Server_FQDN>.
Resolution
To fix the issue:
Make sure the DNS server settings are properly configured and that the system can successfully resolve the <SMTP_Server_FQDN_IP>. Once the DNS issues are resolved, try running the SMTP Outbound Connection Test Validation again.