From 3a28514165fe535380d3e92a0fadded913be5f57 Mon Sep 17 00:00:00 2001 From: Nick Bebout Date: Sat, 12 Mar 2011 02:44:21 +0000 Subject: [PATCH] 1.155 --- ChangeLog | 17 +++++++++++++---- FAQ | 12 +++++++++++- Makefile | 3 ++- README | 20 +++++++++++++------- TODO | 36 ++++++++++++++++++++++++------------ VERSION | 2 +- freshmeat_submition | 20 ++++++++++++++++++++ freshmeat_submition2 | 7 +++++++ imapsync | 44 ++++++++++++++++++++++++++------------------ memo | 20 ++++++++++++++++++++ tests.sh | 4 ++-- 11 files changed, 139 insertions(+), 46 deletions(-) create mode 100644 freshmeat_submition create mode 100644 freshmeat_submition2 diff --git a/ChangeLog b/ChangeLog index 568c163..4c61bb9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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() ---------------------------- diff --git a/FAQ b/FAQ index d991b67..4885ac2 100644 --- a/FAQ +++ b/FAQ @@ -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 diff --git a/Makefile b/Makefile index dee7c7a..d023e18 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/README b/README index 480ffe1..5efcf5f 100644 --- a/README +++ b/README @@ -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 + + 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 $ diff --git a/TODO b/TODO index 8c714c1..5def2c2 100644 --- a/TODO +++ b/TODO @@ -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: diff --git a/VERSION b/VERSION index 4a0a4b1..5155342 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.153 +1.155 diff --git a/freshmeat_submition b/freshmeat_submition new file mode 100644 index 0000000..607d276 --- /dev/null +++ b/freshmeat_submition @@ -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. diff --git a/freshmeat_submition2 b/freshmeat_submition2 new file mode 100644 index 0000000..99626c0 --- /dev/null +++ b/freshmeat_submition2 @@ -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/ + diff --git a/imapsync b/imapsync index 8351956..cb7a2dd 100755 --- a/imapsync +++ b/imapsync @@ -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 + +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" diff --git a/memo b/memo index 021e39d..257944f 100644 --- a/memo +++ b/memo @@ -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 + +} + + diff --git a/tests.sh b/tests.sh index fc16822..0f62628 100644 --- a/tests.sh +++ b/tests.sh @@ -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