The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Create new email account in ssh console

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

  1. warrence

    warrence Active Member

    Joined:
    May 8, 2005
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    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:
    36
    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.
     
  3. gflamerich

    gflamerich Well-Known Member

    Joined:
    Jul 21, 2003
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    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:
    1
    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:
    16
    Thank you pannu

    Works perfect!!!! :D
     
Loading...

Share This Page