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!

Create new email account in ssh console

Discussion in 'E-mail Discussion' started by warrence, Jul 4, 2006.

  1. warrence

    warrence Active Member

    Joined:
    May 8, 2005
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    156
    Hi, anyone know how to create new email account in consolve/command line without using cpanel webbased application?

    Thanks in advance!
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    166
    Off the top of my head, /scripts/addpop (or something similar).

    Take a look at the contents of /scripts and view the contents of a script to figure out what it does. If you can't figure out what a script does by looking through the contents, you'd probably be best of leaving it alone.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. gflamerich

    gflamerich Well-Known Member

    Joined:
    Jul 21, 2003
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    166
    Hi warrence,
    Did you got any results with /scripts/addpop from commend line?
    If so, can you share that info?
    Thanks
    Gustavo
     
  4. pannu

    pannu Registered

    Joined:
    Sep 8, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    151
    The following appeared to be working for me.

    /scripts/addpop user_id@virtual_domain.com user_password

    But this did not set the email quota for the user.

    I figured out that if I edit

    /home/account_name/etc/virtual_domain.com/quota and add a line with

    user_id:quota_in_bytes

    it takes care of the quota setting.

    BTW: 1K of quota = 1024, 1M = 1024x1024
     
  5. gflamerich

    gflamerich Well-Known Member

    Joined:
    Jul 21, 2003
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    166
    Thank you pannu

    Works perfect!!!! :D
     
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