diff --git a/ChangeLog b/ChangeLog index 19ff706..98c1d7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,15 +1,23 @@ RCS file: RCS/imapsync,v Working file: imapsync -head: 1.25 +head: 1.27 branch: locks: strict access list: symbolic names: keyword substitution: kv -total revisions: 25; selected revisions: 25 +total revisions: 27; selected revisions: 27 description: ---------------------------- +revision 1.27 +date: 2003/08/23 14:40:57; author: gilles; state: Exp; lines: +4 -10 +Removed unused code +---------------------------- +revision 1.26 +date: 2003/08/23 14:36:58; author: gilles; state: Exp; lines: +18 -11 +Updated doc with imap servers, freshmeat url +---------------------------- revision 1.25 date: 2003/08/23 01:44:33; author: gilles; state: Exp; lines: +18 -12 Fixed pb with no UIDPLUS and flags diff --git a/README b/README index e3f1d65..d870b2b 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ NAME imapsync - synchronize mailboxes between two imap servers. - $Revision: 1.25 $ + $Revision: 1.27 $ INSTALL Get imapsync at http://www.linux-france.org/prj/imapsync/dist/ @@ -93,7 +93,12 @@ LICENSE the web site http://www.gnu.org/licenses/licenses.html BUGS - No known bug. Report any bugs to the author: lamiral@linux-france.org + No known serious bug. + + Flags : with some IMAP servers the flags are not very well copied the + first time. Run imapsync twice if you want the flags set correctly. + + Report any bugs to the author: lamiral@linux-france.org IMAP SERVERS Success stories reported : @@ -102,11 +107,15 @@ IMAP SERVERS - Cyrus IMAP 1.5, 1.6, 2.1 - Netscape Mail Server 3.6 (Wintel) - CommunicatePro server (Redhat 8.0) + - SunONE Messaging server 5.2 + - iPlanet Messaging server 4.15 Please report to the author any success or bad story with imapsync and don't forget to mention the IMAP server software names and version on both sides. This will help future users. + Rate imapsync : http://freshmeat.net/projects/imapsync/ + SIMILAR SOFTWARES offlineimap : http://gopher.quux.org:70/devel/offlineimap/ mailsync : http://mailsync.sourceforge.net/ @@ -115,5 +124,5 @@ SIMILAR SOFTWARES Feedback (good or bad) will be always welcome. - $Id: imapsync,v 1.25 2003/08/23 01:44:33 gilles Exp $ + $Id: imapsync,v 1.27 2003/08/23 14:40:57 gilles Exp $ diff --git a/TODO b/TODO index 18cfb78..c4ee464 100644 --- a/TODO +++ b/TODO @@ -1,11 +1,13 @@ Add SASL support MD5 : DIGEST-MD5 and CRAM-MD5 see authenticate in IMAPClient.pm +Test the new Mail::IMAPClient (2.1.4 -> 2.2.8 or sup) -Tested on -> The source imap server runs Cyrus imapd 1.6.22, -> the destination one Cyrus imapd 2.1.12. -by Per Steinar Iversen +Update the list of tested IMAP servers (successes and failures). -Add a list of well tested imap servers. +Update documentation about setting flags. +Make setting flags works the FIRST time. +-> Use append_string instead of append + +Add a CREDITS file. diff --git a/VERSION b/VERSION index 5e2b950..b0c101e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.25 +1.27 diff --git a/freshmeat b/freshmeat index d9e3741..abffb76 100644 --- a/freshmeat +++ b/freshmeat @@ -1,3 +1,5 @@ +http://freshmeat.net/projects/imapsync/ + imapsync is a tool for facilitating incremental recursive IMAP transfers from one mailbox to another. It is useful for mailbox migration, and reduces the amount of data transferred by only copying diff --git a/imapsync b/imapsync index e8ad82b..63f4336 100755 --- a/imapsync +++ b/imapsync @@ -4,7 +4,7 @@ imapsync - synchronize mailboxes between two imap servers. -$Revision: 1.25 $ +$Revision: 1.27 $ =head1 INSTALL @@ -64,13 +64,12 @@ Invoke: imapsync --help =head1 HISTORY I wrote imapsync because an enterprise (basystemes) paid me to install -a new imap server without loosing huge old mailboxes located on a far +a new imap server without loosing huge old mailboxes located on a far away remote imap server accessible by a low bandwith link. The tool -imapcp (written in python) could not help me because I had to verify -every mailbox was well -transfered and delete it after a good transfert. imapsync started its life -being a copy_folder.pl patch. -The tool copy_folder.pl comes from the Mail-IMAPClient-2.1.3 perl +imapcp (written in python) could not help me because I had to verify +every mailbox was well transfered and delete it after a good +transfert. imapsync started its life being a copy_folder.pl patch. +The tool copy_folder.pl comes from the Mail-IMAPClient-2.1.3 perl module tarball source (in the examples/ directory of the tarball). =head1 EXAMPLES @@ -112,7 +111,11 @@ http://www.gnu.org/licenses/licenses.html =head1 BUGS -No known bug. +No known serious bug. + +Flags : with some IMAP servers the flags are not very well copied the +first time. Run imapsync twice if you want the flags set correctly. + Report any bugs to the author: lamiral@linux-france.org =head1 IMAP SERVERS @@ -123,11 +126,15 @@ Success stories reported : - Cyrus IMAP 1.5, 1.6, 2.1 - Netscape Mail Server 3.6 (Wintel) - CommunicatePro server (Redhat 8.0) + - SunONE Messaging server 5.2 + - iPlanet Messaging server 4.15 Please report to the author any success or bad story with imapsync and don't forget to mention the IMAP server software names and version on both sides. This will help future users. +Rate imapsync : http://freshmeat.net/projects/imapsync/ + =head1 SIMILAR SOFTWARES offlineimap : http://gopher.quux.org:70/devel/offlineimap/ @@ -137,7 +144,7 @@ both sides. This will help future users. Feedback (good or bad) will be always welcome. -$Id: imapsync,v 1.25 2003/08/23 01:44:33 gilles Exp $ +$Id: imapsync,v 1.27 2003/08/23 14:40:57 gilles Exp $ =cut @@ -160,12 +167,12 @@ my( use vars qw ($opt_G); # missing code for this will be option. -$rcs = ' $Id: imapsync,v 1.25 2003/08/23 01:44:33 gilles Exp $ '; +$rcs = ' $Id: imapsync,v 1.27 2003/08/23 14:40:57 gilles Exp $ '; $rcs =~ m/,v (\d+\.\d+)/; $VERSION = ($1) ? $1 : "UNKNOWN"; $error=0; -my $banner = '$RCSfile: imapsync,v $ ' . '$Revision: 1.25 $ ' . '$Date: 2003/08/23 01:44:33 $ ' . "\n"; +my $banner = '$RCSfile: imapsync,v $ ' . '$Revision: 1.27 $ ' . '$Date: 2003/08/23 14:40:57 $ ' . "\n"; get_options(); @@ -303,12 +310,6 @@ FOLDER: foreach my $f_fold (@f_folders) { my %f_hash = (); my %t_hash = (); -sub header_parse { - # @msgs_all; - # %hash; - -} - $debug and print "From Parse\n"; foreach my $m (@f_msgs) { $debug and print "-" x 50, "\nMSG $m\n";