How to create a lot of mail accounts at once instead of creating them individually?

Created:

2016-11-16 12:39:06 UTC

Modified:

2017-04-24 12:16:25 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to create a lot of mail accounts at once instead of creating them individually?

Applicable to:

  • Plesk for Linux

Question

How to create a lot of mail accounts at once instead of creating them individually?

Answer

Such an operation can be accomplished with the help of CLI (command line interface) utilities.

The Plesk Command Line Interface (CLI) was designed to integrate Plesk Server Administrator with third-party applications. It can also be used to manage Plesk installations by administrators experienced in using Plesk. This feature provides the command line interface to the majority of management tasks that can be performed by Plesk Administrator. The CLI provides an alternative means of control for various business objects in Plesk. Plesk command line utilities use the Plesk core functionality to create, manage, and delete clients, domains, services, and other Plesk objects.

Command line utilities for Plesk for Linux/Unix are located in the /PRODUCT\_ROOT\_D/bin directory on the Plesk server.

There is a specific utility for managing Plesk mail accounts: /PRODUCT\_ROOT\_D/bin/mail.sh

The mail utility is used to manage domain mail service and mail names (email accounts) through CLI. By using this utility, you can perform the following tasks:

Have more questions? Submit a request
Please sign in to leave a comment.