Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2011
    Posts
    2

    Question Creating e-mail accounts through command line

    How can I create e-mails accounts through the command line, without using the cPanel? Are there any script which I could use?

    -Thanks
    Romero Jśnior
    Last edited by cPanelTristan; 05-26-2011 at 03:45 PM. Reason: unbolded text

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Creating e-mail accounts through command line

    Hello Romero,

    You can use the following command in root SSH to create an email account:

    Code:
    /scripts/addpop user@domain.com password quota#
    Above please replace user@domain.com with the email account username and domain, password with the password for the email account being created, and quota# with the number for the quota in megabytes. For example, if you did the following:

    Code:
    /scripts/addpop admin@cptest.com p@nd@s 100
    This would create an email admin@cptest.com with password p@nd@s and quota 100MB.

    Thanks!
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Registered User
    Join Date
    May 2011
    Posts
    2

    Default Re: Creating e-mail accounts through command line

    Thank you!

Similar Threads & Tags
Similar threads

  1. Upgrade/Downgrade accounts from command line
    By asofrank in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-03-2010, 10:26 AM
  2. Creating a Full Backup from the command line?
    By Kadence in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-02-2009, 04:41 PM
  3. command line commands - creating and setting up a quota to an email address
    By cteinternet in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 07-09-2009, 02:12 PM
  4. Creating user via command line adds CPanel account!
    By UraniumWeb in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-06-2004, 11:15 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube