The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Copy email accounts on an individual basis

Discussion in 'E-mail Discussions' started by nhaskins, Jan 27, 2009.

  1. nhaskins

    nhaskins Registered

    Joined:
    Jan 27, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I have several email accounts that I want to change the name and the domain for, i.e. namex@domain1.tld -> namey@domain2.tld. 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?
     
  2. nhaskins

    nhaskins Registered

    Joined:
    Jan 27, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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/accountname@domain.tld.abook
    /.sqmaildata/accountname@domain.tld.pref
    /.sqmaildata/accountname@domain.tld.sig
    as
    /.sqmaildata/accountname@otherdomain.tld.abook
    /.sqmaildata/accountname@otherdomain.tld.pref
    /.sqmaildata/accountname@otherdomain.tld.sig
    (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:)
     
Loading...

Share This Page