This commit is contained in:
Nick Bebout 2011-03-12 02:44:26 +00:00
parent e20028bdc4
commit e5636b5d0c
6 changed files with 25 additions and 12 deletions

View file

@ -1,15 +1,19 @@
RCS file: RCS/imapsync,v RCS file: RCS/imapsync,v
Working file: imapsync Working file: imapsync
head: 1.171 head: 1.172
branch: branch:
locks: strict locks: strict
access list: access list:
symbolic names: symbolic names:
keyword substitution: kv keyword substitution: kv
total revisions: 171; selected revisions: 171 total revisions: 172; selected revisions: 172
description: 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 revision 1.171
date: 2006/04/27 08:25:04; author: gilles; state: Exp; lines: +21 -13 date: 2006/04/27 08:25:04; author: gilles; state: Exp; lines: +21 -13
Added more information with --justconnect Added more information with --justconnect

4
FAQ
View file

@ -103,6 +103,10 @@ Q. How to migrate from cyrus with an admin account ?
R. Use R. Use
--ssl1 --authuser1 AdminAccount ----password1 AdminAccountPassword --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: Here is an example:
imapsync \ imapsync \
--host1 server1 \ --host1 server1 \

4
README
View file

@ -2,7 +2,7 @@ NAME
imapsync - IMAP synchronization, copy or migration tool. Synchronize imapsync - IMAP synchronization, copy or migration tool. Synchronize
mailboxes between two imap servers. Good at IMAP migration. mailboxes between two imap servers. Good at IMAP migration.
$Revision: 1.171 $ $Revision: 1.172 $
INSTALL INSTALL
imapsync works fine under any Unix OS. 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 teaching free open and gratis softwares. Don't hesitate to pay him for
that services. 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 $

View file

@ -1 +1 @@
1.171 1.172

View file

@ -1,6 +1,6 @@
Project: imapsync Project: imapsync
Version: 1.169 Version: 1.171
Release-Focus: Major bugfixes Release-Focus: Minor bugfixes
Hide: Y Hide: Y
Home-Page-URL: http://www.linux-france.org/prj/imapsync/ Home-Page-URL: http://www.linux-france.org/prj/imapsync/
Gzipped-Tar-URL: http://www.linux-france.org/prj/imapsync/dist/ Gzipped-Tar-URL: http://www.linux-france.org/prj/imapsync/dist/

View file

@ -6,7 +6,7 @@ imapsync - IMAP synchronization, copy or migration
tool. Synchronize mailboxes between two imap servers. Good tool. Synchronize mailboxes between two imap servers. Good
at IMAP migration. at IMAP migration.
$Revision: 1.171 $ $Revision: 1.172 $
=head1 INSTALL =head1 INSTALL
@ -334,7 +334,7 @@ Gilles LAMIRAL earn his living writing, installing,
configuring and teaching free open and gratis configuring and teaching free open and gratis
softwares. Don't hesitate to pay him for that services. 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 =cut
@ -391,7 +391,7 @@ my(
use vars qw ($opt_G); # missing code for this will be option. 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+)/; $rcs =~ m/,v (\d+\.\d+)/;
$VERSION = ($1) ? $1 : "UNKNOWN"; $VERSION = ($1) ? $1 : "UNKNOWN";
@ -428,8 +428,8 @@ $error=0;
my $banner = join("", my $banner = join("",
'$RCSfile: imapsync,v $ ', '$RCSfile: imapsync,v $ ',
'$Revision: 1.171 $ ', '$Revision: 1.172 $ ',
'$Date: 2006/04/27 08:25:04 $ ', '$Date: 2006/05/09 23:06:29 $ ',
"\n", "\n",
"Mail::IMAPClient version used here is ", "Mail::IMAPClient version used here is ",
$VERSION_IMAPClient,"\n" $VERSION_IMAPClient,"\n"
@ -448,6 +448,10 @@ sub missing_option {
die "$option option must be used, run $0 --help for help\n"; 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") ; $host1 || missing_option("--host1") ;
# $port1 = (defined($port1)) ? $port1 : 143; # $port1 = (defined($port1)) ? $port1 : 143;
$port1 ||= defined $ssl1 ? 993 : 143; $port1 ||= defined $ssl1 ? 993 : 143;
@ -1440,6 +1444,7 @@ Several options are mandatory.
--fast : be faster (just does not sync flags). --fast : be faster (just does not sync flags).
--split1 <int> : split the requests in several parts on source server. --split1 <int> : split the requests in several parts on source server.
<int > is the number of messages handled per request. <int > is the number of messages handled per request.
default is like --split1 1000
--split2 <int> : same thing on the "destination" server. --split2 <int> : same thing on the "destination" server.
--nofastio1 : don't use fastio with the "from" server. --nofastio1 : don't use fastio with the "from" server.
--nofastio2 : don't use fastio with the "destination" server. --nofastio2 : don't use fastio with the "destination" server.