Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member nyjimbo's Avatar
    Join Date
    Jan 2003
    Location
    New York
    Posts
    1,105

    Default Moving hundreds of email accounts to cpanel server ?

    We have an assortment of non-cpanel boxes inhouse that have email accounts on them and as we consolidate them we find that some of them have hundreds of email accounts each using the old format of logging in with the account name (no '@domain.com' after it).

    So if the physical server is 'something.com' the email account names are bob1, tony4, mike6 and the users either login with the short name or the full server address (bob1@something.com) not a virtual host. Its easy enough to create the domain on a cpanel box, but not the user with the existing password. We do not care about filespace, home directories, shells, etc.

    What we would like to do is somehow parse the passwd file and grab enough info so we could import the usernames and passwords (nothing else about the account or existing email) and create new email accounts on the cpanel boxes (old and cpanel boxes running same OS version so passwd formats should be close). I can sed/awk/grep/etc.. anything to death and I fully understand the passwd file formats, etc. so this isnt new to me, just not sure how the cpanel/whm environment has to be fiddled with.

    Has anyone done this before?. I imagine it would be easy to figure out nibbling on the password file to get what I need, but is it possible to feed it to cpanel or process it with a series of steps so cpanel creates email accounts for the domain?.

    Hope this makes sense, if not I can give more detail.
    "A dog has raised it’s hind leg on the age of nevermore !"
    -- Rolf

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Nov 2001
    Posts
    207
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Did you ever get an answer / solution to this? We have a client that wants to import about 300 email boxes (just the passwords etc. like you) and he does not want to have to type them all in.

  3. #3
    Member
    Join Date
    Jan 2004
    Posts
    84

    Default

    Do you found a solution to import email from another server to cPanel server?

  4. #4
    Member
    Join Date
    May 2004
    Posts
    48

    Default

    Any updates on this?

  5. #5
    Registered User
    Join Date
    Oct 2008
    Posts
    2

    Default

    I'm interested in importing the email messages. I've searched for an automated way, but no luck. Any idea?

  6. #6
    Member
    Join Date
    May 2004
    Posts
    48

    Smile

    I just created a FireFox macro using iMacros (free plugin for FireFox) which worked like a charm for creating the email accounts. I can post my plugin I suppose, but they are real easy to create (and I'm not a developer).

    As for importing the data, I used some IMAP migration tools that I found here:
    http://www.athensfbc.com/imap_tools/

    I've also heard good things about the IMAP Migration Tool 1.0:
    http://webscripts.softpedia.com/scri...ool-38914.html

    Hope this helps,

    -SeanLee

  7. #7
    Registered User
    Join Date
    Oct 2008
    Posts
    2

    Default

    Thanks, it seems it is what I was searching for

  8. #8
    Member
    Join Date
    May 2004
    Posts
    48

    Default

    FYI I posted my macro here:

    http://forums.cpanel.net/showthread....hlight=SeanLee

    Also, I created a macro which will change the quota of all accounts in a specific domain. It can be found here:
    http://forums.cpanel.net/showthread....hlight=SeanLee

Similar Threads & Tags
Similar threads

  1. Replies: 0
    Last Post: 07-15-2011, 04:31 AM
  2. Help moving email accounts over
    By mm1250 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-13-2008, 10:30 PM
  3. Moving multiple email accounts to cpanel
    By cisnet in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-03-2008, 10:24 PM
  4. Moving Email Accounts
    By Shiboning in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-28-2006, 04:43 PM
  5. email not working after moving accounts
    By bamm in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-07-2003, 10:42 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube