I am converting most of our Majordomo lists to Mailman. After I converted one list, the list administrator sent the command
who LISTNAME
to the converted list. It was not caught as administrivia. In the 2.1.9 source Utils.py, I see
ADMINDATA = { # admin keyword: (minimum #args, maximum #args) ... 'who': (0, 0),
Is there a reason why the max #args for "who" is not set to 1 or 2 to catch these commands?
who password listname
who listname
who listname address=<address>
Is it because the revised code would catch this (and similar) lines:
Who is it?
Thanks.
Barry S. Finkel Computing and Information Systems Division Argonne National Laboratory Phone: +1 (630) 252-7277 9700 South Cass Avenue Facsimile:+1 (630) 252-4601 Building 222, Room D209 Internet: BSFinkel@anl.gov Argonne, IL 60439-4828 IBMMAIL: I1004994
Barry Finkel wrote:
I am converting most of our Majordomo lists to Mailman. After I converted one list, the list administrator sent the command
who LISTNAME
to the converted list. It was not caught as administrivia. In the 2.1.9 source Utils.py, I see
ADMINDATA = { # admin keyword: (minimum #args, maximum #args) ... 'who': (0, 0),
Is there a reason why the max #args for "who" is not set to 1 or 2 to catch these commands?
who password listname who listname who listname address=<address>
Actually, none of the above are valid Mailman email commands. Commands are sent to listname-request, so listname is never part of the command. However,
who password who password address=<address>
are valid commands with 1 and 2 arguments. This was changed in 2002 when the individual command modules were added. Prior to this, the only valid command was
who
I suspect it was an oversight to not update the Utils.ADMINDATA dictionary at that time, but I don't know. The following may have had something to do with it, but I think on balance, catching
who xxx yyy
as administrivia is the right thing to do. I'm going to change it.
Is it because the revised code would catch this (and similar) lines:
Who is it?
-- Mark Sapiro msapiro@value.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Barry Finkel
-
Mark Sapiro