Migrating email accounts

emeger

New member
Joined
Mar 26, 2004
Messages
4
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
 
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
 
Back
Top