The discussion revolves around an issue where Discourse’s signature delimiter (following RFC 3676: -- ) is incorrectly stripping content from forwarded emails that contain similar patterns — specifically, lines like ---------- Forwarded message ---------- — even though they’re not actual user signatures. awlogan reports this behavior interferes with email forwarding into the community. zogstrip suggests enabling a site setting to support forwarded messages. awlogan clarifies the issue isn’t with user signatures but with client-generated forwarding headers, and asks if the beta “forward email to start a topic” feature avoids this. After enabling the beta, awlogan confirms it resolves the stripping issue but notes a new bug: timestamps on forwarded messages are inaccurate — showing 7 hours elapsed despite messages being sent within minutes. The core problem remains: the signature delimiter regex is too permissive, and while the beta workaround helps, it introduces timestamp inaccuracies.
We’ve been using the standard usenet signature delimiter and it’s been working well, but I was informed last night that it’s also catching other things. My understanding is that it follows the signature rule from RFC 3676. As Wikipedia has it:
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
Last night one of my users sent me a message saying that this was also getting caught and stripped out the message he was trying to foward into the community:
---------- Forwarded message ----------
While having the components of the signature delimiter It seems like it’s ignoring the rest of the line and just catching the end. I’m assuming there isn’t some way to modify the signature myself to either be something different or make the catch more exact?
I’m not sure I follow. Email is working fine for us, it’s just this particular case where the signature stripper is removing the entire message because of a line that is similar to the usenet signature. It’s not a user signature that’s causing this issue, it’s something his client is adding to the text that’s causing the problem. Are you saying the beta forward email to start a topic won’t have this issue?