Ubuntu 20.04 sending email from AWS
Sandro CAZZANIGA
cazzaniga.sandro at gmail.com
Thu Jun 2 06:25:04 UTC 2022
Le 02/06/2022 à 08:03, Karl Auer a écrit :
> On Wed, 2022-06-01 at 15:28 -0400, Jerry Geis wrote:
>> Hi - trying to send email (sendmail) on port 587 from AWS image.
> 587 is an authenticated port. Not sure you can connect interactively. I
> could be wrong. If I am, where are the username and password for TLS
> coming from?
>
> I suspect it is connecting just fine at the TCP/IP level, but then the
> exchange drops into the TLS negotiations and that where it's failing.
>
> Also, I seem to recall that using Google for SMTP requires some sort of
> setup at the Google end.
>
> You may find it easier overall to use SES with an AWS instance. The
> whole authentication thing falls away if you set up a suitable instance
> policy.
>
> Regards, K.
>
Hello,
Don't forget that AWS prevents from sending emails from EC2 instances
(only port 25 but to check for port 587). But AWS IPs are constantly
reported as spam so you should look at that, or indeed use SES which is
easier.
Also, if you really want to use your EC2 instance, don't forget to look
at yours security groups to open port 587.
Regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xF6A681D5C00C74B5.asc
Type: application/pgp-keys
Size: 3163 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20220602/03233c97/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20220602/03233c97/attachment.sig>
More information about the ubuntu-users
mailing list