000031243 - How to change "Redirect All Email To" without RSA Via L&G Application Server running

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 4Show Document
  • View in full screen mode

Article Content

Article Number000031243
Applies ToRSA Product Set: Identity Management and Governance
 
IssueSometimes, 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" 
User-added image
ResolutionThe 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';

Attachments

    Outcomes