[Info] We need to create a lot of e-mail accounts on Plesk server. Is there any way to create mass e-mail accounts instead of manual work?

Article ID: 5561 
Last Review: Oct,6 2008
Author: Dmitry Frantsev
Last updated by: system APPLIES TO:
  • Plesk 7.5.x Reloaded
  • Plesk 8.x for Linux/Unix

Resolution

Such operation can be accomplished with help of CLI (command line interface) utilities.
Plesk Command Line Interface (CLI) is designed for integration of Plesk Server Administrator with third-party applications. It can also be used for managing 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 the 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 exists 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:
  • enabling or disabling mail service on a domain
  • creating and deleting mail accounts
  • editing mail account settings
  • managing mail groups associated with mail accounts
  • managing mail user control panel access
  • managing mail user control panel interface parameters
With help of this utility it is possible to automate process of managing mail accounts. For more information please refer to appropriate documentation version. For example, for Plesk 8.6 http://download1.swsoft.com/Plesk/Plesk8.6/Doc/en-US/plesk-8.6-unix-cli/index.htm
Keywords: mass, mail, create, account


Subscription for this article changesSubscription for this article changes

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields