Create multiple email accounts Plesk 8
After much hunting around and reading through the Plesk Administrator Guide I finally found an easy way for creating multiple e-mail accounts in batch! This is not a MySQL hook or database related, but stems from the logic of wanting to create multiple accounts at once.
To create an e-mail account in Plesk, first login to your server via SSH.
Execute the following:
/usr/local/psa/bin/mail --create new@yourdomain.com -passwd newpassword-cp-access false
If you want to run a batch, create a script:
1 2 3 4 5 6 7 8 9 | #/bin/bash /usr/local/psa/bin/mail --create new@yourdomain.com -passwd newpassword-cp-access false /usr/local/psa/bin/mail --create new@yourdomain.com -passwd newpassword-cp-access false /usr/local/psa/bin/mail --create new@yourdomain.com -passwd newpassword-cp-access false /usr/local/psa/bin/mail --create new@yourdomain.com -passwd newpassword-cp-access false |
2 Comments
Trackbacks/Pingbacks
- Mehrere Email Accounts in Plesk per Script/Batch erstellen | willnat.org - [...] http://88plug.com/create-multiple-email-accounts-plesk8/ [...]

What does the “false” parameter do?
The False parameter limits control panel access.