aboutsummaryrefslogtreecommitdiffstats
path: root/interimap
Commit message (Collapse)AuthorAgeFiles
* Bug fix: don't delete the lockfile if another instance of interimap is running.Guilhem Moulin2015-09-221
|
* wibbleGuilhem Moulin2015-09-221
|
* Use TCP keepalive to detect dead peers.Guilhem Moulin2015-09-211
|
* Remove support for the Binary Content extension [RFC3516].Guilhem Moulin2015-09-151
| | | | | | | | | | | | | “If the server does not know how to decode the section's CTE, it MUST fail the request and issue a "NO" response that contains the "UNKNOWN-CTE" extended response code.” — [RFC3516 section 4.3] Unfortunately the client doesn't know which message couldn't be decoded, so it can't fallback and use BODY instead. This made ‘use-binary=NO’ pretty much mandatory. Hence we remove support for BINARY [RFC3516]. Instead, we increase the thresold for when to add Zlib full flush points from 4096 to the buffer size (32768).
* Don't catch SIGHUP as it only work during IDLE.Guilhem Moulin2015-09-151
| | | | | Sending any signal while some mails are being copied interrupts the syscall (eg, write) and attempting to resume crashes interimap.
* Pass literals by reference to save memory.Guilhem Moulin2015-09-141
|
* Fix detection of boolean options.Guilhem Moulin2015-09-131
|
* Print IMAP traffic stats when receiving a SIGHUP.Guilhem Moulin2015-09-101
|
* Exit with return value 0 when receiving a TERM signal.Guilhem Moulin2015-09-091
|
* Bump version.Guilhem Moulin2015-09-091
|
* Add support for the Binary Content extension [RFC3516].Guilhem Moulin2015-09-091
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unfortunately as of Debian Wheezy it doesn't work for Dovecot with COMPRESS=DEFLATE [RFC4978] and non-synchronizing literals. perl -e 'use Compress::Raw::Zlib; print "a COMPRESS DEFLATE\r\n"; sleep 1; my $d = new Compress::Raw::Zlib::Deflate( -WindowBits => -15 ); $d->deflate("b APPEND TRASH ~{1+}\r\nx\r\n", my $buf); print $buf; $d->flush($buf, Z_SYNC_FLUSH); print $buf; sleep 1; ' | /usr/lib/dovecot/imap imap(guilhem): Panic: stream doesn't support seeking backwards Interestingly, it works just fine for non-binary literals: perl -e 'use Compress::Raw::Zlib; print "a COMPRESS DEFLATE\r\n"; sleep 1; my $d = new Compress::Raw::Zlib::Deflate( -WindowBits => -15 ); $d->deflate("b APPEND TRASH {1+}\r\nx\r\n", my $buf); print $buf; $d->flush($buf, Z_SYNC_FLUSH); print $buf; sleep 1; ' | /usr/lib/dovecot/imap However I can't reproduce the problem Dovecot 2.2.18 and Debian Sid (but it doesn't help to install Dovecot from testing to my Wheezy box.)
* Add support for the IMAP COMPRESS extension [RFC4978].Guilhem Moulin2015-09-091
| | | | | Also, add traffic statistics after closing the connection to the IMAP server.
* wibbleupstream/0.1Guilhem Moulin2015-09-081
|
* Add an option --watch to keep the connections open and wait for changes.Guilhem Moulin2015-09-081
|
* wibbleGuilhem Moulin2015-09-081
|
* Block SIGINT signals to the children for type=tunnel.Guilhem Moulin2015-09-081
| | | | So we can clean after us (and for instance remove the lockfile).
* Rename ‘imapsync’ to ‘interimap’.Guilhem Moulin2015-09-071
To avoid confusion with http://imapsync.lamiral.info .