procmail
[Top] [All Lists]

Handling Excessive Quoting ?

2002-07-07 14:11:27
Hi Group,

Even though I'm thinking that procmail deals basically
with header and attachment contents, I thought someone
here might have info on some kind of ratio calculator
that might work in conjunction with procmail to check
the percentage of 'quoted content' in an email post
and act accordingly.  Mainly for the first couple times
it finds 'excessive quoting', to send an informative
message (imported from a text file) that would request
that the sender take a little more time to edit, and if
this same person continued to post thusly - they would
be added to a filter in procmailrc for deletion...

Anyone know of such a utility ?  For Linux (Slackware) ?

I'm sure this could be done with a perl script, but I'm
not that good a perl (or python)... yet... :)

I imagine it would have to do with checking the FIRST
character in each line of the message body and those
containing a ">" would be compared to those NOT, and
thereby - with a little math, the ratio would be calc'd.
Then this ratio would of course be passed to the mail
utility for including this data in the response.

Thanks,
         Bruce

PS: I've searched the net, but didn't see anything
    relating along these lines.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>