[ this thread came from majordomo-users, please reply to
In message <Pine.SUN.3.90.950504163301.26250Hemail@example.com>, Paul Haas wr
>Does this sound like a good idea? Should I write the code?
Sounds like a great idea. In fact I thought of a similar idea
again today. :-)
The filter would just be a plug-in module you'd stick in some
directory unique to each list. resend would see if this directory
was non-empty and pipe the message through each filter. (they
would be executed in sorted order, so ordering would be controlled
by the filter's name, if necessary. Maybe just specifying the
filter names in a .config file keyword would be better) The filter
would return with an error code based on what should be done with
the message, and the output generated by the filter would be the
contents of the mail message to send.
Of course modification of these filters requires local access, but that's
the way you'd want it anyway. There should be a general-purpose set
of filters shipped with Majordomo. For example the current
administravia checking could (and should) be implemented as a drop-in
filter. Want different kinds of checking for different lists?