OZONE Asylum
Forums
OZONE
Moving email between servers?
This page's ID:
29261
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
TP: To be honest, I'm mot sure that would work. There is no maildir on the new server. So it would be safer to do each user, yes? On the old server Maildir contains cur, new, tmp (and courierpop3dsizelist which I'm guessing is like maildirsize on the new server) while on the new server those directories are not in a maildir. Would this work? [code] // copymailuser.sh domainuser domain.com mailuser #!/bin/sh cd /var/qmail/mailnames/$1/$2/Maildir tar -cjf 20070608_$1_$2.tar.bz2 * -R sftp otheruser@remoteserver su cd /home/$0/mail/$1/$2/ put 20070608_$1_$2.tar.bz2 bye // end copymailuser.sh //on the other server cd /home/domainuser/mail/domain.com/mailuser/ tar -xjf 20070608_domain.com_mailuser.tar.bz2 [/code] Would the su part work? I need root access to get to the directories. [url=http://www.zavaboy.com][img]http://asylum.zavaboy.com/zavaboy.gif[/img][/url] [small](Edited by [url=http://www.ozoneasylum.com/user/4778]zavaboy[/url] on 06-09-2007 00:01)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »