[Mailman-Users] filtering posts to a list
ed at leafe.com
Wed Sep 3 04:32:32 CEST 2003
On Tuesday, September 2, 2003, at 01:16 PM, Marty Galyean wrote:
> How would I insert an arbitrary perl filter for list posts? I want to
> filter out quoted instances of post footers in replies. They really
> up when users don't trim and yet because the pattern is static it seem
> onerous for the uses to have to trim the footer out of posts all the
> I'm imagining the equivalent of a .forward file with a pipe to a perl
> script in it, that writes to the mbox file.
> What is the sanest direction to take?
You can modify the posting alias to pass the message through your perl
script before it gets to Mailman. I use a Python script I wrote for a
similar purpose. The alias for my list looks like:
/home/mailman/stripQuote.py|/home/mailman/mail/mailman post profox"
More information about the Mailman-Users