How to: Set up users for SMTP notifications

Overview

If your username is set up for SMTP notifications and you forget your BIG-IP Next Central Manager password, you can receive a password reset email.

Procedure

  1. Log in to BIG-IP Next Central Manager as admin, click the Workspace icon next to the F5 icon, click System, and then click Users & Roles.

  2. Click on the user name of the user you are setting up.
    The User Information screen displays.

  3. Under Email Address (if it’s not already present), type in the email address for this user.

  4. Click Save.

  5. Authenticate with the BIG-IP Next Central Manager API. For details refer to How to: Authenticate with the BIG-IP Next Central Manager API

  6. To set up an SMTP server to receive lost password resets, make a Post to the /api/system/v1/smtp-servers endpoint.

    POST https://<big-ip_next_cm_mgmt_ip>/api/system/v1/smtp-servers
    

    For the API body, use the following, substituting the values for the server you are setting up.

    {
      "server_name": "test_smtp",
      "host": "mail.sample.com",
      "port": 25,
      "from_address": "admin@sample.com",
      "encryption": "TLS",
      "username": "admin",
      "password": "admin",
      "authentication_enabled": true,
      "description": "Test SMTP server"
    }
    

A successful response (200) means that the BIG-IP Next Central Manager has added the SMTP server with the details you provided. Password reset requests will now trigger an SMTP email to the user’s email.