Results 1 to 3 of 3

Thread: Creating e-mail accounts through command line

  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
    7,611
    cPanel/WHM 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, Technical Analyst III, Forums Specialist, 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

  1. Upgrade/Downgrade accounts from command line
    By FrankLaszlo in forum cPanel & 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 & 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 & 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 & WHM Discussions
    Replies: 0
    Last Post: 01-06-2004, 11:15 PM