On 2/12/24 5:30 AM, Richard wrote:
A VERY straight-forward strategy would be to diff the current inbound against the previous one it was in reply to - using threading as already cited. No LLM is needed, well trained or otherwise, and neither is it "quite complex." It's surely far easier than spam detection!
The larger problem notwithstanding, the OP's situation is much simpler. He doesn't want to remove irrelevant quotes from incoming mail. He only wants to remove the specific list footer.
This could probably be done in Mailman's incoming runner, but finding and removing the offending text from all incoming message parts including text/html and other text/* parts in addition to text/plain is still non-trivial.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan