Mailing Lists: maillist.exe

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

--create or -c

<maillist>

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

--update or -u

<maillist>

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

--remove or -r

<maillist>

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

--info or -i

<maillist>

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

--help or -h

 

Displays help on the use of the utility.

To see the help info on the use of the maillist.exe utility:

>maillist.exe –-help

or

>maillist.exe –h

Options

Option

Parameter

Description

Example

-domain

<domain_name>

Specifies the domain name. This option is required for all commands, except on --help.

To remove the Friends mailing list from somewhere.com:

>maillist.exe --remove Friends -domain somewhere.com

-passwd

<password>

Sets the mailing list administrator's password. Can be used with the --create command only.

To set the Friends mailing list administrator's password:

>maillist.exe --create Friends -domain somewhere.com -passwd Administrator

-email

<email>

Sets the email address for the mailing list administrator. Can be used with the --create command only.

To set the email for the Friends mailing list administrator:

>maillist.exe --create Friends -domain somewhere.com -email Administrator@somewhere.com

-notify

true|false

Notifies the mailing list administrator that the mailing list has been created OK. Is set to true by default. Can be used with the --create command only.

To enable the notification option for the Friends mailing list administrator:

>maillist.exe --create Friends -notify true

-status

true|false

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

-members

add|del:<email1> [,<email2>[,...]]

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