> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mailchannels.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Setup SmarterMail

> Configure SmarterMail to relay outbound mail through MailChannels Outbound Filtering using SMTP authentication and X-AuthUser sender identification headers.

This guide walks you through configuring SmarterMail to relay all outbound mail through MailChannels Outbound Filtering. Instructions are provided for SmarterMail 16.x and the older SmarterMail 10/11 releases.

## Prerequisites

* System administrator access to SmarterMail
* Your MailChannels SMTP username and password

## SmarterMail 16.x

<Steps>
  <Step title="Add an outgoing gateway">
    Log in as the system administrator. Navigate to **Settings** > **Gateways / Failover** > **Outgoing** and click **New**.

    Configure the gateway with the following values:

    | Field                     | Value                                          |
    | ------------------------- | ---------------------------------------------- |
    | **Server address**        | `smtp.mailchannels.net`                        |
    | **Port**                  | `25` (or `587` / `2525` if port 25 is blocked) |
    | **Encryption**            | TLS                                            |
    | **Status**                | Enabled                                        |
    | **Priority**              | Normal                                         |
    | **Enable authentication** | On                                             |
    | **SMTP username**         | Your MailChannels SMTP username                |
    | **Password**              | Your MailChannels SMTP password                |

    Click **Save**.

    <img src="https://mintcdn.com/mailchannelscorporation/qgJx36-4nVXYStTm/images/setting-up-for-smartermail/SM16-3.png?fit=max&auto=format&n=qgJx36-4nVXYStTm&q=85&s=9bc8a81c5d45b0fbaedbd67d6825b4d9" alt="SmarterMail 16 outgoing gateway configuration" width="1827" height="876" data-path="images/setting-up-for-smartermail/SM16-3.png" />
  </Step>

  <Step title="Enable the authenticated sender header">
    Navigate to **Settings** > **Protocols** > **SMTP Out**.

    Enable the option **Append X-SmarterMail-Authentication as header**. MailChannels uses this header to identify the authenticated sender and track per-sender reputation.

    <img src="https://mintcdn.com/mailchannelscorporation/qgJx36-4nVXYStTm/images/setting-up-for-smartermail/SM16-4.png?fit=max&auto=format&n=qgJx36-4nVXYStTm&q=85&s=f052db082cf79f24b1a65a154db446fa" alt="SmarterMail 16 SMTP Out header setting" width="1644" height="848" data-path="images/setting-up-for-smartermail/SM16-4.png" />
  </Step>
</Steps>

## SmarterMail 11

<Steps>
  <Step title="Add an outgoing gateway">
    Navigate to **Settings** > **Routing** > **Outgoing Gateway** and create a new gateway with the following values:

    | Field                      | Value                           |
    | -------------------------- | ------------------------------- |
    | **Server address**         | `smtp.mailchannels.net`         |
    | **Port**                   | `25`                            |
    | **Encryption**             | TLS                             |
    | **Authentication enabled** | Checked                         |
    | **Auth username**          | Your MailChannels SMTP username |
    | **Auth password**          | Your MailChannels SMTP password |

    <img src="https://mintcdn.com/mailchannelscorporation/qgJx36-4nVXYStTm/images/setting-up-for-smartermail/m7BHOytDMfp7cDJe3wFkoIEDpr9qIRPwUolrXAW9SgMASuHvC_QUyPX9QJonpGklRI_UWTqTwgh-SY9U.jpg?fit=max&auto=format&n=qgJx36-4nVXYStTm&q=85&s=b89f55509812f8ec20f692ba5de60404" alt="SmarterMail 11 outgoing gateway configuration" width="1005" height="683" data-path="images/setting-up-for-smartermail/m7BHOytDMfp7cDJe3wFkoIEDpr9qIRPwUolrXAW9SgMASuHvC_QUyPX9QJonpGklRI_UWTqTwgh-SY9U.jpg" />
  </Step>

  <Step title="Enable the authenticated sender header">
    Navigate to **Settings** > **Protocol Settings** > **SMTP Out**.

    Enable the option **Append authenticated as header for outgoing messages**.

    <img src="https://mintcdn.com/mailchannelscorporation/qgJx36-4nVXYStTm/images/setting-up-for-smartermail/1kzEFP2oW2nIVA1bogY1Ccz8mUSXnGal-ZbFWKNMfllmA9ILjNznC1RoQ4Ll0kUOmpMcaT0YXam3j8LG.jpg?fit=max&auto=format&n=qgJx36-4nVXYStTm&q=85&s=11d0bb0e6eb1046d3618049c2f3e55c4" alt="SmarterMail 11 SMTP Out header setting" width="1308" height="719" data-path="images/setting-up-for-smartermail/1kzEFP2oW2nIVA1bogY1Ccz8mUSXnGal-ZbFWKNMfllmA9ILjNznC1RoQ4Ll0kUOmpMcaT0YXam3j8LG.jpg" />
  </Step>
</Steps>

## SmarterMail 10

<Note>
  SmarterMail 10 does not support adding X-headers, which means MailChannels cannot identify individual authenticated senders. Upgrading to SmarterMail 11 or later is recommended.
</Note>

<Steps>
  <Step title="Add an outgoing gateway">
    Navigate to **Settings** > **Routing** > **Outgoing Gateway** and create a new gateway with the following values:

    | Field                      | Value                           |
    | -------------------------- | ------------------------------- |
    | **Server address**         | `smtp.mailchannels.net`         |
    | **Port**                   | `25`                            |
    | **Encryption**             | TLS                             |
    | **Authentication enabled** | Checked                         |
    | **Auth username**          | Your MailChannels SMTP username |
    | **Auth password**          | Your MailChannels SMTP password |

    <img src="https://mintcdn.com/mailchannelscorporation/qgJx36-4nVXYStTm/images/setting-up-for-smartermail/m7BHOytDMfp7cDJe3wFkoIEDpr9qIRPwUolrXAW9SgMASuHvC_QUyPX9QJonpGklRI_UWTqTwgh-SY9U.jpg?fit=max&auto=format&n=qgJx36-4nVXYStTm&q=85&s=b89f55509812f8ec20f692ba5de60404" alt="SmarterMail 10 outgoing gateway configuration" width="1005" height="683" data-path="images/setting-up-for-smartermail/m7BHOytDMfp7cDJe3wFkoIEDpr9qIRPwUolrXAW9SgMASuHvC_QUyPX9QJonpGklRI_UWTqTwgh-SY9U.jpg" />
  </Step>
</Steps>
