hello everyone,

Just wondering if you're using demime and its associated demime_junkmail.cf file for signature removal.
If so, maybe you can help me - despite some help from Nick, Dan and some other sources, I can't get my head round the use of regular expressions to do what I want. Apart from general advertising sig removal, I am specifically wanting to remove old list footers on replies, which the poster has failed to / can't remove before sending their reply to the list. These obviously make replies unwieldy and messy; more so with each reply generation if the trend is continued.


The footer in question always has the same text content and is of this style but wider:
______________
There are two or
three lines here
within the lines
______________


So far, I have fumbled around in demime_junkmail.cf and find I can match and remove _exactly_ a 'new' footer like that, but not the ones which actually need to be removed on incoming replies. I think this is related to how and where the email quotes or includes the original mail and its associated footer in the reply. I can appreciate that any corruption of the original line wrap may make my task impossible, but I am having trouble even where the original wrap appears intact.

It'd be great if any of you can conjour up one working expression (or more) into which I can just slot my specific text !

Many thanks for any help here,
lee




Reply via email to