3 Replies Latest reply on Jul 16, 2020 8:19 AM by Vijay2027

    Authenticated email to O365

    glabel35 Lurker

      Has anyone successfully configured vcenter 6.7 appliance (I have update 3g) to send email to office 365? I've changed the relay server to smtp.office365.com, the mail sender to the from email address i'm using. Then under advanced settings i'm changing mail.smtp.port to 587, mail.smtp.username to the same account I used for mail sender, and mail.smtp.password to that account password.

       

      Considerations:

      anonymous relay to internal smtp server works fine. Trying to get away from it.

       

      This username/password works. I'm using it successfully for other mail relays.

       

      vcenter can ping smtp.office365.com and telnet to 587.

       

      I know for this type of relay the from address has to match the authenticating user. Which is why I assumed they have the mail sender box

       

      I've seen a lot of articles about hows its not supported on earlier versions but accounding to this it is supported after vCenter 6.7 U1 and 6.5 U2d.

       

      VMware Knowledge Base


      Appliance TLS output

       

      ==================== Scanning vCenter Server TLS endpoints =====================

       

       

      +---------------------+-------------------+----------------+

       

       

      | Service Name | TLS Endpoint Port | TLS Version(s) |

       

       

      +---------------------+-------------------+----------------+

       

       

      | vmcam | | NOT RUNNING |

       

       

      | vmware-rhttpproxy | 443 | TLSv1.2 |

       

       

      | vmware-stsd | 7444 | TLSv1.2 |

       

       

      | vami-lighttp | 5480 | TLSv1.2 |

       

       

      | vmware-updatemgr | 8084 | TLSv1.2 |

       

       

      | vmware-updatemgr | 9087 | TLSv1.2 |

       

       

      | vmware-rbd-watchdog | | NOT RUNNING |

       

       

      | vmdird | 636 | TLSv1.2 |

       

       

      | rsyslog | 1514 | TLSv1.2 |

       

       

      | VC Storage Clients | NOT APPLICABLE | TLSv1.2 |

       

       

      | vmware-vpxd | 8089 | TLSv1.2 |

       

       

      | vsphere-client | 9443 | TLSv1.2 |

       

       

      +---------------------+-------------------+----------------+