{"action":"created","issue":{"url":"https://api.github.com/repos/elifesciences/elife-xpub/issues/890","repository_url":"https://api.github.com/repos/elifesciences/elife-xpub","labels_url":"https://api.github.com/repos/elifesciences/elife-xpub/issues/890/labels{/name}","comments_url":"https://api.github.com/repos/elifesciences/elife-xpub/issues/890/comments","events_url":"https://api.github.com/repos/elifesciences/elife-xpub/issues/890/events","html_url":"https://github.com/elifesciences/elife-xpub/issues/890","id":374384818,"node_id":"MDU6SXNzdWUzNzQzODQ4MTg=","number":890,"title":"Configure email for all environments.","user":{"login":"diversemix","id":8524685,"node_id":"MDQ6VXNlcjg1MjQ2ODU=","avatar_url":"https://avatars1.githubusercontent.com/u/8524685?v=4","gravatar_id":"","url":"https://api.github.com/users/diversemix","html_url":"https://github.com/diversemix","followers_url":"https://api.github.com/users/diversemix/followers","following_url":"https://api.github.com/users/diversemix/following{/other_user}","gists_url":"https://api.github.com/users/diversemix/gists{/gist_id}","starred_url":"https://api.github.com/users/diversemix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diversemix/subscriptions","organizations_url":"https://api.github.com/users/diversemix/orgs","repos_url":"https://api.github.com/users/diversemix/repos","events_url":"https://api.github.com/users/diversemix/events{/privacy}","received_events_url":"https://api.github.com/users/diversemix/received_events","type":"User","site_admin":false},"labels":[{"id":881146788,"node_id":"MDU6TGFiZWw4ODExNDY3ODg=","url":"https://api.github.com/repos/elifesciences/elife-xpub/labels/Deployment","name":"Deployment","color":"e2c448","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-26T13:30:15Z","updated_at":"2018-10-26T13:39:40Z","closed_at":null,"author_association":"COLLABORATOR","body":"Part of #858 ... need to configure email for prod, staging and end2end ... for the test environments this would good to use a fake SMTP service. "},"comment":{"url":"https://api.github.com/repos/elifesciences/elife-xpub/issues/comments/433410899","html_url":"https://github.com/elifesciences/elife-xpub/issues/890#issuecomment-433410899","issue_url":"https://api.github.com/repos/elifesciences/elife-xpub/issues/890","id":433410899,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzQxMDg5OQ==","user":{"login":"giorgiosironi","id":160299,"node_id":"MDQ6VXNlcjE2MDI5OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/160299?v=4","gravatar_id":"","url":"https://api.github.com/users/giorgiosironi","html_url":"https://github.com/giorgiosironi","followers_url":"https://api.github.com/users/giorgiosironi/followers","following_url":"https://api.github.com/users/giorgiosironi/following{/other_user}","gists_url":"https://api.github.com/users/giorgiosironi/gists{/gist_id}","starred_url":"https://api.github.com/users/giorgiosironi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giorgiosironi/subscriptions","organizations_url":"https://api.github.com/users/giorgiosironi/orgs","repos_url":"https://api.github.com/users/giorgiosironi/repos","events_url":"https://api.github.com/users/giorgiosironi/events{/privacy}","received_events_url":"https://api.github.com/users/giorgiosironi/received_events","type":"User","site_admin":false},"created_at":"2018-10-26T13:39:40Z","updated_at":"2018-10-26T13:39:40Z","author_association":"CONTRIBUTOR","body":"At the moment these environments have a local `postfix` on `localhost:25` that forwards to AWS SES (real emails):\r\n```\r\n    'elife-xpub--staging--*':\r\n        - elife.postfix # queues then sends via AWS SES\r\n        - elife.postfix-ses\r\n\r\n    'elife-xpub--prod--*':\r\n        - elife.postfix # queues then sends via AWS SES\r\n        - elife.postfix-ses\r\n```\r\nWe should probably switch `staging` to use Mailtrap.io or similar?\r\nWe should probably add to `ci`|`end2end` MailCatcher if we intend to send emails from automated tests (otherwise just leave it without a mail server)?\r\n\r\nPort 25 is not open to the outside world, only to local connections. Have to find out what is the easiest way to resolve it from inside a container as `prod--xpub.elifesciences.org` goes to the ELB and doesn't cut it. Perhaps we should just configure SMTP to go directly to AWS SES host."}}
{"actor":{"display_login":"giorgiosironi"}}