FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.
Knowledgebase: Mailing Lists/ezmlm
Adding, Removing, Viewing Subscribers
Posted on 11 July 2009 04:10 AM

Note: The easiest way to create and maintain your mailing lists is to use your CNC. Once logged in, click on Mailing Lists. From there, you can easily manage your subscribers and lists.

The following explains how to work with your lists manually and is recommended only for Advanced users.

Using your favorite SSH program, you can easily add subscribers to or remove subscribers from your mailing list, or simply view your subscriber list. 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 the italicized text with your actual information and user@domain.tld with the email address you want to add to the list:
ezmlm-sub /big/dom/xDOMAIN/USERNAME/LISTNAME user@domain.tld
You can subscribe multiple addresses at the same time by simply putting them all on the same line, separated by spaces. For example:
ezmlm-sub /big/dom/xDOMAIN/USERNAME/LISTNAME user@domain.tld user2@domain.tld user3@domain.tld
Multiple addresses can also be added to the subscriber list by creating a file with the addresses (one to a line, being sure to press [Enter] after the last address) and issuing the following command:
ezmlm-sub /big/dom/xDOMAIN/USERNAME/LISTNAME < FILENAME
Important Note: The above methods to add subscribers do NOT meet the Confirmed Opt-In requirement of the Terms of Service. You will need to retain proof that all subscribers have been added to your list only after they have confirmed their subscription via email.
ezmlm-unsub
Unsubscribes a specific email address from your mailing list. Type the following at your command prompt, replacing the italicized text with your actual information and user@domain.tld with the email address you want to remove from the list:
ezmlm-unsub /big/dom/xDOMAIN/USERNAME/LISTNAME user@domain.tld
You can unsubscribe multiple addresses at a time by simply putting them all on the same line, separated by spaces. For example:
ezmlm-unsub /big/dom/xDOMAIN/USERNAME/LISTNAME user@domain.tld user2@domain.tld user3@domain.tld
Multiple addresses can also be removed from the subscriber list by creating a file with the addresses (one to a line, being sure to press [Enter] after the last address) and issuing the following command:
ezmlm-unsub /big/dom/xDOMAIN/USERNAME/LISTNAME < FILENAME
ezmlm-list
Shows a list of all users subscribed to a specific mailing list with each address on its own line. Type the following at your command prompt, replacing the italicized text with your actual information:
ezmlm-list /big/dom/xDOMAIN/USERNAME/LISTNAME

Note: If you have enabled the digest option on an ezmlm-idx list and/or if you are maintaining allow/deny lists, please refer to the ezmlm-idx documentation for additional command options - ezmlm-idx manual

Along with reviewing the other knowledgebase articles on ezmlm-idx, additional information on manually working with your ezmlm-idx lists can be found in the ezmlm-idx manual.