1
0
mirror of https://github.com/imapsync/imapsync.git synced 2024-11-17 00:02:29 +01:00
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

@ -1,17 +1,26 @@
RCS file: RCS/imapsync,v
Working file: imapsync
head: 1.153
head: 1.155
branch:
locks: strict
gilles: 1.153
access list:
symbolic names:
keyword substitution: kv
total revisions: 153; selected revisions: 153
total revisions: 155; selected revisions: 155
description:
----------------------------
revision 1.153 locked by: gilles;
revision 1.155
date: 2006/02/28 02:18:13; author: gilles; state: Exp; lines: +14 -7
Updated AUTHOR section.
Talked about confirmation request
Talked about comp.mail.imap
----------------------------
revision 1.154
date: 2006/02/28 02:03:40; author: gilles; state: Exp; lines: +18 -17
Fixed doc: No need to rerun imapsync with expunge now.
----------------------------
revision 1.153
date: 2006/02/22 02:41:52; author: gilles; state: Exp; lines: +10 -9
updated usage()
----------------------------

12
FAQ
View File

@ -20,7 +20,8 @@ imapsync does not touch any header since the
header is used to identify the messages in
both parts.
Solutions: a) Don't use buggy Eudora
Solutions:
a) Don't use buggy Eudora.
b) Use the --syncinternaldates option and keep using Eudora :-)
=======================================================================
@ -44,6 +45,15 @@ b) Use stunnel
then use imapsync on localhost (or bar machine) imap (143) port.
======================================================================
Q. I want the --folder 'MyFolder' option be recurse.
R. Do not use the --folder option.
Instead, use --include '^MyFolder'
Folder "MyFolder" and all its subfolders will be handled.
======================================================================
Q. I have moved from Braunschweig to Graz, so I would like to have my whole
Braunschweig mail sorted into a folder INBOX.Braunschweig of my new mail

View File

@ -1,5 +1,5 @@
# $Id: Makefile,v 1.7 2005/04/13 11:44:17 gilles Exp gilles $
# $Id: Makefile,v 1.8 2006/02/28 03:55:01 gilles Exp gilles $
TARGET=imapsync
@ -99,3 +99,4 @@ lfo: dist niouze
niouze: VERSION
. memo && lfo_announce
. memo && fm_announce

20
README
View File

@ -2,7 +2,7 @@ NAME
imapsync - IMAP synchronization, copy or migration tool. Synchronize
mailboxes between two imap servers. Good at IMAP migration.
$Revision: 1.153 $
$Revision: 1.155 $
INSTALL
imapsync works fine under any Unix OS.
@ -74,8 +74,7 @@ DESCRIPTION
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.
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.
@ -93,7 +92,7 @@ HISTORY
copy_folder.pl comes from the Mail-IMAPClient-2.1.3 perl module tarball
source (in the examples/ directory of the tarball).
EXAMPLES
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.
@ -130,7 +129,14 @@ EXIT STATUS
done
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.
LICENSE
imapsync is free, gratis and open source software cover by the GNU
@ -164,7 +170,7 @@ BUGS
(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.
IMAP SERVERS
Failure stories reported with the following imap servers :
@ -267,5 +273,5 @@ AUTHOR
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 $

36
TODO
View File

@ -1,18 +1,18 @@
TODO file for imapsync
----------------------
Talk about mbox and maildir format when "Invalid header"
problem is encountered.
Post on newsgroup comp.mail.imap when a new release comes.
http://groups.google.fr/group/comp.mail.imap
Make --include --exclude options possibly be a list.
Create a imapsync mailing list.
Add features from Herman (patch against 1.139)
- Support for authenticating as different (admin) user
- Support for different auth mechanisms (we needed PLAIN)
Add my amazon wishlist link.
Add an --exactsync option to remove target messages
@ -30,21 +30,33 @@ Look at http://barnson.org/node/81
Read:
http://www.washington.edu/imap/documentation/commndmt.txt.html
Talk about :
"I think notes is right but MS Eudora is bad with dates.
(netscape or thunderbird is ok with dates)
use the option --syncinternaldates "
Add cyrus link about INBOX. namespace
http://asg.web.cmu.edu/cyrus/download/imapd/altnamespace.html
Look at http://freshmeat.net/projects/freshmeat-submit/
Look at comp.mail.imap http://groups.google.fr/groups?q=imapsync
Explain expunge behavior
Explain expunge behavior.
Add a --recurse option when --folder option is used.
DONE in FAQ.Talk about :
"I think notes is right but MS Eudora is bad with dates.
(netscape or thunderbird is ok with dates)
use the option --syncinternaldates "
DONE. Create a imapsync mailing list.
May be I won't since we can use comp.mail.imap
http://groups.google.fr/group/comp.mail.imap
to talk about imapsync
DONE. Add a --recurse option when --folder option is used.
No I won't since this feature can be done by doing a
--include '^INBOX.MyFolder'
Done. Look at comp.mail.imap http://groups.google.fr/groups?q=imapsync
In fact I set up an google alert on imapsync so I read
any posted question about imapsync posted to any group
followed by google.
DONE. Add usage about --regextrans2
To remove INBOX. in the name of destination folders:

View File

@ -1 +1 @@
1.153
1.155

20
freshmeat_submition Normal file
View File

@ -0,0 +1,20 @@
Project: imapsync
Version: 1.155
Release-Focus: Major feature enhancements
Hide: N
Home-Page-URL: http://www.linux-france.org/prj/imapsync/
Gzipped-Tar-URL: http://www.linux-france.org/prj/imapsync/dist/
From imapsync version 1.121 to 1.153, the following options have been added:
--buffersize
--expunge1 --expunge2
--fastio1 --fastio2
--minage
--useheader
--prefix1
--foldersizes
The documentation has been updated.
Also, imapsync is now "IMAP4 Namespace" RFC 2342 compliant.
More than 20 different IMAP server softwares have
successfully migrate or been synchronised with imapsync.

7
freshmeat_submition2 Normal file
View File

@ -0,0 +1,7 @@
Project: imapsync
Version: 1.155
Release-Focus: Major feature enhancements
Hide: N
Home-Page-URL: http://www.linux-france.org/prj/imapsync/
Gzipped-Tar-URL: http://www.linux-france.org/prj/imapsync/dist/

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"

20
memo
View File

@ -35,3 +35,23 @@ niouzes_compil
}
fm_announce() {
software_version
NEWS_FILE_FM="/home/gilles/public_html/imapsync/freshmeat_submition2"
if ! newer VERSION $NEWS_FILE_FM; then
echo "$VERSION already announced"
else
cat > $NEWS_FILE_FM << EOF
Project: imapsync
Version: $VERSION
Release-Focus: Major feature enhancements
Hide: N
Home-Page-URL: http://www.linux-france.org/prj/imapsync/
Gzipped-Tar-URL: http://www.linux-france.org/prj/imapsync/dist/
EOF
fi
}

View File

@ -1,6 +1,6 @@
#!/bin/sh
# $Id: tests.sh,v 1.46 2006/02/22 02:21:57 gilles Exp gilles $
# $Id: tests.sh,v 1.47 2006/02/28 03:53:34 gilles Exp gilles $
#### Shell pragmas
@ -402,7 +402,7 @@ lp_include()
--passfile2 /var/tmp/secret.tata \
--host1 loul --user1 tata \
--passfile1 /var/tmp/secret.tata \
--include 'INBOX.yop'
--include '^INBOX.yop'
else
:
fi