Page 39 - Mercury Manual.book
P. 39
Mailing lists 34
Using mailing lists
In the normal case, however, the list will be unmoderated, which means that your users can
manage their own subscriptions to it by sending commands to the Mercury Mail Server via
e-mail, or by using the MercuryB Web Server’s MLSS (Mailing List Subscriber Services)
module via a web browser.
Using Mail Server commands to manage lists
Commands affecting list membership or operation should be sent to the mail server address:
by default, this will be the reserved address Maiser at your site. Maiser is not a username -
it is a kind of alias handled in a special way by Mercury itself. Sending a message to maiser
tells Mercury that the message body contains commands that it needs to process, rather than
mail that needs to be delivered. Multiple commands can be included in a single message, one
line per complete command, and command processing terminates as soon as Mercury en-
counters a blank line or an EXIT command. The user who sends the message will receive a
short message back indicating the success or failure of the commands he has issued.
For mailing list management, the following commands are recognized by the mail server:
1: Commands available to everyone
SUBSCRIBE <list-name> [Full name]
Add the sender's address to the list
Also available as SUB <list-name> [Full name])
UNSUBSCRIBE <list-name>
Remove the sender's address from the list
Also available as UNSUB <list-name>
Also available as SIGNOFF <list-name>
ENUMERATE <list-name>
Return the list membership via e-mail
Also available as REVIEW <list-name>
LIST
Returns the lists available at this host
SET <list-name> DIGEST / NODIGEST
Set your list subscription in or out of digest mode
SET <list-name> MAIL / NOMAIL
Turn on or off delivery from a list
SET <list-name> VACATION X
Temporarily turn off delivery from a list for X days
SET <list-name> REPRO / NOREPRO
Receive / Do not receive copies of your own postings to the list
STATUS <list-name>
Get current subscription information for a list
PASSWORD <password>
Supply the password for subscriber-related commands, such as SUBSCRIBE.
2: Commands only available to list moderators:
ADD <list-name> <address> [Full name]
Add a user to a list
REMOVE <list-name> <address>
Remove a user from a list
MSET <user> <list> <option>
Change a user's subscription options – option can be MAIL, NOMAIL, DIGEST,
NODIGEST, VACATION, REPRO or NOREPRO
MSTATUS <list-name> <user>