SmarterMail is powerful enough to be used as a complete mail system that performs multiple roles from a single server, including the role of gateway server. In fact, the SmarterMail Free edition can be downloaded and installed to operate as a free gateway server.
Incoming Gateway
Incoming gateways can be utilized to perform spam checks and antivirus scans, host third party antivirus and/or antispam software, and to pre-scan email messages prior to delivery to the primary mail server. Load is also reduced on the primary server as the incoming gateway manages all incoming sessions and performs abuse/intrusion detection.
Follow these steps to configure SmarterMail as an incoming gateway:
- Log in to SmarterMail as a system administrator.
- Click the Settings icon.
- Click Gateways / Failover in the navigation pane.
- Click the Incoming tab.
- Click New.
- In the Options card, select Domain Forward from the Gateway Mode drop down.
- Enter the IP address or IP range in the IP Addresses setting.
- Verify the Status is set to Enabled.
- Type the domain information into the appropriate field on the Domains card.
- If you are using SmarterMail as a gateway to another SmarterMail server, you will also need to follow these steps:
- Enable the Enable SmarterMail gateway mode toggle on the SmarterMail Gateway card.
- Type the SmarterMail URL, username, and password used to log into the primary mail server in the appropriate fields.
- Click Save.
- Next, click Bindings in the navigation pane.
- The IP Addresses tab will be shown by default, and a list of IP addresses will load.
- Click the desired IP address and add a check next to SMTP.
- Click Save.
- In DNS, change the MX records of your domains to reference the new gateway server.
Once these steps are completed, install and configure any third-party antivirus or antispam products. All other configuration settings are optional.
Outgoing Gateway
Outgoing gateways can reduce the load on the primary server by using a secondary server to process outgoing mail. One benefit of configuring SmarterMail in this role is that it functions as an effective method to combat blacklisting and can help ensure a quick system recovery.
Follow these steps to configure SmarterMail as an outgoing gateway:
- Log in to SmarterMail as a system administrator.
- Click the Settings icon.
- Click Gateways / Failover in the navigation pane.
- The Outgoing tab will be shown by default.
- Click New.
- Enter the IP address of the outbound gateway, and if applicable, the SMTP Authentication information.
- Click Save.
- Add the primary mail server's IP address to the IP whitelist for SMTP by following these steps:
- Click Security in the navigation page.
- Click the Whitelist tab.
- Click New in the content pane toolbar.
- Type the IP address or IP range in the appropriate field(s).
- Select the SMTP toggle.
- Click Save.
- In your primary mail server's general settings, set the IP address of the gateway server and enable gateway mode. NOTE: If SmarterMail is your primary mail server, these settings can be found at Settings >> Gateways / Failover >> Outgoing Gateways.
All other configuration settings are optional.
NOTE: To force ALL outgoing email to route through the gateway, including delivery between local domain users, modify the domain's setting for Inbound Message Delivery. If the domain's MX record points to the SmarterMail server, you can simply change the domain's Inbound Message Delivery to "External (use host address)", and specify the gateway. If the domain's MX record points to the gateway, you can change this setting to "External (use MX record)". With the domain marked as being hosted externally, emails between domains users will not be considered a local delivery, ensuring all email is routed through the gateway.
Learn more about SmarterMail's enterprise email features and benefits.