This is like T125099: Set up reply via email support, except that we should solve it using a proper @wikimedia.org address and email server instead of relying on GMail as discourse.wmflabs.org does right now.
Still, pretty straightforward.
Qgil | |
Jan 10 2018, 9:51 AM |
F12579773: Screenshot from 2018-01-15 21-58-48.png | |
Jan 15 2018, 9:00 PM |
F12579778: Screenshot from 2018-01-15 21-59-47.png | |
Jan 15 2018, 9:00 PM |
This is like T125099: Set up reply via email support, except that we should solve it using a proper @wikimedia.org address and email server instead of relying on GMail as discourse.wmflabs.org does right now.
Still, pretty straightforward.
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Declined | None | T155678 Provide an easy to use support system for contributors to ask technical questions | |||
Declined | None | T180853 Bring a discourse instance for technical questions to production | |||
Resolved | Qgil | T184592 Setup reply via email in discourse-mediawiki.wmflabs.org |
Maybe not so simple. I got a Wikimedia.org address created and I have introduced the credentials in the admin interface after checking that the email address works.
However, I get this error message:
pop3_polling_enabled: POP3 authentication failed. Please verify your pop3 credentials.
I wonder whether the warning that 2-step verification will be enforced soon has anything to do with this.
Is this a Google POP account? I think you have to create it a new "app password" (and "enable legacy access" or somesuch) in order to have non-2FA access; it doesn't work with the account's normal password.
Thanks @revi! I was just being lazy cause I seem to have to read the docs every time I want to do that (and it's saturday arvo sit-by-the-river time here now). :-)
Thank you for your assistance, but it's still not working. https://meta.discourse.org/t/set-up-reply-via-email-support-e-mail/14003 says after a bunch of instructions that I have followed:
Note: we have seen difficulties when signing up for a GMail account from a different country than your server is located in. For example, if you create the Gmail account from the UK, but the server is in the USA.
I can sign up just fine.
Note 2: If you are using a GMail account (e.g. @gmail.com) or a Google Apps mailbox (e.g. a Google mailbox @yourdomain.com), you will need to enable “access from less secure apps” in Google Account settings. If not, you will receive a “POP3 authentication failed” error in Discourse. Access from “less secure apps” is disabled by default.
I have enabled “access from less secure apps”.
I have been there, but no option to create a new app password can be seen, only options to manage existing apps (and since the account is new, no apps appear). There is no trace of a Discourse app there, neither of a way to create a password.
It's under https://myaccount.google.com/apppasswords (a different thing from "apps with access to your account" which is about OAuth).
Sorry, I am giving up. I believe this is trivial to set up with a regular mailbox, but not with a @wikimedia.org mailbox constrained by organization-wide email settings.
The options are:
Maybe someone from OIT can tell what's the way to set up an application password for an @wikimedia.org email address.
I'm a bit unclear on why we are trying to use Google Apps accounts in the first place. Why send all communication through Google's servers if we don't have to? Do all @wikimedia.org accounts have to be Google Apps accounts?
@bbogaert do you know what's the best way to set up an email account for incoming email so it can be accessed by an application via POP? The tutorial linked above says If you are using a Google Apps mailbox, you will need to enable “access from less secure apps” in Google Account settings. so that might be what's missing.
SG9tZVBoYWJyaWNhdG9yCk5vIG1lc3NhZ2VzLiBObyBub3RpZmljYXRpb25zLgoKICAgIFNlYXJjaAoKQ3JlYXRlIFRhc2sKTWFuaXBoZXN0ClQxOTcyODEKRml4IGZhaWxpbmcgd2VicmVxdWVzdCBob3VycyAodXBsb2FkIGFuZCB0ZXh0IDIwMTgtMDYtMTQtMTEpCk9wZW4sIE5lZWRzIFRyaWFnZVB1YmxpYwoKICAgIEVkaXQgVGFzawogICAgRWRpdCBSZWxhdGVkIFRhc2tzLi4uCiAgICBFZGl0IFJlbGF0ZWQgT2JqZWN0cy4uLgogICAgUHJvdGVjdCBhcyBzZWN1cml0eSBpc3N1ZQoKICAgIE11dGUgTm90aWZpY2F0aW9ucwogICAgQXdhcmQgVG9rZW4KICAgIEZsYWcgRm9yIExhdGVyCgpFVzZSC3IERpc2NsYWltZXIgtyBDQy1CWS1TQSC3IEdQTApZb3VyIGJyb3dzZXIgdGltZXpvbmUgc2V0dGluZyBkaWZmZXJzIGZyb20gdGhlIHRpbWV6b25lIHNldHRpbmcgaW4geW91ciBwcm9maWxlLCBjbGljayB0byByZWNvbmNpbGUu
@Aklapper, maybe this vandal account should be blocked? https://phabricator.wikimedia.org/p/238482n375/
Back in May (at the Hackathon, actually), I enabled replies via email using a pure @gmail.com account. This might be unacceptable for a production setup, but it is good enough to test and learn in our pilot.
Thanks to this we can now test further:
I am resolving this task.