“Enable staged users” was in fact enabled already. In my case, the user has two accounts on the forum, both live. She replied to a notification from the “other” account and it got rejected by Discourse.
I’ve noticed also that the wording on the setting is a little ambiguous. “Only use reply key” suggests in my mind “don’t additionally validate email address” - but then the setting description says that disabling the setting allows user impersonation. I’ll try disabling the setting and see if that helps.
Was it a reply to a public topic or a group message? The exact error would be interesting too. You can find it in Admin -> Emails -> Rejected. The second account might not be allowed to reply to the topic.
Email addresses are always validated. Each reply key is bound to a topic and user. If they do not match, the email gets rejected. There’s only one exception. If the system knows that an email was forwarded to another user, because that other user was in the To or CC header of a previous reply, than it will allow that user to reply with the forwarded reply key.
In your case, the user needs to send with the correct email address. There’s no way around it. Most email clients should be smart enough to select the right sender address anyway.
Isn’t it a security issue for Discourse to trust the email address in the From header, and to use this as part of its validation of incoming emails? I can set the From header to whatever I like.
The reply key is what protects us from spoofed replies to notification emails. The email address listed in the From field doesn’t offer any real protection at all.
Forgive me for repeating the point, but including email address in the validation of replies is causing user-affecting usability issues and should be dropped IMO
Well I ventured into the Rails console (for the first time!) to add a secondary email address, but my workaround to add the @googlemail.com email to the @gmail.com account and viceversa didn’t work, because the emails have already been taken, of course it makes sense.
If anyone has other ideas to fix this reply by email issue, I’ll be grateful, as I generally am for being able to use Discourse.
Pourriez-vous m’indiquer ce que vous avez fait pour que cela fonctionne, s’il vous plaît ? Je rencontre toujours des problèmes avec Discourse qui rejette des e-mails de publication légitimes provenant d’utilisateurs. C’est très frustrant d’essayer d’expliquer ce problème aux utilisateurs concernés.
À terme, je préférerais beaucoup pouvoir simplement désactiver la vérification que Discourse effectue sur l’adresse e-mail des e-mails entrants (qui est faillible face à l’usurpation d’adresse et inutile, car la clé de réponse est vérifiée).
Je ne pense pas l’avoir vraiment résolu, mais cela fait un moment et ma mémoire pourrait me faire défaut.
J’ai essayé d’ajouter l’adresse e-mail secondaire comme expliqué ici :
mais cela n’a pas fonctionné car les adresses e-mail étaient déjà utilisées.
Je pense que la solution aurait été de fusionner les utilisateurs, mais je n’ai jamais procédé car j’ai simplement parlé à l’utilisatrice et elle n’utilise depuis qu’un seul des comptes. Je ne peux donc pas vous dire comment cela aurait fonctionné en pratique, désolé.