Sending Test alert fails in Aria Operations for Logs with error "com.sun.mail.smtp.SMTPSendFailedException: 553 5.1.8"
search cancel

Sending Test alert fails in Aria Operations for Logs with error "com.sun.mail.smtp.SMTPSendFailedException: 553 5.1.8"

book

Article ID: 418378

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • Sending a test email during the SMTP configuration in Aria Operations for logs, fails with below error.
    com.sun.mail.smtp.SMTPSendFailedException: 553 5.1.8 <Sender-Email>... Domain of sender address 'Sender-Email' does not exist.
  • Sending a test alert notification fails with error:
    Email notification: Sending the email to the following server failed :<SMTPServer FDQN/IP>:<Port>
  • The "/storage/core/loginsight/runtime.log" file contains entries given below:
    ["application-akka.actor.default-dispatcher-11"/<IP Address> ERROR] [com.vmware.loginsight.commons.SmtpErrorUtil] [E-mail (with token=XXXXXX) was not dispatched to the configured SMTP server]
    org.apache.commons.mail.EmailException: Sending the email to the following server failed : <SMTPServer FDQN/IP>:<Port>
            at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1469) ~[commons-email-1.5.jar:1.5]
            at org.apache.commons.mail.Email.send(Email.java:1496) ~[commons-email-1.5.jar:1.5]
            at com.vmware.loginsight.commons.email.Mailer.sendMail(Mailer.java:155) ~[commons-lib.jar:?]
            at com.vmware.loginsight.commons.email.Mailer.sendHtmlMail(Mailer.java:81) ~[commons-lib.jar:?]
            at com.vmware.loginsight.commons.email.Mailer.sendHtmlMail(Mailer.java:90) ~[commons-lib.jar:?]
            at com.vmware.loginsight.notifications.EmailNotificationProvider.sendNotification(EmailNotificationProvider.java:75) Caused by: com.sun.mail.smtp.SMTPSendFailedException: 553 5.1.8 <sender-email-address>... Domain of sender address <sender-email-address> does not exist

Environment

Aria Operations for logs 8.18.x
VCF Operations for Logs 9.x

Cause

  • The issue occurs when the sender’s domain fails DNS validation, typically because the receiving mail server is unable to resolve the domain due to missing or incorrect public DNS records (A, AAAA, or MX).
    • Note: Without valid DNS records, the sender cannot be authenticated, which results in mail delivery failure.

Resolution

Kindly review and correct the DNS configuration for the sender’s domain to ensure the required public DNS records (A, AAAA, or MX) are properly published and accessible.