[Failed to send test email] org.apache.commons.mail.EmailException: Sending the email to the following server failed/var/log/loginsight/runtime.log contains: Caused by: javax.mail.MessagingException: Could not connect to SMTP host: [IP_ADDRESS] port: 25, response: -1VMware Aria Operations for Logs 8.18.x
The SMTP server is configured to reject unauthorized relaying. This occurs when the Aria Operations for Logs appliance IP address is not included in the SMTP server's trusted IP list or "allow" relay list.
To resolve this issue ensure the SMTP server is configured to whitelist the Aria Operations for Logs appliance IPs for relaying.
Engage the SMTP server administrator or vendor for assistance with this action.
After configuring the SMTP server to whitelist the Aria Operations for Logs IPs, test the SMTP connectivity.
Example steps would be as follows:
curl -v telnet://[IP_ADDRESS]:25