#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    16
    Rep Power
    0

    Transferring vpopmail domains to a new server...


    Hi

    I am looking to transfer some domains from one server to another...

    Should be fairly straight forward but there is a couple of things I am not sure about...

    If I vadddomain (of the same name) then scp the contents over and also add the entries into /var/qmail/users/assign will it work??

    In a test I think there will be a problem as the mails in the origional server are in the format 1067057367.25277.SERVER_1,S=3591 but the mails on the new server are in the format 1067057367.25277.SERVER_2,S=3591 as the qmail server has a different name.

    Any tips???

    TIA
  2. #2
  3. Full Access
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jun 2000
    Location
    London, UK
    Posts
    2,019
    Rep Power
    17
    If I vadddomain (of the same name) then scp the contents over and also add the entries into /var/qmail/users/assign will it work??
    vadddomain just creates the directory in /home/vpopmail/domains and adds that domain to rcpthosts. So if you just scp over rcpthosts, assign, any other control files (apart from "me") and /home/vpopmail you should be OK.
    In a test I think there will be a problem as the mails in the origional server are in the format 1067057367.25277.SERVER_1,S=3591 but the mails on the new server are in the format 1067057367.25277.SERVER_2,S=3591 as the qmail server has a different name.
    No, this is fine -- it guarantees that the mails have unique file names. Programs don't try to extract information from the filename.

    "A unique name can be anything that doesn't contain a colon (or slash) and doesn't start with a dot." (from http://cr.yp.to/proto/maildir.html)
    Alex
    (http://www.alex-greg.com)
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    16
    Rep Power
    0
    Cheers Alex,

    I'll give it a bash tomorrow morning and let you know how I get on.
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    16
    Rep Power
    0
    Worked fine...added users, transferred mails and checked that they were owned by the right person. Cheers Alex...
  8. #5
  9. Full Access
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jun 2000
    Location
    London, UK
    Posts
    2,019
    Rep Power
    17
    No problem
    Alex
    (http://www.alex-greg.com)

IMN logo majestic logo threadwatch logo seochat tools logo