Problem in sending email via smtp or smtps

Hello,
Really I’m confused about why rocket chat (community version) cannot send any email to users. All users have verified email addresses. my Email Server is Exchange server 2019. ports 25,587, 443 and 465 are open from rocket chat server (Ubuntu OS.) to Mail Server (telnets are ok). Through Wireshark I can trace interactions between RocketChat Server and Mail Server:


email server :172.20.103.9
rocketchat server : 172.30.100.57

also, there is no error log in RockChat reports.

I have tested all of these combinations in Email>SMTP setting:
SMTP , port:587 ,igonretls
SMTP , port:587
SMTP , port:25 , ignoretls
SMTPS , port:465
SMTPS , port:465 , ignoretls

unfortunately, none of above settings doesn’t come true to send email.
please help me to enable mail notification.

Server Setup Information:

  • Version of Rocket.Chat Server (community edition): 6.5.3
  • Operating System: Ubuntu 22.04 LTS
  • Deployment Method: tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v14.21.3
  • MongoDB Version: 7.0.5 / wiredTiger (oplog Enabled)
  • Proxy: nginx
  • Firewalls involved: none

I found the solution. I created a new receive connector in Exchange server with no TLS Authentication for anonymous users. For security concerns, I assigned this receive connector to my RocketChat server IP (in the remote network setting of receive connector wizard).