On occasion, the primary SmarterMail administrator may need to reset their own login credentials or the login credentials for a secondary administrator account that manages the entire SmarterMail installation. This is useful in the event that the primary administrator has lost their password or if the login credentials have fallen into the wrong hands.
NOTE: If you use a hosted SmarterMail and need to reset your Domain Administrator or user password, please contact your hosting provider directly. These steps are for resetting a system administrator's account credentials and require access to the server where SmarterMail is installed.
Follow these steps to reset an administrator's password back to the default configuration:
- In the Windows Services panel, STOP the SmarterMail service. (Find the Services panel in the Start menu's Administrative Tools option.)
- Navigate to the administrators.json file. By default, this is found at C:\Program Files\SmarterTools\SmarterMail\Service\Settings\administrators.json.
- Make a backup copy of the administrators.json file.
- Edit the administrators.json file. Ensure you modify this filename, NOT the administrators_bak.json file. The latter is only used as a backup file in case of any potential corruption or loss to the administrators.json. SmarterMail will not recognize changes to the _bak file. (To edit the contents of the administrators.json file, right-click on the file and choose Edit or hover your mouse on Open with and select Notepad. Make sure you have administrative access when you do this.)
- In this file, all system administrator accounts will be listed. Locate the entry for the administrator account you wish to reset by finding the corresponding username or display name. (The primary administrator account will also be denoted by a tag of is_primary_admin: true.)
- When you've located the correct administrator account, replace the password_hash line with the following password hash. (Note that you should not simply delete the current password hash that's shown. If you do, the administrator will not be able to log in.)
- Save the file in the Settings folder using its same name. You may receive the message, "administrators.json already exists. Do you want to replace it?". Choose Yes to replace the file with the updated administrators.json.
- In the Windows Services panel, START the SmarterMail service.
- After completing this process, the administrator account you modified will be able to log in to SmarterMail using their username and the default password "admin" (without the quotes). That administrator should immediately go to Settings > Administrators and change their password to something more secure.
If the reset was not successful or if you receive an "Access is denied." error when attempting to replace the administrators.json file, it is likely because your user account that's logged into the server does not have the proper User Account Control (UAC) permissions. In this case, there are two workarounds that may help:
- After making a backup of the administrators.json, drag the file out of the Settings folder and onto your desktop. (Alternatively, you can right-click on the file in the Settings folder, click Copy, then right-click on your desktop and click Paste.) Complete steps 4-6. Save and close the file. Then, drag the file from your desktop back into the Settings folder (or copy and paste it in there). Confirm that you would like to replace the administrators.json file that's already there. In the Windows Services panel, start the SmarterMail service.
- After making a backup of the administrators.json file, click on the Start menu. (If Notepad is not already visible in the list of applications, type Notepad in the search bar.) Right-click on Notepad and choose Run as Administrator. In the User Account Control popup, choose Yes to allow the program to make changes to the computer. In Notepad, open a file and navigate to the administrators.json file. (If administrators.json is not visible in the folder, change the "Text Documents (*.txt)" dropdown to "All Files (*.*)" instead.) Save and close the file. In the Windows Services panel, start the SmarterMail service.
For all other cases, please contact the SmarterTools Support Department for direct troubleshooting.