Skip to main content

How to Configure SmarterMail as an Outbound Gateway

Configure SmarterMail as an outbound gateway to route outgoing mail through a specific mail server or relay. This allows a System Administrator to manage outbound mail flow, improve deliverability, or route mail based on specific criteria.

Configure SmarterMail as an outbound gateway to route outgoing mail through a specific mail server or relay. This allows a System Administrator to manage outbound mail flow, improve deliverability, or route mail based on specific criteria.

Before you begin

You will need:

  • System Administrator access to SmarterMail

  • The IP address or hostname of the outbound relay server

  • The port number for the relay (e.g., 25, 465, or 587)

  • Authentication credentials if the relay requires a username and password

Configure SmarterMail as an Outbound Gateway

  1. Log in to the SmarterMail administration interface.

  2. Navigate to Settings > Mail Routing > Outbound Gateways.

  3. Click Add Gateway (or the equivalent button to create a new gateway).

  4. Enter a descriptive name for the gateway (e.g., "Primary Relay" or "Partner Gateway").

  5. Enter the Host (IP address or hostname) of the outbound relay.

  6. Enter the Port used by the relay.

  7. If the relay requires authentication, enter the Username and Password in the respective fields.

  8. Select the appropriate Security Protocol (e.g., STARTTLS or SSL/TLS) based on the relay's requirements.

  9. Click Save.

Configure a Domain to Use the Outbound Gateway

After creating the gateway, you must assign it to a specific domain or use it as a global default.

  1. Navigate to Settings > Mail Routing > Domains.

  2. Select the domain you wish to configure.

  3. Locate the Outbound Gateway setting.

  4. Select the specific gateway you created in the previous step from the dropdown menu.

  5. Click Save.

Confirm the result

  • The gateway will appear in the list of available gateways in the Outbound Gateways section.

  • The selected domain will now show the assigned gateway in its configuration settings.

  • Outgoing mail from the specified domain will now route through the configured gateway.

Troubleshooting

Outbound mail is not leaving the SmarterMail server

  1. Verify that the SmarterMail server can reach the relay's IP address and port. You can test this via the command line using telnet or nc.

  2. Confirm that the credentials provided for the gateway are correct.

  3. Ensure the relay's firewall allows connections from the SmarterMail server's IP address.

Mail is accepted by the relay but rejected by the final destination

  1. Verify that the relay's IP address is not blacklisted.

  2. Ensure the relay is configured to accept mail from your SmarterMail server's IP.

  3. Check the SmarterMail Outbound Gateway settings to ensure the correct security protocols (STARTTLS/SSL) are enabled.

Did this answer your question?