• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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