SmarterTools SmarterMail Mail Assure Integration

SmarterMail Integration Setup

This section covers the SmarterMail configuration settings for integration with Mail Assure. This information is split into three areas:

Incoming Filter

Simply add your domain in Mail Assure, and point the route to the SmarterMail server. After that, you can change your MX records to point to the Mail Assure MX records. Mail Assure will then filter your incoming email and deliver the not-spam messages to your SmarterMail environment.

To ensure Mail Assure can deliver to the servers, and that the messages bypass spam checks, the Mail Assure IP addresses should also be allowed on the SmarterMail server by following the below steps.

  1. Log into SmarterMail as the Administrator and click the 'Settings' icon in the top toolbar

  2. In the navigation pane, go to Security
  3. Click on the Allow list tab

  4. To add an allowed entry click the New button then complete the following information
  5. In the IP Address (single, range or CIDR block) textbox, enter the IP range which can be found on Mail Assure SMTP delivery IPs
  6. For identification, enter "Mail Assure Incoming Filter" in the Description field
  7. Enable the SMTP and SMTP Spam Bypass options

  8. Click Save once complete

Outgoing Filter

To configure your outgoing filter through SmarterMail:

  1. Log into SmarterMail as the Administrator and click the 'Settings' icon in the top toolbar

  2. In the navigation pane, click on Gateways / Failover. The Outbound tab will load by default

  3. Click the New button to open the "Options" card

  4. Enter your Mail Assure outgoing server details
  5. Ensure Status is set to "Enabled", Type is set to "Specific Domains" and Enable Authentication is enabled and configured
  6. An example setup for Mail Assure Hosted Cloud would be:

    • Server Address:
    • Port: 587
    • Encryption: TLS
    • Status: Enabled
    • Type: Specific Domains
    • Enable Authentication
    • Auth Username: outgoing@demo-domain.invalid
    • Auth Password: xxxxxxx (enter the password used when creating your outgoing user in the Mail Assure interface)
  7. Click Save when complete

After configuring the Outbound Gateway, the next step is to specify the domains that should use this setting.

  1. Click the Manage icon in the top toolbar

  2. In the Domains grid, click on the SmarterMail domain to load the domain configuration settings

  3. On the Options card, change the 'Outbound Gateway' to use the Mail Assure outbound gateway you just created (in this example,
  4. Click Save to apply

Outgoing Server Domain Defaults

If there is a requirement that all existing and new domains should be configured to use the Mail Assure outgoing server, SmarterMail's Domain Defaults may be modified and the Outbound Servers settings applied to all existing domains.

To modify the Domain Defaults and propagate the Outbound Gateway setting to existing domains, follow the below steps:

  1. Click on Domain Defaults from the navigation pane. The default domain configuration settings will load
  2. On the "Options" card, change the "Outbound Gateway" to use the Mail Assure gateway

  3. Click Save

To propagate this change to all existing domains, click on the Propagate button. In the returned Propagate modal, check the 'Outbound Gateway' setting and click the Propagate button. All existing domains will be modified to use the specified outbound gateway.

Filtering on headers

If you have disabled the quarantine system in Mail Assure, spam and phishing that would normally be quarantined will get delivered to the SmarterMail environment. If you wish to filter based on classification, you can use the following header:

X-Recommended-Action: reject

To add a domain-level filter that looks for this header in SmarterMail, follow the below steps:

  1. Click on the Manage icon
  2. In the Domains grid, click on the SmarterMail domain. The domain configuration settings will load
  3. Click on the Content Filtering tab

  4. Click the New button. You should be presented with the "Content Filtering" options

  5. Add a name for the content filter. Then click on the New Condition button

    • In the Condition Type dropdown list, choose 'Contains specific words or phrases'
    • In the Field dropdown list, choose 'Email header'
    • In the Comparison dropdown list, choose 'Contains'
    • In the Email header (one per line) textbox, enter: X-Recommended-Action: reject
  6. Click Save
  7. Once back in the Content Filtering dialog click on the New Action button

    • In the Action dropdown list, select 'Move message'
    • In the Folder textbox, enter "Spam"
  8. Click Save
  9. When both the Condition and Action have been configured, click Save to save the content filter

  10. Once set, all emails with this header will be directed to a user's 'Spam' folder

Repeat these steps, as needed, for every domain that uses the Mail Assure gateway.