File imapsync.changes of Package imapsync
-------------------------------------------------------------------
Sun Jun 11 14:38:57 UTC 2017 - lars@linux-schulserver.de
- update to 1.727
+ Enhancement: Added option --delete1emptyfolders. It deletes empty
folders on host1, INBOX excepted. Useful with --delete since what
remains on host1 is only what failed to be synced.
+ Enhancement: Imapsync can be used as a CGI program.
Still experimental. The web UI interface has to be written.
+ Enhancement: XOAUTH2 authentication works with json files without
extra tool openssl. Old pk12 files are still supported (still with openssl).
+ Enhancement: Memory usage passed from 5x to 2x of the biggest message
size. Some users do send 700MB messages, imapsync needed 3.5 GB of RAM,
now it crunches only 1.4 GB, a more common RAM value available on small hosts.
+ Enhancement: Added option --inet4 to force ipv4 in ssl and tls modes.
Useful with Gmail and Office365 when ipv6 is disable on the imapsync
host but not ipv6 resolution.
+ Enhancement: Reconnect to imap servers with a Ctrl-c. Exit with
two Ctrl-c within one second or one Ctrl-\
+ Enhancement: Copy is not done when one --pipemess command ends
with an empty message generated.
+ Enhancement: STDERR of --pipemess commands are reported on STDOUT
and in the logfile (they were ignored before).
+ Enhancement:
+ Dependency: Added Perl module dependency of Readonly to transform
hard coded magic numbers into names. Mandatory module.
+ Dependency: Added Perl module dependency of Test::MockObject for some
tests. Only a "require" for now.
+ Security: In CGI mode, remove all content in the unsafe "eval"uated
options (--regextrans2 --regexflag --regexmess --skipmess --pipemess
--delete2foldersonly --delete2foldersbutnot). Consider these options
not available in CGI mode.
+ Bug fix: Fixed -1 wrong output in statistics for big accounts
(%d => %s) in printf.
+ Bug fix: Uncommented call to $test_builder->reset( ) Don't know why
it was commented but it was bad for knowing tests go wrong.
+ Bug fix: Check connected state in sub create_folder().
Avoid multiple useless failures.
+ Refactoring: Wrote Perl package Imapsync::Getopt::Long to handle CGI requests
like command line options. Started as a copy of Luke Ross Getopt::Long::CGI
+ Refactoring: Perlcritic cleanup 627 violations of CodeLayout::ProhibitTrailingWhitespace.
+ Refactoring: Perlcritic cleanup 60 Double-sigil dereferences.
+ Refactoring: Perlcritic cleanup 458 ValuesAndExpressions::ProhibitInterpolationOfLiterals.
"Useless interpolation of literal string"
+ Refactoring: Perlcritic cleanup 420 CodeLayout::ProhibitParensWithBuiltins.
"Builtin function called with parentheses". (Severity: 1).
+ Refactoring: Perlcritic cleanup, various small advices.
+ Refactoring: Replaced print by myprint, printf by myprintf, sprinf by
mysprintf. Will ease --quiet mode and general output handling.
1.684 Small changes, bugfixes
+ Bug fix: Imapsync.exe updated to Mail-IMAPClient-3.38 (3.37 had a bug with
credentials containing special characters)
+ Usability: Added inline help about "use --noexpungeaftereach to speed up"
if --delete is used.
+ Usability: Added --sslargs1 in documentation, usage option list.
+ Bug fix: No more warning about "Use of uninitialized value $sockargs[7] in
join or string at" in ssl or tls mode. Was due to "'SSL_version' => undef".
+ Bug fix: No more "Can't use an undefined value as a HASH reference at
/usr/bin/imapsync line 1247."
+ Bug fix: Added --expungeaftereach check in sub delete_message_on_host1().
1.678 Improved website! (I hope...)
+ Enhancement: Added --sslargs1 and --sslargs2 to pass any ssl parameter for
host1 or host2 connection. Example: --sslargs1 SSL_verify_mode=1
--sslargs1 SSL_version=SSLv3
+ Enhancement: Added --timeout1 int and --timeout2 int in seconds (--timeout int
still available to set both with the same value)
+ Enhancement: Added --debugssl int. Default is like --debugssl 1
(Only print out errors).
+ Enhancement: Added several polls to know where I shall focus improvements.
+ Usability: Added env_proxy call in sub xoauth2() to read proxy settings from
environment variable http_proxy without using PERL_LWP_ENV_PROXY=1
+ Usability: Wrote TUTORIAL_Unix.
+ Usability: Check f1 folder exists when specified by --f1f2 and warns
when it doesn't
+ Usability: Added --automap --justfolders --dry in imapsync_example.sh
and imapsync_example.bat
+ Bug fix: Added require Encode::Byte to solve "The locale codeset (cp1252)
isn't one that perl can decode" on Win32.
+ Refactoring: Removed --allow3xx option.
+ Refactoring: Continue to move to one global $sync-> in order to reduce number
of parameters in routines.
1.670 Folders mapping made easy with --automap
+ Enhancement: Added option --automap that guesses folders mapping, for folders
like "Sent", "Junk", "Drafts", "All", "Archive", "Flagged".
IMAP Special-Use folders described in rfc6154 are supported and also well
known names for Exchange and common clients.
Automap is turned off by default, to try it a safe method is to use
--automap --justautomap, it will exit early
+ Enhancement: Added --f1f2 str1=str2 : Force folder str1 to be synced to str2.
Option --f1f2 overrides any --automap mapping and any --regextrans2 transformation.
Example --f1f2 Spam=Junk to map Spam folder to Junk.
+ Enhancement: Added --justautomap to exit after seeing what will happen with
--automap and --f1f2 options.
+ Enhancement: Added IMAP4 QUOTA values (RFC 2087) when they are available. A warning
goes up when it's time to find space.
+ Enhancement: Added IMAP4 ID extension.
ID feature is on by default if supported by the IMAP servers, use --noid to turn it off.
ID Infos returned by the imap servers are shown.
Infos sent to the servers are name=imapsync, version=`imapsync --version`, os=$OSNAME`,
vendor='Gilles LAMIRAL' and date=`rcs date of release`.
For github or other distributors you can hack this part by searching $imapsync_id_github
+ Enhancement: Added --logdir path to change the default log directory. Default is LOG_imapsync/
+ Usability: Added folders counting in outputs.
+ Usability: Better output in the login part
+ Usability: Guess prefixes and separators instead of forcing the user to find them.
+ Usability: Output, added Host1: or Host2: at the beginning of lines.
+ Bug fix: SSL_VERIFY_NONE in --ssl and --tls modes
+ Bug fix: Fixed xoauth2 calls. Now XOAUTH2 Works on Windows --authmech1 XOAUTH2
with openssl installed. See FAQ.d/FAQ.XOAUTH2.txt.
+ Bug fix: Fixed IO::Socket::SSL constants issue with latest releases
+ Bug fix: Changed "Host1: checking all wanted folders exist" not efficient algorithm in order
to allow efficiently a 2.4 million folders account. Yes, some accounts have this.
+ Refactoring: Started to use global $sync-> in order to reduce number of parameters in routines.
+ Refactoring: Some perlcritic fixes.
- added perl(Test::MockObject), perl(JSON::WebToken), perl(Readonly)
to BuildRequires
- added perl(JSON::WebToken), perl(Readonly) to Requires
- remove .htaccess from FAQd
- add doc directory to documentation
- remove executable bits from examples, as they need to be
adapted before use anyway
-------------------------------------------------------------------
Wed Nov 18 20:52:11 UTC 2015 - chris@computersalat.de
- update to 1.644
* Added NOOP in --dry mode during fake APPEND.
* Added --fetch_hash_set "1:*" to permit Mail2World success.
* Need a patched Mail::IMAPClient 3.35 in sub fetch_hash()
* See https://rt.cpan.org/Public/Bug/Display.html?id=105456
* Added JSON::WebToken in modules list.
* Replaced imap servers software list by a link to the web list.
* Added option --subfolder2 SUB Move whole host1 folders hierarchy under folder SUB.
* No folders sizes if --justfolders, unless really wanted.
* *** empty log message ***
* No warning about messages when --dry --justfolders together.
- fic deps
* add perl(Test::Pod), perl(IO::Socket::INET6)
- fix License: SUSE-WTFPL-2.0 -> WTFPL
- add missing files to doc
* LICENSE, TUTORIAL.html
- add examples, FAQ.d to doc
-------------------------------------------------------------------
Fri Jul 31 19:30:48 UTC 2015 - lars@linux-schulserver.de
- update to 1.637
+ Bugfix. Win32 regression with long_path_2_prefix test. Was too long.
+ Added errors dump. By default. Use --noerrorsdump to avoid it.
+ Added --errorsmax switch. Default is like --errorsmax 50.
Exit after 50 errors encountered.
+ Changed basic example to a working one with test1.lamiral.info
+ Bugfix. Remove tmp files upon failure as well.
+ IO::Socket::SSL not mandatory. (Sometimes hard to install).
+ Bugfix. SKIP sections for Unix or Windows tests. Removed no_plan.
561 non-regression tests.
+ Added tests_live_result() call at the end of --livetests
+ README part review.
- add recommends:
+ perl(IO::Socket::IP)
+ perl(IO::Socket::SSL)
+ perl(Net::SSLeay)
+ perl(Authen::NTLM)
+ perl(URI::Escape)
+ perl(Data::Uniqid)
+ perl(IO::Socket::SSL)
-------------------------------------------------------------------
Thu Jan 1 22:30:11 UTC 2015 - alexandre@exatati.com.br
- Update to 1.607:
- Please refer to CHANGELOG.
-------------------------------------------------------------------
Fri Nov 8 19:18:00 UTC 2013 - chris@computersalat.de
- update to 1.569
* Fixed bug on Windows with --tmpdir "E:\TEMP". The colon was badly
converted to _, ending with "E_\TEMP".
The fix also automatically moves the old cache to the new one if
the new does not exist yet.
* Fix. Example for --delete2foldersonly "/Junk$/" in help message.
- for more info see ChangeLog file
* http://imapsync.lamiral.info/ChangeLog
-------------------------------------------------------------------
Tue Feb 19 21:07:12 UTC 2013 - chris@computersalat.de
- update to 1.525
* Typo synchronise -> synchronize
- for more info see:
* https://github.com/imapsync/imapsync/blob/imapsync-1.525/ChangeLog
-------------------------------------------------------------------
Thu Jan 17 17:43:19 UTC 2013 - chris@computersalat.de
- update to 1.518
* Bugfix. When identtifying with header, change tabulations to spaces
(Gmail bug on with "Received:" on multilines)
-------------------------------------------------------------------
Tue May 27 20:38:54 CET 2008 - mmahut@fedoraproject.org
- update to version 1.252
* Dependency fix (BZ#447800)
-------------------------------------------------------------------
Thu Apr 10 06:46:01 CET 2008 - mmahut@fedoraproject.org
- Initial version 1.249