diff --git a/ChangeLog b/ChangeLog index d053d94..0f8a168 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,15 +1,19 @@ RCS file: RCS/imapsync,v Working file: imapsync -head: 1.171 +head: 1.172 branch: locks: strict access list: symbolic names: keyword substitution: kv -total revisions: 171; selected revisions: 171 +total revisions: 172; selected revisions: 172 description: ---------------------------- +revision 1.172 +date: 2006/05/09 23:06:29; author: gilles; state: Exp; lines: +10 -5 +Added split value 1000 by default +---------------------------- revision 1.171 date: 2006/04/27 08:25:04; author: gilles; state: Exp; lines: +21 -13 Added more information with --justconnect diff --git a/FAQ b/FAQ index 651564b..b39e186 100644 --- a/FAQ +++ b/FAQ @@ -103,6 +103,10 @@ Q. How to migrate from cyrus with an admin account ? R. Use --ssl1 --authuser1 AdminAccount ----password1 AdminAccountPassword + +Do not forget the option --ssl1 since PLAIN auth is only +supported with tls encryption most of the time. + Here is an example: imapsync \ --host1 server1 \ diff --git a/README b/README index e899fab..a600084 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME imapsync - IMAP synchronization, copy or migration tool. Synchronize mailboxes between two imap servers. Good at IMAP migration. - $Revision: 1.171 $ + $Revision: 1.172 $ INSTALL imapsync works fine under any Unix OS. @@ -284,5 +284,5 @@ AUTHOR teaching free open and gratis softwares. Don't hesitate to pay him for that services. - $Id: imapsync,v 1.171 2006/04/27 08:25:04 gilles Exp $ + $Id: imapsync,v 1.172 2006/05/09 23:06:29 gilles Exp $ diff --git a/VERSION b/VERSION index a62ccd2..d123d31 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.171 +1.172 diff --git a/freshmeat_submition b/freshmeat_submition index 390811e..37a6022 100644 --- a/freshmeat_submition +++ b/freshmeat_submition @@ -1,6 +1,6 @@ Project: imapsync -Version: 1.169 -Release-Focus: Major bugfixes +Version: 1.171 +Release-Focus: Minor bugfixes Hide: Y Home-Page-URL: http://www.linux-france.org/prj/imapsync/ Gzipped-Tar-URL: http://www.linux-france.org/prj/imapsync/dist/ diff --git a/imapsync b/imapsync index 93b9f4f..981d306 100755 --- a/imapsync +++ b/imapsync @@ -6,7 +6,7 @@ imapsync - IMAP synchronization, copy or migration tool. Synchronize mailboxes between two imap servers. Good at IMAP migration. -$Revision: 1.171 $ +$Revision: 1.172 $ =head1 INSTALL @@ -334,7 +334,7 @@ Gilles LAMIRAL earn his living writing, installing, configuring and teaching free open and gratis softwares. Don't hesitate to pay him for that services. -$Id: imapsync,v 1.171 2006/04/27 08:25:04 gilles Exp $ +$Id: imapsync,v 1.172 2006/05/09 23:06:29 gilles Exp $ =cut @@ -391,7 +391,7 @@ my( use vars qw ($opt_G); # missing code for this will be option. -$rcs = ' $Id: imapsync,v 1.171 2006/04/27 08:25:04 gilles Exp $ '; +$rcs = ' $Id: imapsync,v 1.172 2006/05/09 23:06:29 gilles Exp $ '; $rcs =~ m/,v (\d+\.\d+)/; $VERSION = ($1) ? $1 : "UNKNOWN"; @@ -428,8 +428,8 @@ $error=0; my $banner = join("", '$RCSfile: imapsync,v $ ', - '$Revision: 1.171 $ ', - '$Date: 2006/04/27 08:25:04 $ ', + '$Revision: 1.172 $ ', + '$Date: 2006/05/09 23:06:29 $ ', "\n", "Mail::IMAPClient version used here is ", $VERSION_IMAPClient,"\n" @@ -448,6 +448,10 @@ sub missing_option { die "$option option must be used, run $0 --help for help\n"; } +# By default, 1000 at a time, not more. +$split1 ||= 1000; +$split2 ||= 1000; + $host1 || missing_option("--host1") ; # $port1 = (defined($port1)) ? $port1 : 143; $port1 ||= defined $ssl1 ? 993 : 143; @@ -1440,6 +1444,7 @@ Several options are mandatory. --fast : be faster (just does not sync flags). --split1 : split the requests in several parts on source server. is the number of messages handled per request. + default is like --split1 1000 --split2 : same thing on the "destination" server. --nofastio1 : don't use fastio with the "from" server. --nofastio2 : don't use fastio with the "destination" server.