mail migration

Discussion in 'Installation/Configuration' started by bartu, May 20, 2009.

  1. bartu

    bartu New Member

    Hi there,

    i installed recently ISPconfig3 on ubuntu server. It's supposed to be a mail server. I need to migrate mail account information: logins (usernames), passwords, geckos, homedirs, mailboxes form old server to ISPconfig3. The old server is debian with user logins stored in /etc/passwd and passwords in /etc/shadow. Their mail is stored in mailbox format in /var/mail/<user>, so needs to be converted to maildir also. Some of users use opnewebmail as webmail and moved some emails to folders created by openwebmail software.

    I need to move all user emails to thier ispconfig Maildir's.
    Is there a way to create mailboxes in ISP config using a script or in any automated way?

    Maybe someone have a clue if this is possible at all or maybe some stuff can be migrated

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    No, not yet. The remoting framework is still under development.

    Migrating your setup will not be easy as ispconfig uses the email address as username for smtp/pop3/imap and not a username. The passwords should not be that problem as ispconfig uses also crypt passwords. To convert mbox format to maildir, take a look at the script mb2md which is available for most linux distributions as pacakge or google for it to get the sources.
  3. bartu

    bartu New Member

    i tried mb2md earlier, but now tested it and results are nice :)
    i'm lucky because both /etc/shadow and 'mail_user' table password are MD5 hashed and can be migrated:)
    The problem with usernames/mailboxes remains. Looks like i must add users manually. That's a bit trouble with 600 accounts :(
    Migrating folders from openwebmail will be even worse

    thanks anyway
  4. Appie Thrasher

    Appie Thrasher Member HowtoForge Supporter

    Would you please explain howto do it Till?
    I have manually setup all sites, email and clients as in ISPC2 so all is installed new in ISPC3 now I only want to copy the passwords of the mail accounts if possible.


Share This Page