Idira ENE Notification mails - duplicate CPM notification mails
Symptom
When we define an email for a notification at Platform level in PVWA: Target Account Platform > Automatic Password Management > Notifications , e.g. NFOnPasswordDisableRecipients , this recipient is getting 2 emails.
When an email is defined in this page, it overrides what it is defined in the System Configuration > Notification Settings
Environment
Privileged Access Manager (PAM, self-hosted) Event Notification Engine
Event Notification Engine
CPM
Cause
Cause #1:
In System Configuration > Notification Settings > NotificacionAgentRules, for the notification having problems, e.g. "Password will no longer be auto-managed", check if there are 2 Outputs defined.
If 2 Outputs are defined, it will send an email per Output when at the Platform level we define an email, overriding the recipients defined here.
Cause #2:
More than one CPM is assigned as a safe owner. If there is a time gap between the duplicate emails for the same account, this is most likely the cause.
Resolution
Solution to Cause #1:
Need to remove one Output so only one email is sent to the email defined at the Platform level.
For this particular case, the reason to have 2 Outputs was to send 1 email to Owners of a Safe (Query) and one to an email address. This can also be achieved having in RecipientTO the email address, and RecipientCC the Query (Safe Owners), so one email is sent to the address and one copy to the owners of the safe. The opposite, having in RecipientTO the Query, if there are 5 owners defined with email, it will send an email to the address in RecipientCC per owner, 5 emails in this example.
Solution to Cause #2:
Check the safe owners list in PA Client to ensure only a single CPM is assigned as a safe owner.
If a "DR CPM" is assigned to the safe in addition to the primary CPM, ensure that the "DR CPM" does not regularly come online as it will catch up to its tasks and create notifications for ENE to send.