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.

Creating Multiple email accouts from batch

Discussion in 'E-mail Discussions' started by chinotitus, Dec 11, 2003.

  1. chinotitus

    chinotitus Registered

    Joined:
    Dec 8, 2003
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I just got a new server running RHES 3.0 and WHM/ cpanel latests versions.
    I am migrating form RH 7.3 with ensim. In the old server I used to use AddVirtUser scrpit from ensim, which allowed me to create/modify multiple emails accounts easily.
    I tried to use addpop but it did not work.

    -Does anyone know how to do this with cPanel?

    -Does anyone know how to move the mailbox form accouts from ensim to cPanel?

    thanks.
     
  2. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    This should help with the first one,

    # To add email
    /usr/local/cpanel/cpanel-email addpop $popuser $password $quota $domain
    # To delete email
    /usr/local/cpanel/cpanel-email delpop $popuser 0 $domain
     
  3. chinotitus

    chinotitus Registered

    Joined:
    Dec 8, 2003
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I tried this, but I got an Invalid Username message.

    the sintax I used was:

    ./cpanel-email addpop user1 12345 10 domain.com


    Does anyone know waht I am doing worng?
     
  4. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    Yep, it quit working for me also.

    I guess another update.
     
  5. encrypt2

    encrypt2 Member

    Joined:
    Sep 29, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Invalid user name

    :confused: I tried to create an email with the command /usr/local/cpanel/cpanel-email addpop test12345 mypasstest 10 domaintest.com.br, but it appears a message: Invalid user.

    I use:
    WHM 10.0.0 cPanel 10.0.0-R146
    RedHat 9 i686 - WHM X v3.1.0

    Please, help-me. :eek:

    Thank's.

    Fabio.
     
  6. Servia

    Servia Active Member

    Joined:
    Jan 20, 2004
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Finland
    Doesn't work for me either :(
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I'm not surprised wince this was dug up from a 2 year old thread.

    Have a look at /scripts/addpop, taking a copy of that and making a few modifications to batch add new pop3 accounts certainly looks possible usin that.
     
Loading...

Share This Page