# Improving removal of email signatures using Watched Words

**URL:** https://meta.discourse.org/t/improving-removal-of-email-signatures-using-watched-words/81837
**Category:** Feature
**Tags:** email
**Created:** [February 28, 2018, 9:43pm UTC](https://meta.discourse.org/t/improving-removal-of-email-signatures-using-watched-words/81837 "2018-02-28T21:43:38Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)
#### Post date: [February 28, 2018, 9:43pm UTC](https://meta.discourse.org/t/improving-removal-of-email-signatures-using-watched-words/81837/1 "2018-02-28T21:43:38Z")

</div>

Continuing the discussion from ['Your post contains words that aren't allowed' … but which ones?](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/16):

> [@'Your post contains words that aren't allowed' ... but which ones?](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/16):
>
> Next steps are we need a “substitute” action in Watched Words, perhaps next month sometime?

Could the “substitute” action for watched words be expanded to remove email signatures that an admin can manually add to Watched Words?

---

<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: [February 28, 2018, 10:29pm UTC](https://meta.discourse.org/t/improving-removal-of-email-signatures-using-watched-words/81837/2 "2018-02-28T22:29:06Z")

</div>

This to me feels like a job for the reply trimmer and it does it automatically already.

---

<div class="post-metadata">

### Author: ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)
#### Post date: [February 28, 2018, 10:46pm UTC](https://meta.discourse.org/t/improving-removal-of-email-signatures-using-watched-words/81837/3 "2018-02-28T22:46:56Z")

</div>

It does, but still some get through - and usually the same ones.

Here is an example of two posts by the same user, with his email signature highlighted:

 ![18-PM](https://global.discourse-cdn.com/meta/original/3X/5/a/5a96725a48347f3c4c33b2724c3a494fde251d25.jpg)

---

<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: [February 28, 2018, 10:55pm UTC](https://meta.discourse.org/t/improving-removal-of-email-signatures-using-watched-words/81837/4 "2018-02-28T22:55:23Z")

</div>

> [@omarfilip](#):
>
> It does, but still some get through - and usually the same ones.

Oh @zogstrip needs a raw copy of these problem emails, this is something we fix as we go.

---

<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: [March 1, 2018, 12:06am UTC](https://meta.discourse.org/t/improving-removal-of-email-signatures-using-watched-words/81837/5 "2018-03-01T00:06:49Z")

</div>

They need to follow the [official signature convention](https://en.wikipedia.org/wiki/Signature_block):

> The Usenet standard [RFC 3676](https://tools.ietf.org/html/rfc3676) specifies that a signature block should be displayed as plain text in a fixed-width font (no HTML, images, or other rich text), and should be delimited from the body of the message by a single line consisting of _exactly_ two hyphens, followed by a space, followed by the end of line (i.e., `"-- \n"` ).
> 
> This latter prescription, which goes by many names, including “sig dashes”, “signature cut line”, “sig-marker”, “sig separator” and “signature delimiter”, allows software to automatically mark or remove the sig block as the receiver desires.

Worth nagging the user about this if they don’t. But then users will put in Comic Sans signatures, so there is no god, and we are all ultimately being digested by an uncaring cosmos.

---

<div class="post-metadata">

### Author: ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)
#### Post date: [March 1, 2018, 1:03am UTC](https://meta.discourse.org/t/improving-removal-of-email-signatures-using-watched-words/81837/6 "2018-03-01T01:03:44Z")

</div>

Most of the time nagging is futile because the typical offender is not savvy enough, or seldom visits the forum, thus does not see the effect.

---

<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: [March 1, 2018, 1:14am UTC](https://meta.discourse.org/t/improving-removal-of-email-signatures-using-watched-words/81837/7 "2018-03-01T01:14:02Z")

</div>

blocking the signature would send the message loud and clear 😏

---

<div class="post-metadata">

### Author: ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)
#### Post date: [March 1, 2018, 1:15am UTC](https://meta.discourse.org/t/improving-removal-of-email-signatures-using-watched-words/81837/8 "2018-03-01T01:15:37Z")

</div>

How would you block it?

Edit: Ah, I see what you mean. Maybe.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [March 2, 2018, 12:52am UTC](https://meta.discourse.org/t/improving-removal-of-email-signatures-using-watched-words/81837/9 "2018-03-02T00:52:40Z")

</div>

@omarfilip I pushed a fix for both emails you sent me (and more)

[https://github.com/discourse/discourse/commit/482c615ef882c1953070125e0a813683f979e5ff](https://github.com/discourse/discourse/commit/482c615ef882c1953070125e0a813683f979e5ff)
