# White\_listed\_spam\_host\_domains setting not being honoured for New Users?

**URL:** <https://meta.discourse.org/t/white-listed-spam-host-domains-setting-not-being-honoured-for-new-users/130348>\
**Category:** UX\
**Created:** [6 באוקטובר,‏ 2019,‏ 4:03pm UTC](https://meta.discourse.org/t/white-listed-spam-host-domains-setting-not-being-honoured-for-new-users/130348 "2019-10-06T16:03:56Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)\
**Post date:** [6 באוקטובר,‏ 2019,‏ 4:03pm UTC](https://meta.discourse.org/t/white-listed-spam-host-domains-setting-not-being-honoured-for-new-users/130348/1 "2019-10-06T16:03:56Z")

</div>

I’m not sure if this is a bug or if I’m missing a setting somewhere.

The following four items landed in my Moderators Inbox earlier today:

 ![03](https://global.discourse-cdn.com/meta/original/3X/8/9/89c5732c95272813b389cb5106220fff13c844d6.png)

Clicking on the bottom one in the list, `New user martincook posts blocked due to repeated links`, says:

> [@](#):
>
> This is an automated message.
> 
> The new user martincook tried to create multiple posts with links to [dronescene.co.uk](http://dronescene.co.uk), [www.youtube.com](http://www.youtube.com), but those posts were blocked to avoid spam. The user is still able to create new posts that do not link to [dronescene.co.uk](http://dronescene.co.uk), [www.youtube.com](http://www.youtube.com).
> 
> Please review the user.
> 
> This can be modified via the newuser\_spam\_host\_threshold and white\_listed\_spam\_host\_domains site settings. Consider adding [dronescene.co.uk](http://dronescene.co.uk), [www.youtube.com](http://www.youtube.com) to the whitelist if they should be exempt.

Which is fine.

However, if I click on the top post in the list, `Llyn Y Fan Fach Reservoir & Drive 21 Sept 2019” was flagged as spam` the message contains:

> [@](#):
>
> [Llyn Y Fan Fach Reservoir & Drive 21 Sept 2019 - Videos by Drone - Grey Arrows Drone Club UK](https://greyarro.ws/t/llyn-y-fan-fach-reservoir-drive-21-sept-2019/10252/1)
> 
> This new user tried to create multiple posts with links to the same domain ([www.youtube.com](http://www.youtube.com/)). See the [`newuser_spam_host_threshold`](https://greyarro.ws/admin/site_settings/category/spam) site setting.

Each of the other messages also referenced the youtube domain as being the culprit.

What’s confusing me here is that I have already whitelisted the youtube domain.

And various sub-domains for it too:

 ![04](https://global.discourse-cdn.com/meta/original/3X/8/d/8d1e77d169d37001f151b570f2a50a6241d41c82.png)

The other mentioned setting, that of `newuser_spam_host_threshold` is currently set to 3:

 ![35](https://global.discourse-cdn.com/meta/original/3X/5/1/51df1ef6926cceaee2177d45c3774ce235cb5d8f.png)

Which incidentally, is how many YouTube links this new user posted before all these notifications arrived in the Moderators Inbox.

If it helps, the new user made the following posts at these times:

- 08:21 post contained a link to:  
– `https://www.youtube.com/watch?v=5SE0AQl7VI8`

- 08:56 post contained links to:  
– `https://dronescene.co.uk/?place=513`  
– `https://www.youtube.com/watch?v=LL1bdlr23qg`

- 09:06 post contained links to:  
– `https://dronescene.co.uk/?place=515`  
– `https://www.youtube.com/watch?v=5SE0AQl7VI8`

As you can see, they posted 3 links to `www.youtube.com` and 2 links to `dronescene.co.uk` so 5 links in total, across three posts.

Is this whitelist not being honoured?

Am I missing another setting somewhere that may be related?

Have I misunderstood how this works?

Any other suggestions?

I’m happy to spend some time trying to repro over on [try.discourse.org](http://try.discourse.org) if someone can let me know if any domains are whitelisted over there and what that `newuser_spam_host_threshold` value is set to.

I’m running Discourse v2.4.0.beta5

---

_[View the full topic](https://meta.discourse.org/t/white-listed-spam-host-domains-setting-not-being-honoured-for-new-users/130348)._
