Emails from installation being sent in error to anonymous users


(Neil) #1

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.


(Jeff Atwood) #2

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


(Luke Granger Brown) #3

Per discourse/anonymous_shadow_creator.rb at 4bfca12b1168816e922b099ee72afa92cb4aa73c · discourse/discourse · GitHub it looks like the email addresses are generated truly randomly, which is unfortunate.

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


(Jeff Atwood) #4

@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.


(Sam Saffron) #5

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


(Jeff Atwood) #6