
Since mailman is missing some important (for me) features and I do not know python I have written a pre-filter in perl.
The features are:
the admin can defines a config files : a list of allowed MIME types : weed = commercial ads footer
the mail is disassembled in its MIME parts, only allowed TEXT parts get in the reassembled mail, not allowed MIME types are substituted with a message "part XXX (MIME-type YYY) is not allowed, ignored", allowed MIME types are saved on the web server and substituted with a message "part XXX is saved at URL YYY"
missing References header are added
bad quoting (by wrong auto-wrapping of editor) is corrected
overlong lines are reformated
non-RFC Subject prefixes like "AW:" are substituted with correct "Re:"
commercial ads are deleted
full quoting at end of mail is removed
-- Ullrich Horlacher Server- und Arbeitsplatzsysteme Rechenzentrum E-Mail: horlacher@rus.uni-stuttgart.de Universitaet Stuttgart Tel: ++49-711-685-65868 Allmandring 30 Fax: ++49-711-682357 70550 Stuttgart (Germany) WWW: http://www.rus.uni-stuttgart.de/

Ulli Horlacher wrote:
Mailman's content filtering together with scrub_nondigest does something similar.
Constructed from what?
I am interested in how you do these, particularly the last two. Can I see your code?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On Wed 2009-07-01 (19:13), Mark Sapiro wrote:
Oh... this must be a new feature in 2.1.11? I am still running 2.1.9 Sorry to offer you features mailman already has.
My excuse: my auto-deattach-feature is several years old. I only found now the time to announce it.
From old mails. My filter does a full text search over all mails of the last 2 weeks.
I can send it to everyone who is interested. I do not want to put it online because the documentation is not good enogh. I first want to see if there is really interest in my filter, then I will enhance the documentation. Writing documentation no one will read is maximum boring :-)
-- Ullrich Horlacher Server- und Arbeitsplatzsysteme Rechenzentrum E-Mail: horlacher@rus.uni-stuttgart.de Universitaet Stuttgart Tel: ++49-711-685-65868 Allmandring 30 Fax: ++49-711-682357 70550 Stuttgart (Germany) WWW: http://www.rus.uni-stuttgart.de/

Ulli Horlacher wrote:
Mailman's content filtering together with scrub_nondigest does something similar.
Constructed from what?
I am interested in how you do these, particularly the last two. Can I see your code?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On Wed 2009-07-01 (19:13), Mark Sapiro wrote:
Oh... this must be a new feature in 2.1.11? I am still running 2.1.9 Sorry to offer you features mailman already has.
My excuse: my auto-deattach-feature is several years old. I only found now the time to announce it.
From old mails. My filter does a full text search over all mails of the last 2 weeks.
I can send it to everyone who is interested. I do not want to put it online because the documentation is not good enogh. I first want to see if there is really interest in my filter, then I will enhance the documentation. Writing documentation no one will read is maximum boring :-)
-- Ullrich Horlacher Server- und Arbeitsplatzsysteme Rechenzentrum E-Mail: horlacher@rus.uni-stuttgart.de Universitaet Stuttgart Tel: ++49-711-685-65868 Allmandring 30 Fax: ++49-711-682357 70550 Stuttgart (Germany) WWW: http://www.rus.uni-stuttgart.de/
participants (2)
-
Mark Sapiro
-
Ulli Horlacher