SMTP servers

To view a list of the SMTP servers, go to System > Messaging > SMTP Servers.

Although FortiAuthenticator can be configured to send emails from the built-in mail server (localhost), this is not recommended. Anti-spam methods such as IP lookup, DKIM, and SPF can block mail from such ad-hoc mail servers. It is highly recommended that email is relayed from an official mail server for your domain.

The following information is shown:

Create New

Select to create a new SMTP server.


Select to delete the selected SMTP server or servers.

Set as Default

Set the selected SMTP server as the default SMTP server.

Reset table column widths

Select the reset icon to reset the table column widths to default.


The name of the SMTP server.


The server name and port number.


Shows a green circle with a check mark for the default SMTP server. To change the default server, select the server you would like to use as the default, then select Set as Default in the toolbar.

To add an external SMTP server:
  1. Go to System > Messaging > SMTP Servers and select Create New. The Create New SMTP Server window opens.
  2. Enter the following information:
    Name Enter a name to identify this mail server on FortiAuthenticator.
    Server name/IP Enter the IP address or Fully Qualified Domain Name (FQDN) of the mail server.
    Port The default port 25. Change it if your SMTP server uses a different port.

    SMTP connection timeout value in second

    Enter the SMTP connection timeout value, in seconds (default = 5).

    Sender name (optional) Optionally, enter the name that will appear when sending an email from FortiAuthenticator.
    Sender email address In the From field, enter the email address that will appear when sending an email from FortiAuthenticator.

    Connection Security and Authentication

    Customize the secure connection and authentication for a user.
      Secure connection For a secure connection to the mail server, select STARTTLS from the dropdown menu.
      Enable authentication Enable if the email server requires you to authenticate when sending email. Enter the Account username and Password if required.
  3. Optionally, select Test Connection to send a test email message. Specify a recipient and select Send. Confirm that the recipient received the message.
    Note that the recipient’s email system might treat the test email message as spam.
  4. Select Save to create the new SMTP server.

For troubleshooting tips, see Troubleshooting SMTP server tests.