Unable to save email_receivers after upgrading 2.2

HI All,

I upgraded grayog to 2.2, then trying to configure alert notification, added new notification with subject , email_receivers: ryz.namathp@gmail.com and user_receivers: Rayees Namathponnan

Tried to test email after the mail configuration, but test email not triggered also noticed email_receiver added user_receivers not saved in “Editing alert configuration”

Here is my email configuration , e mail was working before the upgrade

# Email transport
transport_email_enabled = true
transport_email_hostname = smtp.xxxx.com
transport_email_port = 25
transport_email_use_auth = false
transport_email_use_tls = false
transport_email_use_ssl = false
transport_email_auth_username = you@example.com
transport_email_auth_password = secret
transport_email_subject_prefix = [graylog]
transport_email_from_email = graylog@one.xxxx.com

Are there any error or warning messages in the logs of your Graylog node(s)?

No error or warning in logs

Noticed after entering email, you need to select Add email from the same winodws, this issue got resolved now,

To save a E-Mail Receivers in alerts you must finish the emailaddress with a comma,
i.e. "noc@github.com," in graylog version Graylog 2.2.3+7adc951

Steps to add a E-Mail Receivers
1 Select "Alerts"
2 Manage notifications
3 Add new notification
4 select "Notify on stream
5 Select Notification type "Email Alert Callback"
6 in the form field E-Mail Receivers(optional) Add email receiver to email address plus a comma
7 enter email address: noc@github.com,

Nope, a trailing comma is not necessary.

I must enter a space or a trailing comma or space.

If i enter two enailaddresses without a trailing comma, graylog-web only
saves 1 emailadress

I’m using Firefox browser :

Firefox 54.0.1 (32-bit)
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
on Windows 10 version 1607 (OS buld 14393.1358)

The same bug with Linux Firefox ESR 52.2.0 64-bit on Centos 6.9
(2.6.32-696.3.2.el6.x86_64

Graylog version

Graylog 2.2.3+7adc951 on graylog-001.adam.connexys.nl (Oracle Corporation
1.8.0_131 on Linux 3.10.0-514.16.1.el7.x86_64)

I’m unable to reproduce this.

Here’s the dialogue to create (edit) an alert notification via E-Mail Alert Callback. As you can see, I’ve entered two recipients (foo1@example.com and foo2@example.com) without any commas.

The resulting configuration is as follows:


Again, the two recipients foo1@example.com and foo2@example.com are displayed correctly, without trailing comma.

Maybe we’re talking about different things?