mirror of
https://github.com/imapsync/imapsync.git
synced 2025-06-05 12:17:16 +02:00
1.255
This commit is contained in:
parent
2ab8a06dbc
commit
1f4db27b3d
8 changed files with 97 additions and 27 deletions
26
CREDITS
26
CREDITS
|
@ -14,12 +14,36 @@ b) If you can read french, please use the following wishlist :
|
||||||
|
|
||||||
c) its paypal account gilles.lamiral@laposte.net
|
c) its paypal account gilles.lamiral@laposte.net
|
||||||
|
|
||||||
|
Stéphane Besnard
|
||||||
|
Success from Serveur Domino IMAP4 Edition France 4.61 Code
|
||||||
|
to Cyrus IMAP4 v2.3.7 server ready
|
||||||
|
|
||||||
|
Drew McLellan
|
||||||
|
Contributed by giving the book
|
||||||
|
"Peopleware: Productive Projects and Teams"
|
||||||
|
|
||||||
|
Nirdosh Shah
|
||||||
|
Contributed by giving the books
|
||||||
|
"The Best Software Writing I"
|
||||||
|
"True Cuban Bass"
|
||||||
|
"The Latin Bass Book"
|
||||||
|
|
||||||
|
Philip Jocks
|
||||||
|
Contributed by giving the book
|
||||||
|
"User Interface Design for Programmers"
|
||||||
|
|
||||||
|
Karl McCurdo
|
||||||
|
Contributed by giving the book
|
||||||
|
"Joel on software and on diverse..."
|
||||||
|
|
||||||
|
David Breiland
|
||||||
|
Contributed by giving the book
|
||||||
|
"Mastering Perl"
|
||||||
|
|
||||||
Marek Mahut (Fedora Project)
|
Marek Mahut (Fedora Project)
|
||||||
- Cyrus IMAP4 v2.2.12-Invoca-RPM-2.2.12-8.1.RHEL4 to Zimbra Collaboration Suite 5.0.4.
|
- Cyrus IMAP4 v2.2.12-Invoca-RPM-2.2.12-8.1.RHEL4 to Zimbra Collaboration Suite 5.0.4.
|
||||||
- Bug report about "parse_headers want an ARRAY ref"
|
- Bug report about "parse_headers want an ARRAY ref"
|
||||||
- Patch fixing "parse_headers want an ARRAY ref"
|
- Patch fixing "parse_headers want an ARRAY ref" (finally patch failed)
|
||||||
- Packaged imapsync for Fedora imapsync-1.249-1.fc8
|
- Packaged imapsync for Fedora imapsync-1.249-1.fc8
|
||||||
- Gave the book "Intermediate Perl"
|
- Gave the book "Intermediate Perl"
|
||||||
- Thanked for imapsync
|
- Thanked for imapsync
|
||||||
|
|
23
ChangeLog
23
ChangeLog
|
@ -1,17 +1,32 @@
|
||||||
|
|
||||||
RCS file: RCS/imapsync,v
|
RCS file: RCS/imapsync,v
|
||||||
Working file: imapsync
|
Working file: imapsync
|
||||||
head: 1.252
|
head: 1.255
|
||||||
branch:
|
branch:
|
||||||
locks: strict
|
locks: strict
|
||||||
gilles: 1.252
|
gilles: 1.255
|
||||||
access list:
|
access list:
|
||||||
symbolic names:
|
symbolic names:
|
||||||
keyword substitution: kv
|
keyword substitution: kv
|
||||||
total revisions: 252; selected revisions: 252
|
total revisions: 255; selected revisions: 255
|
||||||
description:
|
description:
|
||||||
----------------------------
|
----------------------------
|
||||||
revision 1.252 locked by: gilles;
|
revision 1.255 locked by: gilles;
|
||||||
|
date: 2008/06/24 16:38:49; author: gilles; state: Exp; lines: +7 -6
|
||||||
|
Domino (Notes) 4.61
|
||||||
|
----------------------------
|
||||||
|
revision 1.254
|
||||||
|
date: 2008/06/16 18:59:26; author: gilles; state: Exp; lines: +19 -13
|
||||||
|
Some server (Microsoft Exchange 6.0.6249.0 for example)
|
||||||
|
returns message size a lot
|
||||||
|
s than the real size
|
||||||
|
Now imapsync accept this silly behavior.
|
||||||
|
----------------------------
|
||||||
|
revision 1.253
|
||||||
|
date: 2008/06/16 18:48:01; author: gilles; state: Exp; lines: +6 -6
|
||||||
|
Archiveopteryx 2.09
|
||||||
|
----------------------------
|
||||||
|
revision 1.252
|
||||||
date: 2008/05/08 02:30:17; author: gilles; state: Exp; lines: +36 -6
|
date: 2008/05/08 02:30:17; author: gilles; state: Exp; lines: +36 -6
|
||||||
Added mailing list information.
|
Added mailing list information.
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
21
FAQ
21
FAQ
|
@ -331,6 +331,27 @@ But if the source folder is empty (not deleted) and
|
||||||
options --delete2 --expunge2 are used then
|
options --delete2 --expunge2 are used then
|
||||||
the destination folder will be empty.
|
the destination folder will be empty.
|
||||||
|
|
||||||
|
======================================================================
|
||||||
|
Q. Is it possible to synchronize all messages from one server to
|
||||||
|
another whithout recreating the folder structure and the target server.
|
||||||
|
|
||||||
|
R. Yes.
|
||||||
|
1) First try (safe mode):
|
||||||
|
|
||||||
|
imapsync \
|
||||||
|
...
|
||||||
|
--regextrans2 's/(.*)/INBOX/' \
|
||||||
|
--dry --justfolders
|
||||||
|
|
||||||
|
2) See if the output says everything you want imapsync to do,
|
||||||
|
--dry option is safe and does nothing real.
|
||||||
|
|
||||||
|
3) Remove --dry
|
||||||
|
Check the imap folder tree on the target side, you should
|
||||||
|
only have one : the classical INBOX.
|
||||||
|
|
||||||
|
4) Remove --justfolders
|
||||||
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
Q. I have moved from Braunschweig to Graz, so I would like to have my whole
|
Q. I have moved from Braunschweig to Graz, so I would like to have my whole
|
||||||
|
|
11
README
11
README
|
@ -3,7 +3,7 @@ NAME
|
||||||
Synchronise mailboxes between two imap servers. Good at IMAP migration.
|
Synchronise mailboxes between two imap servers. Good at IMAP migration.
|
||||||
More than 32 different IMAP server softwares supported with success.
|
More than 32 different IMAP server softwares supported with success.
|
||||||
|
|
||||||
$Revision: 1.252 $
|
$Revision: 1.255 $
|
||||||
|
|
||||||
INSTALL
|
INSTALL
|
||||||
imapsync works fine under any Unix OS with perl.
|
imapsync works fine under any Unix OS with perl.
|
||||||
|
@ -245,7 +245,7 @@ IMAP SERVERS
|
||||||
Success stories reported with the following 35 imap servers (softwares
|
Success stories reported with the following 35 imap servers (softwares
|
||||||
names are in alphabetic order) :
|
names are in alphabetic order) :
|
||||||
|
|
||||||
- Archiveopteryx 2.03, 2.04 (OSL 3.0) http://www.archiveopteryx.org/
|
- Archiveopteryx 2.03, 2.04, 2.09 (OSL 3.0) http://www.archiveopteryx.org/
|
||||||
- BincImap 1.2.3 (GPL) (http://www.bincimap.org/)
|
- BincImap 1.2.3 (GPL) (http://www.bincimap.org/)
|
||||||
- CommuniGatePro server (Redhat 8.0)
|
- CommuniGatePro server (Redhat 8.0)
|
||||||
- Courier IMAP 1.5.1, 2.2.0, 2.1.1, 2.2.1, 3.0.8, 3.0.3, 4.1.1 (GPL)
|
- Courier IMAP 1.5.1, 2.2.0, 2.1.1, 2.2.1, 3.0.8, 3.0.3, 4.1.1 (GPL)
|
||||||
|
@ -258,6 +258,7 @@ IMAP SERVERS
|
||||||
v2.2.12-Invoca-RPM-2.2.12-3.RHEL4.1,
|
v2.2.12-Invoca-RPM-2.2.12-3.RHEL4.1,
|
||||||
2.2.13,
|
2.2.13,
|
||||||
v2.3.1-Invoca-RPM-2.3.1-2.7.fc5,
|
v2.3.1-Invoca-RPM-2.3.1-2.7.fc5,
|
||||||
|
v2.3.7,
|
||||||
(http://asg.web.cmu.edu/cyrus/)
|
(http://asg.web.cmu.edu/cyrus/)
|
||||||
- David Tobit V8 (proprietary Message system).
|
- David Tobit V8 (proprietary Message system).
|
||||||
- DBMail 1.2.1, 2.0.4, 2.0.9, 2.2rc1 (GPL) (http://www.dbmail.org/).
|
- DBMail 1.2.1, 2.0.4, 2.0.9, 2.2rc1 (GPL) (http://www.dbmail.org/).
|
||||||
|
@ -265,7 +266,7 @@ IMAP SERVERS
|
||||||
- Deerfield VisNetic MailServer 5.8.6 [from]
|
- Deerfield VisNetic MailServer 5.8.6 [from]
|
||||||
- Dovecot 0.99.10.4, 0.99.14, 0.99.14-8.fc4, 1.0-0.beta2.7,
|
- Dovecot 0.99.10.4, 0.99.14, 0.99.14-8.fc4, 1.0-0.beta2.7,
|
||||||
1.0.0 [dest] (LGPL) (http://www.dovecot.org/)
|
1.0.0 [dest] (LGPL) (http://www.dovecot.org/)
|
||||||
- Domino (Notes) 6.5, 5.0.6, 5.0.7, 7.0.2, 6.0.2CF1, 7.0.1 [from]
|
- Domino (Notes) 4.61[from], 6.5, 5.0.6, 5.0.7, 7.0.2, 6.0.2CF1, 7.0.1 [from]
|
||||||
- Eudora WorldMail v2
|
- Eudora WorldMail v2
|
||||||
- GMX IMAP4 StreamProxy.
|
- GMX IMAP4 StreamProxy.
|
||||||
- Groupwise IMAP (Novell) 6.x and 7.0. Buggy so see the FAQ.
|
- Groupwise IMAP (Novell) 6.x and 7.0. Buggy so see the FAQ.
|
||||||
|
@ -273,7 +274,7 @@ IMAP SERVERS
|
||||||
- IMail 7.15 (Ipswitch/Win2003), 8.12
|
- IMail 7.15 (Ipswitch/Win2003), 8.12
|
||||||
- MDaemon 7.0.1, 8.0.2, 8.1, 9.5.4 (Windows server 2003 R2 platform)
|
- MDaemon 7.0.1, 8.0.2, 8.1, 9.5.4 (Windows server 2003 R2 platform)
|
||||||
- Mercury 4.1 (Windows server 2000 platform)
|
- Mercury 4.1 (Windows server 2000 platform)
|
||||||
- Microsoft Exchange Server 5.5, 6.5.7638.1 [dest]
|
- Microsoft Exchange Server 5.5, 6.0.6249.0[from], 6.5.7638.1 [dest]
|
||||||
- Netscape Mail Server 3.6 (Wintel !)
|
- Netscape Mail Server 3.6 (Wintel !)
|
||||||
- Netscape Messaging Server 4.15 Patch 7
|
- Netscape Messaging Server 4.15 Patch 7
|
||||||
- OpenMail IMAP server B.07.00.k0 (Samsung Contact ?)
|
- OpenMail IMAP server B.07.00.k0 (Samsung Contact ?)
|
||||||
|
@ -360,5 +361,5 @@ SIMILAR SOFTWARES
|
||||||
|
|
||||||
Feedback (good or bad) will be always welcome.
|
Feedback (good or bad) will be always welcome.
|
||||||
|
|
||||||
$Id: imapsync,v 1.252 2008/05/08 02:30:17 gilles Exp gilles $
|
$Id: imapsync,v 1.255 2008/06/24 16:38:49 gilles Exp gilles $
|
||||||
|
|
||||||
|
|
2
TODO
2
TODO
|
@ -1,6 +1,8 @@
|
||||||
TODO file for imapsync
|
TODO file for imapsync
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
Fix bug "not possible to use space in the imap password"
|
||||||
|
|
||||||
Add kerberos authentification
|
Add kerberos authentification
|
||||||
|
|
||||||
Add NOOP commands to avoid timeouts.
|
Add NOOP commands to avoid timeouts.
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
1.252
|
1.255
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
Project: imapsync
|
Project: imapsync
|
||||||
Version: 1.250
|
Version: 1.252
|
||||||
Release-Focus: Major bugfixes
|
Release-Focus: Major bugfixes
|
||||||
Hide: N
|
Hide: N
|
||||||
Home-Page-URL: http://www.linux-france.org/prj/imapsync/
|
Home-Page-URL: http://www.linux-france.org/prj/imapsync/
|
||||||
|
|
37
imapsync
37
imapsync
|
@ -9,7 +9,7 @@ tool. Synchronise mailboxes between two imap servers. Good
|
||||||
at IMAP migration. More than 32 different IMAP server softwares
|
at IMAP migration. More than 32 different IMAP server softwares
|
||||||
supported with success.
|
supported with success.
|
||||||
|
|
||||||
$Revision: 1.252 $
|
$Revision: 1.255 $
|
||||||
|
|
||||||
=head1 INSTALL
|
=head1 INSTALL
|
||||||
|
|
||||||
|
@ -281,7 +281,7 @@ Failure stories reported with the following 4 imap servers :
|
||||||
Success stories reported with the following 35 imap servers
|
Success stories reported with the following 35 imap servers
|
||||||
(softwares names are in alphabetic order) :
|
(softwares names are in alphabetic order) :
|
||||||
|
|
||||||
- Archiveopteryx 2.03, 2.04 (OSL 3.0) http://www.archiveopteryx.org/
|
- Archiveopteryx 2.03, 2.04, 2.09 (OSL 3.0) http://www.archiveopteryx.org/
|
||||||
- BincImap 1.2.3 (GPL) (http://www.bincimap.org/)
|
- BincImap 1.2.3 (GPL) (http://www.bincimap.org/)
|
||||||
- CommuniGatePro server (Redhat 8.0)
|
- CommuniGatePro server (Redhat 8.0)
|
||||||
- Courier IMAP 1.5.1, 2.2.0, 2.1.1, 2.2.1, 3.0.8, 3.0.3, 4.1.1 (GPL)
|
- Courier IMAP 1.5.1, 2.2.0, 2.1.1, 2.2.1, 3.0.8, 3.0.3, 4.1.1 (GPL)
|
||||||
|
@ -294,6 +294,7 @@ Success stories reported with the following 35 imap servers
|
||||||
v2.2.12-Invoca-RPM-2.2.12-3.RHEL4.1,
|
v2.2.12-Invoca-RPM-2.2.12-3.RHEL4.1,
|
||||||
2.2.13,
|
2.2.13,
|
||||||
v2.3.1-Invoca-RPM-2.3.1-2.7.fc5,
|
v2.3.1-Invoca-RPM-2.3.1-2.7.fc5,
|
||||||
|
v2.3.7,
|
||||||
(http://asg.web.cmu.edu/cyrus/)
|
(http://asg.web.cmu.edu/cyrus/)
|
||||||
- David Tobit V8 (proprietary Message system).
|
- David Tobit V8 (proprietary Message system).
|
||||||
- DBMail 1.2.1, 2.0.4, 2.0.9, 2.2rc1 (GPL) (http://www.dbmail.org/).
|
- DBMail 1.2.1, 2.0.4, 2.0.9, 2.2rc1 (GPL) (http://www.dbmail.org/).
|
||||||
|
@ -301,7 +302,7 @@ Success stories reported with the following 35 imap servers
|
||||||
- Deerfield VisNetic MailServer 5.8.6 [from]
|
- Deerfield VisNetic MailServer 5.8.6 [from]
|
||||||
- Dovecot 0.99.10.4, 0.99.14, 0.99.14-8.fc4, 1.0-0.beta2.7,
|
- Dovecot 0.99.10.4, 0.99.14, 0.99.14-8.fc4, 1.0-0.beta2.7,
|
||||||
1.0.0 [dest] (LGPL) (http://www.dovecot.org/)
|
1.0.0 [dest] (LGPL) (http://www.dovecot.org/)
|
||||||
- Domino (Notes) 6.5, 5.0.6, 5.0.7, 7.0.2, 6.0.2CF1, 7.0.1 [from]
|
- Domino (Notes) 4.61[from], 6.5, 5.0.6, 5.0.7, 7.0.2, 6.0.2CF1, 7.0.1 [from]
|
||||||
- Eudora WorldMail v2
|
- Eudora WorldMail v2
|
||||||
- GMX IMAP4 StreamProxy.
|
- GMX IMAP4 StreamProxy.
|
||||||
- Groupwise IMAP (Novell) 6.x and 7.0. Buggy so see the FAQ.
|
- Groupwise IMAP (Novell) 6.x and 7.0. Buggy so see the FAQ.
|
||||||
|
@ -309,7 +310,7 @@ Success stories reported with the following 35 imap servers
|
||||||
- IMail 7.15 (Ipswitch/Win2003), 8.12
|
- IMail 7.15 (Ipswitch/Win2003), 8.12
|
||||||
- MDaemon 7.0.1, 8.0.2, 8.1, 9.5.4 (Windows server 2003 R2 platform)
|
- MDaemon 7.0.1, 8.0.2, 8.1, 9.5.4 (Windows server 2003 R2 platform)
|
||||||
- Mercury 4.1 (Windows server 2000 platform)
|
- Mercury 4.1 (Windows server 2000 platform)
|
||||||
- Microsoft Exchange Server 5.5, 6.5.7638.1 [dest]
|
- Microsoft Exchange Server 5.5, 6.0.6249.0[from], 6.5.7638.1 [dest]
|
||||||
- Netscape Mail Server 3.6 (Wintel !)
|
- Netscape Mail Server 3.6 (Wintel !)
|
||||||
- Netscape Messaging Server 4.15 Patch 7
|
- Netscape Messaging Server 4.15 Patch 7
|
||||||
- OpenMail IMAP server B.07.00.k0 (Samsung Contact ?)
|
- OpenMail IMAP server B.07.00.k0 (Samsung Contact ?)
|
||||||
|
@ -417,7 +418,7 @@ Entries for imapsync:
|
||||||
|
|
||||||
Feedback (good or bad) will be always welcome.
|
Feedback (good or bad) will be always welcome.
|
||||||
|
|
||||||
$Id: imapsync,v 1.252 2008/05/08 02:30:17 gilles Exp gilles $
|
$Id: imapsync,v 1.255 2008/06/24 16:38:49 gilles Exp gilles $
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -482,7 +483,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.252 2008/05/08 02:30:17 gilles Exp gilles $ ';
|
$rcs = ' $Id: imapsync,v 1.255 2008/06/24 16:38:49 gilles Exp gilles $ ';
|
||||||
$rcs =~ m/,v (\d+\.\d+)/;
|
$rcs =~ m/,v (\d+\.\d+)/;
|
||||||
$VERSION = ($1) ? $1 : "UNKNOWN";
|
$VERSION = ($1) ? $1 : "UNKNOWN";
|
||||||
|
|
||||||
|
@ -516,8 +517,8 @@ $error=0;
|
||||||
|
|
||||||
my $banner = join("",
|
my $banner = join("",
|
||||||
'$RCSfile: imapsync,v $ ',
|
'$RCSfile: imapsync,v $ ',
|
||||||
'$Revision: 1.252 $ ',
|
'$Revision: 1.255 $ ',
|
||||||
'$Date: 2008/05/08 02:30:17 $ ',
|
'$Date: 2008/06/24 16:38:49 $ ',
|
||||||
"\n",localhost_info(),
|
"\n",localhost_info(),
|
||||||
" and the module Mail::IMAPClient version used here is ",
|
" and the module Mail::IMAPClient version used here is ",
|
||||||
$VERSION_IMAPClient,"\n",
|
$VERSION_IMAPClient,"\n",
|
||||||
|
@ -2470,16 +2471,22 @@ use constant NonFolderArg => 1; # Value to pass to Massage to
|
||||||
carp "${self}::message_string: " .
|
carp "${self}::message_string: " .
|
||||||
"expected $expected_size bytes but received " .
|
"expected $expected_size bytes but received " .
|
||||||
length($string);
|
length($string);
|
||||||
}
|
$self->LastError("${self}::message_string: expected ".
|
||||||
if ( length($string) > $expected_size )
|
|
||||||
{ $string = substr($string,0,$expected_size) }
|
|
||||||
if ( length($string) < $expected_size ) {
|
|
||||||
$self->LastError("${self}::message_string: expected ".
|
|
||||||
"$expected_size bytes but received " .
|
"$expected_size bytes but received " .
|
||||||
length($string)."\n");
|
length($string)."\n");
|
||||||
return $string;
|
|
||||||
#return undef;
|
|
||||||
}
|
}
|
||||||
|
# REMOVE NEXT COMMENTED LINES
|
||||||
|
# if ( length($string) > $expected_size ){
|
||||||
|
# $string = substr($string,0,$expected_size)
|
||||||
|
# }
|
||||||
|
# if ( length($string) < $expected_size ) {
|
||||||
|
# $self->LastError("${self}::message_string: expected ".
|
||||||
|
# "$expected_size bytes but received " .
|
||||||
|
# length($string)."\n");
|
||||||
|
# return $string;
|
||||||
|
# #return undef;
|
||||||
|
# }
|
||||||
|
|
||||||
return $string;
|
return $string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue