imap migrate

View: New views
5 Messages — Rating Filter:   Alert me  

imap migrate

by Jan Müller-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm having problems copying messages form the old server to the new
one. What is the best way to copy messages? It's couple of gigabytes.

I tried copying maildirs via scp, but it did not work. I found
imapsync  [http://freshmeat.net/projects/imapsync/] which should copy
messages from one server to the other. I have following problem:

+ NO msg #5145 [+XOMBo6zAwJfc4iQ1zztzg:3678] in INBOX
+ Copying msg #5145:3678 to folder INBOX
flags from : [\Seen][]
Couldn't append msg #5145 (Subject:[Autopos]) to folder INBOX: Error
sending command '8 APPEND INBOX (\Seen) "" {3678}
': 8 NO Error in IMAP command received by server.

This happends with every message, the script does not even create the
proper folders.

I just need to copy the messages, do you have any better ideas for migration?
The old server is on courier-imap + postfiix, the new server is courier based.

Thank you!

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
courier-users mailing list
courier-users@...
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Re: imap migrate

by Owen O' Shaughnessy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jul 2, 2008 at 1:27 PM, Jan Müller <muller.jan@...> wrote:
> I'm having problems copying messages form the old server to the new
> one. What is the best way to copy messages? It's couple of gigabytes.
>
> I tried copying maildirs via scp, but it did not work.

What scp command did you use?

How do you classify "did not work", what were the resulting symptoms
after you SCP'd.

The maildirs are highly portable in this sense, and should just copy
from one courier installation to another unless of course your SCP
command is leaving hidden file content behind, or there is a file /
folder ownership issue on the new side.

Regards,

Owen.

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
courier-users mailing list
courier-users@...
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Re: imap migrate

by Stefan Hornburg (Racke) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jan Müller wrote:
> I'm having problems copying messages form the old server to the new
> one. What is the best way to copy messages? It's couple of gigabytes.

rsync should work just fine, make sure that ownership/permissions are
matching. Use rsync -a then.

Regards
        Racke


--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
courier-users mailing list
courier-users@...
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Re: imap migrate

by Gerhard Schneider :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jan Müller schrieb:
> I'm having problems copying messages form the old server to the new
> one. What is the best way to copy messages? It's couple of gigabytes.
>
> I tried copying maildirs via scp, but it did not work. I found
> imapsync  [http://freshmeat.net/projects/imapsync/] which should copy
> messages from one server to the other. I have following problem:
>

For that kind of job I recommend (and use) rsync. You can do more than
one rsync job and keep the downtime between turning off the old server
and turning on the new server very short.

Gerhard Schneider

--
Gerhard Schneider
Institute of Lightweight Design and         e-Mail: gs@...
Structural Biomechanics (E317)                 Tel.:   +43 1 58801 31716
Vienna University of Technology / Austria      Fax:    +43 1 58801 31799
A-1040 Wien, Gusshausstrasse 27-29     http://www.ilsb.tuwien.ac.at/~gs/




-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
courier-users mailing list
courier-users@...
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

signature.asc (260 bytes) Download Attachment

Re: imap migrate

by Sam Varshavchik :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jan Müller writes:

> + NO msg #5145 [+XOMBo6zAwJfc4iQ1zztzg:3678] in INBOX
> + Copying msg #5145:3678 to folder INBOX
> flags from : [\Seen][]
> Couldn't append msg #5145 (Subject:[Autopos]) to folder INBOX: Error
> sending command '8 APPEND INBOX (\Seen) "" {3678}
> ': 8 NO Error in IMAP command received by server.
>
> This happends with every message, the script does not even create the
> proper folders.

This is a bug in the script. "" is not a valid datetime stamp. This
parameter is defined as optional, which means it can be omitted completely.
But if specified, it must be a syntactically valid datetime stamp, and an
empty string isn't noe.




-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
courier-users mailing list
courier-users@...
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

attachment0 (204 bytes) Download Attachment
LightInTheBox - Buy quality products at wholesale price