---
schema_version: "1"
id: cc4d19c025398a746aa808d5f86f1526844e8f6ad352b92738b1f663a2ada437
title: Configure SMTP Setup
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/server-linux/config_smtp.md
canonical_url: https://help.tableau.com/v0.0/server-linux/en-us/config_smtp.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 03b9f16385c44a01a24b5c39d316c67a093ca98cef5258496efaa00a099c5c23
description: Configure the SMTP server so Tableau Server can email admins and users about alerts and subscriptions.
---
[Skip to main content](#main-content)

# Configure SMTP Setup

Tableau Server can email server administrators about system failures, and email server users about subscribed views and data-driven alerts. First, however, you need to configure the SMTP server that Tableau Server uses to send email. After configuring SMTP, complete the steps to configure notifications ([Configure Server Event Notification](https://help.tableau.com/v0.0/server-linux/en-us/email.htm)), then when you start or restart the server, it will trigger an email notification, which confirms that you have set up notifications correctly.

Configuring SMTP requires that you restart Tableau Server services.

## Secure SMTP

To enable and configure TLS for SMTP, you must use the TSM CLI as described in this topic. Tableau Server only supports STARTTLS (Opportunistic or Explicit TLS).

If your organization does not use public certificates for verifying TLS connections, then you can upload a private certificate to Tableau Server to verify trusted connections. For more information, see the [tsm security custom-cert add](https://help.tableau.com/v0.0/server-linux/en-us/cli_security_tsm.htm#custom-cert-add) command.

You may also configure SMTP TLS for encryption-only by disabling the certificate validation process. For more information, see the section, _Configuration file reference_,in the _Use the TSM CLI_ tab below.

1. Open TSM in a browser:
    
    https://<tsm-computer-name>:8850. For more information, see [Sign in to Tableau Services Manager Web UI](https://help.tableau.com/v0.0/server-linux/en-us/sign_in_tsm.htm).
2. Click Notificationson the Configuration tab and click Email Server.
3. Enter the SMTP configuration information for your organization:
4. Click Save Pending Changes after you've entered your configuration information.
5. Click Pending Changes at the top of the page:
    
    ![Tableau Server Manager toolbar indicating that there are pending changes.](/tableau/next/en-us/server-linux/en-us/Img/tsm-ui-pending-changes-btn.png)
6. Click Apply Changes and Restart.
7. Run the `tsm email test-smtp-connection` to view and verify the connection configuration. See [tsm email test-smtp-connection](https://help.tableau.com/v0.0/server-linux/en-us/cli_email.htm#tsm).

For the initial configuration of SMTP, we recommend that you use the configuration file template below to create a json file. You can also set any single configuration key listed below with the syntax described in [tsm configuration set](https://help.tableau.com/v0.0/server-linux/en-us/cli_configuration_tsm.htm#TSMSet).

1. Copy the following json template to a file.
    
    **Important**: The template below includes common options for most deployments. After you copy the template to a text file, you must edit the option values for your SMTP server requirements. You may need to remove or add options. See the reference section that follows for more information about all supported SMTP key options.
    
    {
    "configKeys": {
    	"svcmonitor.notification.smtp.server": "_SMTP server host name_",
    	"svcmonitor.notification.smtp.send\_account": "_SMTP user name_",
    	"svcmonitor.notification.smtp.port": 443,
    	"svcmonitor.notification.smtp.password": "_SMTP user account password_",
    	"svcmonitor.notification.smtp.ssl\_enabled": true,
    	"svcmonitor.notification.smtp.from\_address": "_From email address_",
    	"svcmonitor.notification.smtp.target\_addresses": "_To email address1,address2_",
    	"svcmonitor.notification.smtp.canonical\_url": "_Tableau Server URL_"
    	}
    }
2. Run the `tsm settings import -f file.json` to pass the json file with the appropriate values to Tableau Services Manager to configure Tableau Server for SMTP. Tableau Services Manager will validate the entity values.
3. Run the `tsm pending-changes apply` command to apply the changes. See [tsm pending-changes apply](https://help.tableau.com/v0.0/server-linux/en-us/cli_pending-changes.htm#pending-changes-apply).
4. Run the `tsm email test-smtp-connection` to view and verify the connection configuration. See [tsm email test-smtp-connection](https://help.tableau.com/v0.0/server-linux/en-us/cli_email.htm#tsm).

### SMTP CLI configuration reference

This table lists all of the options that can be used to configure SMTP with TSM CLI.

<table style="width: 100%;" class="simple-table">
                    <thead>
                        <tr>
                            <th>Option</th>
                            <th>Description</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td><code>svcmonitor.notification.smtp.server</code>
                            </td>
                            <td>
						Address of SMTP server.
					<p>Example:</p><p><code>"svcmonitor.notification.smtp.server": "mail.example.com"</code></p></td>
                        </tr>
                        <tr>
                            <td><code>svcmonitor.notification.smtp.send_account</code>
                            </td>
                            <td>User name for SMTP account.</td>
                        </tr>
                        <tr>
                            <td><code>svcmonitor.notification.smtp.port</code>
                            </td>
                            <td>Port number for SMTP server. The default is 25.</td>
                        </tr>
                        <tr>
                            <td><code>svcmonitor.notification.smtp.password</code>
                            </td>
                            <td>
						Password for SMTP server account.
					<p>Example:</p><p><code>"svcmonitor.notification.smtp.password":"password"</code></p></td>
                        </tr>
                        <tr>
                            <td><code>svcmonitor.notification.smtp.ssl_enabled</code>
                            </td>
                            <td>
						Specifies whether the connection to the SMTP server is encrypted. The default is false.
					</td>
                        </tr>
                        <tr>
                            <td><code>svcmonitor.notification.smtp.ssl_required</code>
					</td>
                            <td>
                                <p>If enabled, Tableau Server will refuse to connect to SMTP servers without using TLS.

							The <code>svcmonitor.notification.smtp.ssl_enabled</code> option must also be set to true. 
						</p>
                                <p>The default is false.
						</p>
                            </td>
                        </tr>
                        <tr>
                            <td><code>svcmonitor.notification.smtp.ssl_check_server_identity</code>
					</td>
                            <td>
                                <p>If set to true, Tableau Server will check the SMTP&nbsp;server identity as specified by <a href="http://www.ietf.org/rfc/rfc2595.txt" target="_blank">RFC 2595</a>. These additional checks based on the content of the server's certificate are intended to prevent man-in-the-middle attacks.</p>
                                <p>The default is false.
						</p>
                            </td>
                        </tr>
                        <tr>
                            <td><code>svcmonitor.notification.smtp.ssl_trust_all_hosts
						</code>
                            </td>
                            <td>
                                <p>When using TLS, trust certificates from all mail servers, ignoring the validity of the certificate's chain of trust.
						By setting this key to true, TLS&nbsp;will be used only to encrypt the traffic to the SMTP&nbsp;host.</p>
                                <p>The default is false.
						</p>
                            </td>
                        </tr>
                        <tr>
                            <td><code>svcmonitor.notification.smtp.ssl_ciphers
						</code>
                            </td>
                            <td>
                                <p>The default and supported sets of cipher suites is defined by the version of JDK&nbsp;that is installed with Tableau Server. See the section below, <a href="#TLS_ciphers" class="xref">TLS ciphers</a>, for a list of supported and default ciphers.</p>
                                <p>To update the cipher suites used by Tableau Server for SMTP&nbsp;TLS&nbsp;connections, enter a  white space-separated list of cipher suites for this value. For example, <code>"TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256 TLS_DHE_DSS_WITH_AES_128_GCM_SHA256 TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"</code>. </p>
                            </td>
                        </tr>
                        <tr>
                            <td><code>svcmonitor.notification.smtp.ssl_versions
						</code>
                            </td>
                            <td>
                                <p>The default TLS&nbsp;versions enabled on this version of Tableau Server are TLSv1, TLSv1.1, TLSv1.2 and TLSv1.3.</p>
                                <p>TLS&nbsp;version support is defined by the version of JDK&nbsp;that is installed with Tableau Server. </p>
                                <p>Supported versions of TLS are <code>SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2, TLSv1.3</code>.</p>
                                <p>To update the versions used by Tableau Server for SMTP&nbsp;TLS&nbsp;connections, enter a  white space-separated list of versions for this value. For example,   <code>"TLSv1.2 TLSv1.3"</code>.</p>
                            </td>
                        </tr>
                        <tr>
                            <td><code>svcmonitor.notification.smtp.from_address</code>
                            </td>
                            <td>
						Email address that will send an notification if there's a system failure. The email address must have valid syntax (for example, ITalerts@bigco.com or noreply@mycompany), but it does not have to  be an actual email account on Tableau Server. (Some SMTP servers may require  an actual email account, however.)
					<p class="note"><strong>Note</strong>: You can override the system-wide email address on a per-site basis. For more information, see <a href="https://help.tableau.com/v0.0/server-linux/en-us/sites.htm" class="xref">What is a site</a>.</p><p>Example:</p><p><code>"svcmonitor.notification.smtp.from_address": "donot-reply@example.com"</code></p></td>
                        </tr>
                        <tr>
                            <td><code>svcmonitor.notification.smtp.target_addresses</code>
                            </td>
                            <td>
						Email address to receive notifications. If email notifications are enabled, you need to include at least one address. Separate multiple addresses with commas.
					<p>Example:</p><p><code>"svcmonitor.notification.smtp.target_addresses": "iluvdata@example.com"</code></p></td>
                        </tr>
                        <tr>
                            <td><code>svcmonitor.notification.smtp.canonical_url</code>
                            </td>
                            <td>
						URL of the Tableau Server. Enter <code>http://</code> or <code> https://</code>, followed by the name or IP address of the Tableau server. Used in the footer of subscription email.
					<p>Example:</p><p><code>"svcmonitor.notification.smtp.canonical_url": "http://myserver.example.com"</code></p></td>
                        </tr>
                    </tbody>
                </table>

### TLS ciphers

The following is a list of TLS ciphers that are supported by the JDK that is included with Tableau Server. In this version of Tableau Server, all of these ciphers are enabled by default. You can specify a custom list of ciphers for your SMTP configuration by entering a white-space separated list with the option, `svcmonitor.notification.smtp.ssl_ciphers`, as described in the table above.

<table style="width: 100%;" class="simple-table">
                    <colgroup><col style="width: 50%;">
                    <col style="width: 50%;">
                    </colgroup><tbody>
                        <tr>
                            <td>
                                <p>TLS_RSA_WITH_AES_128_CBC_SHA256</p>
                            </td>
                            <td>
                                <p>TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384</p>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <p> TLS_DHE_DSS_WITH_AES_256_GCM_SHA384</p>
                            </td>
                            <td>
                                <p> TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256</p>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <p>TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384</p>
                            </td>
                            <td>
                                <p>TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA</p>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <p> TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA</p>
                            </td>
                            <td>
                                <p> TLS_RSA_WITH_AES_256_CBC_SHA256</p>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <p> TLS_RSA_WITH_AES_128_GCM_SHA256</p>
                            </td>
                            <td>
                                <p>TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384</p>
                            </td>
                        </tr>
                        <tr>
                            <td> TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256</td>
                            <td>
                                <p>TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256</p>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <p> TLS_DHE_DSS_WITH_AES_128_CBC_SHA256</p>
                            </td>
                            <td>
                                <p> TLS_DHE_DSS_WITH_AES_256_CBC_SHA</p>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <p> TLS_DHE_RSA_WITH_AES_128_CBC_SHA256</p>
                            </td>
                            <td> TLS_DHE_RSA_WITH_AES_256_CBC_SHA256</td>
                        </tr>
                        <tr>
                            <td>
                                <p> TLS_RSA_WITH_AES_256_GCM_SHA384</p>
                            </td>
                            <td>
                                <p> TLS_EMPTY_RENEGOTIATION_INFO_SCSV</p>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <p> TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384</p>
                            </td>
                            <td>
                                <p> TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA</p>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <p>TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA</p>
                            </td>
                            <td>
                                <p> TLS_DHE_DSS_WITH_AES_256_CBC_SHA256</p>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <p> TLS_RSA_WITH_AES_256_CBC_SHA</p>
                            </td>
                            <td>
                                <p> TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256</p>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <p> TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256</p>
                            </td>
                            <td>
                                <p>TLS_DHE_RSA_WITH_AES_256_CBC_SHA</p>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <p>TLS_DHE_DSS_WITH_AES_128_GCM_SHA256</p>
                            </td>
                            <td>
                                <p> TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256</p>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <p> TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384</p>
                            </td>
                            <td>
                                <p>TLS_ECDH_RSA_WITH_AES_128_CBC_SHA</p>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <p> TLS_DHE_RSA_WITH_AES_256_GCM_SHA384</p>
                            </td>
                            <td>
                                <p> TLS_DHE_RSA_WITH_AES_128_CBC_SHA</p>
                            </td>
                        </tr>
                        <tr>
                            <td> TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256</td>
                            <td> TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA</td>
                        </tr>
                        <tr>
                            <td> TLS_DHE_RSA_WITH_AES_128_GCM_SHA256</td>
                            <td>
                                <p> TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256</p>
                            </td>
                        </tr>
                        <tr>
                            <td> TLS_ECDH_RSA_WITH_AES_256_CBC_SHA</td>
                            <td>
                                <p> TLS_DHE_DSS_WITH_AES_128_CBC_SHA</p>
                            </td>
                        </tr>
                        <tr>
                            <td> TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA</td>
                            <td>
                                <p>TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384</p>
                            </td>
                        </tr>
                        <tr>
                            <td> TLS_RSA_WITH_AES_128_CBC_SHA</td>
                            <td>TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384</td>
                        </tr>
                        <tr>
                            <td> TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384</td>
                            <td>TLS_AES_256_GCM_SHA384</td>
                        </tr>
                        <tr>
                            <td>TLS_AES_128_GCM_SHA256</td>
                            <td>&nbsp;</td>
                        </tr>
                    </tbody>
                </table>

## Other articles in this section