diff --git a/CREDITS b/CREDITS index 7745dbe..f6d8093 100644 --- a/CREDITS +++ b/CREDITS @@ -14,12 +14,36 @@ b) If you can read french, please use the following wishlist : 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) - 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" -- 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 - Gave the book "Intermediate Perl" - Thanked for imapsync diff --git a/ChangeLog b/ChangeLog index ac08d68..59da4ba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,17 +1,32 @@ RCS file: RCS/imapsync,v Working file: imapsync -head: 1.252 +head: 1.255 branch: locks: strict - gilles: 1.252 + gilles: 1.255 access list: symbolic names: keyword substitution: kv -total revisions: 252; selected revisions: 252 +total revisions: 255; selected revisions: 255 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 Added mailing list information. ---------------------------- diff --git a/FAQ b/FAQ index a3228e6..4ba3feb 100644 --- a/FAQ +++ b/FAQ @@ -331,6 +331,27 @@ But if the source folder is empty (not deleted) and options --delete2 --expunge2 are used then 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 diff --git a/README b/README index 776d389..71dd6b1 100644 --- a/README +++ b/README @@ -3,7 +3,7 @@ NAME Synchronise mailboxes between two imap servers. Good at IMAP migration. More than 32 different IMAP server softwares supported with success. - $Revision: 1.252 $ + $Revision: 1.255 $ INSTALL 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 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/) - 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) @@ -258,6 +258,7 @@ IMAP SERVERS v2.2.12-Invoca-RPM-2.2.12-3.RHEL4.1, 2.2.13, v2.3.1-Invoca-RPM-2.3.1-2.7.fc5, + v2.3.7, (http://asg.web.cmu.edu/cyrus/) - David Tobit V8 (proprietary Message system). - 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] - 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/) - - 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 - GMX IMAP4 StreamProxy. - 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 - MDaemon 7.0.1, 8.0.2, 8.1, 9.5.4 (Windows server 2003 R2 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 Messaging Server 4.15 Patch 7 - OpenMail IMAP server B.07.00.k0 (Samsung Contact ?) @@ -360,5 +361,5 @@ SIMILAR SOFTWARES 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 $ diff --git a/TODO b/TODO index 92c3b79..a0e6dad 100644 --- a/TODO +++ b/TODO @@ -1,6 +1,8 @@ TODO file for imapsync ---------------------- +Fix bug "not possible to use space in the imap password" + Add kerberos authentification Add NOOP commands to avoid timeouts. diff --git a/VERSION b/VERSION index 761679b..2b7f84a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.252 +1.255 diff --git a/freshmeat_submition.out b/freshmeat_submition.out index 333ec6e..415e1a9 100644 --- a/freshmeat_submition.out +++ b/freshmeat_submition.out @@ -1,5 +1,5 @@ Project: imapsync -Version: 1.250 +Version: 1.252 Release-Focus: Major bugfixes Hide: N Home-Page-URL: http://www.linux-france.org/prj/imapsync/ diff --git a/imapsync b/imapsync index 04f047f..63ad8ca 100755 --- a/imapsync +++ b/imapsync @@ -9,7 +9,7 @@ tool. Synchronise mailboxes between two imap servers. Good at IMAP migration. More than 32 different IMAP server softwares supported with success. -$Revision: 1.252 $ +$Revision: 1.255 $ =head1 INSTALL @@ -281,7 +281,7 @@ Failure stories reported with the following 4 imap servers : Success stories reported with the following 35 imap servers (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/) - 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) @@ -294,6 +294,7 @@ Success stories reported with the following 35 imap servers v2.2.12-Invoca-RPM-2.2.12-3.RHEL4.1, 2.2.13, v2.3.1-Invoca-RPM-2.3.1-2.7.fc5, + v2.3.7, (http://asg.web.cmu.edu/cyrus/) - David Tobit V8 (proprietary Message system). - 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] - 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/) - - 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 - GMX IMAP4 StreamProxy. - 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 - MDaemon 7.0.1, 8.0.2, 8.1, 9.5.4 (Windows server 2003 R2 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 Messaging Server 4.15 Patch 7 - OpenMail IMAP server B.07.00.k0 (Samsung Contact ?) @@ -417,7 +418,7 @@ Entries for imapsync: 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. -$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+)/; $VERSION = ($1) ? $1 : "UNKNOWN"; @@ -516,8 +517,8 @@ $error=0; my $banner = join("", '$RCSfile: imapsync,v $ ', - '$Revision: 1.252 $ ', - '$Date: 2008/05/08 02:30:17 $ ', + '$Revision: 1.255 $ ', + '$Date: 2008/06/24 16:38:49 $ ', "\n",localhost_info(), " and the module Mail::IMAPClient version used here is ", $VERSION_IMAPClient,"\n", @@ -2470,16 +2471,22 @@ use constant NonFolderArg => 1; # Value to pass to Massage to carp "${self}::message_string: " . "expected $expected_size bytes but received " . length($string); - } - if ( length($string) > $expected_size ) - { $string = substr($string,0,$expected_size) } - if ( length($string) < $expected_size ) { - $self->LastError("${self}::message_string: expected ". + $self->LastError("${self}::message_string: expected ". "$expected_size bytes but received " . 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; };