• 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.

How to add multiple email accounts

Pagemakers

Silver Pleskian
We need to add about 1000 email accounts to a domain. They will be in the format [email protected] with a unique password.

Is there a quick way of doing this - eg some sort of csv file import, or much we enter every single on of them manually?
 
I have a small shell script to add user's through the unix api. You will need to upload a file email.txt to the same directory of the script. The email.txt file should have the email address followed by a space or tab, and then the password on each line.

example:
[email protected] password
[email protected] pass2

You can then run the script sh <yourfilename>.sh

**Note
I am an advanced begginer when it comes to shell scripting I do not claim this script is the easiest/fastest/etc., but it should work. Please use at your own risk. I'm not responsible for your data, server, etc.

***** copy below this line for the script*******
#!/bin/sh

awk '{ print "/usr/local/psa/bin/mail.sh -c " $1 " -cp_access false -mailbox true -passwd " $2}' ./email.txt >> ./setup.sh;

sh setup.sh;
 
Back
Top