3.3.2.1 Purpose
The maillist.sh utility is designed for managing mailing lists of Plesk domains.
3.3.2.2 Usage
Usage: maillist.sh command [options]
Available commands and options:
| Command | Parameter | Action |
|---|---|---|
| --create or -c | <maillist> | creates a mailing list |
| --update or -u | <maillist> | updates mailing list properties |
| --remove or -r | <maillist> | deletes a mailing list |
| --info or -i | <maillist> | prints mailing list members |
| --help or -h | displays help on the utility usage | |
| Option | Parameter | Note |
| -domain | <domain_name> | a domain name (required) |
| -passwd | <password> | sets a mailing list administrator password (may be specified only with the 'create' command) |
| <email> | sets a mailing lists administrator e-mail (may be specified only with the 'create' command) | |
| -notify | <true|false> | notifies the mailing list administrator about mailing list creation (default: true, may be specified only with the 'create' command) |
| -status | <true|false> | turns a mailing list on/off (default: true) |
| -members | add|del>:<email1>,..,<emailN> | adds/deletes the e-mail addresses to/from a mailing list |