{"action":"created","issue":{"url":"https://api.github.com/repos/fedora-infra/fmn/issues/128","repository_url":"https://api.github.com/repos/fedora-infra/fmn","labels_url":"https://api.github.com/repos/fedora-infra/fmn/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/fedora-infra/fmn/issues/128/comments","events_url":"https://api.github.com/repos/fedora-infra/fmn/issues/128/events","html_url":"https://github.com/fedora-infra/fmn/issues/128","id":146426430,"number":128,"title":"Some emails sent are too big","user":{"login":"ralphbean","id":331338,"avatar_url":"https://avatars.githubusercontent.com/u/331338?v=3","gravatar_id":"","url":"https://api.github.com/users/ralphbean","html_url":"https://github.com/ralphbean","followers_url":"https://api.github.com/users/ralphbean/followers","following_url":"https://api.github.com/users/ralphbean/following{/other_user}","gists_url":"https://api.github.com/users/ralphbean/gists{/gist_id}","starred_url":"https://api.github.com/users/ralphbean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralphbean/subscriptions","organizations_url":"https://api.github.com/users/ralphbean/orgs","repos_url":"https://api.github.com/users/ralphbean/repos","events_url":"https://api.github.com/users/ralphbean/events{/privacy}","received_events_url":"https://api.github.com/users/ralphbean/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-04-06T20:36:15Z","updated_at":"2016-10-07T17:47:32Z","closed_at":null,"body":"Noticed this traceback from the backend mailer today:\r\n\r\n```python\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/site-packages/fmn/consumer/producer.py\", line 49, in poll\r\n    self.work(session)\r\n  File \"/usr/lib/python2.7/site-packages/fmn/consumer/producer.py\", line 94, in work\r\n    self.manage_batch(session, backend, pref)\r\n  File \"/usr/lib/python2.7/site-packages/fmn/consumer/producer.py\", line 136, in manage_batch\r\n    backend.handle_batch(session, recipient, queued_messages)\r\n  File \"/usr/lib/python2.7/site-packages/fmn/consumer/backends/mail.py\", line 178, in handle_batch\r\n    topics, categories, usernames, packages)\r\n  File \"/usr/lib/python2.7/site-packages/fmn/consumer/backends/mail.py\", line 111, in send_mail\r\n    to_bytes(email_message.as_string()),\r\n  File \"/usr/lib64/python2.7/smtplib.py\", line 730, in sendmail\r\n    raise SMTPSenderRefused(code, resp, from_addr)\r\nSMTPSenderRefused: (552, '5.3.4 Message size exceeds fixed limit', 'notifications@fedoraproject.org')\r\n```\r\n\r\nWe should:\r\n\r\n- Figure out what that fixed limit is.  Ask the admins.\r\n- Update the code in ``fmn/consumer/backends/mail.py`` to detect if the message is too large and, if it is:\r\n- Truncate the message (or split it up.. or something like that)."},"comment":{"url":"https://api.github.com/repos/fedora-infra/fmn/issues/comments/252316593","html_url":"https://github.com/fedora-infra/fmn/issues/128#issuecomment-252316593","issue_url":"https://api.github.com/repos/fedora-infra/fmn/issues/128","id":252316593,"user":{"login":"jeremycline","id":1977525,"avatar_url":"https://avatars.githubusercontent.com/u/1977525?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremycline","html_url":"https://github.com/jeremycline","followers_url":"https://api.github.com/users/jeremycline/followers","following_url":"https://api.github.com/users/jeremycline/following{/other_user}","gists_url":"https://api.github.com/users/jeremycline/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremycline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremycline/subscriptions","organizations_url":"https://api.github.com/users/jeremycline/orgs","repos_url":"https://api.github.com/users/jeremycline/repos","events_url":"https://api.github.com/users/jeremycline/events{/privacy}","received_events_url":"https://api.github.com/users/jeremycline/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T17:47:32Z","updated_at":"2016-10-07T17:47:32Z","body":"@puiterwijk this sounds like what you fixed in https://github.com/fedora-infra/fmn.consumer/pull/88. Can this be closed now?"}}
{"actor":{"display_login":"jeremycline"}}