How to update SMTP server settings in Jira Align Self-Hosted
Platform Notice: Cloud and Data Center - This article applies equally to both cloud and data center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
At times, Self-Hosted customers may need to change their BackOffice service’s SMTP server settings, the corresponding credentials, or both, either due to corporate mail service migration or email account password change (or rotation).
This document describes the necessary steps to successfully update BackOffice service settings to accommodate that need. It is assumed that the BackOffice email service has been previously configured and has been successfully operating since.
Environment
Jira Align Self-Hosted
Solution
Assuming the customer has a currently running BackOffice service, registered towards a fully functional SMTP server, the steps below are necessary to either:
Migrate to a new SMTP server; or
Update the email account credentials
Pre-requisites
The BackOffice service has been previously, successfully configured
The BackOffice service is up and running and is currently capable of sending emails (no error logs are found in the corresponding log file)
The new SMTP server is up and running
The Jira Align Super Admin has been provided with a fully functional email credential (username & password) registered with the new SMTP server
Steps to update BackOffice service SMTP settings
As a Windows Administrator, log in to the Jira Align application server
Launch Services, then stop the BackOffice service
Make a backup copy of c:[ROOT_DIRECTORY]\BackofficeService\ServiceTasks.BackOffice.dll.config file
Copy ServiceTasks.BackOffice.dll.config from c:[ROOT_DIRECTORY]\Releases[VERSION]\BackofficeService to c:[ROOT_DIRECTORY]\BackofficeService – that will replace your current configuration file ⚠️
Using a text editor (e.g. Notepad++), edit ServiceTasks.BackOffice.dll.config and provide the details of the new SMTP server
Change the value for smtp_from_email_address to set the email address from which the emails will be sent (ensure this email address is capable of sending emails through the host or relay in the next step)
Change the values for the attributes host=“127.0.0.1”, port=“25”, and enableSsl=“false” to the new SMTP email relay server settings that Jira Align will use to relay email through
Optionally, if you need to authenticate to the SMTP host or relay, you can set attributes for userName and password
If you do not know these email relay settings, contact your SMTP server administrator
For more information about supported SMTP relay settings, refer to the following article, from Microsoft: https://learn.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/network/smtp-element-network-settings
Switch back to Services, then start the BackOffice service
Notice that when username & password values are present, in case changes were successful, the <smtp> node will be encrypted when the BackOffice service get started.
Was this helpful?