I’m getting an error when setting the Poll via POP3 for email replies to true: POP3 authentication failed. Please verify your pop3 credentials.
This setup worked before - I had it running fine on a DO droplet that shared a Wordpress installation with Discourse, but I want to run two droplets instead, so I’ve separated the two and Discourse is installed on a subdomain per the official guide docs with Let’s encrypt active. Outbound mail is fine with Mailgun.
Credentials are good - I can log in to the Gmail account with them.
Upon setting the user credentials for POP3 polling, Gmail sent me a warning email that “someone has my password.” Obviously that was the failed login from my Discourse.
In the Gmail account 2-step verification is off; Allow less secure apps is on; POP3 is enabled.
The Discourse /logs shows one fatal error: EOFError (end of file reached)
I’m not sure where to go from here and what else to check - any advice is appreciated. Thanks.
This did the trick and I was able to set Poll via POP3 for email replies in the Discourse settings.
I went through this process earlier while still logged into my personal Google account and the Gmail POP account. The “Allow access…” page does not indicate for which account access is being granted, so even though I had been logged into the POP Gmail account, the permission reset was apparently not being applied to the right account.
So is it better to handle incoming mail on the server rather than letting Gmail handle it? I ask because there are numerous posts by the Discourse team expounding the difficulties with email server setups.
As Dean said, the current warnings you’ll see are about sending e-mail (for which gmail is a poor service, too), not receiving it. For incoming mail, there is a lot of older documentation around that references POP-based polling, because until relatively recently that was the only approach available. The direct-delivery incoming mail support is only 8 months old, so it’s not necessarily as pervasive as one might like.