Users reported a bug where enabling “Accept emails from anonymous users with no accounts” for private categories incorrectly rejected emails from existing users, sending rejection notices instead of processing them. Knagis explained that this setting was intended to allow anonymous submissions via the “system” user but should logically also accept emails from registered users without compromising security. He proposed a hypothetical “Accept any e-mail” setting to bypass validations for moderator review. riking acknowledged identifying this logic gap during development. ItsGhost provided a detailed error message (can_create? failed) and a backtrace, while Sander78 confirmed the issue was reproducible. zogstrip suggested updating to the latest version as the issue appeared fixed. Both ItsGhost and Sander78 confirmed the fix worked after updating. Additionally, ItsGhost inquired if the legacy “system posting” functionality was removed by design, to which zogstrip replied that staged accounts now offer superior functionality compared to the old email quoting method.
If I use “Accept emails from anonymous users with no accounts” for a category that only staff has access to it can correctly receive e-mails from anonymous users (they are submitted via the “system” user and a quote tag).
I expected that this accepts e-mails from existing users since it does not reduce the security in any way. Unfortunately it does not - instead a rejection e-mail is sent back to the user.
My use case - as many others I am trying to use Discourse to replace our ticketing system. I have a small script that uses API to retrieve the received e-mails, create new users and change the owner of the posts.
I would actually prefer a setting “Accept any e-mail” - that would set “skip_validations” option both for replies and topic creation - a moderator would then process the posts. The reason is that when a user writes the e-mail he does not get the feedback about unique titles, minimum lengths, permissions etc.