Configuring SMTP gateways - Amazon WorkMail

Configuring SMTP gateways

You can configure SMTP gateways to use with outbound email flow rules. Outbound email flow rules let you route email messages sent from your Amazon WorkMail organization through an SMTP gateway. For more information, see Outbound email rule actions.


SMTP gateways configured for outbound email flow rules must support TLS v1.2 using certificates from major certificate authorities. Only basic authentication is supported.

To configure an SMTP gateway

  1. Open the Amazon WorkMail console at

  2. For Organizations, choose the name of your organization.

  3. Choose Organization settings, SMTP gateways.

  4. Choose Create gateway.

  5. Enter a name for the gateway, and the server address and port.

  6. For Basic authentication, enter the user name and password for authentication with the gateway.

  7. Choose Create gateway.

  8. The SMTP gateway is available for use with outbound email flow rules.

When you configure an SMTP gateway to use in an outbound email flow rule, all outbound email messages that match the rule with the SMTP gateway action are routed to the corresponding SMTP gateway. The SMTP gateway handles the rest of the email delivery.

If Amazon WorkMail is unable to reach the SMTP gateway, the email message is bounced back to the sender. If this occurs, correct the SMTP gateway settings in the Amazon WorkMail console by choosing Organizations, the name of your organization, Organization settings, SMTP gateways.