Esta página es editable

Comandos de consola para administrar mailman

De Gleducar, http://www.gleducar.org.ar

Esta página fue revisada y cumple los estándares de Gleduwiki.


Mailman Preguntas frecuentes

4.9. Summary of the mailman/bin/ commands

Este es un resumen de los comandos de mailman, disponibles vía consola. Algunos de estos comandos deben ejecutarse como root. Se encuentran generalmente en /usr/lib/mailman/bin/

Estos comandos son, esencialmente, para crear listas de correo y para hacer copias de seguridad de la información de las listas (usuarios, opciones de usuarios, configuración de la lista, etc.).


add_members
Agregar usuarios de entrega regular o digesto a la lista.
arch
Reconstruir el archivo de la lista.
change_pw
Cambiar la contraseña de una lista.
check_db
Controlar si la base de datos de una lista se ha corrompido.
check_perms
Controlar los permisos en la instalación de mailman.
cleanarch
Limpiar el archivo .mbox antes de importar con 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 all the 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.

Edit this entry / Log info / Last changed on Tue May 23 18:58:57 2006 by Mark Sapiro

Fuente: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.009.htp

Copyright © 2002-2010 Asociación Civil Gleducar
Todo los contenidos de este sitio se encuentran bajo una licencia libre del tipo Copyleft
Este sitio ha sido desarrollado usando Software Libre y respeta los estándares web.
Además ha sido diseñado para verse correctamente usando cualquier navegador, en cualquier resolución de pantalla.