This commit is contained in:
Nick Bebout 2011-03-12 02:44:27 +00:00
parent f79724c166
commit 619b02d9a0
8 changed files with 63 additions and 36 deletions

View file

@ -2,11 +2,11 @@
=head1 NAME
imapsync - IMAP synchronization, copy or migration
tool. Synchronize mailboxes between two imap servers. Good
imapsync - IMAP synchronisation, copy or migration
tool. Synchronise mailboxes between two imap servers. Good
at IMAP migration.
$Revision: 1.175 $
$Revision: 1.177 $
=head1 INSTALL
@ -119,7 +119,7 @@ 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
"imap.dest.fr" (the passwords are located in two files
"/etc/secret1" for "buddy", "/etc/secret2" for "max") :
imapsync --host1 imap.src.fr --user1 buddy --passfile1 /etc/secret1 \
@ -338,7 +338,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.175 2006/06/08 00:52:00 gilles Exp $
$Id: imapsync,v 1.177 2006/06/13 20:03:21 gilles Exp $
=cut
@ -395,7 +395,7 @@ my(
use vars qw ($opt_G); # missing code for this will be option.
$rcs = ' $Id: imapsync,v 1.175 2006/06/08 00:52:00 gilles Exp $ ';
$rcs = ' $Id: imapsync,v 1.177 2006/06/13 20:03:21 gilles Exp $ ';
$rcs =~ m/,v (\d+\.\d+)/;
$VERSION = ($1) ? $1 : "UNKNOWN";
@ -432,8 +432,8 @@ $error=0;
my $banner = join("",
'$RCSfile: imapsync,v $ ',
'$Revision: 1.175 $ ',
'$Date: 2006/06/08 00:52:00 $ ',
'$Revision: 1.177 $ ',
'$Date: 2006/06/13 20:03:21 $ ',
"\n",
"Mail::IMAPClient version used here is ",
$VERSION_IMAPClient,"\n"
@ -1404,16 +1404,16 @@ Several options are mandatory.
add also the safe options --dry --justfolders
Then, when happy, remove --dry, remove --justfolders
--regexmess <regex> : Apply the whole regex to each message before transfer.
Exemple : 's/\\000/ /g' # to replace null by space.
Example : 's/\\000/ /g' # to replace null by space.
--regexmess <regex> : and this one.
--regexmess <regex> : and this one, etc.
--regexflag <regex> : Apply the whole regex to each flags list.
Exemple : 's/\"Junk"//g' # to remove "Junk" flag.
Example : 's/\"Junk"//g' # to remove "Junk" flag.
--regexflag <regex> : and this one, etc.
--sep1 <string> : separator in case namespace is not supported.
--sep2 <string> : idem.
--delete : delete messages on source imap server after
a successful transfert. Useful in case you
a successful transfer. Useful in case you
want to migrate from one server to another one.
With imap, delete tags messages as deleted, they
are not really deleted. See expunge.
@ -1421,7 +1421,7 @@ Several options are mandatory.
are not on the source server.
--expunge : expunge messages on source account.
expunge really deletes messages marked deleted.
expunge is made at the begining on the
expunge is made at the beginning on the
source server only. newly transfered messages
are expunged if option --expunge is given.
no expunge is done on destination account but
@ -1456,11 +1456,11 @@ Several options are mandatory.
and message counts. Meant to be used with
--justfoldersizes. Turned on by default.
--justfoldersizes : exit after printed the folder sizes.
--syncacls : Synchronizes acls (Access Control Lists).
--nosyncacls : Does not synchronize acls. This is the default.
--syncacls : Synchronises acls (Access Control Lists).
--nosyncacls : Does not synchronise acls. This is the default.
--debug : debug mode.
--debugimap : imap debug mode.
--version : print sotfware version.
--version : print software version.
--justconnect : just connect to both servers and print useful
information. Need only --host1 and --host2 options.
--justfolders : just do things about folders (ignore messages).