Skip to content

Watcher emails fails if one of the recipient in the mailing list has not confirmed Email Whitelisting #84225

Open
@pankaj-k

Description

@pankaj-k

Elasticsearch Version

v7.16.3

Installed Plugins

No response

Java Version

bundled

OS Version

Cloud instance

Problem Description

Hi,

I configured an email alert with a long list of recipient emails. I added all of them via the cloud management page using Monitoring email whitelist. The problem is that some of them forget to act on the email they get and I have no way to know who have whitelisted it (I might be wrong here).

The behaviour is that the whole email action fails. It should succeed for the people who have whitelisted it and simply not send email to people who have not done so.

"type": "messaging_exception", "reason": "failed to send email with subject [Alert: We have some failures] via account [work]", "caused_by": { "type": "send_failed_exception", "reason": "Invalid Addresses", "caused_by": { "type": "s_m_t_p_address_failed_exception", "reason": "554 5.7.1 <[email protected]>: Recipient address rejected: Access denied\n"

Regards
Pankaj K

Steps to Reproduce

  1. Create a simple email alert with two recipients.
  2. One recipient should not confirm the email whitelisting.
  3. The whole email action fails and none of the two recipient get the email.

Logs (if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions