Mail Server Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationMail Server Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 10th, 2003, 10:54 AM
bigfeller bigfeller is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 16 bigfeller User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 59 sec
Reputation 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

Reply With Quote
  #2  
Old December 10th, 2003, 11:33 AM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 16
Quote:
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.
Quote:
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)

Reply With Quote
  #3  
Old December 10th, 2003, 11:37 AM
bigfeller bigfeller is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 16 bigfeller User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 59 sec
Reputation Power: 0
Cheers Alex,

I'll give it a bash tomorrow morning and let you know how I get on.

Reply With Quote
  #4  
Old December 12th, 2003, 05:28 AM
bigfeller bigfeller is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 16 bigfeller User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 59 sec
Reputation Power: 0
Worked fine...added users, transferred mails and checked that they were owned by the right person. Cheers Alex...

Reply With Quote
  #5  
Old December 12th, 2003, 01:30 PM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 16
No problem

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationMail Server Help > Transferring vpopmail domains to a new server...

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap