From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Attempt to send email using AWS results in Socket closed by peer
Date: Fri, 3 Sep 2021 20:31:06 +0200 [thread overview]
Message-ID: <sgtpl8$8vs$1@gioia.aioe.org> (raw)
In-Reply-To: 1194b579-9dc3-4e2e-b6ac-48755a7b2f10n@googlegroups.com
On 2021-09-03 20:11, Juan Rayas wrote:
> In all cases, I get the following error:
>
> Can't send message :530 5.7.0 Must issue a STARTTLS command first. u7sm5705829pju.13 - gsmtp
>
> The problem is I don't know how to send the STARTTLS command with AWS. Anyone know how?
There should be some settings parameter instructing the client to send
StartTLS right after it connects to the server. At least in my SMTP
implementation it is so.
But again, either port 587 or StartTLS, both require TLS, e.g. over
GNUTLS or else OpenSSL.
You need to tell AWS that you are going to use one them, specify the
certificates, the keys etc. You must really read the AWS documentation
regarding secure connections.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2021-09-03 18:31 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-01 18:58 Attempt to send email using AWS results in Socket closed by peer Juan Rayas
2021-09-01 19:43 ` Dmitry A. Kazakov
2021-09-02 22:19 ` Randy Brukardt
2021-09-03 7:32 ` Dmitry A. Kazakov
2021-09-03 8:59 ` Doctor Who
2021-09-03 18:11 ` Juan Rayas
2021-09-03 18:31 ` Dmitry A. Kazakov [this message]
2021-09-03 19:33 ` Doctor Who
2021-09-03 20:29 ` Juan Rayas
2021-09-01 20:02 ` Dennis Lee Bieber
2021-09-02 3:29 ` Richard Iswara
2021-09-02 4:03 ` Doctor Who
2021-09-02 22:22 ` Randy Brukardt
2021-09-03 20:35 ` Simon Wright
2021-09-03 21:13 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox