• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Input Excel email account creation

williamplk

Basic Pleskian
Hi,

It should be really automation if I can create 100 email account from excel.

Not site import, just new email need to create such as

UserPasswordMailbox Size
User A1235G
User B1233G
User C1231G
User D1233G
 
Unfortunately, there is a deficient demand for this feature.
From a product point of view, it would cost too much to implement a feature that very few users would use.
 
Even if you have no programming skills it shouldn't be too hard create a bash script that does this using the Plesk CLI. For example something like:

Bash:
#!/bin/bash

while IFS=, read -r column1 column2 column3
do
    /usr/local/psa/bin/mail --create $column1 -mailbox true -passwd $column2 -mbox_quota $column3
done < import.csv

To use this:
  1. Have an excel file with the full email address in the first column, the password in the second column and the mailbox size in the third column.
    [!] Make sure the passwords do not contain comma's.
    [!] Also make sure the mailbox size does not exceed the limit of disk space allocated for mailboxes on the domain.
  2. Save your excel file as a comma separated CSV file named import.csv (or change the file name in the script).
  3. Upload your CSV file to your server.
  4. Create a bash file in the same directory you've uploaded the import.csv file in and add the code above to the bash file.
  5. Run the bash file with root privileges (sudo bash import_script.sh).
 
Last edited:
Back
Top