Welcome Guest, Not a member yet? Register   Sign In
SMTP Email
#6

(This post was last modified: 07-31-2020, 01:07 AM by tgix.)

Hmmm... after testing with with my two providers authsmtp.com and Amazon Web Services SES I can see a can of worms opening.

I see you are using port 465. With Amazon SES I can use port 465 with SMTPCrypto set to 'ssl', but not with 'tls'.
Using port 587 I can connect using SMTPCrypto = 'tls'.

Complicating things further, I see that RFC8314 (section 3.3) specifies that the TLS handshake should start immediately and not wait for STARTTLS. So, as I understand it - if port 465 is used, 'ssl' should be specified to connect securely from the start and thus SMTPCrypto='ssl' is required. If using port 587, connection is initially made in cleartext and then STARTTLS is used to switch to securecd connect.

If you change SMTPCrypto to 'ssl' and keep port 465 does it work for you?
Alternatively: if you switch to port 587 (provided you ISP supports it) and keep 'tls' does it work for you?

Also, I see that Amazon SES doesn't allow using STARTTLS when connected to port 465. It replies with "454 TLS not supported". AuthSMTP accepts STARTTLS even on port 465 (suggested in the RFC for backward compatibility). Changing cipher mid-connection has proven to be a bad idea so I guess Amazon is extra cautious.
Reply


Messages In This Thread
SMTP Email - by Chroma - 07-30-2020, 09:38 AM
RE: SMTP Email - by tgix - 07-30-2020, 12:39 PM
RE: SMTP Email - by Chroma - 07-30-2020, 01:26 PM
RE: SMTP Email - by tgix - 07-30-2020, 09:27 PM
RE: SMTP Email - by Chroma - 07-30-2020, 11:11 PM
RE: SMTP Email - by tgix - 07-31-2020, 12:43 AM
RE: SMTP Email - by Chroma - 08-09-2020, 01:40 AM
RE: SMTP Email - by tgix - 08-09-2020, 02:09 AM
RE: SMTP Email - by Chroma - 08-09-2020, 09:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB