# Ghost sign up and spam?

**URL:** <https://forum.ghost.org/t/ghost-sign-up-and-spam/54583>\
**Category:** Using Ghost\
**Created:** [January 20, 2025, 9:31pm UTC](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583 "2025-01-20T21:31:06Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajfriesen](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ajfriesen/32/15768_2.png) [@ajfriesen](https://forum.ghost.org/u/ajfriesen)\
**Post date:** [January 20, 2025, 9:31pm UTC](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583/1 "2025-01-20T21:31:06Z")

</div>

Hey,

I am self hosting Ghost and also my email with mailcow.

The last couple of days I got a couple of weird sign ups:

 ![Screenshot 2025-01-20 at 22.28.00](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/8/4/848d89823afbdd6223ad7b266287bf1ed382fe6d.png)

And my mail server is going crazy with messages like this:

```auto
Your message could not be delivered for more than 4 hour(s).
It will be retried until it is 5 day(s) old.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<9298417059@tmomail.net>: delivery temporarily suspended: host
    tmo-west.mx.a.cloudfilter.net[35.85.199.61] refused to talk to me: 421
    tmo-ibgw-6004a.ext.cloudfilter.net cmsmtp too many sessions from
    78.46.129.127 AUP#CNCT

```

Now I saw a new release that addresses blocking domains:

> <https://github.com/TryGhost/Ghost/pull/22027>
>
> ref https://linear.app/ghost/issue/ONC-721
> ref https://app.incident.io/ghost/in…cidents/132
> 
> \- added a blocklist at the email domain level for free member signups
> \- for example, if \`blocked-domain.com\` is blocked, \`thomas@blocked-domain.com\` cannot sign up as free member
> \- the blocklist is configurable: \`"spam.blocked\_email\_domains": \["blocked-domain.com"\]\`

But the links in the issue are behind auth:

ref [Linear](https://linear.app/ghost/issue/ONC-721)  
ref [incident.io](https://app.incident.io/ghost/incidents/132)

Could you elaborate what happened?

---

<div class="post-metadata">

**Author:** ![Stromfeldt](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/stromfeldt/32/13572_2.png) [@Stromfeldt](https://forum.ghost.org/u/Stromfeldt)\
**Post date:** [January 20, 2025, 11:03pm UTC](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583/2 "2025-01-20T23:03:37Z")

</div>

I was about to write in to support as I just noticed this occurring on a colleague’s Ghost(Pro) site as well, running on 5.106.2. You seem to be getting sign-ups from other SMS gateways than what I’ve seen.

 ![Xnapper-2025-01-21-09.51.00](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/2/7/275603d9e1a38bb8fef9e49863ef14c7a9be9af8.jpeg)

---

<div class="post-metadata">

**Author:** ![curiositry](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/curiositry/32/1084_2.png) [@curiositry](https://forum.ghost.org/u/curiositry)\
**Post date:** [January 21, 2025, 12:34am UTC](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583/3 "2025-01-21T00:34:45Z")

</div>

@ajfriesen , @Stromfeldt I got these too, the day before yesterday. Same Bell and T-Mobile gateway email addresses. They seemed to be coming from a python aiohttp user agent — a UA [I’ve gotten spam signups from before](https://forum.ghost.org/t/ghost-subscribe-form-hit-by-spam-signups-hurting-sender-reputation/49566) — and IP addresses in the US and Bangladesh.

Email delivered to them, but they created memberships without signing up for the newsletter (or unsubscribed immediately after signing up).

I deleted them and added a firewall rule.

---

<div class="post-metadata">

**Author:** ![Stromfeldt](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/stromfeldt/32/13572_2.png) [@Stromfeldt](https://forum.ghost.org/u/Stromfeldt)\
**Post date:** [January 21, 2025, 12:38am UTC](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583/4 "2025-01-21T00:38:33Z")

</div>

> [@curiositry](#):
>
> I deleted them and added a firewall rule.

Unfortunately can’t do the latter with Ghost(Pro).

---

<div class="post-metadata">

**Author:** ![curiositry](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/curiositry/32/1084_2.png) [@curiositry](https://forum.ghost.org/u/curiositry)\
**Post date:** [January 21, 2025, 1:50am UTC](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583/5 "2025-01-21T01:50:27Z")

</div>

@Stromfeldt Ah, right. Well, I’m sure they’re more competent at this stuff that I am. It’s been quite a pain dealing with it for my self-hosted Ghost install(s).

Technically, you _could_ probably point your DNS to a Nginx reverse proxy that points to your Ghost(Pro) subdomain, or some similar set-up, but that kind of defeats the point of having someone _else_ deal with this kind of nuisance.

I’m am glad to see that Ghost is adding more spam protection into core. Technically this stuff is probably better handled at a lower level, but I would be delighted if there was a way for integrations to receive a webhook when a new member is created, _before_ the magic link is sent, that includes user agent, IP, email, etc, and have an option to approve/deny the signup request based on that information.

Or perhaps the work that was done in the pull request you linked could be extended to include IP, user agent, etc. But if it gets _too_ fancy, Ghost is kind of re-inventing the firewall, which probably isn’t good ROI.

---

<div class="post-metadata">

**Author:** ![Stromfeldt](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/stromfeldt/32/13572_2.png) [@Stromfeldt](https://forum.ghost.org/u/Stromfeldt)\
**Post date:** [January 21, 2025, 2:04am UTC](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583/6 "2025-01-21T02:04:41Z")

</div>

Well they do also seem to have captcha functionality coming to [Portal](https://github.com/TryGhost/Ghost/pull/22009) and to the [members API](https://github.com/TryGhost/Ghost/pull/22014), so perhaps that could also somewhat address this?

For others on Ghost(Pro) that may also have noticed the incursion I did write into support, so we’ll see what they have to say.

---

<div class="post-metadata">

**Author:** ![cuongtran](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cuongtran/32/25111_2.png) [@cuongtran](https://forum.ghost.org/u/cuongtran)\
**Post date:** [January 21, 2025, 4:27am UTC](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583/7 "2025-01-21T04:27:40Z")

</div>

I hope whitelist email domain instead. For example, only Gmail go through.

---

<div class="post-metadata">

**Author:** ![BruceInLouisville](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/bruceinlouisville/32/40997_2.png) [@BruceInLouisville](https://forum.ghost.org/u/BruceInLouisville)\
**Post date:** [January 21, 2025, 4:45am UTC](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583/8 "2025-01-21T04:45:53Z")

</div>

Been seeing the same thing. I delete them as soon as I see them.

---

<div class="post-metadata">

**Author:** ![Sag](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/sag/32/34458_2.png) [@Sag](https://forum.ghost.org/u/Sag)\
**Post date:** [January 21, 2025, 11:07am UTC](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583/9 "2025-01-21T11:07:53Z")

</div>

Hi everyone,

There has indeed been an increase in spam signups across multiple Ghost sites originating from email domains like `tmomail.net` and `txt.bell.ca`.

These domains serve as email-to-SMS/MMS gateways, converting emails into SMS or MMS messages delivered to phone numbers.

To address this, we’ve introduced a [configurable blocklist](https://github.com/TryGhost/Ghost/pull/22027) for email domains in Ghost. This blocklist is already active on all Ghost (Pro) sites, and our logs show it has successfully blocked thousands of spam signups since. We’re actively monitoring the situation and will continue to fine-tune the blocklist as needed.

Self-hosters can apply the same blocklist to their Ghost sites, by adding a list of blocked email domains to their [config](https://ghost.org/docs/config/), under `spam.blocked_email_domains`. For example:

```auto
"spam": {
    "blocked_email_domains": ["tmomail.net", "txt.bell.ca"]
}

```

We appreciate your patience as we work to mitigate this issue.

Sag  
Product Engineer @ Ghost

---

<div class="post-metadata">

**Author:** ![jannis](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jannis/32/39718_2.png) [@jannis](https://forum.ghost.org/u/jannis)\
**Post date:** [January 21, 2025, 11:15am UTC](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583/10 "2025-01-21T11:15:30Z")

</div>

Thank you for your effort and the quick rollout!

At Magic Pages also I also added the same default block list for all customers.

---

<div class="post-metadata">

**Author:** ![ajfriesen](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ajfriesen/32/15768_2.png) [@ajfriesen](https://forum.ghost.org/u/ajfriesen)\
**Post date:** [January 21, 2025, 12:00pm UTC](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583/11 "2025-01-21T12:00:18Z")

</div>

Just a list of domains on my mail server which you might want to block:

- [vtext.com](http://vtext.com)
- [txt.att.net](http://txt.att.net)
- [tmomail.net](http://tmomail.net)
- [mymetropcs.com](http://mymetropcs.com)
- [msg.telus.com](http://msg.telus.com)
- [pcs.rogers.com](http://pcs.rogers.com)
- fido.ca

---

<div class="post-metadata">

**Author:** ![curiositry](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/curiositry/32/1084_2.png) [@curiositry](https://forum.ghost.org/u/curiositry)\
**Post date:** [January 21, 2025, 5:36pm UTC](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583/12 "2025-01-21T17:36:44Z")

</div>

Great to see this @Sag! In the long run, is there any plan to have an option to block based on user-agent / IP / route combinations?

My concern is that these are all legitimate email addresses for getting newsletters by SMS, which real users _might_ try sign up with, even though at this point all the signups from them seem to be spam.

It appears to me that someone has a list of stolen/bought email addresses (or in this case, phone numbers) that they are trying to validate for free using a Python script; most of the addresses might be real even if the signups aren’t.

---

<div class="post-metadata">

**Author:** ![cuongtran](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cuongtran/32/25111_2.png) [@cuongtran](https://forum.ghost.org/u/cuongtran)\
**Post date:** [January 21, 2025, 11:59pm UTC](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583/13 "2025-01-21T23:59:36Z")

</div>

Better if we have whitelist email signup config as well, like this:

```auto
"spam": {
    "whitelist_email_domains": ["gmail.com", "yahoo.com"]
}

```

I want to ban all domain email, only Gmail and yahoo or hotmail can sign up.

Cannot take a lot of time to update block list. The hacker always expand the black list, we cannot chase it unless ghost update it automatically in core.

---

<div class="post-metadata">

**Author:** ![curiositry](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/curiositry/32/1084_2.png) [@curiositry](https://forum.ghost.org/u/curiositry)\
**Post date:** [January 22, 2025, 12:10am UTC](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583/14 "2025-01-22T00:10:24Z")

</div>

@cuongtran For what it’s worth, I have gotten a _lot_ of spam signups from Gmail addresses.

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kevin/32/32_2.png) [@Kevin](https://forum.ghost.org/u/Kevin)\
**Post date:** [January 22, 2025, 8:01am UTC](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583/15 "2025-01-22T08:01:41Z")

</div>

> [@curiositry](#):
>
> In the long run, is there any plan to have an option to block based on user-agent / IP / route combinations?

This is something better handled at the various network levels above your Ghost instance which are designed to filter based on that data.

Email addresses in POST data are not typically available at the network level which is where the application-level blocks come into play.

---

<div class="post-metadata">

**Author:** ![fatshark](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/fatshark/32/28558_2.png) [@fatshark](https://forum.ghost.org/u/fatshark)\
**Post date:** [January 22, 2025, 8:29am UTC](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583/16 "2025-01-22T08:29:10Z")

</div>

Hi @jannis …

Not sure if the default list contains `@txt.att.net` but it should as one appeared 7 hours ago 😟

The other notable thing about these - I’ve only had a small number so far - is that they all use a non-existent signup info page `/Membership/`. Some appear to subscribe to the newsletter.

---

<div class="post-metadata">

**Author:** ![jannis](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jannis/32/39718_2.png) [@jannis](https://forum.ghost.org/u/jannis)\
**Post date:** [January 22, 2025, 8:43am UTC](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583/17 "2025-01-22T08:43:26Z")

</div>

The default list only includes what @Sag mentioned here:

> [@Ghost sign up and spam?](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583/9):
>
> Hi everyone, There has indeed been an increase in spam signups across multiple Ghost sites originating from email domains like tmomail.net and txt.bell.ca. These domains serve as email-to-SMS/MMS gateways, converting emails into SMS or MMS messages delivered to phone numbers. To address this, we’ve introduced a [configurable blocklist](https://github.com/TryGhost/Ghost/pull/22027) for email domains in Ghost. This blocklist is already active on all Ghost (Pro) sites, and our logs show it has successfully blocked thousands of spam signups si…

As a quick win, you can add the domain in the new configuration option:

> **[Block Unwanted Email Signups with Domain Filtering](https://www.magicpages.co/roadmap/block-unwanted-email-signups-with-domain-filtering/)**
>
> Today, I've rolled out a new feature that gives you more control over who can sign up for your newsletter: Email Domain Blocking. This update comes with Ghost's latest version 5.107.1 and helps you keep your subscriber list clean...

I’ll need to evaluate what the best way to go is for this. There might be legitimate reasons for someone to allow these domains, so I don’t want to block too many per default.

---

<div class="post-metadata">

**Author:** ![curiositry](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/curiositry/32/1084_2.png) [@curiositry](https://forum.ghost.org/u/curiositry)\
**Post date:** [January 22, 2025, 5:38pm UTC](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583/18 "2025-01-22T17:38:39Z")

</div>

Makes sense @Kevin.

Any chance you could share a bit about the stack Ghost(Pro) uses to handle this kind of filtering, so self-hosters could learn from it?

Thanks!

---

<div class="post-metadata">

**Author:** ![rosano](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/rosano/32/15790_2.png) [@rosano](https://forum.ghost.org/u/rosano)\
**Post date:** [January 23, 2025, 4:51am UTC](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583/19 "2025-01-23T04:51:22Z")

</div>

@

> [@Sag](#):
>
> Self-hosters can apply the same blocklist to their Ghost sites, by adding a list of blocked email domains to their [config](https://ghost.org/docs/config/), under `spam.blocked_email_domains`. For example:

Which version of Ghost includes this? Seems to not have an effect with v5.107.2.

---

<div class="post-metadata">

**Author:** ![daveswift](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daveswift/32/34485_2.png) [@daveswift](https://forum.ghost.org/u/daveswift)\
**Post date:** [January 23, 2025, 4:57pm UTC](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583/20 "2025-01-23T16:57:42Z")

</div>

The config blocklist is also not working for me on Ghost v5.107.2.

EDIT: I think the blocklist is working, I’m just receiving bounced messages from submissions from two days ago.

[Next page](https://forum.ghost.org/t/ghost-sign-up-and-spam/54583.md?page=2)
