|Applies To||RSA Product Set: Identity Management and Governance|
|Issue||Sometimes, if there is a need to change the email test settings and the UI is not available due to, for example, Application Server not available or if a backup of the production database has been taken to be restored on the QA/UAT environment but this setting was not changed before taking the backup and wishes to change the the value of the "Redirect All Email To" before starting application to prevent emails to be sent out to their users using Production settings.|
The following is the print-screen of the Edit Email Setting (Admin -> Email -> click Edit Button)
Note that "Redirect All Email To" is only visible once "Redirect All Email To Single Recipient" is set to "Yes"
|Resolution||The prefered method to change this setting is always using the UI but for exceptional cases , if UI is not availalble, change for setting for email are stored on t_system_settings table.|
More specifically the "Redirect All Email To" is set on parameter email.singleRecipient.
To modify the email setting run the following command connected as avuser:
Update t_system_settings set value = '<new value>' where parameter = 'email.singleRecipient';
To prevent any email from being sent also set email.disableEmail = true using the following command
Update t_system_settings set value = 'true' where parameter = 'email.disableEmail';