# Protect forum against email harvesters bots

**URL:** https://meta.discourse.org/t/protect-forum-against-email-harvesters-bots/62760
**Category:** Support
**Created:** [5월 15, 2017, 10:28오후 UTC](https://meta.discourse.org/t/protect-forum-against-email-harvesters-bots/62760 "2017-05-15T22:28:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ashledombos](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ashledombos/32/114818_2.png) [@ashledombos](https://meta.discourse.org/u/ashledombos)
#### Post date: [5월 15, 2017, 10:28오후 UTC](https://meta.discourse.org/t/protect-forum-against-email-harvesters-bots/62760/1 "2017-05-15T22:28:28Z")

</div>

Hello,

sorry if it’s duplicate, is there a way to automatically protect email addresses written in posts to be scanned by bots?

(I mean out of doing it manually, like replacing @ by [at] by hand)

---

<div class="post-metadata">

### Author: ![robbyoconnor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robbyoconnor/32/120330_2.png) [@robbyoconnor](https://meta.discourse.org/u/robbyoconnor)
#### Post date: [5월 15, 2017, 11:09오후 UTC](https://meta.discourse.org/t/protect-forum-against-email-harvesters-bots/62760/2 "2017-05-15T23:09:43Z")

</div>

You could censor out emails..

In your site settings, search for `censored` and add the regex for emails. This way, emails will be redacted if they are posted.

---

<div class="post-metadata">

### Author: ![ashledombos](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ashledombos/32/114818_2.png) [@ashledombos](https://meta.discourse.org/u/ashledombos)
#### Post date: [5월 17, 2017, 6:41오후 UTC](https://meta.discourse.org/t/protect-forum-against-email-harvesters-bots/62760/3 "2017-05-17T18:41:21Z")

</div>

Thanks @robbyoconnor, I used the RFC 5322 regex, this works perfectly well!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [6월 28, 2018, 8:53오전 UTC](https://meta.discourse.org/t/protect-forum-against-email-harvesters-bots/62760/4 "2018-06-28T08:53:28Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
