How to Migrate from Atmail to Axigen

This article describes two methods of migrating users from Atmail to Axigen: automatic and manual migration. Additional reading: Why Axigen is the right Atmail alternative for you


To exemplify, we will use the following scenario: Atmail is currently the main server for domain and you want to migrate users from Atmail to Axigen. The following two methods, automatic and manual, will migrate from Atmail to Axigen.

  • The Atmail server IP address is in our case:
  • The IMAP service binds on port 143
  • The SMTP service binds on port 25

Automatic Migration

  1. Start by defining the domain in Axigen from WebAdmin → Domains & Accounts → Manage Domains.
    Adding a new domain in Axigen
  2. Enable migration for all accounts from WebAdmin → Domains & Accounts → Edit → Account Defaults.
    Enabling automatic migration for a domain
  3. Enable and configure automatic migration on the domain level from WebAdmin → Automatic Migration. The IP address must be enclosed between brackets: [X.X.X.X]
    Configuring automatic migration
  4. When automatic migration is used, no other users should be defined except for the postmaster account.
    Managing accounts in Axigen
  5. The migration process starts when first logs in. In this case, the user will log in via WebMail. She could also use another email client.
    Logging into Axigen WebMail
  6. After is authenticated, the account is automatically defined in Axigen and messages are migrated.
    The user has been automatically created

Manual Migration

Manual migration is performed using the CLI interface. This method requires that the user is previously defined in Axigen, along with the password of the account to be migrated.

  1. Define the domain in Axigen from WebAdmin → Domains & Accounts → Manage Domains.
    Adding a new domain in Axigen
  2. Define the user to be migrated from WebAdmin → Domains & Accounts → Manage Accounts.
    Adding a new account in Axigen
  3. Log in as admin to the CLI interface using telnet:
    telnet "Axigen IP address" 7000
  4. Authenticate:
    <login> user admin
    <password> your_admin_pass
  5. Go to domain context:
    <#> update domain
  6. Issue the migrate command to begin the process or type HELP for more info.
    <domain#> MIGRATE account user remoteHost remotePort 143 remoteUser remotePass secret_pass
    and the output should be similar to:
    Migrating INBOX
    211 to migrate
    Migrating Drafts
    0 to migrate
    Migrating Spam
    0 to migrate
    Migrating Sent
    0 to migrate
    Migrating Trash
    47 to migrate
    +OK: command successful