{"action":"created","issue":{"url":"https://api.github.com/repos/prometheus/alertmanager/issues/377","repository_url":"https://api.github.com/repos/prometheus/alertmanager","labels_url":"https://api.github.com/repos/prometheus/alertmanager/issues/377/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/alertmanager/issues/377/comments","events_url":"https://api.github.com/repos/prometheus/alertmanager/issues/377/events","html_url":"https://github.com/prometheus/alertmanager/issues/377","id":159827837,"number":377,"title":"Failing to send email alerts - docs and error messages not helping much","user":{"login":"estechnical","id":4295310,"avatar_url":"https://avatars.githubusercontent.com/u/4295310?v=3","gravatar_id":"","url":"https://api.github.com/users/estechnical","html_url":"https://github.com/estechnical","followers_url":"https://api.github.com/users/estechnical/followers","following_url":"https://api.github.com/users/estechnical/following{/other_user}","gists_url":"https://api.github.com/users/estechnical/gists{/gist_id}","starred_url":"https://api.github.com/users/estechnical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estechnical/subscriptions","organizations_url":"https://api.github.com/users/estechnical/orgs","repos_url":"https://api.github.com/users/estechnical/repos","events_url":"https://api.github.com/users/estechnical/events{/privacy}","received_events_url":"https://api.github.com/users/estechnical/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-12T13:33:54Z","updated_at":"2016-07-20T20:48:24Z","closed_at":null,"body":"Hi,\r\n\r\nI have set up as follows:\r\n```\r\nglobal:\r\n  # The smarthost and SMTP sender used for mail notifications.\r\n  smtp_smarthost: 'smtp-xxxxx:465'\r\n  smtp_from: 'Alertmanager <xxxx@xxxxx.com>'\r\n  smtp_auth_username: 'xx@xxxxxx.com'\r\n  smtp_auth_password: 'xxxx'\r\n  require_tls: true\r\nroute:\r\n  group_by: ['severity','alertname']\r\n  group_wait: 30s\r\n  group_interval: 5m\r\n  repeat_interval: 5m\r\n  receiver: mail\r\nreceivers:\r\n- name: 'mail'\r\n  email_configs:\r\n  - to: 'xxxxx@gmail.com'\r\n```\r\n\r\nI have tried many permutations of the config without any obvious success. The most I have got to happen is regular messages printed to stdout:\r\n```\r\nlevel=warning msg=\"Notify attempt 1 failed: EOF\" source=\"notify.go:193\" \r\n```\r\n\r\nFirstly, the docs don't say very much about configuring email alerts. \r\n\r\n2nd, the error message is not helping me at all.\r\n\r\nAny suggestions? Many thanks!"},"comment":{"url":"https://api.github.com/repos/prometheus/alertmanager/issues/comments/234077799","html_url":"https://github.com/prometheus/alertmanager/issues/377#issuecomment-234077799","issue_url":"https://api.github.com/repos/prometheus/alertmanager/issues/377","id":234077799,"user":{"login":"brian-brazil","id":7115638,"avatar_url":"https://avatars.githubusercontent.com/u/7115638?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-brazil","html_url":"https://github.com/brian-brazil","followers_url":"https://api.github.com/users/brian-brazil/followers","following_url":"https://api.github.com/users/brian-brazil/following{/other_user}","gists_url":"https://api.github.com/users/brian-brazil/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-brazil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-brazil/subscriptions","organizations_url":"https://api.github.com/users/brian-brazil/orgs","repos_url":"https://api.github.com/users/brian-brazil/repos","events_url":"https://api.github.com/users/brian-brazil/events{/privacy}","received_events_url":"https://api.github.com/users/brian-brazil/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T20:48:24Z","updated_at":"2016-07-20T20:48:24Z","body":"Presuming that's the issue, I think this is something that we should have work."}}
{"actor":{"display_login":"brian-brazil"}}