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.

Dump Email Creation

Discussion in 'E-mail Discussions' 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
     
    #1 alvingiovanno, Aug 19, 2013
    Last edited: Aug 19, 2013
  2. ThinIce

    ThinIce Well-Known Member

    Joined:
    Apr 27, 2006
    Messages:
    346
    Likes Received:
    7
    Trophy Points:
    18
    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
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  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