# Emails from installation being sent in error to anonymous users

**URL:** https://meta.discourse.org/t/emails-from-installation-being-sent-in-error-to-anonymous-users/28442
**Category:** Bug
**Created:** [May 7, 2015, 12:45pm UTC](https://meta.discourse.org/t/emails-from-installation-being-sent-in-error-to-anonymous-users/28442 "2015-05-07T12:45:12Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Mischief](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mischief/32/4291_2.png) [@Mischief](https://meta.discourse.org/u/Mischief)
#### Post date: [May 7, 2015, 12:45pm UTC](https://meta.discourse.org/t/emails-from-installation-being-sent-in-error-to-anonymous-users/28442/1 "2015-05-07T12:45:12Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 7, 2015, 4:24pm UTC](https://meta.discourse.org/t/emails-from-installation-being-sent-in-error-to-anonymous-users/28442/2 "2015-05-07T16:24:53Z")

</div>

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

---

<div class="post-metadata">

### Author: ![lukegb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lukegb/32/114920_2.png) [@lukegb](https://meta.discourse.org/u/lukegb)
#### Post date: [May 10, 2015, 11:45pm UTC](https://meta.discourse.org/t/emails-from-installation-being-sent-in-error-to-anonymous-users/28442/3 "2015-05-10T23:45:01Z")

</div>

Per [discourse/app/services/anonymous\_shadow\_creator.rb at 4bfca12b1168816e922b099ee72afa92cb4aa73c · discourse/discourse · GitHub](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](https://github.com/discourse/discourse/pull/3445)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 10, 2015, 11:46pm UTC](https://meta.discourse.org/t/emails-from-installation-being-sent-in-error-to-anonymous-users/28442/4 "2015-05-10T23:46:37Z")

</div>

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

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [May 11, 2015, 3:11am UTC](https://meta.discourse.org/t/emails-from-installation-being-sent-in-error-to-anonymous-users/28442/5 "2015-05-11T03:11:20Z")

</div>

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

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [October 7, 2015, 12:04pm UTC](https://meta.discourse.org/t/emails-from-installation-being-sent-in-error-to-anonymous-users/28442/6 "2015-10-07T12:04:21Z")

</div>


