Jeremy,

If you want to better understand the available commands by email, and can look at the Python and understand it, here is what I have figured out so far. Note that some of it may be wrong. :-)

I started because I want the "who" command to return a section of people unsubscribed because of bounces. So far I have not succeeded.

Start in the Mailman subdirectory, usually written something like ~mailman/Mailman.

If you look in Utils.py, you will see ADMINDATA defined that lists all the commands available by mail. I would think that making changes here would allow you to add or delete commands, assuming you can figure out the rest.

If you look at MailList.py, it seems to be playing a role, though I haven't figured it out, exactly.

Then go into the subdirectory Commands (~mailman/Mailman/Commands). Here you will see the Python source for each of the defined commands, of the format 'cmd_command.py'. So the who command is in cmd_who.py.

I can verify that changing cmd_who.py changes how Mailman responds to the who command via email. I have it closer to what I want, but not completely there.

Note that I believe you need to restart mailmanctl after making changes so that Mailman takes note.

Hope this helps.

Jeremy Butler wrote:
I recently installed Mailman 2.1.1 and I'm interested in changing a few things in the help template--that is, the message sent to users when they send the help command (see below).

What's got me confused is the section where the actual commands are listed:

%(commands)s

Obviously, this is a variable. Can it be customized somehow?

--

John DeCarlo, My Views Are My Own



------------------------------------------------------
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: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to