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

Re: [imapsync] migration support from zarafa to dovecot


From Jelle de Jong <jelledejong at powercraft dot nl>
Subject Re: [imapsync] migration support from zarafa to dovecot
Date Thu, 30 Dec 2010 15:27:45 +0100

Dear Gilles,

On 28-12-10 20:58, Gilles LAMIRAL wrote:
> First try on a test account, a copy of the biggest and most
> complicated imap account is a very good candidate.

I am starting the migration now and am running migrations on test accounts.

imapsync \
--allowsizemismatch \
--noauthmd5 \
--host1 mail.domain.org \
--ssl1 --port1 993 \
--sep1 / \
--prefix1 "" \
--syncinternaldates \
--skipsize \
--useheader subject \
--useheader date \
--split1 500 \
--user1 trainingc \
--passfile1 ~/secret1 \
--regextrans2 's#Deleted Items#Trash#' \
--regextrans2 's#Infected Items#Junk#' \
--regextrans2 's#Junk E-mail#Junk#' \
--regextrans2 's#Outbox#Sent#' \
--regextrans2 's#Sent Items#Sent#' \
--regextrans2 's#Ongewenste e-mail#Junk#' \
--regextrans2 's#Public folders#INBOX#' \
--delete \
--expunge \
--host2 imap.domain.org \
--tls2 \
--authmech2 PLAIN \
--user2 training at domain dot org \
--passfile2 ~/secret2 > training at domain dot org dot txt

How can I make sure subscribed folders are subscribed after the
migration with imapsync (I know of some hackisch way with bash and
dovecot indexing, don't want to use this)

Is there no way to remove empty folders on host1 after the migration of
messages? (feature request)

With kind regards,

Jelle de Jong