[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [imapsync] Sync mail from old server to new (and live) server?


From Simon <greminn at gmail dot com>
Subject Re: [imapsync] Sync mail from old server to new (and live) server?
Date Tue, 13 Sep 2011 09:26:02 +1200

On 13/09/2011, at 5:24 AM, Gilles LAMIRAL wrote:

> You have to if new messages are still on host1 waiting to be transfered.
> Just because if once transfered on host2, a user deletes a message on host2 
> then the next sync will transfer it again and the user won't be
> happy to see the cat again and again.
> 
> You can restrict the sync to INBOX with 
> 
>  imapsync ... --folder INBOX

So:

--host1 210.48.75.135 --user1 "$u1" --password1  PWCHANGED --authmech1 LOGIN \
--host2 182.236.127.22 --user2 "$u1" --password2  PWCHANGED --authmech2 LOGIN \
--delete --skipsize --expunge1 --nofoldersizes --fast --skipheader 'X-*'

>>> You can gain speed with --useuid on last releases (it uses a cache and 
>>> avoid header stuff to compare messages on both sides).
>> 
>> Sounds like a great idea! Will take a look at it when we are ready to rock and roll.
> 
> Before you're ready to rock and roll.

And simply add --useuid for the new version right?

Simon