{"action":"created","issue":{"url":"https://api.github.com/repos/edx/configuration/issues/2453","labels_url":"https://api.github.com/repos/edx/configuration/issues/2453/labels{/name}","comments_url":"https://api.github.com/repos/edx/configuration/issues/2453/comments","events_url":"https://api.github.com/repos/edx/configuration/issues/2453/events","html_url":"https://github.com/edx/configuration/pull/2453","id":115836694,"number":2453,"title":"Add a postfix queue role","user":{"login":"bradenmacdonald","id":945577,"avatar_url":"https://avatars.githubusercontent.com/u/945577?v=3","gravatar_id":"","url":"https://api.github.com/users/bradenmacdonald","html_url":"https://github.com/bradenmacdonald","followers_url":"https://api.github.com/users/bradenmacdonald/followers","following_url":"https://api.github.com/users/bradenmacdonald/following{/other_user}","gists_url":"https://api.github.com/users/bradenmacdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/bradenmacdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradenmacdonald/subscriptions","organizations_url":"https://api.github.com/users/bradenmacdonald/orgs","repos_url":"https://api.github.com/users/bradenmacdonald/repos","events_url":"https://api.github.com/users/bradenmacdonald/events{/privacy}","received_events_url":"https://api.github.com/users/bradenmacdonald/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-09T09:20:22Z","updated_at":"2015-11-12T16:16:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/configuration/pulls/2453","html_url":"https://github.com/edx/configuration/pull/2453","diff_url":"https://github.com/edx/configuration/pull/2453.diff","patch_url":"https://github.com/edx/configuration/pull/2453.patch"},"body":"This new optional ansible role will enable edxapp instances to send emails instantly to a postfix server that runs on localhost, and then queues messages and forwards them to a third party SMTP service. This is usually a faster and more robust setup than getting edxapp to connect directly to the third party SMTP server.\r\n\r\nWe've tested this role on a client instance with https://www.authsmtp.com/ as the external SMTP server.\r\n\r\n**Usage Instructions**:\r\n\r\n1. Add this ansible role to the playbook that you're using.\r\n2. Set these new variables in the secure configuration:\r\n\r\n  ```\r\nPOSTFIX_QUEUE_EXTERNAL_SMTP_HOST: mail.authsmtp.com\r\nPOSTFIX_QUEUE_EXTERNAL_SMTP_PORT: 2525\r\nPOSTFIX_QUEUE_EXTERNAL_SMTP_USER: username_here\r\nPOSTFIX_QUEUE_EXTERNAL_SMTP_PASSWORD: password_here\r\n```\r\n3. *unset* all of the `EDXAPP_EMAIL_` variables in the secure configuration.\r\n\r\n**Author Notes**\r\nI have not added this to any existing playbooks - I could do so with a `when: ` condition if that would be preferable."},"comment":{"url":"https://api.github.com/repos/edx/configuration/issues/comments/156152562","html_url":"https://github.com/edx/configuration/pull/2453#issuecomment-156152562","issue_url":"https://api.github.com/repos/edx/configuration/issues/2453","id":156152562,"user":{"login":"feanil","id":781561,"avatar_url":"https://avatars.githubusercontent.com/u/781561?v=3","gravatar_id":"","url":"https://api.github.com/users/feanil","html_url":"https://github.com/feanil","followers_url":"https://api.github.com/users/feanil/followers","following_url":"https://api.github.com/users/feanil/following{/other_user}","gists_url":"https://api.github.com/users/feanil/gists{/gist_id}","starred_url":"https://api.github.com/users/feanil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feanil/subscriptions","organizations_url":"https://api.github.com/users/feanil/orgs","repos_url":"https://api.github.com/users/feanil/repos","events_url":"https://api.github.com/users/feanil/events{/privacy}","received_events_url":"https://api.github.com/users/feanil/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T16:16:17Z","updated_at":"2015-11-12T16:16:17Z","body":":+1:   @fredsmith second review"}}