VCSA 6 Email alerts not working

This post was originally published on this site

I am trying to get email alerts from VCSA 6 working – to no avail. I am hoping someone here knows the solution?

 

<rant>I have opened a case with VMware support, but in most every aspect, the support representatives seem to know less about the VCSA than I do! Moreover, some of the KB articles they have suggested have blatant and obvious mistakes! Take for example VMware KB: Emails sent from VMware vCenter Server Appliance are rejected , the sendmail.mc file is mis-represented and not valid in the format VMware presents it! It is missing quotes FEATURE(genericstable)dnl which render the remainder of the file invalid!</rant>

 

Does anyone have an idea what’s going on, or have email successfully configured on VCSA?

 

I have the following situation: VCSA 6 with open-relay SMTP (no authentication, any email address from my IP). On the VCSA 6, all /var/log/mail* log files are empty.

 

I have tested port connectivity to smtp-relay.gmail.com with :  curl -v telnet://target ip address:desired port number (VMware KB: Using Curl to test port connectivity in VMware vCenter Server Appliance)

 

Here is the redacted transcript of a failed email from: /var/mail/root

From MAILER-DAEMON@vcsa1.mydomain.tld.com  Sat Mar 19 07:42:09 2016

Return-Path: <MAILER-DAEMON@vcsa1.mydomain.tld.com>

Received: from localhost (localhost)

        by vcsa1.mydomain.tld.com (8.14.3/8.14.3/SuSE Linux 0.8) id u2J7cxis029065;

        Sat, 19 Mar 2016 07:42:09 GMT

Date: Sat, 19 Mar 2016 07:42:09 GMT

From: Mail Delivery Subsystem <MAILER-DAEMON@vcsa1.mydomain.tld.com>

Message-Id: <201603190742.u2J7cxis123465@vcsa1.mydomain.tld.com>

To: Postmaster@vcsa1.mydomain.tld.com

MIME-Version: 1.0

Content-Type: multipart/report; report-type=delivery-status;

boundary=”u2J7cxis029065.1412343329/vcsa1.mydomain.tld.com”

Subject: Postmaster notify: see transcript for details

Auto-Submitted: auto-generated (postmaster-notification)

 

This is a MIME-encapsulated message

 

–u2J7cxis029065.1458373329/vcsa1.mydomain.tld.com

 

The original message was received at Mon, 14 Mar 2016 07:15:15 GMT

from localhost [127.0.0.1]

 

   —– The following addresses had permanent fatal errors —–

<notification@tld.com>

 

   —– Transcript of session follows —–

<notification@tld.com>… Deferred: Connection timed out with gmail-smtp-relay.l.google.com.

Message could not be delivered for 5 days

Message will be deleted from queue

 

–u2J7cxis029065.1234373329/vcsa1.mydomain.tld.com

Content-Type: message/delivery-status

 

Reporting-MTA: dns; vcsa1.mydomain.tld.com

Arrival-Date: Mon, 14 Mar 2016 07:15:15 GMT

 

Final-Recipient: RFC822; notification@tld.com

Action: failed

Status: 4.4.7

Remote-MTA: DNS; gmail-smtp-relay.l.google.com

Last-Attempt-Date: Sat, 19 Mar 2016 07:42:09 GMT

 

–u2J7cxis029065.1234373329/vcsa1.mydomain.tld.com

Content-Type: text/rfc822-headers

 

Return-Path: <root@vcsa1.mydomain.tld.com>

Received: from vcsa1.mydomain.tld.com (localhost [127.0.0.1])

        by vcsa1.mydomain.tld.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id u2E7FFiq025735

        for <notification@tld.com>; Mon, 14 Mar 2016 07:15:15 GMT

Received: (from root@localhost)

        by vcsa1.mydomain.tld.com (8.14.3/8.14.3/Submit) id u2E7FEJ7025730;

        Mon, 14 Mar 2016 07:15:15 GMT

Date: Mon, 14 Mar 2016 07:15:15 GMT

Message-Id: <201603140715.1234FEJ7025730@vcsa1.mydomain.tld.com>

To: notification@tld.com;

From: admin@tld.com

Subject: [VMware vCenter – Alarm alarm.DatastoreDiskUsageAlarm] alarm.DatastoreDiskUsageAlarm changed status from Yellow to Red

Content-type: text/plain

Target: mydomain009-vol002

 

–u2J7cxis029065.1234373329/vcsa1.mydomain.tld.com–

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.