AWS ses: SES SMTP software setup: credential and port hardening guidance
Summary
Updates SMTP-enabled software configuration guidance to obtain endpoint/user/password from Mail Manager or IAM SMTP credentials, adds an Important warning against using AWS access keys as SMTP credentials, and revises the JIRA example with port guidance (25/587, EC2 port 25 restriction, TLS Wrapper 465/2465).
Security assessment
The change documents the safe credential model for SES SMTP (dedicated SMTP credentials instead of AWS access keys) and clarifies encrypted transport options (STARTTLS/TLS Wrapper) plus the EC2 port 25 restriction, which is security-relevant hardening guidance but not tied to a specific vulnerability or CVE.
Evidence
Do not use your AWS access key ID and secret access key as SMTP credentials. For more information, see [Types of Amazon SES credentials](./send-email-concepts-credentials.html).
Diff
diff --git a/ses/latest/dg/send-email-smtp-software-package.md b/ses/latest/dg/send-email-smtp-software-package.md index 7f2cae8..807c485 100644 --- a//ses/latest/dg/send-email-smtp-software-package.md +++ b//ses/latest/dg/send-email-smtp-software-package.md @@ -22 +22,5 @@ There are a number of commercial and open source software packages that support -You can configure any such SMTP-enabled software to send email through the Amazon SES SMTP interface. For instructions on how to configure SMTP for a particular software package, see the documentation for that software. +You can configure SMTP-enabled software to send email through Amazon SES. Get the endpoint, user name, and password from [Creating SMTP credentials using Mail Manager](./smtp-credentials-mail-manager.html) or [Obtaining Amazon SES SMTP credentials using IAM](./smtp-credentials.html). For instructions that are specific to your software, see its documentation. + +Important + +Do not use your AWS access key ID and secret access key as SMTP credentials. For more information, see [Types of Amazon SES credentials](./send-email-concepts-credentials.html). @@ -48 +52 @@ The following procedure shows how to set up Amazon SES sending in JIRA, a popula -Note + 5. Hostname—Enter the endpoint from your SMTP credentials. @@ -50 +54 @@ Note -If you can't connect to Amazon SES using this setting, try **SECURE_SMTP**. + 6. SMTP port—Enter `25` or `587`. @@ -52 +56 @@ If you can't connect to Amazon SES using this setting, try **SECURE_SMTP**. - 5. Hostname—See [Connecting to an Amazon SES SMTP endpoint](./smtp-connect.html) for a list of Amazon SES SMTP endpoints. For example, if you want to use the Amazon SES endpoint in the US West (Oregon) Region, the hostname would be _email-smtp.us-west-2.amazonaws.com_. +Note @@ -54 +58 @@ If you can't connect to Amazon SES using this setting, try **SECURE_SMTP**. - 6. SMTP port—25, 587, or 2587 (to connect using STARTTLS), or 465 or 2465 (to connect using TLS Wrapper). +Amazon Elastic Compute Cloud (Amazon EC2) restricts outbound email traffic over port `25` by default. Use port `587` from Amazon EC2 unless you have removed the restriction. @@ -58 +62,5 @@ If you can't connect to Amazon SES using this setting, try **SECURE_SMTP**. - 8. User name—Your SMTP user name. + 8. User name—Enter the user name from your SMTP credentials. + + 9. Password—Enter the password from your SMTP credentials. + +Credentials using IAM @@ -60 +68 @@ If you can't connect to Amazon SES using this setting, try **SECURE_SMTP**. - 9. Password—Your SMTP password. +If JIRA cannot connect with SMTP and STARTTLS, you can select **SECURE_SMTP**. Use TLS Wrapper on port `465` or `2465`. This option does not apply to Mail Manager SMTP. @@ -62 +70 @@ If you can't connect to Amazon SES using this setting, try **SECURE_SMTP**. -You can see the settings for TLS Wrapper in the following image. +For credentials using IAM, the following image shows the JIRA settings for TLS Wrapper. @@ -64 +72 @@ You can see the settings for TLS Wrapper in the following image. - + @@ -77 +85 @@ To use the Amazon Web Services Documentation, Javascript must be enabled. Please -Connecting to an SMTP endpoint +Credentials using IAM