Emails from installation being sent in error to anonymous users

I’m noticing on my mandrill account that emails from my installation are being sent to anonymous users at a Discourse created address. Naturally these are bouncing.

I’m using v1.3.0.beta6 +185

Could we either have no email address allocated to anonymous users or have it set up so all emails out to them are suppressed.

2 Likes

@sam are these accounts flagged as anon in some way? Or is the email in an ignorable pattern?

Per https://github.com/discourse/discourse/blob/4bfca12b1168816e922b099ee72afa92cb4aa73c/app/services/anonymous_shadow_creator.rb#L36 it looks like the email addresses are generated truly randomly, which is unfortunate.

https://github.com/discourse/discourse/pull/3445

@sam we need some kind of database field that definitively marks these user accounts as anon, I do not want to ship 1.3 without that.

We have a db field, I wanted to avoid adding a db column for a feature 99% of installs do not use, which is why it’s a custom field

1 Like