View Full Version : Migrating email accounts
emeger
03-26-2004, 03:56 AM
I have an email server with about 150 accounts set up on a dedicated server based on RedHat linux and Squirrel Mail that I have difficulty supporting. I am planning to move to a shared server that use DA as the main interface. Is there a simple way to copy all of the user email accounts and data files from the old server to the new server without re-creating the accounts and user files? I am a bit of a newbie on linux as I live in a Wintel world.Thanks.
-- Eric
DirectAdmin Support
03-26-2004, 10:40 AM
Hello,
I'm not sure what your current file format is for the email files/data, but our paths and format is as follows:
Email List
/etc/virtual/domain.com/passwd
format:
user1:cryptedpass1
user2:cryptedpass2
etc..
Email Quotas
/etc/virtual/domain.com/quota
format:
user1:1024
user2:0
etc...
where it's in bytes and 0 is unlimited.
You can copy the mbox email data to /var/spool/virtual/domain.com/user1, chown user:mail and chmod 660.
How you get the data there into that format is up to you :)
John
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.