Differences between revisions 3 and 4
Revision 3 as of 2010-03-28 07:15:16
Size: 4121
Editor: msapiro
Comment: Added note about --help.
Revision 4 as of 2010-03-28 07:15:17
Size: 4065
Editor: msapiro
Comment: Migrated to Confluence 4.0
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma page-filename DOC/versions/14352617 #pragma page-filename DOC/versions/4030671
Line 3: Line 3:
Line 9: Line 10:
    * '''add_members''': add regular or digested users to a list.
'''arch''': rebuild a mailing list's archives.
Line 12: Line 11:
'''change_pw''': change a list's password. '''add_members''': add regular or digested users to a list.
Line 14: Line 13:
'''check_db''':  check a mailing list database for corruption. '''arch''': rebuild a mailing list's archives.
Line 16: Line 15:
'''check_perms''': check the permissions on the Mailman installation. '''change_pw''': change a list's password.
Line 18: Line 17:
'''cleanarch''': clean up an .mbox archive file before importing with bin/arch. '''check_db''': check a mailing list database for corruption.
Line 20: Line 19:
'''clone_member''': add a list member with identical settings as an existing list member (including password). '''check_perms''': check the permissions on the Mailman installation.
Line 22: Line 21:
'''config_list''': examine or change list configuration from the command line. '''cleanarch''': clean up an .mbox archive file before importing with bin/arch.
Line 24: Line 23:
'''convert.py''': a withlist script to convert a list's interpolation strings from %-strings to $-strings. '''clone_member''': add a list member with identical settings as an existing list member (including password).
Line 26: Line 25:
'''discard''': discard held messages. '''config_list''': examine or change list configuration from the command line.
Line 28: Line 27:
'''dumpdb''': dump the contents of a Mailman .db file. '''convert.py''': a withlist script to convert a list's interpolation strings from %-strings to $-strings.
Line 30: Line 29:
'''find_member''': find all lists that a specified user is on. '''discard''': discard held messages.
Line 32: Line 31:
'''fix_url.py''': a withlist script to reset a list's web_page_url and host_name attributes. '''dumpdb''': dump the contents of a Mailman .db file.
Line 34: Line 33:
'''genaliases''': regenerate Mailman specific aliases from scratch. '''find_member''': find all lists that a specified user is on.
Line 36: Line 35:
'''inject''': inject a message from a file into a Mailman queue. '''fix_url.py''': a withlist script to reset a list's web_page_url and host_name attributes.
Line 38: Line 37:
'''list_admins''': list all the owners of a mailing list. '''genaliases''': regenerate Mailman specific aliases from scratch.
Line 40: Line 39:
'''list_lists''': list all the Mailman mailing lists. '''inject''': inject a message from a file into a Mailman queue.
Line 42: Line 41:
'''list_members''':  list members of a mailing list. '''list_admins''': list all the owners of a mailing list.
Line 44: Line 43:
'''list_owners''':  list the owners of a mailing list, or all mailing lists. '''list_lists''': list all the Mailman mailing lists.
Line 46: Line 45:
'''mailmanctl''': primary start-up and shutdown script for Mailman's qrunner daemon. '''list_members''': list members of a mailing list.
Line 48: Line 47:
'''mmsitepass''': set the site password, good for admin-ing any list. '''list_owners''': list the owners of a mailing list, or all mailing lists.
Line 50: Line 49:
'''newlist''': create a new mailing list. '''mailmanctl''': primary start-up and shutdown script for Mailman's qrunner daemon.
Line 52: Line 51:
'''qrunner''': run one or more qrunners, once or repeatedly - usually only used by mailmanctl. '''mmsitepass''': set the site password, good for admin-ing any list.
Line 54: Line 53:
'''rb-archfix''': reduce disk space usage for Pipermail archives. '''newlist''': create a new mailing list.
Line 56: Line 55:
'''remove_members''': remove specified members from a list. '''qrunner''': run one or more qrunners, once or repeatedly - usually only used by mailmanctl.
Line 58: Line 57:
'''reset_pw.py''': a withlist script to reset the passwords for members of a mailing list. '''rb-archfix''': reduce disk space usage for Pipermail archives.
Line 60: Line 59:
'''rmlist''': remove an old mailing list - does not remove the archives unless you specify -a. '''remove_members''': remove specified members from a list.
Line 62: Line 61:
'''show_qfiles''': show the contents of one or more Mailman queue files. '''reset_pw.py''': a withlist script to reset the passwords for members of a mailing list.
Line 64: Line 63:
'''sync_members''': synchronizes mailing list membership with a flat text file. '''rmlist''': remove an old mailing list - does not remove the archives unless you specify -a.
Line 66: Line 65:
'''transcheck''': check a given Mailman translation (i18n). '''show_qfiles''': show the contents of one or more Mailman queue files.
Line 68: Line 67:
'''unshunt''': move messages from the shunt queue to the original queue. '''sync_members''': synchronizes mailing list membership with a flat text file.
Line 70: Line 69:
'''update''': upgrade from previous version of Mailman to current version. '''transcheck''': check a given Mailman translation (i18n).
Line 72: Line 71:
'''version''': print out the version of Mailman you are using. '''unshunt''': move messages from the shunt queue to the original queue.
Line 74: Line 73:
'''withlist''': advanced interactions with mailing list objects. '''update''': upgrade from previous version of Mailman to current version.
Line 76: Line 75:
    * h2. Other notable files: '''version''': print out the version of Mailman you are using.

'''withlist''': advanced interactions with mailing list objects.


== Other notable files: ==
Line 86: Line 91:
<<Color2(Converted from the Mailman FAQ Wizard, col=darkgreen)>>This is one of many [[../Frequently Asked Questions|Frequently Asked Questions]].
Converted from the Mailman FAQ Wizard

This is one of many [[../Frequently Asked Questions|Frequently Asked Questions]].

4.9. Summary of the mailman/bin/ commands

This is a summary of the mailman commands available via the console in ~mailman/bin/..

These commands are essential for building mailing lists and for backing up list information (users, user options, list configuration). The commands also greatly extend the functionality of Mailman.

For more information about a specific command, give the command with the '--help' option.

add_members: add regular or digested users to a list.

arch: rebuild a mailing list's archives.

change_pw: change a list's password.

check_db: check a mailing list database for corruption.

check_perms: check the permissions on the Mailman installation.

cleanarch: clean up an .mbox archive file before importing with bin/arch.

clone_member: add a list member with identical settings as an existing list member (including password).

config_list: examine or change list configuration from the command line.

convert.py: a withlist script to convert a list's interpolation strings from %-strings to $-strings.

discard: discard held messages.

dumpdb: dump the contents of a Mailman .db file.

find_member: find all lists that a specified user is on.

fix_url.py: a withlist script to reset a list's web_page_url and host_name attributes.

genaliases: regenerate Mailman specific aliases from scratch.

inject: inject a message from a file into a Mailman queue.

list_admins: list all the owners of a mailing list.

list_lists: list all the Mailman mailing lists.

list_members: list members of a mailing list.

list_owners: list the owners of a mailing list, or all mailing lists.

mailmanctl: primary start-up and shutdown script for Mailman's qrunner daemon.

mmsitepass: set the site password, good for admin-ing any list.

newlist: create a new mailing list.

qrunner: run one or more qrunners, once or repeatedly - usually only used by mailmanctl.

rb-archfix: reduce disk space usage for Pipermail archives.

remove_members: remove specified members from a list.

reset_pw.py: a withlist script to reset the passwords for members of a mailing list.

rmlist: remove an old mailing list - does not remove the archives unless you specify -a.

show_qfiles: show the contents of one or more Mailman queue files.

sync_members: synchronizes mailing list membership with a flat text file.

transcheck: check a given Mailman translation (i18n).

unshunt: move messages from the shunt queue to the original queue.

update: upgrade from previous version of Mailman to current version.

version: print out the version of Mailman you are using.

withlist: advanced interactions with mailing list objects.

Other notable files:

msgfmt.py: generate binary message catalog from textual translation description - a simple reimplementation of GNU msgfmt used during Mailman's installation.

paths.py: module used by many Mailman scripts to tell it where its files are stored.

pygettext.py: module used to generate the master message strings catalog for internationalization.

mailman/Mailman/Defaults.py: The default values for configuring Mailing lists. Also controls how Mailman interacts with your MTA (sendmail, postfix, qmail...), and how it interacts with your web server. Note: NEVER change this file - copy any section you want to change into the file below and make the changes there.

mailman/Mailman/mm_cfg.py: Your sites customized settings. Used to set the defaults for any new mailing lists. It is highly recommended that you read through Defaults.py before making any changes, but that you make any desired changes in this file.

Converted from the Mailman FAQ Wizard

This is one of many Frequently Asked Questions.

MailmanWiki: DOC/4.09 Summary of the mailman bin commands (last edited 2015-03-05 01:57:50 by JimTittsler)