7 Replies Latest reply on Apr 25, 2019 1:22 PM by BrianGem

    VCSA 6.5 does not send alerts to e-mail

    Sebasian Lurker

      Hi,

      I have the following problem. Currently, I installed a new Vcenter Server Appliance in version 6.5.0.14000. I can not cope with sending notifications via VCSA that does not work.

      My external mail server for sending notifications works fine. Notifications from other devices affect my inbox.

      I would also like to emphasize that our mail server (mail.companydomain.com) is open to the IP address and ports of the VCSA server.

      Configuration in the VCSA GUI is in the instructions (Vcenter General-> Mail) in the fields are filled in as follows:

      mail server - mail server address (mail.companydomain.com),

      mail sender - (helpdesk@companydomain.com)

      When using the VCSA console, the command:

      echo "Subject: sendmail test" | sendmail -v my.email@companydomain.com

      the mail is forwarded to my mailbox.

      This is how my sendmail works in VCSA. Where to look for a problem?  It's need any additional settings?

       

      best wishes,

        • 1. Re: VCSA 6.5 does not send alerts to e-mail
          a.p. Guru
          vExpertCommunity WarriorsUser Moderators

          Please take a look at /var/log/vmware/vmware-vpx/vpxd.log to find out whether it contains entries regarding the SMTP issue.

           

          André

          • 2. Re: VCSA 6.5 does not send alerts to e-mail
            Sebasian Lurker

            Hi

            In the given path, this file is not present, it's in the location only: /storage/log/vmware/vpxd/vpxd.log

            In it, I found only entries:

            2018-03-01T12:37:11.028Z info vpxd[7FA22C47C700] [Originator@6876 sub=MoOptionMgr opID=VcActionCommand-apply-98030-ngc:70025064-a9] [OptionManagerMo] Invoking callbacks for key mail.smtp.username, pre commit

            2018-03-01T12:37:11.030Z info vpxd[7FA22C47C700] [Originator@6876 sub=MoOptionMgr opID=VcActionCommand-apply-98030-ngc:70025064-a9] [OptionManagerMo] Invoking callbacks for key mail.smtp.username, post commit

            2018-03-01T12:37:11.030Z info vpxd[7FA22C47C700] [Originator@6876 sub=MoOptionMgr opID=VcActionCommand-apply-98030-ngc:70025064-a9] Setting SMTP relay server to [mail.companydomain.com]:25

            2018-03-01T12:37:11.030Z error vpxd[7FA22C47C700] [Originator@6876 sub=MoOptionMgr opID=VcActionCommand-apply-98030-ngc:70025064-a9] Cannot set SMTP relay server:FileIO error: Could not find file  : /etc/mail/auth/auth-info

            2018-03-01T12:37:11.030Z info vpxd[7FA22C47C700] [Originator@6876 sub=MoOptionMgr opID=VcActionCommand-apply-98030-ngc:70025064-a9] [OptionManagerMo] Invoking callbacks for key mail.smtp.password, pre commit

            2018-03-01T12:37:11.031Z info vpxd[7FA22C47C700] [Originator@6876 sub=MoOptionMgr opID=VcActionCommand-apply-98030-ngc:70025064-a9] [OptionManagerMo] Invoking callbacks for key mail.smtp.password, post commit

            2018-03-01T12:37:11.031Z info vpxd[7FA22C47C700] [Originator@6876 sub=MoOptionMgr opID=VcActionCommand-apply-98030-ngc:70025064-a9] Setting SMTP relay server to [mail.companydomain.com]:25

             

            Previously I tried to configure in VCSA Configure -> Adwanced Settings: mail.smtp.password and mail.smtp.username.

            Currently as I am trying to generate an alarm - there is no information about SMTP in the vpxd.log file

            • 3. Re: VCSA 6.5 does not send alerts to e-mail
              Finikiez Master
              vExpert

              What's your VC build number?

              Chek this KB and symptoms VMware Knowledge Base

              • 4. Re: VCSA 6.5 does not send alerts to e-mail
                Piki Novice

                Hello

                I have the same problem but in my case, I solved doing a smal change. My VCSA sends mail via SMTP and for any reason, after migrating to VCSA 6.5 the mails stop sending.

                I did a clean installation and the same problem.

                If you are sending mail by SMTP, you can try the following.

                 

                Connect via SSH to the VCSA and go to the folder "mail"

                >cd /etc/mail

                You will see several files, you have to edit one called submit.cf (do a copy of the file, before modifying)

                Look for this line "# "Smart" relay host (may be null)"

                 

                After the "DS", enter the FQDN of your SMTP server like this:
                # "Smart" relay host (may be null)

                DS smtp.pp.com (example)

                 

                Restart your vCenter, and you will see , how the mail are sent again. I hope this useful for you

                Regards

                6 people found this helpful
                • 5. Re: VCSA 6.5 does not send alerts to e-mail
                  Cormite Lurker

                  Worked like a charm for me.

                   

                  Thanks!

                  • 6. Re: VCSA 6.5 does not send alerts to e-mail
                    Zarra Novice

                    Many thanks, very useful.

                     

                    Regards,

                    • 7. Re: VCSA 6.5 does not send alerts to e-mail
                      BrianGem Lurker

                      I had the same exact issue after upgrading from Windows vCenter Server to the VCSA. I followed your directions except I used WinSCP and navigated right to the submit.cf file and modified it with my Exchange server's IP address. I saved the file and within minutes email alerts started sending again. I didn't even have to restart my vCenter services. Thanks for the quick fix!