In a Support thread titled “Google ‘no-reply’ user pending approval,” user alehandrof reported an unexpected pending approval for a user with the email no-reply@accounts.google.com. The user suspected that Gmail’s “Less secure apps” setting was the root cause, as their Discourse reply address was configured to use a non-existent notification email.
Helper fefrei suggested the account might be a “staged user” created by a notification email, asking if it contained posts. When alehandrof deleted the account, it reappeared, confirming the issue persisted. fefrei then advised checking the /admin/email/rejected logs to find the specific error message.
Upon checking, alehandrof discovered the error was logged and caused by a name change on the account triggering a poll during the edit. After deleting the account again, the issue appeared resolved. fefrei noted that the logging feature was implemented by zogstrip. Finally, alehandrof identified a specific Discourse setting likely responsible for the behavior but admitted uncertainty about disabling it. zogstrip clarified that Discourse creates staged users when processing emails sent to or from no-reply@accounts.google.com. alehandrof thanked the group and referenced a thread explaining staged users.
I’m not sure why this came about. We use Google Apps to handle in-bound email. The email address I’m using for replies connect-replies+%{reply_key}@example.com. My notification email is connect-noreply@example.com, which doesn’t actually exist.
Hmm. I just realised that I didn’t have Less secure apps option in Gmail enabled for the connect-replies@example.com account. Might this be the root cause?
I don’t know if you saw my second post. I think Gmail may have replied to the email because it rejected the signup from Discourse, because it wasn’t secure enough. I’ll delete this account in Discourse now that I have allowed Less secure apps to sign in to that Google Apps account. And see how it goes.
Does the account have any posts? If so, they should give you the reason why Google mailed you. If not, the rejection should have been logged in /admin/email/rejected – click on the error message to see the message that was received.
Thank you! It was logged. I had changed the name of the account and it was polled while I was doing that, creating an error. Deleted the account again. Hopefully that’s the end of that.