Improving removal of email signatures using Watched Words

Continuing the discussion from 'Your post contains words that aren't allowed' … but which ones?:

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

1 Like

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

3 Likes

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:

1 Like

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

5 Likes

They need to follow the official signature convention:

The Usenet standard RFC 3676 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.

5 Likes

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.

1 Like

blocking the signature would send the message loud and clear :smirk:

1 Like

How would you block it?

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

2 Likes

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

https://github.com/discourse/discourse/commit/482c615ef882c1953070125e0a813683f979e5ff

9 Likes