Can't send test emails


Hello everyone,

i have some trouble in setting up SMTP in Rocket Chat. My Mailserver is working and everything is tpyed in correctly. Everytime i send a test e-mail i got this error:

Exception in defer callback: Error: 139846341916544:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:…/deps/openssl/openssl/ssl/record/ssl3_record.c:332: => awaited here: at Function.Promise.await (/snap/rocketchat-server/1562/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12) at Object.Email.send (packages/email/email.js:250:18) at AccountsServer.Accounts.sendEnrollmentEmail (packages/accounts-password/password_server.js:570:9) at app/lib/server/functions/setUsername.ts:46:14 at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1329:12) at packages/meteor.js:587:25 at runWithEnvironment (packages/meteor.js:1417:24) { library: ‘SSL routines’, function: ‘ssl3_get_record’, reason: ‘wrong version number’, code: ‘ESOCKET’, command: ‘CONN’ }

any ideas how to this fix? Thanks in advance!

Server Setup Information

  • Version of Rocket.Chat Server: 6.2.8
  • Operating System: Linux (Ubuntu 20.04)
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog: enabled
  • NodeJS Version: 14.21.2 - x64
  • MongoDB Version: 5.0.15
  • Proxy: caddy
  • Firewalls involved: UFW