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
add
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
time.
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:
profox:|python
/home/mailman/stripQuote.py|/home/mailman/mail/mailman post profox
___/
/
__/
/
/
Ed Leafe
http://leafe.com/
http://opentech.leafe.com
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org