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
- 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.
- 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.
- Save the changes made to the file.
- Run the script bin/changePasswords.sh mail and provide the SMTP Mail Password.
- If the Mail server requires a certificate do the following:
- Copy certificate to starter/config/certs directory.
- Open the file starter-kit/config/config.yaml and include the certificate
name. An Example is shown here.
server: truststore: - '@smtp_server_certificate.pem'
- To integrate the server certificate into the IBM Verify Identity Governance - Container pod, navigate to starter-kit/bin and execute: ./createConfigs.sh setup
- To apply the configured email properties to the IBM Verify Identity Governance - Container pod, run: ./createConfigs.sh
- 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.
- Monitor the IBM Verify Identity Governance - Container pod status using: watch kubectl get pods -n isvgim
- 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 System → Post Office → click Test (button) → Enter an email ID and click Submit. Check the designated receiver email ID for the email.