A while back on the majordomo-users list was a discusssion about
getting a master list of majordomo lists. I was thinking about what
would have to be in majordomo-2.0 to implement this.
Set up a mailing list majordomo-blah, and configure it so that only
certain people can send to it. Then once every polling period send a
"lists" command to all of the majordomo's. The original suggestion
(which I like) was to use an external program to capture the output
from the lists commands.
However, I started thinking (yes, I know thinking is a BAD thing) that
it should be possible to add a module to majordomo that would handle
the output from lists. This way everything is internal to majordomo.
It would be easy enough to add a "lists poll" action that would return
information in a reasonable format:
poll output from majordomo@blu.blah.edu
....
EOF
But what about backwards compatibility with older versions of
majordomo? I was thinking that there should be some way to interject
commands into the line collection/parse loop so that an item like:
>>>> lists
stuff
stuff
stuff
>>>> lists-end
(standard error text goes here)
could be recognized by the addin, and properly handled. The ">>>>
lists" line would be changed to "poll oldmajordomo" and the code would
know what to do with "oldmajordomo". Alternatively, majordomo would
before sending an error message, pass the input line (pre broken) off
to a "default recognition function" (yes I know this has shades of
tcl) that would be responsible for doing something useful with the
input line, or reporting an error if nothing useful could be done with
it.
Now am I:
a) Crazy
b) Too dependant on caffine and pepperoni pizza at 3AM
c) Trying to reinvent the kitchen sink, and liable to
end up with clogged drains
d) All of the above
Please send your vote the the address listed in the from line 8-).
Comments also welcome.
-- John
John Rouillard
Special Projects Volunteer University of Massachusetts at Boston
rouilj@cs.umb.edu (preferred) Boston, MA, (617) 287-6480
===============================================================================
My employers don't acknowledge my existence much less my opinions.
|
|