Copy email accounts on an individual basis

nhaskins

Registered
Jan 27, 2009
2
0
51
I have several email accounts that I want to change the name and the domain for, i.e. [email protected] -> [email protected]. I want to know the easiest way to migrate all the old messages and address books, etc. from the old to the new addresses. Are there some folders I can simply copy, or is there a simple script I could run?
 

nhaskins

Registered
Jan 27, 2009
2
0
51
Ftp

I've been experimenting with FTP. I copied the contents of

/mail/domain.tld/accountname/ to
/mail/otherdomain.tld/accountname

and copied the files

/.sqmaildata/[email protected]
/.sqmaildata/[email protected]
/.sqmaildata/[email protected]
as
/.sqmaildata/[email protected]
/.sqmaildata/[email protected]
/.sqmaildata/[email protected]
(I don't believe anyone in our organization uses anything but squirrel mail.)
This gives me all emails and preferences, address books, signatures. The only things I can see missing are...
1. the auto load option (to automatically load a particular email client) which doesn't matter
2. Passwords (which I never planed to copy anyway)
3. Read vs. unread emails. All emails in the new account are listed as unread.
Does anyone know what files or folders I could copy (or edit simply) to let us see what emails are already read.

Thanks (and sorry if I'm too verbose :eek:)