How do I use mailing lists?


You can create mailing lists via the E-mail Options > Mailing Lists menu of the Web Hosting Control Panel. Once you open the menu you’ll see the mailing list creation form.

Mailing List Address - here you have to specify the address of the mailing list. When you send an e-mail message to the address of the mailing list, this message is sent to all the subscribers of the mailing list. The first part of the mailing list address is the name of the mailng list. For instance, if example-list@my-best-domain.com is the mailing list addreess, then example-list will be the mailing list name.

After that you have to type and confirm the administrator password. In the last field you have to specify the e-mail address of the administrator of the mailing list. The administrator e-mail address will receive notifications about subscriptions, questions from subscribers and potential subscribers and other administrative e-mails.

The mailing lists on our servers are operated via commands sent to an automated mailing list management program called Majordomo. Majordomo is fairly easy to use but there are certain rules that you must follow:

- commands are sent to majordomo@my-best-domain.com
- commands must be in the body of the message (not the subject)
- each line is considered a new command

Here is a list of all the commands that you can use and their short explanations:

subscribe - this command subscribes to the mailing list the e-mail address that you are sending from and it must be followed by the name of the mailing list that you wish to subscribe to. If you wish to subscribe a different e-mail address, the command looks like this:

subscribe example-list example-mail@my-best-domain.com

unsubscribe - this command unsubscribes from the mailing list the e-mail address that you are sending from and it must be followed by the name of the mailing list that you wish to unsubscribe from. If you wish to unsubscribe a different e-mail address, the command looks like this:

unsubscribe example-list example-mail@my-best-domain.com

which - this command shows the mailing lists on this system that the e-mail address you are sending from is subscribed to. You can check for another e-mail address as well and then the command will look like this:

which example-mail@my-best-domain.com

That command can be further generalized in order to see the mailing lists that each e-mail address under the domain name example.com is subscribed to and then the command will simply be:

which my-best-domain.com

who - this command shows all the e-mail addresses that are subscribed to the mailing list and it must be followed by the name of the mailing list.

who example-list

info - this command shows detailed information about the mailing list itself and it must be followed by the name of the mailing list.

info example-list

index - this command shows if there are any files associated with the mailing list and it must be followed by the name of the mailing list.

index example-list

get - this command sends a request to retrieve a particular file that is associated with the mailing list and it must be followed by the name of the mailing list and the name of the file.

get example-list example.file

intro - this command retrieves the introductory message sent to new subscribers and it must be followed by the name of the mailing list. Non-subscribers may not be able to retrieve this.

intro example-list

lists - this command shows a list of all publicly available mailing lists on this system.

help - this command retrieves a help message that provides detailed information about working with Majordomo and the mailing list.

end - this command stops further processing of commands. That is useful if you use an automated signature for your e-mails. Otherwise each new line is considered a new command and you will receive false error messages.

And here is a list of the Majordomo commands that require the administrator password:

approve [password] subscribe/unsubscribe example-list example-mail@my-best-domain.com

This command approves the subscription or unsubscription of a particular e-mail address when the respective action requires the approval of the list owner. Have in mind that this is a standard subscribe/unsubscribe command preceded by “approve” + the adminstrator password.

approve [password] who example-list

This command shows the addresses on the anonymous list. Even the owner of the list cannot see who is on the anonymous list without the password.

passwd example-list [password] [new password]

This command allows you to change the administrator password by sending an e-mail. You can also change the password for the mailing list using the E-Mail Options > Mailing Lists menu of the Web Hosting Control Panel. Simply click on the Edit button next to the mailing list that you wish to change the password for.

newinfo example-list [password]

This command replaces the information file that people see when they subscribe or request with the info command. Everything after the password will be considered the new message unless you use the EOF word on a separate line.

config example-list [password]

This command sends a request to retrieve the self-documenting configuration file for the list.

newconfig example-list [password]

This command replaces the configuration file that you can retrieve with the config command and changes the configuration for the list as soon as it is validated. If you have other commands after that, they will be subject to the new configuration. Again, everything after the password will be considered the new configuration unless you use the EOF word on a separate line. If the new configuration file contains an error (an incorrect value), the entire file will not be accepted. There will be an error message displaying the problem line(s). You are advised to keep a copy of the configuration files since only the error messages are returned but not the entire file.

Did you find this article useful?