Modifying your Mailing List

This section describes how to modify your mailing list. You can change the shown in your mailing list, add or remove users via Telnet, or change the style of your list (for example, changing your Discussion list to a Moderated list).

Headers and Footers
When you created your mailing list a directory named 'text' was created automatically. This directory resides in the directory bearing the same name as your list. For example, if you named your list help, the text directory would be located at
/big/dom/xyour_domain/your_username/help/text All of the files contained in the text directory contain the text that surrounds the messages sent to and from the list.

You may edit the text in any of these files to change the look of your mailing list(s). Simply download the files you want to change to your own computer, edit them with your favorite text editor, and re-upload them in ASCII to where you found them. Remember while you're editing though, do not edit any lines that begin with an exclamation point ( ! ) as these lines are interpreted by the ezmlm software to display dynamic content. The following is a list of the files in the text directory, as well as a short description of what they do.

bottom
This is the text displayed at the bottom of administrative requests, including subscribe, unsubscribe and help.
bounce-bottom
The text displayed at the bottom of a bounced message notice, with the body of the bounced message below it.
bounce-num
Tells a user which message numbers have been bounced from their address, and explains how to retrieve those specific messages.
bounce-probe
After so many messages have bounced from a specific subscriber, ezmlm will send this probe to determine if their address is functioning. If not, that address will be automatically un-subscribed from the list, in order to prevent further bounced messages.
bounce-warn
After so many messages have bounced from a specific subscriber, ezmlm will send this warning to determine if their address is functioning. If not, ezmlm will send a probe to that address (see above listing).
get-bad
If a subscriber attempts to retrieve a specific message, and that message number does not exist, this is the reply that ezmlm sends the user.
help
The text displayed for a generic help message. Below this text is displayed the text located in bottom (see first listing).
sub-bad
Text displayed when a user submits an invalid confirmation number for a subscription request. Offers a new confirmation number to the user.
sub-confirm
Text displayed when a user submits a subscription request. Offers a confirmation number, which helps make sure the user really wants to subscribe to the list (e.g. to make sure someone else didn't sign them up without their knowledge).
sub-nop
Text displayed when a user submits a subscription request for an email address that is already subscribed to that list.
sub-ok
Notifies a new subscriber that their address is now saved to the mailing list.
top
Message shown at the top of all administrative requests, including subscribe, unsubscribe and help.
unsub-bad
Text displayed when a user submits an invalid confirmation number for a request to unsubscribe. Offers a new confirmation number to the user.
unsub-confirm
Text displayed when a user submits a request to unsubscribe. Offers a confirmation number, which helps make sure the user really wants to unsubscribe from the list (e.g. to make sure someone else didn't try to delete them without their knowledge).
unsub-nop
Text displayed when a user submits a request to unsubscribe an email address that is not on that list.
unsub-ok
Notifies a former subscriber that their address is no longer saved on the mailing list.

Adding, Removing, or Viewing Users
Using your favorite Telnet program, you can easily add, remove or view users from your mailing. Once logged into your account, just make sure you are in your home directory, by typing cd and pressing your Enter key, then select from the list of commands below to accomplish the task at hand.

ezmlm-sub
Subscribes a specific email address to your mailing list. Type the following at your command prompt, replacing listname with the name of your mailing list, and user@domain.tld with the email address you want to add to the list
ezmlm-sub listname user@domain.tld.
You can subscribe multiple addresses at the same time by simply putting them all on the same line, seperated by spaces. For example
ezmlm-sub listname user@domain.tld user2@domain.tld user3@domain.tld

ezmlm-unsub
Unsubscribes a specific email address from your mailing list. Type the following at your command prompt, replacing listname with the name of your mailing list, and user@domain.tld with the email address you want to remove from the list
ezmlm-unsub listname user@domain.tld

ezmlm-list
Shows a new line separated list of all users subscribed to a specific mailing list. Type the following at your command prompt, replacing listname with the name of your mailing list.
ezmlm-list listname

Miscellaneous

Archiving
To disable automatic archiving of messages, simply log in via FTP or Telnet, change to the mailing list's directory, and delete the file named /archived. All messages that were already archived should remain archived, but all future messages will not be saved.

Changing Style
To turn a Discussion or Announcement list into a Moderated list, log in via FTP or Telnet, change to the mailing list's directory, and delete the file named /public. All existing users will remain subscribed, but new subscribers will have to be manually added via Telnet (see ezmlm-sub in Adding, Removing, or Viewing Users)

List Owner
To set the Owner email address of your list, log in via FTP, change to the mailing list's directory and download the file named owner. Open this file in your favorite text editor; it should look like the following;
/big/dom/xyour_domain/username/listname/Mailbox
|/usr/local/bin/ezmlm/ezmlm-warn '/big/dom/xdyour_domain/username/listname' || exit 0

Replace the top line with &you@domain.com, where you@domain.com is the email address of the list owner. When finished, the file owner should look like this (make absolutely sure you leave the & sign!);
&you@domain.com
|/usr/local/bin/ezmlm/ezmlm-warn '/big/dom/xdyour_domain/username/listname' || exit 0

Save the file, and re-upload it. You may want to make a backup of the original first, rename it to something like owner.bak. Now, whenever a user sends a message to listname-owner@mlm.yourdomain.tld, it will be automatically forwarded to your own email box. You may want to set up a special mailbox for this, for example listowner@yourdomain.tld.

Home