VMware vSphere

 View Only
  • 1.  SMTP does not work after vcenter upgrade

    Posted Jul 08, 2021 04:16 AM

    Customer updated vcenter to ersion=6.5.0, build=15259038 post which sendmail fails.

    Initially issue was with reverse lookup of VCSA 

    unable to send mail but events are getting triggered. Checked messages log on VCSA and found below. 2021-06-29T16:36:09.871409+00:00 VCENTERAPPDC sendmail[56803]: 15TGa9fh056803: to=<, ctladdr=> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30363, relay=[smpt.gmail.com], dsn=5.1.2, stat=Host unknown (Name server: [smpt.gmail.com]: host not found)

    2021-06-29T16:36:09.883778+00:00 VCENTERAPPDC sendmail[56802]: 15TGa9fA056802: to=, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30023, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (15TGa9fh056803 Message accepted for delivery) 2021-06-29T16:39:01.108346+00:00  sendmail[57817]: 15TGd1Jq057817: to= ctladdr=> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30363, relay=[[smpt.gmail.com]], dsn=5.1.2, stat=Host unknown (Name server: [[smpt.gmail.com]]: host not found)

    2021-06-29T16:39:01.121246+00:00  sendmail[57816]: 15TGd1xd057816: t ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30023, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (15TGd1Jq057817 Message accepted for delivery) 2021-07-01T08:48:36.218846+00:00 VCENTERAPPDC sendmail[43901]: 1618maon043901: to= ctladdr= (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30361, relay=[smpt.gmail.com], dsn=5.1.2, stat=Host unknown (Name server: [smpt.gmail.com]: host not found) 2021-07-01T08:48:36.255435+00:00 VCENTERAPPDC sendmail[43899]: 1618mZll043899: to=abc , ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=

    sendmail[56422]: gethostbyaddr(x.x.x.x) failed:

    We fixed reverse lookup and that is okay .

    Still fails with DNS Name : hostname not found

    SMTP server entry is right in sendmail.cf, checked entries in resolv.conf for dns but no issues.

    tried chamging FQDN and IP on smtp server settings on GUI still fails with same mwessage.

    I just checked reverselookup for SMTP server and that fails.

    Does that really matter?

    the same setup worked fine in earlier versions with no issues.

     



  • 2.  RE: SMTP does not work after vcenter upgrade

    Posted Jul 08, 2021 10:17 AM

    Hi,

    You've got a typo in your config

    smPT.gmail.com <> smtp.gmail.com

    --
    Wil



  • 3.  RE: SMTP does not work after vcenter upgrade

    Posted Jul 12, 2021 04:28 AM

    Hey thank you for pointing that out.

    We changed in the config and now service shows unavailable.

    2021-07-09T06:34:25.301538+00:00 VCENTERAPPDC sendmail[32740]: 1696YO2q032740: to= (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30361, relay=X.X.X,X, dsn=5.0.0, stat=Service unavailable



  • 4.  RE: SMTP does not work after vcenter upgrade

    Posted Jul 12, 2021 01:16 PM

    Hi,

    Well... google's smtp server does not normally allow any applications to connect.

    Did you setup an application specific password for it?
    See also: https://support.google.com/accounts/answer/185833

    --
    Wil