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

  1. What does the “false” parameter do?

Trackbacks/Pingbacks

  1. Mehrere Email Accounts in Plesk per Script/Batch erstellen | willnat.org - [...] http://88plug.com/create-multiple-email-accounts-plesk8/ [...]

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>