You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running an instance of mailer, and I'm having trouble specifying extra recipients for my alerts. I've got a user specified in "mail_to" and further users specified in the subscriptions, but only the "mail_to" user is getting emails. My mailer.json looks like this:
I'm running an instance of mailer, and I'm having trouble specifying extra recipients for my alerts. I've got a user specified in "mail_to" and further users specified in the subscriptions, but only the "mail_to" user is getting emails. My mailer.json looks like this:
{
"mailer" : {
"admin_gui" : "https://example.com/uchiwa/",
"mail_from": "sensu@example.com",
"mail_to": ["user1@example.com"],
"delivery_method": "smtp",
"smtp_address": "localhost",
"smtp_port": "25",
"smtp_domain": "localhost.local_domain",
"subscriptions" : {
"subscription1": {
"mail_to": ["user2@example.com",
"user3@example.com"]
},
"subscription2": {
"mail_to": ["user4@example.com"]
}
# further subscriptions omitted
}
},
"handlers": {
"mailer": {
"type": "pipe",
"command": "/opt/sensu/embedded/bin/handler-mailer.rb",
"severities": ["warning", "critical", "unknown"]
},
"mailer-crit": {
"type": "pipe",
"command": "/opt/sensu/embedded/bin/handler-mailer.rb",
"severities": ["critical", "unknown"]
}
}
The text was updated successfully, but these errors were encountered: