December 10th, 2003, 10:54 AM
Transferring vpopmail domains to a new server...
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.
December 10th, 2003, 11:33 AM
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.
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)
December 10th, 2003, 11:37 AM
I'll give it a bash tomorrow morning and let you know how I get on.
December 12th, 2003, 05:28 AM
Worked fine...added users, transferred mails and checked that they were owned by the right person. Cheers Alex...
December 12th, 2003, 01:30 PM