Plesk Bullk Email account creation script

hostartshostarts Hosting Provider
edited February 2022 in Technical

Hi,

I found this could be helpful for many people looking to create multiple Plesk email accounts especially since we are getting a lot of migrations from the old Google Gsuite Legacy edition.

The script reuires a txt file where the emails must be listed 1 per line :

#!/bin/bash
while read user
do
plesk bin mail --create $user -passwd 12345@@ -mbox_quota 25000M -mailbox true
done < userfile.txt

The script may fail if your secuity standards for your passwords are too high so you may edit that 12345
@ if needed.

By default i have aligned this at 15000M or 15G to equal Legacy Google Workspace accounts.

I hope this helps

Web Hosting - VPS Cloud - EU Dedicated Offers Managed Hosting Made Easy Dedicated Servers, Private Cloud, Colocation, VPS, Shared & Reseller Hosting

Comments

  • From the title I thought you were starting to offer a spam service.

    Thanked by (1)chimichurri
  • @tetech said:
    From the title I thought you were starting to offer a spam service.

    I'd say he's trying to contribute, because ... provider tag, you know ;-)
    ... and also good to always have your signature in sight ^^

    at least it's not the usual comment spam with 'awesome', 'yeah that's great' and whatever

  • @Falzo said:

    @tetech said:
    From the title I thought you were starting to offer a spam service.

    I'd say he's trying to contribute, because ... provider tag, you know ;-)
    ... and also good to always have your signature in sight ^^

    at least it's not the usual comment spam with 'awesome', 'yeah that's great' and whatever

    Well yes, it is obvious after reading the post that the intention is something completely different.

  • @Falzo said: I'd say he's trying to contribute, because ... provider tag, you know ;-)

    He would do well to separate himself from another host with a similar name.

    Thanked by (1)Falzo
  • @stevewatson301 said:

    @Falzo said: I'd say he's trying to contribute, because ... provider tag, you know ;-)

    He would do well to separate himself from another host with a similar name.

    yeah I thought that as well a few weeks back already. guess he's not really aware.

  • MichaelCeeMichaelCee Hosting ProviderOGServices Provider
    edited February 2022

    I do bulk mail migrations to plesk, never thought about automating the creation of accounts (usually created at the imap import screen). Might be useful for manual transfers. Cheers

Sign In or Register to comment.