This commit is contained in:
Nick Bebout 2011-03-12 02:44:21 +00:00
parent a1ba8b7815
commit 3a28514165
11 changed files with 139 additions and 46 deletions

View file

@ -6,7 +6,7 @@ imapsync - IMAP synchronization, copy or migration
tool. Synchronize mailboxes between two imap servers. Good
at IMAP migration.
$Revision: 1.153 $
$Revision: 1.155 $
=head1 INSTALL
@ -70,7 +70,7 @@ $Revision: 1.153 $
=head1 DESCRIPTION
The command imapsync is a tool allowing incremental and recursive
The command imapsync is a tool allowing incremental and recursive
imap transfer from one mailbox to another.
We sometimes need to transfer mailboxes from one imap server to
@ -87,8 +87,7 @@ connection.
You can decide to delete the messages from the source mailbox
after a successful transfert (it is a good feature when migrating).
In that case, use the --delete option, and run imapsync again
with the --expunge1 option.
In that case, use the --delete --expunge1 options.
You can also just synchronize a mailbox A from another mailbox B
in case you just want to keep a "live" copy of B in A.
@ -108,20 +107,22 @@ 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
=head1 EXAMPLE
While working on imapsync parameters please run imapsync in dry mode (no
modification induced) with the --dry option. Nothing bad can be done
this way.
While working on imapsync parameters please run imapsync in
dry mode (no modification induced) with the --dry
option. Nothing bad can be done this way.
To synchronize the imap account "buddy" on host "imap.src.fr" to the
imap account "max" on host "imap.dest.fr" (the passwords are located
in too files "/etc/secret1" for "buddy", "/etc/secret2" for "max") :
To synchronize the imap account "buddy" on host
"imap.src.fr" to the imap account "max" on host
"imap.dest.fr" (the passwords are located in too files
"/etc/secret1" for "buddy", "/etc/secret2" for "max") :
imapsync --host1 imap.src.fr --user1 buddy --passfile1 /etc/secret1 \
--host2 imap.dest.fr --user2 max --passfile2 /etc/secret2
Then, you will have buddy's mailbox updated from max's mailbox.
Then, you will have buddy's mailbox updated from max's
mailbox.
=head1 SECURITY
@ -150,7 +151,14 @@ in a Bourne shell:
=head1 AUTHOR
Gilles LAMIRAL lamiral@linux-france.org
Gilles LAMIRAL <lamiral@linux-france.org>
Feedback good or bad is always welcome. The first you send
me an email you will receive a confirmation request before I
really read your message.
The newsgroup comp.mail.imap is a good place to talk about
imapsync. I read it when imapsync is concerned.
=head1 LICENSE
@ -188,7 +196,7 @@ copied the first time. Run imapsync twice if you want the
flags set correctly. (fixed since 1.28 release but wait for
a time before removing those lines)
Report any bugs to the author: lamiral@linux-france.org
Report any bugs to the author.
=head1 IMAP SERVERS
@ -313,7 +321,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.153 2006/02/22 02:41:52 gilles Exp gilles $
$Id: imapsync,v 1.155 2006/02/28 02:18:13 gilles Exp $
=cut
@ -361,7 +369,7 @@ my(
use vars qw ($opt_G); # missing code for this will be option.
$rcs = ' $Id: imapsync,v 1.153 2006/02/22 02:41:52 gilles Exp gilles $ ';
$rcs = ' $Id: imapsync,v 1.155 2006/02/28 02:18:13 gilles Exp $ ';
$rcs =~ m/,v (\d+\.\d+)/;
$VERSION = ($1) ? $1 : "UNKNOWN";
@ -398,8 +406,8 @@ $error=0;
my $banner = join("",
'$RCSfile: imapsync,v $ ',
'$Revision: 1.153 $ ',
'$Date: 2006/02/22 02:41:52 $ ',
'$Revision: 1.155 $ ',
'$Date: 2006/02/28 02:18:13 $ ',
"\n",
"Mail::IMAPClient version used here is ",
$VERSION_IMAPClient,"\n"