nodemailer / smtp-server

Create custom SMTP servers on the fly
Other
846 stars 145 forks source link

Can someone confirm tls version syntax for smtp-server? #156

Open ceraz68 opened 3 years ago

ceraz68 commented 3 years ago

I keep getting the below error with a specific client (Paradox IP150 alarm module) connecting to my smtp-server (version 3.5.0 on node 12.18.2) . My workaround is to use a synology SMTP relay ;-)

Error: 140063399927112:error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol:../deps/openssl/openssl/ssl/statem/statem_srvr.c:1686

I'm trying different TLS version settings on the server but not sure of the syntax (the logger doesn't show such detail). Is the below syntax correct?

Thanks

const server = new SMTPServer({ secure: true, logger: true, tls: {minVersion: 'TLSv1.1'}, disabledCommands: ['AUTH'], etc....

Raademar commented 3 years ago

I'm also getting this issue and would love a clarification.

niftylettuce commented 3 years ago

Ref: https://github.com/nodemailer/smtp-server/issues/136 Ref: https://github.com/nodemailer/smtp-server/issues/122 Ref: https://github.com/nodemailer/smtp-server/issues/156