The maillist.exe utility serves to manage mailing lists. The utility allows the following:
Syntax
maillist.exe <command> [<maillist>] [
<option1><param1> [<param2>…<param n>]
[<option2><param1> [<param2>…<param n>]]
…[<option N><param1> [<param2>…<param n>]]
]
Example
The following command creates the Work mailing list on the domain1.com domain, sets the MyPass password for the mailing list administrator, orders not to send the mailing list created notification to this administrator, and sets the listadmin@domain1.com email address for this administrator.
>maillist.exe --create Work -domain domain1.com -passwd MyPass -notify false -email listadmin@domain1.com
Commands
Command |
Parameter |
Description |
Example |
|---|---|---|---|
|
|
Creates a mailing list with the specified name on a certain domain. |
To create the Friends mailing list on somewhere.com: >maillist.exe --create Friends -domain somewhere.com or >maillist.exe –c Friends -domain somewhere.com |
|
|
Updates mailing list properties. |
To update the Partners mailing list with addresses 111@domain.name, 222@domain.name: >maillist.exe --update Partners -members add:111@domain.name, 222@domain.name or >maillist.exe -u Partners -members add:111@domain.name, 222@domain.name |
|
|
Deletes the specified mailing list. |
To remove the Friends mailing list from somewhere.com: >maillist.exe --remove Friends -domain somewhere.com or >maillist.exe –r Friends -domain somewhere.com |
|
|
Displays the list of members added to the specified mailing list. |
To see the list of members added to the Friends mailing list on somewhere.com: >maillist.exe --info Friends -domain somewhere.com or >maillist.exe -i Friends -domain somewhere.com |
|
|
Displays help on the use of the utility. |
To see the help info on the use of the >maillist.exe –-help or >maillist.exe –h |
Options
Option |
Parameter |
Description |
Example |
|
|
Specifies the domain name. This option is required for all commands, except on |
To remove the Friends mailing list from somewhere.com: >maillist.exe --remove Friends -domain somewhere.com |
|
|
Sets the mailing list administrator's password. Can be used with the |
To set the Friends mailing list administrator's password: >maillist.exe --create Friends -domain somewhere.com -passwd Administrator |
|
|
Sets the email address for the mailing list administrator. Can be used with the |
To set the email for the Friends mailing list administrator: >maillist.exe --create Friends -domain somewhere.com -email Administrator@somewhere.com |
|
|
Notifies the mailing list administrator that the mailing list has been created OK. Is set to true by default. Can be used with the |
To enable the notification option for the Friends mailing list administrator: >maillist.exe --create Friends -notify true |
|
|
Enables/disables the specified mailing list . Is set to true by default. |
To enable the Partners mailing list on domain on domain somwhere.com: >maillist.exe --update Partners -domain somwhere.com -status false |
|
|
Adds/deletes email addresses to/from the specified mailing list. |
To add email addresses Partner1@domain.name, Partner2@domain.name to the Partners mailing list on domain somewhere.com: >maillist.exe --update Partners -members -domain somwhere.com add:Partner1@domain.name, Partner2@domain.name |