Reconfiguring Mail Server

Steps to reconfigure the Mail Server after completing the installation of IBM Verify Identity Governance - Container

Perform the following steps to reconfigure the Mail server.

Procedure

  1. Navigate to the starter-kit/bin directory and execute the following command: ./getConfig.sh enRoleMail.properties

    This command retrieves the file from the pod and stores it in the starter-kit/data directory.

  2. Open the enRoleMail.properties file and provide values for the following parameters:
    • mail.baseurl= - URL to IBM Verify Identity Governance - Container login page, in the format: http://<host_name>:<port_number>
    • mail.from=  - Email address of the Sender. For example: imadmin@us.ibm.com
    • mail.host= - Mail Server IP address. For example: 192.168.6.204
    • mail.smtp.port= - Mail Server Port number. For example: 25
    • mail.smtp.starttls.enable= - enables TLS session with the mail server, default value is false
    • mail.smtp.auth= - enables authentication with the mail server, default value is false
    • mail.smtp.auth.user= - User ID used by application to authenticate with the SMTP server
    • mail.smtp.auth.password= - Use the starter/bin/changePasswords.sh script to set or change this password.
  3. Save the changes made to the file.
  4. Run the script bin/changePasswords.sh mail and provide the SMTP Mail Password.
  5. If the Mail server requires a certificate do the following:
    1. Copy certificate to starter/config/certs directory.
    2. Open the file starter-kit/config/config.yaml and include the certificate name. An Example is shown here.
      
      server: 
        truststore: 
        - '@smtp_server_certificate.pem' 
  6. To integrate the server certificate into the IBM Verify Identity Governance - Container pod, navigate to starter-kit/bin and execute: ./createConfigs.sh setup
  7. To apply the configured email properties to the IBM Verify Identity Governance - Container pod, run: ./createConfigs.sh
  8. Restart the IBM Verify Identity Governance - Container pod to activate the changes: kubectl rollout restart statefulset -n isvgim isvgim

    Here, isvgim indicates your Kubernetes namespace.

  9. Monitor the IBM Verify Identity Governance - Container pod status using: watch kubectl get pods -n isvgim
  10. After the IBM Verify Identity Governance - Container pod is running, conduct a test mail operation by navigating to IBM Verify Identity Governance - Container console → Configure SystemPost Office → click Test (button) → Enter an email ID and click Submit. Check the designated receiver email ID for the email.