Computing Web at BU Boston University home page Boston University home page
Title Bar
Frequently Asked Questions Contact
Computing Web
Accounts and E-mail Telecom and Networks Computers and Software Web Services Web Services Policies Help

Majordomo commands are sent via e-mail to the Majordomo server majordomo@bu.edu. A response is returned by e-mail. Any command must be included in the body, not the Subject line, of the message. Multiple commands can be included in a single message.

Basic

General commands; most are available to both Subscribers and List Owners:

subscribe list address (see Example 1 & Example 2)
Add 'address' to 'list'
unsubscribe list address (see Example 3)
Remove 'address' from 'list'
info list (see Example 4)
Return general informaton for 'list'
lists
Return listing of public lists
help
Return a basic help file
who list
Return a listing of all subscribers on a named list.

List Administration

Majordomo also has a suite of administrative commands for use by List Owners. These commands require the list password to be specified as well. They include:

passwd list old_passwd new_passwd
Change the password for the list. Note: Do not use your Kerberos, UNIX, or local system password as the password for any list.
newinfo list password
Replace the information file that is returned when an 'info [list]' or 'subscribe [list]' command is submitted. It reads everything below the 'newinfo' command to end-of-message or the word 'EOF' on a line by itself as the new info for the list.

Advanced

List Owners may alter the list's configuration file, changing all sorts of options, such as whether the 'who' command is restricted to members of the list, whether the list is confidential, etc.

These commands can be tricky to use, and can cause problems with the list if implemented improperly, so use caution.

config list password
retrieves a self-documenting configuration file for the list
end
Stop processing commands (recommended if your mailer adds a signaure).
newconfig list password
Validates and installs a new configuration file. It reads everything below the "newconfig" command to end-of-message or the word "EOF" on a line by itself as the new info for the list. The config file is expected to be a complete config file as returned by "config". Incremental changing of the config file is not yet supported. As soon as the config file is validated and installed its settings are available for use. This is useful to remember if you have multiple commands in your mail message since they will be subject to the settings of the new config file. If there is an error in the config file (incorrect value...), the config file will not be accepted and the error message identifying the problem line(s) will be returned to the sender. Note that only the error messages are returned to the sender not the entire config file, so it is a good idea to keep a copy of your outgoing e-mail message.
writeconfig list password
Write a new config file in standard form. Writeconfig forces a rewrite of the config file with all comments and default values in place. It is useful to use after an upgrade of Majordomo since it will add the new keywords for people to change. It also updates the documentation in the file if that has changed.
 

 

Early Bird Computing
Boston University
Boston University
  This Site   BU   Directory  

February 16, 2005