{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla-bteam/bmo/issues/858","repository_url":"https://api.github.com/repos/mozilla-bteam/bmo","labels_url":"https://api.github.com/repos/mozilla-bteam/bmo/issues/858/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-bteam/bmo/issues/858/comments","events_url":"https://api.github.com/repos/mozilla-bteam/bmo/issues/858/events","html_url":"https://github.com/mozilla-bteam/bmo/pull/858","id":373675748,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1NTQ5NTYz","number":858,"title":"block account creartion by mx record in addition to domain name","user":{"login":"dylanwh","id":47717,"node_id":"MDQ6VXNlcjQ3NzE3","avatar_url":"https://avatars0.githubusercontent.com/u/47717?v=4","gravatar_id":"","url":"https://api.github.com/users/dylanwh","html_url":"https://github.com/dylanwh","followers_url":"https://api.github.com/users/dylanwh/followers","following_url":"https://api.github.com/users/dylanwh/following{/other_user}","gists_url":"https://api.github.com/users/dylanwh/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanwh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanwh/subscriptions","organizations_url":"https://api.github.com/users/dylanwh/orgs","repos_url":"https://api.github.com/users/dylanwh/repos","events_url":"https://api.github.com/users/dylanwh/events{/privacy}","received_events_url":"https://api.github.com/users/dylanwh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-24T21:02:09Z","updated_at":"2018-10-25T16:20:08Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/mozilla-bteam/bmo/pulls/858","html_url":"https://github.com/mozilla-bteam/bmo/pull/858","diff_url":"https://github.com/mozilla-bteam/bmo/pull/858.diff","patch_url":"https://github.com/mozilla-bteam/bmo/pull/858.patch"},"body":"This needs a bit of testing.\r\n\r\nThe AntiSpam stuff is on the admin.cgi paged (linked there).\r\nAdd one of the things returned by 'dig -t mx gmail.com' and then see if account creation is restricted for example mozilla.com. This should all work in the container.\r\n\r\n(Until the new deps are built, it will fail because Net::DNS doesn't exist. But by tomorrow running bmo-refresh-bundle should correct that)"},"comment":{"url":"https://api.github.com/repos/mozilla-bteam/bmo/issues/comments/433115484","html_url":"https://github.com/mozilla-bteam/bmo/pull/858#issuecomment-433115484","issue_url":"https://api.github.com/repos/mozilla-bteam/bmo/issues/858","id":433115484,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzExNTQ4NA==","user":{"login":"purelogiq","id":7828780,"node_id":"MDQ6VXNlcjc4Mjg3ODA=","avatar_url":"https://avatars0.githubusercontent.com/u/7828780?v=4","gravatar_id":"","url":"https://api.github.com/users/purelogiq","html_url":"https://github.com/purelogiq","followers_url":"https://api.github.com/users/purelogiq/followers","following_url":"https://api.github.com/users/purelogiq/following{/other_user}","gists_url":"https://api.github.com/users/purelogiq/gists{/gist_id}","starred_url":"https://api.github.com/users/purelogiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purelogiq/subscriptions","organizations_url":"https://api.github.com/users/purelogiq/orgs","repos_url":"https://api.github.com/users/purelogiq/repos","events_url":"https://api.github.com/users/purelogiq/events{/privacy}","received_events_url":"https://api.github.com/users/purelogiq/received_events","type":"User","site_admin":false},"created_at":"2018-10-25T16:20:08Z","updated_at":"2018-10-25T16:20:08Z","author_association":"MEMBER","body":"@dylanwh I'm not able to verify that the intended behavior is working.\r\n\r\n- Ran `bmo-refresh-bundle`, pulled this branch, and reprovisioned the vm.\r\n- Confirmed that I can create a new account (at least to the point of it saying it sent an email confirmation) using a @gmail.com address.\r\n- Confirmed that I cannot create a new account using one of the existing domains on the spam list.\r\n```\r\n(conduit) imadueme@conduitvm:~$ dig -t mx gmail.com\r\n\r\n; <<>> DiG 9.10.3-P4-Ubuntu <<>> -t mx gmail.com\r\n;; global options: +cmd\r\n;; Got answer:\r\n;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42385\r\n;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 10\r\n\r\n;; OPT PSEUDOSECTION:\r\n; EDNS: version: 0, flags:; udp: 4096\r\n;; QUESTION SECTION:\r\n;gmail.com.\t\t\tIN\tMX\r\n\r\n;; ANSWER SECTION:\r\ngmail.com.\t\t2440\tIN\tMX\t20 alt2.gmail-smtp-in.l.google.com.\r\ngmail.com.\t\t2440\tIN\tMX\t40 alt4.gmail-smtp-in.l.google.com.\r\ngmail.com.\t\t2440\tIN\tMX\t5 gmail-smtp-in.l.google.com.\r\ngmail.com.\t\t2440\tIN\tMX\t10 alt1.gmail-smtp-in.l.google.com.\r\ngmail.com.\t\t2440\tIN\tMX\t30 alt3.gmail-smtp-in.l.google.com.\r\n\r\n;; ADDITIONAL SECTION:\r\ngmail-smtp-in.l.google.com. 94\tIN\tA\t172.217.197.26\r\nalt1.gmail-smtp-in.l.google.com. 223 IN\tA\t64.233.190.26\r\nalt2.gmail-smtp-in.l.google.com. 191 IN\tA\t74.125.193.27\r\nalt3.gmail-smtp-in.l.google.com. 95 IN\tA\t66.102.1.26\r\nalt4.gmail-smtp-in.l.google.com. 95 IN\tA\t74.125.128.26\r\ngmail-smtp-in.l.google.com. 94\tIN\tAAAA\t2607:f8b0:400d:c0f::1b\r\nalt1.gmail-smtp-in.l.google.com. 4 IN\tAAAA\t2800:3f0:4003:c01::1b\r\nalt3.gmail-smtp-in.l.google.com. 95 IN\tAAAA\t2a00:1450:400c:c06::1b\r\nalt4.gmail-smtp-in.l.google.com. 95 IN\tAAAA\t2a00:1450:4013:c02::1b\r\n\r\n```\r\n- I added `alt1.gmail-smtp-in.l.google.com` (tried with and without the `.` at the end) to the domain spamlist. (Let me know if I'm reading this MX record wrong).\r\n- Was still able to create gmail accounts."}}
{"actor":{"display_login":"purelogiq"}}