Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Creating e-mail accounts through command line

Discussion in 'E-mail Discussion' started by romerojnr, May 26, 2011.

  1. romerojnr

    romerojnr Registered

    Joined:
    May 26, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    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
     
    #1 romerojnr, May 26, 2011
    Last edited by a moderator: May 26, 2011
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. romerojnr

    romerojnr Registered

    Joined:
    May 26, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    Thank you! :)
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice