# 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:** 3

<div class="post-metadata">

**Author:** ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)\
**Post date:** [14 באוקטובר,‏ 2019,‏ 6:13pm UTC](https://meta.discourse.org/t/white-listed-spam-host-domains-setting-not-being-honoured-for-new-users/130348/3 "2019-10-14T18:13:09Z")

</div>

Ok, below are my findings using the same site settings.

I made three posts that contained the links that were listed in the OP. All three went through without issue, so it was not the YouTube links that triggered the user’s posts to enter the review queue. The whitelisting worked.

I tried posting one more `dronescene.co.uk` link and was presented with a modal:

 ![27%20AM](https://global.discourse-cdn.com/meta/original/3X/2/a/2add02f3902724dc89fd74eb5c1510803f5cc94b.png)

Dismissing the message returns the user to the composer. They will see a greyed out version of their post. It doesn’t actually get posted, nor does it get sent to the review queue.

 ![23%20AM](https://global.discourse-cdn.com/meta/original/3X/2/2/2250297e2fbf4616b5954539078775515e83d6a7.jpeg)

Abandoning the post and refreshing the page gets rid of the greyed out post.

The moment the user received the “Sorry, you can’t post a link to that host” message, it appears **all** of the user’s posts that contain links get sent to the review queue to make sure they aren’t spamming various links throughout the site.

There is some questionable behavior here in the messaging of the reviewable item:

> 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 site setting.

It’s pointing out the `www.youtube.com`, when it should be pointing out `dronescene.co.uk` instead as that link was not whitelisted and was what resulted in the user being blocked from submitting their post.

I tried the whole test a second time, adding a additional post with a single link included to wikipedia (no `dronescene.co.uk` included). The post was also included in the review queue with the message:

> This new user tried to create multiple posts with links to the same domain ([en.wikipedia.org](http://en.wikipedia.org/)). See the newuser\_spam\_host\_threshold site setting.

As you can see it’s just using whatever link is included, (probably last posted when multiple links are included). This is definitely a little confusing since the user only posted a wikipedia link once.

**Based on the current behavior, the copy might be more accurate as:**

> This new user tried to create multiple posts with links to the same domain (`offending-domain.com`). All posts from this user containing links should be reviewed. See the newuser\_spam\_host\_threshold site setting.

---

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