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!

Dump Email Creation

Discussion in 'E-mail Discussion' started by alvingiovanno, Aug 19, 2013.

  1. alvingiovanno

    alvingiovanno Member

    Joined:
    Aug 1, 2012
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Tangerang, Indonesia
    cPanel Access Level:
    Root Administrator
    Helo,

    can i create dump new email account at cPanel ?

    all list email & password stored in .txt file, and dump it , like

    email.txt containing this list
    and dump via ssh. can ???

    thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 alvingiovanno, Aug 19, 2013
    Last edited: Aug 19, 2013
  2. ThinIce

    ThinIce Well-Known Member

    Joined:
    Apr 27, 2006
    Messages:
    352
    Likes Received:
    7
    Trophy Points:
    168
    Location:
    Disillusioned in England
    cPanel Access Level:
    Root Administrator
    If you're wanting to retrieve the passwords for existing email accounts, then no, the passwords aren't stored in a format that is supposed to be easily reversible. I'm unsure if you'd be able to hook something with the api for when new email accounts are created, but even if you can dumping passwords into a text file (and really storing them at all) isn't a great idea
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,897
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Are you attempting to import multiple email accounts? If so, you can use a CSV file to import multiple email accounts at the same time. Instructions for this are available at:

    Import Email Addresses

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. harmeet

    harmeet Member

    Joined:
    Apr 18, 2013
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    If you want to create multiple email accounts you can make them by creating a custom script which will call addpop script of cpanel and will read email accounts from a file emails.txt:

    -------------------------------------------------------------------
    #!/bin/bash
    password=Any-Secure-Password
    "for i in `cat emails.txt`; do /scripts/addpop $i $password; done
    -------------------------------------------------------------------

    Please note that password for all the email accounts will be same.

    I hope this helps !
     
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