From noreply at github.com Fri Apr 1 11:29:07 2016 From: noreply at github.com (GitHub) Date: Fri, 01 Apr 2016 04:29:07 -0700 Subject: [dovecot/core] 4adefd: quota: Fix NetBSD build. Message-ID: <56fe5b8362ee7_1d883f8d1ec6d2bc76559@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 4adefdb40c7ffcac3d8f8279cdf52d9f72d39636 https://github.com/dovecot/core/commit/4adefdb40c7ffcac3d8f8279cdf52d9f72d39636 Author: Teemu Huovila Date: 2016-03-31 (Thu, 31 Mar 2016) Changed paths: M src/plugins/quota/quota-fs.c Log Message: ----------- quota: Fix NetBSD build. From noreply at github.com Mon Apr 4 06:08:07 2016 From: noreply at github.com (GitHub) Date: Sun, 03 Apr 2016 23:08:07 -0700 Subject: [dovecot/core] d17a99: istream-unix: Fixed handling of EOF from fd_read()... Message-ID: <570204c721d_78df3fa7d5fef29c617cc@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: d17a99d9e1c314333d0118228ebb02ee9d60b4f1 https://github.com/dovecot/core/commit/d17a99d9e1c314333d0118228ebb02ee9d60b4f1 Author: Stephan Bosch Date: 2016-04-03 (Sun, 03 Apr 2016) Changed paths: M src/lib/istream-unix.c Log Message: ----------- istream-unix: Fixed handling of EOF from fd_read() (ret==0). This situation was ignored. From noreply at github.com Mon Apr 4 08:12:07 2016 From: noreply at github.com (GitHub) Date: Mon, 04 Apr 2016 01:12:07 -0700 Subject: [dovecot/core] 05e8b3: lib: Updated fdpass.h comments. Message-ID: <570221d732e3a_22ba3f84b51432b810679f@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 05e8b3e275488cabf9a692dd13f167d1370647d9 https://github.com/dovecot/core/commit/05e8b3e275488cabf9a692dd13f167d1370647d9 Author: Timo Sirainen Date: 2016-04-04 (Mon, 04 Apr 2016) Changed paths: M src/lib/fdpass.h Log Message: ----------- lib: Updated fdpass.h comments. From noreply at github.com Mon Apr 4 09:24:09 2016 From: noreply at github.com (GitHub) Date: Mon, 04 Apr 2016 02:24:09 -0700 Subject: [dovecot/core] 6fbc1a: lib-storage: FS layout assert-crashed when trying ... Message-ID: <570232b96d69d_6893fc69b2d92bc988ac@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 6fbc1a22599860c486f914e99e0cd7ccce6a2c33 https://github.com/dovecot/core/commit/6fbc1a22599860c486f914e99e0cd7ccce6a2c33 Author: Timo Sirainen Date: 2016-04-04 (Mon, 04 Apr 2016) Changed paths: M src/lib-storage/list/mailbox-list-fs-iter.c Log Message: ----------- lib-storage: FS layout assert-crashed when trying to list with invalid UTF8 pattern From noreply at github.com Tue Apr 5 10:51:07 2016 From: noreply at github.com (GitHub) Date: Tue, 05 Apr 2016 03:51:07 -0700 Subject: [dovecot/core] 76537b: doveadm-proxy: Change to work with doveadm ver2 Message-ID: <5703989bdec7a_54473f9c10b452bc647ad@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 76537b1991e7815c7a867a997f7fa2b3c17412d4 https://github.com/dovecot/core/commit/76537b1991e7815c7a867a997f7fa2b3c17412d4 Author: Aki Tuomi Date: 2016-04-05 (Tue, 05 Apr 2016) Changed paths: M src/doveadm/doveadm-proxy.c Log Message: ----------- doveadm-proxy: Change to work with doveadm ver2 From noreply at github.com Tue Apr 5 13:28:07 2016 From: noreply at github.com (GitHub) Date: Tue, 05 Apr 2016 06:28:07 -0700 Subject: [dovecot/core] dca615: fts-tika: Don't crash on 500 errors (caused by 146... Message-ID: <5703bd675c7f4_7e833fb8a88d52c0958fb@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: dca6152ae37045a2cb4f5d06e7849869e4244da5 https://github.com/dovecot/core/commit/dca6152ae37045a2cb4f5d06e7849869e4244da5 Author: Timo Sirainen Date: 2016-04-05 (Tue, 05 Apr 2016) Changed paths: M src/plugins/fts/fts-parser-tika.c Log Message: ----------- fts-tika: Don't crash on 500 errors (caused by 146f6f85d) http_req=NULL here set by http_client_request_send_payload(). Even if it wasn't, the payload wouldn't be there. From noreply at github.com Tue Apr 5 17:06:07 2016 From: noreply at github.com (GitHub) Date: Tue, 05 Apr 2016 10:06:07 -0700 Subject: [dovecot/core] e82efb: imapc: If we get disconnected during SELECT/EXAMIN... Message-ID: <5703f07f8a033_1f73f834b19d29c10936@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: e82efb347c91c199218e41065c2acb3464247b1a https://github.com/dovecot/core/commit/e82efb347c91c199218e41065c2acb3464247b1a Author: Timo Sirainen Date: 2016-04-05 (Tue, 05 Apr 2016) Changed paths: M src/lib-imap-client/imapc-client.c M src/lib-storage/index/imapc/imapc-storage.c Log Message: ----------- imapc: If we get disconnected during SELECT/EXAMINE, retry it once. This seems to be happening especially with dsync migrations from IMAP servers with small timeouts. The initial dsync run opens imapc connection early to do a LIST + SELECT the first mailbox, but then dsync may spend a while creating all the local mailboxes before it continues using the imapc connection. From noreply at github.com Tue Apr 5 19:39:38 2016 From: noreply at github.com (GitHub) Date: Tue, 05 Apr 2016 12:39:38 -0700 Subject: [dovecot/pigeonhole] 136c5b: test suite: Added some more ihave-related extensio... Message-ID: <5704147ab5c5d_37dc3fc01e44f2a010731d@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: 136c5b180ae26a147ac8b0ac0efae1f90cd5a070 https://github.com/dovecot/pigeonhole/commit/136c5b180ae26a147ac8b0ac0efae1f90cd5a070 Author: Stephan Bosch Date: 2016-03-28 (Mon, 28 Mar 2016) Changed paths: M tests/deprecated/imapflags/errors.svtest A tests/deprecated/imapflags/errors/conflict-ihave.sieve A tests/deprecated/imapflags/errors/conflict.sieve R tests/deprecated/imapflags/errors/imapflags.sieve M tests/deprecated/notify/errors.svtest A tests/deprecated/notify/errors/conflict-ihave.sieve A tests/deprecated/notify/errors/conflict.sieve Log Message: ----------- test suite: Added some more ihave-related extension conflict tests. Commit: ebc95b51441e86944f1c1e78b92820d2e1cf1ebc https://github.com/dovecot/pigeonhole/commit/ebc95b51441e86944f1c1e78b92820d2e1cf1ebc Author: Stephan Bosch Date: 2016-04-05 (Tue, 05 Apr 2016) Changed paths: M src/plugins/imapsieve/imap-sieve-storage.c Log Message: ----------- imapsieve plugin: storage: Forgot to free mailbox when there are no Sieve scripts. Commit: 0a191d4b5636bb5e3f0ceb84fff89be25026987b https://github.com/dovecot/pigeonhole/commit/0a191d4b5636bb5e3f0ceb84fff89be25026987b Author: Stephan Bosch Date: 2016-04-05 (Tue, 05 Apr 2016) Changed paths: M src/lib-sieve/sieve-message.c Log Message: ----------- lib-sieve: Make sure that an absent envelope does not cause segfaults. Futher changes are needed to prevent accessing the envelope in the first place. Commit: 2591cd159793410af78ffd91471ed9ca8d982b68 https://github.com/dovecot/pigeonhole/commit/2591cd159793410af78ffd91471ed9ca8d982b68 Author: Stephan Bosch Date: 2016-04-05 (Tue, 05 Apr 2016) Changed paths: M doc/man/sieve-dump.1.in M doc/man/sieve-filter.1.in M doc/man/sieve-test.1.in M doc/man/sievec.1.in Log Message: ----------- doc/man: The -u and -o options were undocumented for the sieve* tools. Commit: 684aa242f987ced42485422edb51f8690bb314fe https://github.com/dovecot/pigeonhole/commit/684aa242f987ced42485422edb51f8690bb314fe Author: Stephan Bosch Date: 2016-04-05 (Tue, 05 Apr 2016) Changed paths: M doc/example-config/conf.d/90-sieve.conf Log Message: ----------- doc/example-config: Added description for a few generic settings that were only mentioned in the INSTALL file. Compare: https://github.com/dovecot/pigeonhole/compare/cb2f60e31b35...684aa242f987 From noreply at github.com Wed Apr 6 12:27:08 2016 From: noreply at github.com (GitHub) Date: Wed, 06 Apr 2016 05:27:08 -0700 Subject: [dovecot/core] b0b699: doveadm-http: Fix mismatch in authorization Message-ID: <5705009c8eb66_39a93fc8542132a01916d0@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: b0b699954289898ffbbf855d2da9248cd6b5592d https://github.com/dovecot/core/commit/b0b699954289898ffbbf855d2da9248cd6b5592d Author: Aki Tuomi Date: 2016-04-06 (Wed, 06 Apr 2016) Changed paths: M src/doveadm/client-connection-http.c Log Message: ----------- doveadm-http: Fix mismatch in authorization The code advertizes X-Dovecot-API in WWW-Authenticate header, but expects X-Doveadm-API in Authorization header. This change makes it expect X-Dovecot-API. From noreply at github.com Wed Apr 6 17:20:10 2016 From: noreply at github.com (GitHub) Date: Wed, 06 Apr 2016 10:20:10 -0700 Subject: [dovecot/core] 2fb829: dict-redis: When timeout was reached, we didn't ac... Message-ID: <5705454a3c998_31523f89b792d29c110796@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 2fb829dc7cc8c61dee925a15e51768a4b82e45da https://github.com/dovecot/core/commit/2fb829dc7cc8c61dee925a15e51768a4b82e45da Author: Timo Sirainen Date: 2016-04-06 (Wed, 06 Apr 2016) Changed paths: M src/lib-dict/dict-redis.c Log Message: ----------- dict-redis: When timeout was reached, we didn't actually stop but just continued waiting. From noreply at github.com Wed Apr 6 19:15:08 2016 From: noreply at github.com (GitHub) Date: Wed, 06 Apr 2016 12:15:08 -0700 Subject: [dovecot/core] eba17e: doveadm: Reverted 7a3b52b8f - doveadm sync -1 -R i... Message-ID: <5705603caba72_37f23f9890eb72c0116159@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: eba17ecf3a70c10010cd893f3c1a0c1ddd9c5bc0 https://github.com/dovecot/core/commit/eba17ecf3a70c10010cd893f3c1a0c1ddd9c5bc0 Author: Timo Sirainen Date: 2016-04-06 (Wed, 06 Apr 2016) Changed paths: M src/doveadm/doveadm-dsync.c Log Message: ----------- doveadm: Reverted 7a3b52b8f - doveadm sync -1 -R is useful. Commit: 53c42948d25b1593c1d16a71799c0ffe8d80aa79 https://github.com/dovecot/core/commit/53c42948d25b1593c1d16a71799c0ffe8d80aa79 Author: Timo Sirainen Date: 2016-04-06 (Wed, 06 Apr 2016) Changed paths: M src/doveadm/doveadm-dsync.c Log Message: ----------- doveadm sync: -R parameter shouldn't switch to "doveadm backup -R" behavior. Just ignore the -R parameter for doveadm sync, unless -1 parameter is also used. Alternatively we could also fail the command, but maybe that's unnecessary extra work. Compare: https://github.com/dovecot/core/compare/2fb829dc7cc8...53c42948d25b From noreply at github.com Wed Apr 6 19:48:07 2016 From: noreply at github.com (GitHub) Date: Wed, 06 Apr 2016 12:48:07 -0700 Subject: [dovecot/core] a50f8b: lmtp: Changed default LMTP proxy timeout to 125 se... Message-ID: <570567f7e1476_49c83f9d22c5f2c0549f1@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: a50f8b9c6196b0f0bb0a7aac3ae9c12b1c42b93b https://github.com/dovecot/core/commit/a50f8b9c6196b0f0bb0a7aac3ae9c12b1c42b93b Author: Timo Sirainen Date: 2016-04-06 (Wed, 06 Apr 2016) Changed paths: M src/lmtp/commands.c Log Message: ----------- lmtp: Changed default LMTP proxy timeout to 125 seconds. The main problem with LMTP proxy timing out too early is that it causes duplicates if the backend actually finishes the mail delivery. The 30 seconds is bad, because there are various timeouts in backend set to 30 seconds also. 125 seconds is hopefully large enough to hit most of the 2 minute timeouts and we'll have a few extra seconds left to see the failure. From noreply at github.com Thu Apr 7 02:32:20 2016 From: noreply at github.com (GitHub) Date: Wed, 06 Apr 2016 19:32:20 -0700 Subject: [dovecot/pigeonhole] f95bab: lib-sieve: Implemented support for writing runtime... Message-ID: <5705c6b491040_79993f92ecd672c01795d3@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: f95bab5c40f35da6a2edf54ce467414f1f5866bd https://github.com/dovecot/pigeonhole/commit/f95bab5c40f35da6a2edf54ce467414f1f5866bd Author: Stephan Bosch Date: 2016-04-06 (Wed, 06 Apr 2016) Changed paths: M src/lib-sieve/sieve-common.h M src/lib-sieve/sieve-interpreter.c M src/lib-sieve/sieve-runtime-trace.c M src/lib-sieve/sieve-runtime-trace.h M src/lib-sieve/sieve-types.h M src/lib-sieve/sieve.c M src/lib-sieve/sieve.h M src/sieve-tools/sieve-test.c M src/testsuite/testsuite-script.c M src/testsuite/testsuite.c Log Message: ----------- lib-sieve: Implemented support for writing runtime trace output to a directory if it exists, much like Dovecot rawlog. Commit: ee860f97ce3791d7cf7377fd8b6e9ef4ed7e364f https://github.com/dovecot/pigeonhole/commit/ee860f97ce3791d7cf7377fd8b6e9ef4ed7e364f Author: Stephan Bosch Date: 2016-04-06 (Wed, 06 Apr 2016) Changed paths: M src/lib-sieve/sieve.c M src/lib-sieve/sieve.h M src/plugins/imapsieve/imap-sieve.c M src/plugins/lda-sieve/lda-sieve-plugin.c Log Message: ----------- lib-sieve: Moved the algorithm for determining the user log file path to lib-sieve. This was duplicated between the lda-sieve and imapsieve plugins. Commit: 228855fcb0d22f95c6b6e9e85a28205d584d033a https://github.com/dovecot/pigeonhole/commit/228855fcb0d22f95c6b6e9e85a28205d584d033a Author: Stephan Bosch Date: 2016-04-06 (Wed, 06 Apr 2016) Changed paths: M src/lib-sieve/sieve-commands.h Log Message: ----------- lib-sieve: Made command and argument error macros accept NULL for commands and arguments. Commit: 905f66a3884efc64c3b0625360b1a531e5e4eae5 https://github.com/dovecot/pigeonhole/commit/905f66a3884efc64c3b0625360b1a531e5e4eae5 Author: Stephan Bosch Date: 2016-04-06 (Wed, 06 Apr 2016) Changed paths: M src/lib-sieve/plugins/imap4flags/ext-imapflags.c M src/lib-sieve/plugins/notify/ext-notify.c M src/lib-sieve/sieve-validator.c M tests/deprecated/notify/errors.svtest M tests/deprecated/notify/errors/conflict-ihave.sieve Log Message: ----------- lib-sieve: Fixed crashes in extension conflict checking. Registering conflicting commands before conflicts are checked is a bad idea. Make sure conflicting extensions are not part of remaining validation process. Commit: 6a8f7bdfeabd8f0049ded84d8d8bacd67ae4a1f3 https://github.com/dovecot/pigeonhole/commit/6a8f7bdfeabd8f0049ded84d8d8bacd67ae4a1f3 Author: Stephan Bosch Date: 2016-04-07 (Thu, 07 Apr 2016) Changed paths: M src/lib-sieve/sieve-types.h M src/lib-sieve/sieve.c M src/lib-sieve/sieve.h Log Message: ----------- lib-sieve: Implemented utility functions for configuring runtime trace logging. Commit: 8b51e7c11e59fd433daf09b078abf3c4570bef6e https://github.com/dovecot/pigeonhole/commit/8b51e7c11e59fd433daf09b078abf3c4570bef6e Author: Stephan Bosch Date: 2016-04-07 (Thu, 07 Apr 2016) Changed paths: M src/lib-sieve/sieve.c M src/lib-sieve/sieve.h Log Message: ----------- lib-sieve: trace logging: Added optional file name label. This way, imapsieve can show to which user.mailbox.uid the trace applies. Commit: c934cc4216b07b24599face08bdd99e02f6a8dad https://github.com/dovecot/pigeonhole/commit/c934cc4216b07b24599face08bdd99e02f6a8dad Author: Stephan Bosch Date: 2016-04-07 (Thu, 07 Apr 2016) Changed paths: M src/plugins/lda-sieve/lda-sieve-plugin.c Log Message: ----------- lda-sieve plugin: Added trace logging support. Commit: bb4b299e35efdfd23ee2ae41739eb3d32319aa61 https://github.com/dovecot/pigeonhole/commit/bb4b299e35efdfd23ee2ae41739eb3d32319aa61 Author: Stephan Bosch Date: 2016-04-07 (Thu, 07 Apr 2016) Changed paths: M src/plugins/imapsieve/imap-sieve.c Log Message: ----------- imapsieve plugin: Added trace logging support. Commit: cd05a404cdb7290631f23bb3bc827b84f38cf28a https://github.com/dovecot/pigeonhole/commit/cd05a404cdb7290631f23bb3bc827b84f38cf28a Author: Stephan Bosch Date: 2016-04-07 (Thu, 07 Apr 2016) Changed paths: M INSTALL M doc/example-config/conf.d/90-sieve.conf Log Message: ----------- Documented new trace debugging features. Compare: https://github.com/dovecot/pigeonhole/compare/684aa242f987...cd05a404cdb7 From noreply at github.com Thu Apr 7 13:31:08 2016 From: noreply at github.com (GitHub) Date: Thu, 07 Apr 2016 06:31:08 -0700 Subject: [dovecot/core] 6cb874: lib-storage: Changed separator between session_id_... Message-ID: <5706611c885ca_3b563fbdd4e832b814415d@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 6cb874b7e9239922e509fc91c0567cd266904a4c https://github.com/dovecot/core/commit/6cb874b7e9239922e509fc91c0567cd266904a4c Author: Timo Sirainen Date: 2016-04-07 (Thu, 07 Apr 2016) Changed paths: M src/lib-storage/mail-storage-service.c Log Message: ----------- lib-storage: Changed separator between session_id_prefix and unique part to be ':' Although '-' wasn't used by default either, it's much more likely that custom session IDs might contain it. ':' is hopefully less likely to be used. This allows log parsers that actually want to find out the original session's all log lines to cut out everything after the initial ':'. Commit: aeea3dbd1f4031634f7b318614adf51dcfc79f42 https://github.com/dovecot/core/commit/aeea3dbd1f4031634f7b318614adf51dcfc79f42 Author: Timo Sirainen Date: 2016-04-07 (Thu, 07 Apr 2016) Changed paths: M src/lmtp/client.h M src/lmtp/commands.c Log Message: ----------- lmtp: Use separate session ID suffixes for each RCPT TO delivery. Otherwise each delivery will use the same session ID when talking to stats process, which results in errors like: Error: stats: FIFO input error: CONNECT: Duplicate session ID ME3ZHCi+A1dUDQAAvAUe3g for user foobar service lmtp Warning: stats: Couldn't find session ID: ME3ZHCi+A1dUDQAAvAUe3g (There was a DISCONNECT for the session ID between these two log lines.) Compare: https://github.com/dovecot/core/compare/a50f8b9c6196...aeea3dbd1f40 From noreply at github.com Thu Apr 7 13:38:08 2016 From: noreply at github.com (GitHub) Date: Thu, 07 Apr 2016 06:38:08 -0700 Subject: [dovecot/core] 9f41af: lib-master: Preserve LOG_STDERR_TIMESTAMP environm... Message-ID: <570662c012f0b_7bfd3f8333c712bc10611b@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 9f41af1f09df00977a598008a15672dbdc2c3b72 https://github.com/dovecot/core/commit/9f41af1f09df00977a598008a15672dbdc2c3b72 Author: Timo Sirainen Date: 2016-04-07 (Thu, 07 Apr 2016) Changed paths: M src/lib-master/master-service-settings.c Log Message: ----------- lib-master: Preserve LOG_STDERR_TIMESTAMP environment through doveconf exec. This should be needed only for standalone programs, so don't bother trying to preserve it otherwise. From noreply at github.com Thu Apr 7 14:55:18 2016 From: noreply at github.com (GitHub) Date: Thu, 07 Apr 2016 07:55:18 -0700 Subject: [dovecot/pigeonhole] 4e27a1: Fix segfault bug caused by earlier trace log chang... Message-ID: <570674d6f0720_274d3fd77841d2c07627@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: 4e27a1275a060cb7db864a25bede84e379b11cce https://github.com/dovecot/pigeonhole/commit/4e27a1275a060cb7db864a25bede84e379b11cce Author: Stephan Bosch Date: 2016-04-07 (Thu, 07 Apr 2016) Changed paths: M src/plugins/imapsieve/imap-sieve.c M src/plugins/lda-sieve/lda-sieve-plugin.c Log Message: ----------- Fix segfault bug caused by earlier trace log changes. Trace_log variable was not initialized. From noreply at github.com Thu Apr 7 19:31:56 2016 From: noreply at github.com (GitHub) Date: Thu, 07 Apr 2016 12:31:56 -0700 Subject: [dovecot/pigeonhole] dee854: Allow X-Original-To for address test Message-ID: <5706b5aca1ecb_439f3f8f76ecb2c01710f3@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: dee854edc62d93df8d278047a99d4c1bc43ebc3b https://github.com/dovecot/pigeonhole/commit/dee854edc62d93df8d278047a99d4c1bc43ebc3b Author: Sebastian Date: 2016-03-21 (Mon, 21 Mar 2016) Changed paths: M src/lib-sieve/tst-address.c Log Message: ----------- Allow X-Original-To for address test Commit: 7627b9f253bb4029169ef10d1ab7066e7ff22276 https://github.com/dovecot/pigeonhole/commit/7627b9f253bb4029169ef10d1ab7066e7ff22276 Author: Stephan Bosch Date: 2016-04-07 (Thu, 07 Apr 2016) Changed paths: M src/lib-sieve/tst-address.c Log Message: ----------- Merge pull request #1 from sebix/x-original-to lib-sieve: Allow X-Original-To header for the address test. Compare: https://github.com/dovecot/pigeonhole/compare/4e27a1275a06...7627b9f253bb From noreply at github.com Fri Apr 8 11:04:07 2016 From: noreply at github.com (GitHub) Date: Fri, 08 Apr 2016 04:04:07 -0700 Subject: [dovecot/core] e3367d: virtual plugin: struct mail_vfuncs.close() wasn't ... Message-ID: <570790277c05_25263fbcb70e52a0606c7@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: e3367d7b54864d2e4b1931903e3f660ae64fbe3a https://github.com/dovecot/core/commit/e3367d7b54864d2e4b1931903e3f660ae64fbe3a Author: Timo Sirainen Date: 2016-04-08 (Fri, 08 Apr 2016) Changed paths: M src/plugins/virtual/virtual-mail.c Log Message: ----------- virtual plugin: struct mail_vfuncs.close() wasn't implemented. This wasn't a problem normally, because the core code wouldn't try to call this. It became a problem only after other plugins were trying to call it. From noreply at github.com Sat Apr 9 20:33:07 2016 From: noreply at github.com (GitHub) Date: Sat, 09 Apr 2016 13:33:07 -0700 Subject: [dovecot/pigeonhole] dba245: lib-sieve: Made parsing of explicit address for ma... Message-ID: <57096703aa406_5f0c3fb0975b92bc96296@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: dba245c0df3f13758b1e9a8d4bd9a8298bf0f688 https://github.com/dovecot/pigeonhole/commit/dba245c0df3f13758b1e9a8d4bd9a8298bf0f688 Author: Stephan Bosch Date: 2016-04-09 (Sat, 09 Apr 2016) Changed paths: M src/lib-sieve/cmd-redirect.c M src/lib-sieve/plugins/enotify/mailto/ntfy-mailto.c M src/lib-sieve/sieve-common.h M src/lib-sieve/sieve-settings.c Log Message: ----------- lib-sieve: Made parsing of explicit address for mail sender setting check the address syntax. Commit: 2e3f99c49e4cfcd33d2223afff95c979091f0827 https://github.com/dovecot/pigeonhole/commit/2e3f99c49e4cfcd33d2223afff95c979091f0827 Author: Stephan Bosch Date: 2016-04-09 (Sat, 09 Apr 2016) Changed paths: M Makefile.am M src/lib-sieve/sieve-address.c M src/lib-sieve/sieve-address.h A tests/execute/address-normalize.svtest Log Message: ----------- lib-sieve: Made sure local part of a mail address is encoded properly using quoted string when it is not a dot-atom. Commit: 35f31bfc047c4620a8b6815070300ffa88f7fa33 https://github.com/dovecot/pigeonhole/commit/35f31bfc047c4620a8b6815070300ffa88f7fa33 Author: Stephan Bosch Date: 2016-04-09 (Sat, 09 Apr 2016) Changed paths: M README Log Message: ----------- Updated README file regarding implementation status of IMAPSIEVE. Commit: 674376cdd0af039bc1f3cdaa418eaedc38de95ea https://github.com/dovecot/pigeonhole/commit/674376cdd0af039bc1f3cdaa418eaedc38de95ea Author: Stephan Bosch Date: 2016-04-09 (Sat, 09 Apr 2016) Changed paths: M src/lib-sieve/Makefile.am M src/lib-sieve/cmd-redirect.c M src/lib-sieve/plugins/enotify/mailto/ntfy-mailto.c M src/lib-sieve/sieve-actions.c A src/lib-sieve/sieve-address-source.c A src/lib-sieve/sieve-address-source.h M src/lib-sieve/sieve-common.h M src/lib-sieve/sieve-settings.c M src/lib-sieve/sieve-settings.h Log Message: ----------- lib-sieve: Created sieve_address_source for common handling of address configuration. Commit: a3e2ad32a836407d18b3a4825c4d507c2055c3c4 https://github.com/dovecot/pigeonhole/commit/a3e2ad32a836407d18b3a4825c4d507c2055c3c4 Author: Stephan Bosch Date: 2016-04-09 (Sat, 09 Apr 2016) Changed paths: M src/lib-sieve/cmd-redirect.c M src/lib-sieve/plugins/enotify/mailto/ntfy-mailto.c M src/lib-sieve/sieve-address-source.c M src/lib-sieve/sieve-address-source.h M src/lib-sieve/sieve-common.h Log Message: ----------- lib-sieve: Moved resolution of sender address source to common location. Commit: 3971377456c5e87c8bd6b5d66c8ac3a8e02394fa https://github.com/dovecot/pigeonhole/commit/3971377456c5e87c8bd6b5d66c8ac3a8e02394fa Author: Stephan Bosch Date: 2016-04-09 (Sat, 09 Apr 2016) Changed paths: M src/lib-sieve/cmd-redirect.c M src/lib-sieve/plugins/enotify/cmd-notify.c M src/lib-sieve/plugins/enotify/mailto/ntfy-mailto.c M src/lib-sieve/plugins/enotify/sieve-ext-enotify.h M src/lib-sieve/sieve-address-source.c M src/lib-sieve/sieve-address-source.h Log Message: ----------- lib-sieve: Made redirect and enotify/mailto handle the absence of an envelope properly. Commit: 2e67f041cdd0104f1695015763366b6d18558bcb https://github.com/dovecot/pigeonhole/commit/2e67f041cdd0104f1695015763366b6d18558bcb Author: Stephan Bosch Date: 2016-04-09 (Sat, 09 Apr 2016) Changed paths: M src/lib-sieve/sieve-address-source.c Log Message: ----------- lib-sieve: sieve-address-source: Fixed result initialization. Used wrong type in sizeof(). Commit: 0bcd59d75dadd14d82ccf278f424f735d7587cd7 https://github.com/dovecot/pigeonhole/commit/0bcd59d75dadd14d82ccf278f424f735d7587cd7 Author: Stephan Bosch Date: 2016-04-09 (Sat, 09 Apr 2016) Changed paths: M INSTALL M doc/example-config/conf.d/90-sieve.conf M src/lib-sieve/cmd-redirect.c M src/lib-sieve/plugins/enotify/mailto/ntfy-mailto.c M src/lib-sieve/sieve-address-source.c M src/lib-sieve/sieve-address-source.h M src/lib-sieve/sieve-common.h M src/lib-sieve/sieve-settings.c M tests/execute/smtp.svtest M tests/extensions/enotify/mailto.svtest Log Message: ----------- lib-sieve: Added a "sieve_user_email" setting that configures the user's primary email address. This is used mainly when no other means of obtaining the user's email is available, such as when there is no envelope (in IMAP). Before, the postmaster address or the null "<>" address was used as a fallback for sending messages. The redirect and enotify commands can be explicitly configured to use what is configured with sieve_user_email. Commit: 6015613a19e89defb8c3f66e100d0c17909f8eaa https://github.com/dovecot/pigeonhole/commit/6015613a19e89defb8c3f66e100d0c17909f8eaa Author: Stephan Bosch Date: 2016-04-09 (Sat, 09 Apr 2016) Changed paths: M src/lib-sieve/plugins/enotify/mailto/ntfy-mailto.c Log Message: ----------- lib-sieve: enotify: mailto: Sending a notification still partly depended on having an envelope available. Compare: https://github.com/dovecot/pigeonhole/compare/7627b9f253bb...6015613a19e8 From noreply at github.com Sun Apr 10 01:42:34 2016 From: noreply at github.com (GitHub) Date: Sat, 09 Apr 2016 18:42:34 -0700 Subject: [dovecot/pigeonhole] 04d86b: lib-sieve: vnd.dovecot.report extension: Made the ... Message-ID: <5709af8a7fe70_56903f8a920672bc336f@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: 04d86b2f708bb066d3cb0963665a63f68045e130 https://github.com/dovecot/pigeonhole/commit/04d86b2f708bb066d3cb0963665a63f68045e130 Author: Stephan Bosch Date: 2016-04-09 (Sat, 09 Apr 2016) Changed paths: M src/lib-sieve/plugins/vnd.dovecot/report/cmd-report.c Log Message: ----------- lib-sieve: vnd.dovecot.report extension: Made the report action behave correctly when there is no envelope. Commit: 215349a404c0dce942ef7d642de01d51f43c7367 https://github.com/dovecot/pigeonhole/commit/215349a404c0dce942ef7d642de01d51f43c7367 Author: Stephan Bosch Date: 2016-04-10 (Sun, 10 Apr 2016) Changed paths: M src/lib-sieve/plugins/notify/cmd-notify.c Log Message: ----------- lib-sieve: deprecated notify: Removed dependencies on availability of message envelope. Compare: https://github.com/dovecot/pigeonhole/compare/6015613a19e8...215349a404c0 From noreply at github.com Sun Apr 10 11:58:08 2016 From: noreply at github.com (GitHub) Date: Sun, 10 Apr 2016 04:58:08 -0700 Subject: [dovecot/core] 9a6903: lib-master: Fixed memory leaks when failing to rea... Message-ID: <570a3fd09677d_48383fd446ee72bc1054c2@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 9a69030b126fca4d8785e4517c104b2fc3512f03 https://github.com/dovecot/core/commit/9a69030b126fca4d8785e4517c104b2fc3512f03 Author: Timo Sirainen Date: 2016-04-10 (Sun, 10 Apr 2016) Changed paths: M src/lib-master/master-service-settings.c Log Message: ----------- lib-master: Fixed memory leaks when failing to read settings. From noreply at github.com Mon Apr 11 08:50:09 2016 From: noreply at github.com (GitHub) Date: Mon, 11 Apr 2016 01:50:09 -0700 Subject: [dovecot/core] 844129: lib-ldap: Add lib-ldap implementation Message-ID: <570b6541e9476_7a6d3f8bff7692b83871a@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 844129da33797fba15314372a0dfab4cfe8162e8 https://github.com/dovecot/core/commit/844129da33797fba15314372a0dfab4cfe8162e8 Author: Aki Tuomi Date: 2016-04-11 (Mon, 11 Apr 2016) Changed paths: A src/lib-ldap/Makefile.am A src/lib-ldap/ldap-client.c A src/lib-ldap/ldap-client.h A src/lib-ldap/ldap-compare.c A src/lib-ldap/ldap-connection.c A src/lib-ldap/ldap-entry.c A src/lib-ldap/ldap-iterator.c A src/lib-ldap/ldap-private.h A src/lib-ldap/ldap-search.c Log Message: ----------- lib-ldap: Add lib-ldap implementation Commit: b4c47b77878eb0eaaeb1e377de936a77fad4d144 https://github.com/dovecot/core/commit/b4c47b77878eb0eaaeb1e377de936a77fad4d144 Author: Aki Tuomi Date: 2016-04-11 (Mon, 11 Apr 2016) Changed paths: M configure.ac M src/Makefile.am Log Message: ----------- configure: Add lib-ldap Commit: 1af8b31dc5ced4a21808e3df73c81c680606e61b https://github.com/dovecot/core/commit/1af8b31dc5ced4a21808e3df73c81c680606e61b Author: Aki Tuomi Date: 2016-04-11 (Mon, 11 Apr 2016) Changed paths: M src/lib-dict/Makefile.am A src/lib-dict/dict-ldap-settings.c A src/lib-dict/dict-ldap-settings.h A src/lib-dict/dict-ldap.c Log Message: ----------- lib-dict: Add ldap driver Compare: https://github.com/dovecot/core/compare/9a69030b126f...1af8b31dc5ce From noreply at github.com Mon Apr 11 09:26:07 2016 From: noreply at github.com (GitHub) Date: Mon, 11 Apr 2016 02:26:07 -0700 Subject: [dovecot/core] cc5493: dict-ldap: Compiler warning fix Message-ID: <570b6dafe13d4_2adc3fd0826772c0856aa@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: cc5493dc212fc7fba43786bc346f9e25cfe4ddd8 https://github.com/dovecot/core/commit/cc5493dc212fc7fba43786bc346f9e25cfe4ddd8 Author: Timo Sirainen Date: 2016-04-11 (Mon, 11 Apr 2016) Changed paths: M src/lib-dict/dict-ldap.c Log Message: ----------- dict-ldap: Compiler warning fix From noreply at github.com Tue Apr 12 07:52:07 2016 From: noreply at github.com (GitHub) Date: Tue, 12 Apr 2016 00:52:07 -0700 Subject: [dovecot/core] a8f11f: lib-master: Fixed assert-crash when HAProxy aborts... Message-ID: <570ca927e0e95_171c3fbb2d43f29c10429c@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: a8f11f9d8c391577b84a8b42f18f5b4ec0d2adea https://github.com/dovecot/core/commit/a8f11f9d8c391577b84a8b42f18f5b4ec0d2adea Author: Timo Sirainen Date: 2016-04-12 (Tue, 12 Apr 2016) Changed paths: M src/lib-master/master-service-haproxy.c Log Message: ----------- lib-master: Fixed assert-crash when HAProxy aborts connections. close() was called before io_remove(), which resulted in: Panic: epoll_ctl(del, 14) failed: Bad file descriptor From noreply at github.com Tue Apr 12 13:05:10 2016 From: noreply at github.com (GitHub) Date: Tue, 12 Apr 2016 06:05:10 -0700 Subject: [dovecot/core] a1ffc4: lib-http: server: Fixed bug in request reference c... Message-ID: <570cf286aa3e7_430c3f7e927432b8101751@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: a1ffc40b4f729867c209ed02bf42b08a7a5e7ec5 https://github.com/dovecot/core/commit/a1ffc40b4f729867c209ed02bf42b08a7a5e7ec5 Author: Stephan Bosch Date: 2016-04-12 (Tue, 12 Apr 2016) Changed paths: M src/lib-http/http-server-connection.c Log Message: ----------- lib-http: server: Fixed bug in request reference counting caused by earlier fix (390b600a6f7fdb4ccc65950527ee30129f49a6ac). The earlier change erroneously dropped two lines that unreferenced the request object after calling the callback. From noreply at github.com Tue Apr 12 13:07:07 2016 From: noreply at github.com (GitHub) Date: Tue, 12 Apr 2016 06:07:07 -0700 Subject: [dovecot/core] 03af8e: dsync: Don't export header hashes if remote mailbo... Message-ID: <570cf2fba5716_5c153fe7648dd2a0900fc@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 03af8e5325a7b4fec36414ac35949457bc426c0b https://github.com/dovecot/core/commit/03af8e5325a7b4fec36414ac35949457bc426c0b Author: Timo Sirainen Date: 2016-04-12 (Tue, 12 Apr 2016) Changed paths: M src/doveadm/dsync/dsync-brain-mailbox.c M src/doveadm/dsync/dsync-mailbox-export.c M src/doveadm/dsync/dsync-mailbox-export.h Log Message: ----------- dsync: Don't export header hashes if remote mailbox is empty. This avoids doing a lot of work of reading through all mails' headers and hashing them, when the hashes aren't actually going to be used for anything. From noreply at github.com Tue Apr 12 13:09:07 2016 From: noreply at github.com (GitHub) Date: Tue, 12 Apr 2016 06:09:07 -0700 Subject: [dovecot/core] 0e2e52: lib-storage: Fixed error handling for mailbox_list... Message-ID: <570cf373c2093_47ed3ff1873812c0905f7@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 0e2e52670663aa870a606bbb44c6b257f7287b58 https://github.com/dovecot/core/commit/0e2e52670663aa870a606bbb44c6b257f7287b58 Author: Timo Sirainen Date: 2016-04-12 (Tue, 12 Apr 2016) Changed paths: M src/lib-storage/list/mailbox-list-iter.c Log Message: ----------- lib-storage: Fixed error handling for mailbox_list_iter_init_namespaces() If iteration for the first namespace failed, we tried to copy the error string to error_list, which was the same first namespace's list. This caused the error string to be freed while it was being copied, so the end result was that the error became either an empty or garbage string. Commit: 8cd9a1249c3b7fe16150ddae46e1ae0fc639e220 https://github.com/dovecot/core/commit/8cd9a1249c3b7fe16150ddae46e1ae0fc639e220 Author: Timo Sirainen Date: 2016-04-12 (Tue, 12 Apr 2016) Changed paths: M src/lib-imap-client/imapc-connection.c Log Message: ----------- imapc: Code cleanup - Use a common function for checking/logging if we want to reconnect or disconnect Commit: 5ba8e641e1cfe122af4830c82da446bfb41e9946 https://github.com/dovecot/core/commit/5ba8e641e1cfe122af4830c82da446bfb41e9946 Author: Timo Sirainen Date: 2016-04-12 (Tue, 12 Apr 2016) Changed paths: M src/lib-imap-client/imapc-client.c Log Message: ----------- imapc: Code cleanup - imapc_connection_reconnect() is now always called when reconnect is ok. Commit: 5e02162c536e5dd50198828b121f24590a0158bd https://github.com/dovecot/core/commit/5e02162c536e5dd50198828b121f24590a0158bd Author: Timo Sirainen Date: 2016-04-12 (Tue, 12 Apr 2016) Changed paths: M src/lib-imap-client/imapc-connection.c Log Message: ----------- imapc: Fixed checking of whether same IMAP command keeps crashing server. reconnect_command_count was counting only the post-login commands, but we were decreasing it also for pre-login commands. This caused it to shrink to 0 too early. Commit: b60daa2dcb94b129a25ab5b42a2c6b6748c781aa https://github.com/dovecot/core/commit/b60daa2dcb94b129a25ab5b42a2c6b6748c781aa Author: Timo Sirainen Date: 2016-04-12 (Tue, 12 Apr 2016) Changed paths: M src/lib-imap-client/imapc-client.c M src/lib-imap-client/imapc-connection.c M src/lib-imap-client/imapc-connection.h Log Message: ----------- imapc: Prepare for non-mailbox command retrying: Set reconnect_command_count earlier This probably doesn't fix itself anything yet, but is needed for the following changes. Commit: 3153bce79e1260a13796d7471597b6360b2da0d1 https://github.com/dovecot/core/commit/3153bce79e1260a13796d7471597b6360b2da0d1 Author: Timo Sirainen Date: 2016-04-12 (Tue, 12 Apr 2016) Changed paths: M src/lib-imap-client/imapc-connection.c Log Message: ----------- imapc: Support retrying for non-mailbox commands. Commit: 1e85b60d6b89f5c0f195a6ffe84eacbc5d5cd5fa https://github.com/dovecot/core/commit/1e85b60d6b89f5c0f195a6ffe84eacbc5d5cd5fa Author: Timo Sirainen Date: 2016-04-12 (Tue, 12 Apr 2016) Changed paths: M src/lib-imap-client/imapc-connection.c Log Message: ----------- imapc: Support retrying after connect/authentication timeouts. Commit: e4020d174b147924a279a3b608e0223a2c234c2b https://github.com/dovecot/core/commit/e4020d174b147924a279a3b608e0223a2c234c2b Author: Timo Sirainen Date: 2016-04-12 (Tue, 12 Apr 2016) Changed paths: M src/lib-imap-client/imapc-connection.c M src/lib-imap-client/imapc-connection.h Log Message: ----------- imapc: Support retrying after connect() failure. Commit: e74f4afdd0cdeeb9a5cebd7973dfc9adbe6cb426 https://github.com/dovecot/core/commit/e74f4afdd0cdeeb9a5cebd7973dfc9adbe6cb426 Author: Timo Sirainen Date: 2016-04-12 (Tue, 12 Apr 2016) Changed paths: M src/lib-storage/index/imapc/imapc-storage.c Log Message: ----------- imapc: Fixed mailbox_exists() error handling. Commit: 2a7a7f69b2b2d22b2dbca60917accabddd252255 https://github.com/dovecot/core/commit/2a7a7f69b2b2d22b2dbca60917accabddd252255 Author: Timo Sirainen Date: 2016-04-12 (Tue, 12 Apr 2016) Changed paths: M src/lib-storage/index/imapc/imapc-list.c Log Message: ----------- imapc: Added missing error handling to subscriptions list refreshing. Commit: 461bcfc20fb32b086b83a38e4aa7f1e5351bbcc7 https://github.com/dovecot/core/commit/461bcfc20fb32b086b83a38e4aa7f1e5351bbcc7 Author: Timo Sirainen Date: 2016-04-12 (Tue, 12 Apr 2016) Changed paths: M src/lib-storage/index/imapc/imapc-list.c M src/lib-storage/index/imapc/imapc-list.h Log Message: ----------- imapc: If root separator lookup fails, fail all further lookups. We already returned a potentially wrong separator (since there's no way to return error), so we don't want to continue and possibly make things worse. Commit: 06116e6a19bc4916ddf349108e59e38eda83d533 https://github.com/dovecot/core/commit/06116e6a19bc4916ddf349108e59e38eda83d533 Author: Timo Sirainen Date: 2016-04-12 (Tue, 12 Apr 2016) Changed paths: M src/lib-storage/index/imapc/imapc-list.c M src/lib-storage/index/imapc/imapc-save.c M src/lib-storage/index/imapc/imapc-storage.c Log Message: ----------- imapc: Mark most of the commands retriable. Compare: https://github.com/dovecot/core/compare/03af8e5325a7...06116e6a19bc From noreply at github.com Tue Apr 12 13:10:10 2016 From: noreply at github.com (GitHub) Date: Tue, 12 Apr 2016 06:10:10 -0700 Subject: [dovecot/core] 6347bb: doveconf, config: Free all memory at deinit Message-ID: <570cf3b2cc1bf_746e3fc1e825b2c01629a@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 6347bb65e93c27f1bf4330786447c9ab0cab4dbf https://github.com/dovecot/core/commit/6347bb65e93c27f1bf4330786447c9ab0cab4dbf Author: Timo Sirainen Date: 2016-04-12 (Tue, 12 Apr 2016) Changed paths: M src/config/config-parser.c M src/config/config-parser.h M src/config/doveconf.c M src/config/main.c Log Message: ----------- doveconf, config: Free all memory at deinit Commit: 87404eae4581d7ef834f490507503e59a500066e https://github.com/dovecot/core/commit/87404eae4581d7ef834f490507503e59a500066e Author: Timo Sirainen Date: 2016-04-12 (Tue, 12 Apr 2016) Changed paths: M src/config/config-parser-private.h M src/config/config-parser.c Log Message: ----------- doveconf: Log a warning if a global setting is updated after it was already set inside a filter For example: protocol imap { mail_plugins = $mail_plugins imap_quota } mail_plugins = $mail_plugins quota Will result in: doveconf: Warning: dovecot.conf line 4: Global setting mail_plugins won't change the setting inside an earlier filter at dovecot.conf line 2 Compare: https://github.com/dovecot/core/compare/06116e6a19bc...87404eae4581 From noreply at github.com Tue Apr 12 13:51:08 2016 From: noreply at github.com (GitHub) Date: Tue, 12 Apr 2016 06:51:08 -0700 Subject: [dovecot/core] f7cc53: lib-storage: Fixed crash when using SEARCH INTHREA... Message-ID: <570cfd4c1eec4_6b6f3fd328c452bc12094d@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: f7cc532e59ae1b7eda9a2d838fe54a6e59289f53 https://github.com/dovecot/core/commit/f7cc532e59ae1b7eda9a2d838fe54a6e59289f53 Author: Timo Sirainen Date: 2016-04-12 (Tue, 12 Apr 2016) Changed paths: M src/lib-storage/mail-search.c Log Message: ----------- lib-storage: Fixed crash when using SEARCH INTHREAD mail_search_args_init() -> mail_search_args_simplify() -> .. -> mail_search_arg_one_equals(), which assumed SEARCH_INTHREAD was already initialized. From noreply at github.com Tue Apr 12 17:02:08 2016 From: noreply at github.com (GitHub) Date: Tue, 12 Apr 2016 10:02:08 -0700 Subject: [dovecot/core] d1eec0: lib: Added ostream-null Message-ID: <570d2a10dcb2_4a843fb8a26df2a095142@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: d1eec04fac1f40f4d8f4c84f7f90ef6944495418 https://github.com/dovecot/core/commit/d1eec04fac1f40f4d8f4c84f7f90ef6944495418 Author: Timo Sirainen Date: 2016-04-12 (Tue, 12 Apr 2016) Changed paths: M src/lib/Makefile.am A src/lib/ostream-null.c A src/lib/ostream-null.h Log Message: ----------- lib: Added ostream-null From noreply at github.com Tue Apr 12 18:24:07 2016 From: noreply at github.com (GitHub) Date: Tue, 12 Apr 2016 11:24:07 -0700 Subject: [dovecot/core] 76a58b: lib: Moved enum iostream_rawlog_flags to public io... Message-ID: <570d3d47499b1_5bf73feea42bb2b8239bb@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 76a58bc863893374000881e69d6dd4e3dccaddde https://github.com/dovecot/core/commit/76a58bc863893374000881e69d6dd4e3dccaddde Author: Timo Sirainen Date: 2016-04-12 (Tue, 12 Apr 2016) Changed paths: M src/lib/iostream-rawlog-private.h M src/lib/iostream-rawlog.h Log Message: ----------- lib: Moved enum iostream_rawlog_flags to public iostream-rawlog.h This allows using [io]stream-rawlog.h APIs directly. From noreply at github.com Wed Apr 13 10:14:07 2016 From: noreply at github.com (GitHub) Date: Wed, 13 Apr 2016 03:14:07 -0700 Subject: [dovecot/core] d4a4dd: lib-ldap: Do not call NULL callback Message-ID: <570e1befb7687_4c133f95708212bc26648@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: d4a4ddf45c3c76abf8ed60bf920d1de5331d775e https://github.com/dovecot/core/commit/d4a4ddf45c3c76abf8ed60bf920d1de5331d775e Author: Aki Tuomi Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M src/lib-ldap/ldap-connection.c Log Message: ----------- lib-ldap: Do not call NULL callback Commit: 3b840237852271bfb8e6f4258c3656edc72e9a79 https://github.com/dovecot/core/commit/3b840237852271bfb8e6f4258c3656edc72e9a79 Author: Aki Tuomi Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M src/lib-dict/dict-ldap.c M src/lib-ldap/ldap-client.h M src/lib-ldap/ldap-connection.c Log Message: ----------- lib-ldap: Max idle time is seconds Commit: dd8dbd10afe6c2b631a92323766301d4befe616c https://github.com/dovecot/core/commit/dd8dbd10afe6c2b631a92323766301d4befe616c Author: Aki Tuomi Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M src/lib-dict/dict-ldap.c Log Message: ----------- lib-dict: Reuse LDAP connections Commit: 5a48906952f25d022d4af6b2d6332cd1e3322e10 https://github.com/dovecot/core/commit/5a48906952f25d022d4af6b2d6332cd1e3322e10 Author: Aki Tuomi Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M src/lib-ldap/ldap-connection.c M src/lib-ldap/ldap-private.h Log Message: ----------- lib-ldap: Remove callback from connection_connect Commit: 0f01489817e0306063f12054f20b4f91e13ed6ab https://github.com/dovecot/core/commit/0f01489817e0306063f12054f20b4f91e13ed6ab Author: Aki Tuomi Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M src/lib-ldap/ldap-client.h M src/lib-ldap/ldap-connection.c Log Message: ----------- lib-ldap: Allow and warn insecure LDAP connection Commit: 77475f62f74586195f038cbea004508437bffa87 https://github.com/dovecot/core/commit/77475f62f74586195f038cbea004508437bffa87 Author: Aki Tuomi Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M src/lib-ldap/ldap-connection.c Log Message: ----------- lib-ldap: Hard fail when SSL is required Commit: ccaab3da7633caa2761d51726da2d3fc3ae6d696 https://github.com/dovecot/core/commit/ccaab3da7633caa2761d51726da2d3fc3ae6d696 Author: Aki Tuomi Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M src/lib-dict/dict-ldap-settings.c M src/lib-dict/dict-ldap-settings.h M src/lib-dict/dict-ldap.c Log Message: ----------- lib-dict: Add option to enforce SSL Commit: d3be0145dff35c54c3c89c3ad3e1afd2c486a2d4 https://github.com/dovecot/core/commit/d3be0145dff35c54c3c89c3ad3e1afd2c486a2d4 Author: Aki Tuomi Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M src/lib-dict/dict-ldap-settings.c M src/lib-dict/dict-ldap-settings.h M src/lib-dict/dict-ldap.c M src/lib-ldap/ldap-client.h M src/lib-ldap/ldap-connection.c Log Message: ----------- lib-ldap: Allow disabling of TLS Commit: 45fee9df4f0231b78938c816d7534530600cf639 https://github.com/dovecot/core/commit/45fee9df4f0231b78938c816d7534530600cf639 Author: Aki Tuomi Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M src/lib-dict/dict-ldap.c Log Message: ----------- lib-dict: Disable debug log unless debug enabled Compare: https://github.com/dovecot/core/compare/76a58bc86389...45fee9df4f02 From noreply at github.com Wed Apr 13 10:41:06 2016 From: noreply at github.com (GitHub) Date: Wed, 13 Apr 2016 03:41:06 -0700 Subject: [dovecot/core] 592289: configure: Switched version number to 2.3.devel Message-ID: <570e2242e46b5_65b83f99506792a07637f@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 592289f4d16f2f18e9975861390a0a04c7c7d7b9 https://github.com/dovecot/core/commit/592289f4d16f2f18e9975861390a0a04c7c7d7b9 Author: Timo Sirainen Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M configure.ac Log Message: ----------- configure: Switched version number to 2.3.devel From noreply at github.com Wed Apr 13 10:50:11 2016 From: noreply at github.com (GitHub) Date: Wed, 13 Apr 2016 03:50:11 -0700 Subject: [dovecot/core] ee73d9: doveconf: Improved the warning message about globa... Message-ID: <570e2463cdfa3_462e3fd162b252a01066b0@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: ee73d9657b65e4ff2111e5d2af7107a4eab0c361 https://github.com/dovecot/core/commit/ee73d9657b65e4ff2111e5d2af7107a4eab0c361 Author: Timo Sirainen Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M src/config/config-parser.c Log Message: ----------- doveconf: Improved the warning message about global setting not overriding a filter From noreply at github.com Wed Apr 13 10:50:09 2016 From: noreply at github.com (GitHub) Date: Wed, 13 Apr 2016 03:50:09 -0700 Subject: [dovecot/core] cb445b: doveconf: Improved the warning message about globa... Message-ID: <570e2461e1da6_5c223f9c95a2d2a096030@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: cb445bd4e32a2aae17a97a87bd74f57caec25449 https://github.com/dovecot/core/commit/cb445bd4e32a2aae17a97a87bd74f57caec25449 Author: Timo Sirainen Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M src/config/config-parser.c Log Message: ----------- doveconf: Improved the warning message about global setting not overriding a filter From noreply at github.com Wed Apr 13 14:21:07 2016 From: noreply at github.com (GitHub) Date: Wed, 13 Apr 2016 07:21:07 -0700 Subject: [dovecot/core] cabe36: lib-dict: Don't build dict-ldap if --with-ldap=no Message-ID: <570e55d3b03bb_2c553fbf494632bc583c2@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: cabe36c0805e9143376cb3a40771c250b808b52a https://github.com/dovecot/core/commit/cabe36c0805e9143376cb3a40771c250b808b52a Author: Timo Sirainen Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M src/lib-dict/Makefile.am Log Message: ----------- lib-dict: Don't build dict-ldap if --with-ldap=no Commit: 60c456353dadd0def0c02159f0fd6f59065ba9fd https://github.com/dovecot/core/commit/60c456353dadd0def0c02159f0fd6f59065ba9fd Author: Timo Sirainen Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M configure.ac Log Message: ----------- configure: Fixed building lib-ldap / dict-ldap --with-ldap=plugin Compare: https://github.com/dovecot/core/compare/cb445bd4e32a...60c456353dad From noreply at github.com Wed Apr 13 14:41:10 2016 From: noreply at github.com (GitHub) Date: Wed, 13 Apr 2016 07:41:10 -0700 Subject: [dovecot/core] c6f448: lib-dict: Don't build dict-ldap if --with-ldap=no Message-ID: <570e5a869977c_3bbe3fb740b1529c10173f@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: c6f4485a09e4b4ff480a30328679f6b47b39da67 https://github.com/dovecot/core/commit/c6f4485a09e4b4ff480a30328679f6b47b39da67 Author: Timo Sirainen Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M src/lib-dict/Makefile.am Log Message: ----------- lib-dict: Don't build dict-ldap if --with-ldap=no Commit: b025075e4874f6e9ce98883a88554f02f02bdfc5 https://github.com/dovecot/core/commit/b025075e4874f6e9ce98883a88554f02f02bdfc5 Author: Timo Sirainen Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M configure.ac Log Message: ----------- configure: Fixed building lib-ldap / dict-ldap --with-ldap=plugin Compare: https://github.com/dovecot/core/compare/ee73d9657b65...b025075e4874 From noreply at github.com Wed Apr 13 22:45:13 2016 From: noreply at github.com (GitHub) Date: Wed, 13 Apr 2016 15:45:13 -0700 Subject: [dovecot/core] 6da64a: lib-http: server: Prevent aborting finished or alr... Message-ID: <570ecbf9945e0_75ce3ff6ab4c32b8920b0@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 6da64a8fd41363c7667e1adab03b58e05e92a611 https://github.com/dovecot/core/commit/6da64a8fd41363c7667e1adab03b58e05e92a611 Author: Stephan Bosch Date: 2016-04-14 (Thu, 14 Apr 2016) Changed paths: M src/lib-http/http-server-request.c Log Message: ----------- lib-http: server: Prevent aborting finished or already aborted requests again. From noreply at github.com Wed Apr 13 22:45:11 2016 From: noreply at github.com (GitHub) Date: Wed, 13 Apr 2016 15:45:11 -0700 Subject: [dovecot/core] 31300f: lib-http: server: Prevent aborting finished or alr... Message-ID: <570ecbf7113bb_59c03fab046892c01180cb@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 31300f53eadd34fc7bd567b2424565a60c06e2f5 https://github.com/dovecot/core/commit/31300f53eadd34fc7bd567b2424565a60c06e2f5 Author: Stephan Bosch Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M src/lib-http/http-server-request.c Log Message: ----------- lib-http: server: Prevent aborting finished or already aborted requests again. From noreply at github.com Thu Apr 14 18:53:51 2016 From: noreply at github.com (GitHub) Date: Thu, 14 Apr 2016 11:53:51 -0700 Subject: [dovecot/pigeonhole] cfb5ee: lib-sieve: When overriding a built-in extension, t... Message-ID: <570fe73f3e28d_65de3ff6c6b0b2b81037e7@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: cfb5ee27c8e4033d0d4dde182fdbb26e8c8b4ffe https://github.com/dovecot/pigeonhole/commit/cfb5ee27c8e4033d0d4dde182fdbb26e8c8b4ffe Author: Stephan Bosch Date: 2016-04-14 (Thu, 14 Apr 2016) Changed paths: M src/lib-sieve/sieve-extensions.c Log Message: ----------- lib-sieve: When overriding a built-in extension, the wrong extension was marked as overridden. Commit: 1b6fb01a996015ca89f7aa73f5d3ace05d37bd53 https://github.com/dovecot/pigeonhole/commit/1b6fb01a996015ca89f7aa73f5d3ace05d37bd53 Author: Stephan Bosch Date: 2016-04-14 (Thu, 14 Apr 2016) Changed paths: M src/lib-sieve/sieve-extensions.c Log Message: ----------- lib-sieve: Don't add overridden built-in extensions to the capability list. These are not available under that name anymore and when the replacing extension has the same bare name, this would have led to duplicate capabilities. Compare: https://github.com/dovecot/pigeonhole/compare/215349a404c0...1b6fb01a9960 From noreply at github.com Sun Apr 17 22:50:57 2016 From: noreply at github.com (GitHub) Date: Sun, 17 Apr 2016 15:50:57 -0700 Subject: [dovecot/core] ee73d9: doveconf: Improved the warning message about globa... Message-ID: <5714135182733_2ae23ffad900b2c04629f@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: ee73d9657b65e4ff2111e5d2af7107a4eab0c361 https://github.com/dovecot/core/commit/ee73d9657b65e4ff2111e5d2af7107a4eab0c361 Author: Timo Sirainen Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M src/config/config-parser.c Log Message: ----------- doveconf: Improved the warning message about global setting not overriding a filter Commit: c6f4485a09e4b4ff480a30328679f6b47b39da67 https://github.com/dovecot/core/commit/c6f4485a09e4b4ff480a30328679f6b47b39da67 Author: Timo Sirainen Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M src/lib-dict/Makefile.am Log Message: ----------- lib-dict: Don't build dict-ldap if --with-ldap=no Commit: b025075e4874f6e9ce98883a88554f02f02bdfc5 https://github.com/dovecot/core/commit/b025075e4874f6e9ce98883a88554f02f02bdfc5 Author: Timo Sirainen Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M configure.ac Log Message: ----------- configure: Fixed building lib-ldap / dict-ldap --with-ldap=plugin Commit: 6da64a8fd41363c7667e1adab03b58e05e92a611 https://github.com/dovecot/core/commit/6da64a8fd41363c7667e1adab03b58e05e92a611 Author: Stephan Bosch Date: 2016-04-14 (Thu, 14 Apr 2016) Changed paths: M src/lib-http/http-server-request.c Log Message: ----------- lib-http: server: Prevent aborting finished or already aborted requests again. Commit: 219fd9bfdf4f61adbdf1734a39e0c8951d082fc4 https://github.com/dovecot/core/commit/219fd9bfdf4f61adbdf1734a39e0c8951d082fc4 Author: Timo Sirainen Date: 2016-04-18 (Mon, 18 Apr 2016) Log Message: ----------- Merge branches 'master-2.2' and 'master' of git.dovecot.net:dovecot/core Compare: https://github.com/dovecot/core/compare/31300f53eadd...219fd9bfdf4f From noreply at github.com Sun Apr 17 22:59:18 2016 From: noreply at github.com (GitHub) Date: Sun, 17 Apr 2016 15:59:18 -0700 Subject: [dovecot/core] 592289: configure: Switched version number to 2.3.devel Message-ID: <57141546ce481_2e1c3fac610352bc48141@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 592289f4d16f2f18e9975861390a0a04c7c7d7b9 https://github.com/dovecot/core/commit/592289f4d16f2f18e9975861390a0a04c7c7d7b9 Author: Timo Sirainen Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M configure.ac Log Message: ----------- configure: Switched version number to 2.3.devel Commit: cb445bd4e32a2aae17a97a87bd74f57caec25449 https://github.com/dovecot/core/commit/cb445bd4e32a2aae17a97a87bd74f57caec25449 Author: Timo Sirainen Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M src/config/config-parser.c Log Message: ----------- doveconf: Improved the warning message about global setting not overriding a filter Commit: cabe36c0805e9143376cb3a40771c250b808b52a https://github.com/dovecot/core/commit/cabe36c0805e9143376cb3a40771c250b808b52a Author: Timo Sirainen Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M src/lib-dict/Makefile.am Log Message: ----------- lib-dict: Don't build dict-ldap if --with-ldap=no Commit: 60c456353dadd0def0c02159f0fd6f59065ba9fd https://github.com/dovecot/core/commit/60c456353dadd0def0c02159f0fd6f59065ba9fd Author: Timo Sirainen Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M configure.ac Log Message: ----------- configure: Fixed building lib-ldap / dict-ldap --with-ldap=plugin Commit: 31300f53eadd34fc7bd567b2424565a60c06e2f5 https://github.com/dovecot/core/commit/31300f53eadd34fc7bd567b2424565a60c06e2f5 Author: Stephan Bosch Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M src/lib-http/http-server-request.c Log Message: ----------- lib-http: server: Prevent aborting finished or already aborted requests again. Commit: 3e655650f22c1387bd43b92eadc83822b3dc35d4 https://github.com/dovecot/core/commit/3e655650f22c1387bd43b92eadc83822b3dc35d4 Author: Timo Sirainen Date: 2016-04-18 (Mon, 18 Apr 2016) Changed paths: M configure.ac Log Message: ----------- Merge branches 'master' and 'master-2.2' of git.dovecot.net:dovecot/core into master-2.2 Compare: https://github.com/dovecot/core/compare/6da64a8fd413...3e655650f22c From noreply at github.com Mon Apr 18 17:56:15 2016 From: noreply at github.com (GitHub) Date: Mon, 18 Apr 2016 10:56:15 -0700 Subject: [dovecot/pigeonhole] 7949cc: lib-sieve: Implemented utility function that deter... Message-ID: <57151fbf67d13_669b3f97ee8ed29c77449@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: 7949cc28f8344b0564228196c6e5feff00a0698d https://github.com/dovecot/pigeonhole/commit/7949cc28f8344b0564228196c6e5feff00a0698d Author: Stephan Bosch Date: 2016-04-18 (Mon, 18 Apr 2016) Changed paths: M src/lib-sieve/sieve-common.h M src/lib-sieve/sieve.c M src/plugins/imapsieve/ext-imapsieve-environment.c Log Message: ----------- lib-sieve: Implemented utility function that determines the primary email address of the user. From noreply at github.com Mon Apr 18 19:00:14 2016 From: noreply at github.com (GitHub) Date: Mon, 18 Apr 2016 12:00:14 -0700 Subject: [dovecot/core] 14e2d7: lib-stats: Handle better write() to stats process ... Message-ID: <57152ebe78f29_5afd3fa57e3b72bc67894@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 14e2d75759a311ee6baf3b0416380fc7b3ed2448 https://github.com/dovecot/core/commit/14e2d75759a311ee6baf3b0416380fc7b3ed2448 Author: Timo Sirainen Date: 2016-04-18 (Mon, 18 Apr 2016) Changed paths: M src/lib-stats/stats-connection.c Log Message: ----------- lib-stats: Handle better write() to stats process failing with EAGAIN It only means that the stats process is too busy and the FIFO is filled up. Retrying the write later should work. We also don't want to log too much about the same warning, so do it only once per 30 seconds. Commit: 40e57479542a648353db2211580d350c6d9c5432 https://github.com/dovecot/core/commit/40e57479542a648353db2211580d350c6d9c5432 Author: Timo Sirainen Date: 2016-04-18 (Mon, 18 Apr 2016) Changed paths: M src/plugins/stats/stats-plugin.c Log Message: ----------- stats plugin: stats_notify_path can now specify path to the stats-mail FIFO Compare: https://github.com/dovecot/core/compare/6da64a8fd413...40e57479542a From noreply at github.com Mon Apr 18 19:00:10 2016 From: noreply at github.com (GitHub) Date: Mon, 18 Apr 2016 12:00:10 -0700 Subject: [dovecot/core] ba081c: lib-stats: Handle better write() to stats process ... Message-ID: <57152ebaf05f7_21e13fcd3fe5f2bc741ba@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: ba081c6b0b9b07b390533fd240712b96e4c1ce36 https://github.com/dovecot/core/commit/ba081c6b0b9b07b390533fd240712b96e4c1ce36 Author: Timo Sirainen Date: 2016-04-17 (Sun, 17 Apr 2016) Changed paths: M src/lib-stats/stats-connection.c Log Message: ----------- lib-stats: Handle better write() to stats process failing with EAGAIN It only means that the stats process is too busy and the FIFO is filled up. Retrying the write later should work. We also don't want to log too much about the same warning, so do it only once per 30 seconds. Commit: 84ba16ca61846ea305653dc11f36e08aa77b2a11 https://github.com/dovecot/core/commit/84ba16ca61846ea305653dc11f36e08aa77b2a11 Author: Timo Sirainen Date: 2016-04-18 (Mon, 18 Apr 2016) Changed paths: M src/plugins/stats/stats-plugin.c Log Message: ----------- stats plugin: stats_notify_path can now specify path to the stats-mail FIFO Commit: 5545acdd3aa90a6e0cca2b665f909ec4c2fb2513 https://github.com/dovecot/core/commit/5545acdd3aa90a6e0cca2b665f909ec4c2fb2513 Author: Baofeng Date: 2016-04-18 (Mon, 18 Apr 2016) Changed paths: M doc/example-config/conf.d/10-director.conf M src/director/director-settings.c M src/director/director-settings.h M src/director/main.c Log Message: ----------- director: Remove director_doveadm_port the flag is obsoleted by inet_listener doveadm name. And listener_get_socket_type_fallback() will fallback to token ring when socket name is missing. Commit: 378fcd5bd4d302fd88aaad30837050df57ab9fa2 https://github.com/dovecot/core/commit/378fcd5bd4d302fd88aaad30837050df57ab9fa2 Author: Martti Rannanj?rvi Date: 2016-04-18 (Mon, 18 Apr 2016) Changed paths: M doc/example-config/conf.d/10-mail.conf M src/lib-storage/index/dbox-multi/mdbox-settings.c Log Message: ----------- lib-storage: mdbox_rotate_size=10M default Commit: c1d01419ffbeb0e00f86a653db70bfd47110e7fc https://github.com/dovecot/core/commit/c1d01419ffbeb0e00f86a653db70bfd47110e7fc Author: Timo Sirainen Date: 2016-04-18 (Mon, 18 Apr 2016) Changed paths: M src/director/main.c Log Message: ----------- director: Compiler warning fix Commit: 43158c7d5a63c2b533ee731eb23b5123052c97fb https://github.com/dovecot/core/commit/43158c7d5a63c2b533ee731eb23b5123052c97fb Author: Timo Sirainen Date: 2016-04-18 (Mon, 18 Apr 2016) Changed paths: M doc/example-config/conf.d/10-director.conf M doc/example-config/conf.d/10-mail.conf M src/director/director-settings.c M src/director/director-settings.h M src/director/main.c M src/lib-stats/stats-connection.c M src/lib-storage/index/dbox-multi/mdbox-settings.c M src/plugins/stats/stats-plugin.c Log Message: ----------- Merge branch 'master' of git.dovecot.net:dovecot/core Compare: https://github.com/dovecot/core/compare/219fd9bfdf4f...43158c7d5a63 From noreply at github.com Mon Apr 18 20:47:11 2016 From: noreply at github.com (GitHub) Date: Mon, 18 Apr 2016 13:47:11 -0700 Subject: [dovecot/pigeonhole] 931adc: lib-sieve: The redirect action still partly depend... Message-ID: <571547cf29c54_57db3fd7699cf2b890398@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: 931adc137c9ca4f41c25696d75c7032e73f9d887 https://github.com/dovecot/pigeonhole/commit/931adc137c9ca4f41c25696d75c7032e73f9d887 Author: Stephan Bosch Date: 2016-04-18 (Mon, 18 Apr 2016) Changed paths: M src/lib-sieve/cmd-redirect.c Log Message: ----------- lib-sieve: The redirect action still partly depended on having an envelope available. Commit: c8d1f17ae1c83486f87d1b5a75049bc4924e0742 https://github.com/dovecot/pigeonhole/commit/c8d1f17ae1c83486f87d1b5a75049bc4924e0742 Author: Stephan Bosch Date: 2016-04-18 (Mon, 18 Apr 2016) Changed paths: M src/lib-sieve/sieve.c Log Message: ----------- lib-sieve: Messed up indentation in earlier change. Commit: 6af702e33e6d01eceaffe0a282fea16937af214a https://github.com/dovecot/pigeonhole/commit/6af702e33e6d01eceaffe0a282fea16937af214a Author: Stephan Bosch Date: 2016-04-18 (Mon, 18 Apr 2016) Changed paths: M src/lib-sieve/cmd-redirect.c Log Message: ----------- lib-sieve: redirect action: Sender address was not always correctly assigned. This should have provoked a compiler warning. Compare: https://github.com/dovecot/pigeonhole/compare/7949cc28f834...6af702e33e6d From noreply at github.com Mon Apr 18 22:29:26 2016 From: noreply at github.com (GitHub) Date: Mon, 18 Apr 2016 15:29:26 -0700 Subject: [dovecot/pigeonhole] ef25ce: imapsieve plugin: Do not initialize mailbox rules ... Message-ID: <57155fc65b85_65463f8d5ed232c0155719@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: ef25ce69cee80a955491f637ec8e5e8c0d6cb997 https://github.com/dovecot/pigeonhole/commit/ef25ce69cee80a955491f637ec8e5e8c0d6cb997 Author: Stephan Bosch Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/plugins/imapsieve/imap-sieve-storage.c Log Message: ----------- imapsieve plugin: Do not initialize mailbox rules until they are needed. Otherwise, these would be re-parsed every time a new mail_user is created (e.g. when opening a mail as raw). From noreply at github.com Tue Apr 19 08:00:11 2016 From: noreply at github.com (GitHub) Date: Tue, 19 Apr 2016 01:00:11 -0700 Subject: [dovecot/core] 84d270: director: director_consistent_hashing=yes default Message-ID: <5715e58beb514_1d2f3f898069929c88046@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 84d2707fd64016a63562f00a9e2ff6f716c6678d https://github.com/dovecot/core/commit/84d2707fd64016a63562f00a9e2ff6f716c6678d Author: Martti Rannanj?rvi Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/director/director-settings.c Log Message: ----------- director: director_consistent_hashing=yes default Commit: 9d2df3950b6d658d6272689e77d3e604b782a8fc https://github.com/dovecot/core/commit/9d2df3950b6d658d6272689e77d3e604b782a8fc Author: Timo Sirainen Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/director/director-settings.c Log Message: ----------- Merge branch 'master' of git.dovecot.net:dovecot/core Compare: https://github.com/dovecot/core/compare/43158c7d5a63...9d2df3950b6d From noreply at github.com Tue Apr 19 16:00:12 2016 From: noreply at github.com (GitHub) Date: Tue, 19 Apr 2016 09:00:12 -0700 Subject: [dovecot/core] 291ce1: lib-storage: Added MAIL_STORAGE_CLASS_FLAG_NO_LIST... Message-ID: <5716560cbd96_320c3fedfb0e92b8117857@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 291ce16fffca75e8598a8c9dceb08613413dcb07 https://github.com/dovecot/core/commit/291ce16fffca75e8598a8c9dceb08613413dcb07 Author: Timo Sirainen Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-backend.c M src/lib-storage/mail-storage-private.h M src/lib-storage/mail-storage.c M src/lib-storage/mailbox-list.h Log Message: ----------- lib-storage: Added MAIL_STORAGE_CLASS_FLAG_NO_LIST_DELETES and MAILBOX_LIST_FLAG_NO_DELETES Commit: b484ab4b55b0d5341f2f4dd98a655a75f0bf1275 https://github.com/dovecot/core/commit/b484ab4b55b0d5341f2f4dd98a655a75f0bf1275 Author: Timo Sirainen Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/auth/auth-request.c M src/auth/auth-settings.c M src/auth/auth-settings.h Log Message: ----------- auth: Added passdb/userdb { auth_verbose } setting. If this is explicitly set to yes or no, it overrides the global auth_verbose setting. However, auth_debug=yes overrides all of the auth_verbose settings. Commit: e5a3e4396b53591bf1f22a73f9ec1a022f2c1e46 https://github.com/dovecot/core/commit/e5a3e4396b53591bf1f22a73f9ec1a022f2c1e46 Author: Timo Sirainen Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M configure.ac M src/lib/utc-mktime.c Log Message: ----------- lib: Implement utc_mktime() with timegm() if it exists. It should be more efficient than repeatedly calling gmtime() many times. Commit: d1059e094a163ba45df11da3575bc8b200cea335 https://github.com/dovecot/core/commit/d1059e094a163ba45df11da3575bc8b200cea335 Author: Timo Sirainen Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M configure.ac M src/auth/auth-request.c M src/auth/auth-settings.c M src/auth/auth-settings.h M src/lib-storage/list/mailbox-list-index-backend.c M src/lib-storage/mail-storage-private.h M src/lib-storage/mail-storage.c M src/lib-storage/mailbox-list.h M src/lib/utc-mktime.c Log Message: ----------- Merge branch 'master' of git.dovecot.net:dovecot/core Compare: https://github.com/dovecot/core/compare/9d2df3950b6d...d1059e094a16 From noreply at github.com Tue Apr 19 16:00:15 2016 From: noreply at github.com (GitHub) Date: Tue, 19 Apr 2016 09:00:15 -0700 Subject: [dovecot/core] 6d85cb: lib-storage: Added MAIL_STORAGE_CLASS_FLAG_NO_LIST... Message-ID: <5716560f88d61_27f73ff4742a32a091819@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 6d85cb1eccb2c2ea2ba7b724b31748152e550c5d https://github.com/dovecot/core/commit/6d85cb1eccb2c2ea2ba7b724b31748152e550c5d Author: Timo Sirainen Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-backend.c M src/lib-storage/mail-storage-private.h M src/lib-storage/mail-storage.c M src/lib-storage/mailbox-list.h Log Message: ----------- lib-storage: Added MAIL_STORAGE_CLASS_FLAG_NO_LIST_DELETES and MAILBOX_LIST_FLAG_NO_DELETES Commit: d1e4867000401287b8c61110e9c4b3c26e86fe66 https://github.com/dovecot/core/commit/d1e4867000401287b8c61110e9c4b3c26e86fe66 Author: Timo Sirainen Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/auth/auth-request.c M src/auth/auth-settings.c M src/auth/auth-settings.h Log Message: ----------- auth: Added passdb/userdb { auth_verbose } setting. If this is explicitly set to yes or no, it overrides the global auth_verbose setting. However, auth_debug=yes overrides all of the auth_verbose settings. Commit: 882807103c79f850484cae830964289b40dc6071 https://github.com/dovecot/core/commit/882807103c79f850484cae830964289b40dc6071 Author: Timo Sirainen Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M configure.ac M src/lib/utc-mktime.c Log Message: ----------- lib: Implement utc_mktime() with timegm() if it exists. It should be more efficient than repeatedly calling gmtime() many times. Compare: https://github.com/dovecot/core/compare/40e57479542a...882807103c79 From noreply at github.com Tue Apr 19 17:30:10 2016 From: noreply at github.com (GitHub) Date: Tue, 19 Apr 2016 10:30:10 -0700 Subject: [dovecot/core] 575fa2: lib-sql: ssl_verify_server_cert=1 default on mysql Message-ID: <57166b22d6372_7db3fe0c593d2b893577@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 575fa28d92361c068b2c08d393605e1de661d922 https://github.com/dovecot/core/commit/575fa28d92361c068b2c08d393605e1de661d922 Author: Martti Rannanj?rvi Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/lib-sql/driver-mysql.c Log Message: ----------- lib-sql: ssl_verify_server_cert=1 default on mysql Commit: 9ef0a41be230670613ae458d1b3692b4ca3959cd https://github.com/dovecot/core/commit/9ef0a41be230670613ae458d1b3692b4ca3959cd Author: Martti Rannanj?rvi Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/doveadm/doveadm-print-table.c Log Message: ----------- doveadm: print to stdout in table formatter Commit: fc7dde2040af579e5cf6769bbf63880071badf11 https://github.com/dovecot/core/commit/fc7dde2040af579e5cf6769bbf63880071badf11 Author: Martti Rannanj?rvi Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M configure.ac M src/auth/auth-penalty.c M src/director/mail-host.c M src/lib-http/test-http-url.c M src/lib-imap/imap-keepalive.c M src/lib-imap/test-imap-url.c M src/lib/net.c M src/lib/net.h M src/lib/test-net.c M src/lib/uri-util.c M src/login-common/client-common.c M src/master/main.c Log Message: ----------- Require IPv6 to build Commit: 01b43947135152e3036bd24b2a87365e21fbd859 https://github.com/dovecot/core/commit/01b43947135152e3036bd24b2a87365e21fbd859 Author: Timo Sirainen Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M configure.ac M src/auth/auth-penalty.c M src/director/mail-host.c M src/doveadm/doveadm-print-table.c M src/lib-http/test-http-url.c M src/lib-imap/imap-keepalive.c M src/lib-imap/test-imap-url.c M src/lib-sql/driver-mysql.c M src/lib/net.c M src/lib/net.h M src/lib/test-net.c M src/lib/uri-util.c M src/login-common/client-common.c M src/master/main.c Log Message: ----------- Merge branch 'master' of git.dovecot.net:dovecot/core Compare: https://github.com/dovecot/core/compare/d1059e094a16...01b439471351 From noreply at github.com Tue Apr 19 18:00:10 2016 From: noreply at github.com (GitHub) Date: Tue, 19 Apr 2016 11:00:10 -0700 Subject: [dovecot/core] 2d7293: lib: array - new copy-making array iterator Message-ID: <5716722aa372b_5e753fc4ce2952c011922e@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 2d729323913a672708dc600242e1cc3085985dcc https://github.com/dovecot/core/commit/2d729323913a672708dc600242e1cc3085985dcc Author: Phil Carmody Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/lib/array.h Log Message: ----------- lib: array - new copy-making array iterator Previously macros took a pointer, and that pointer was made to pointed to each element of the array in turn. Typical use cases for things like char* or struct* arrays were to immediately/repeatedly, dereference that pointer. This new iter (only one implementation done so far, more a proof of concept) gets rid of the user-visable pointer, and performs the dereference every time, and only when, a valid element is being iterated over. Empty array => no assignment. No U.B. NOTE: This cannot be done without assuming C99. It breaks the build on compilers that old if any components that are enabled use the macro. It strongly suggests we just need to make C99 mandatory. Signed-off-by: Phil Carmody Commit: 0700888606b96665902af9bf0157dc152850ae27 https://github.com/dovecot/core/commit/0700888606b96665902af9bf0157dc152850ae27 Author: Phil Carmody Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/lib/test-array.c Log Message: ----------- lib: test-array - test new element-assigning iterator Test that both (small) object copying and const/nonconst pointer copies work. Signed-off-by: Phil Carmody Commit: bb0eabc25c8ec2ee98e31fb81274481cc8ed245e https://github.com/dovecot/core/commit/bb0eabc25c8ec2ee98e31fb81274481cc8ed245e Author: Phil Carmody Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/lib/bits.h Log Message: ----------- lib: bits - new fractional log-like helper For stats gathering, where the data can have a wide range of values, you don't necessarily need the same granularity along the full range of values. For example, 1ms and 11ms latencies are very different, but 1.001s and 1.011s latencies are not worth distinguishing. Something logarithmic seems more apt. Simply looking at power-of-2 sized bands (e.g. doing log2(n)), however, is too granular, so these new helpers let you specify how fine to (linearly) subdivide each of those bands. 1 fractional bit splits each power of 2 band into 2 halves. 2 fractional bits splits each power of 2 band into 4 quarters, and so on. 0 fractional bits is just log2(). Exact identification of percentiles is impossible, but it was anyway, as you simply cannot store all the data required to calculate them. However, a mere 896 buckets will permit you to have 32 bands per power of 2, 5 fracional bits. The above example would have buckets such as 2.432s-2.496s, and 55.3s-56.3s. Assuming smooth distribution lets you calculate percentiles more accurately, just assume within each bucket is a trapezial distribution. This holds even if the distribution is multi-modal, which it will be. However, maths required. Signed-off-by: Phil Carmody Commit: 20be2a7b3ad5aa062d15e0d7146aaad3ba172804 https://github.com/dovecot/core/commit/20be2a7b3ad5aa062d15e0d7146aaad3ba172804 Author: Phil Carmody Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/lib/test-bits.c Log Message: ----------- lib: test-bits - test the new fractional log helpers Ensure that the beginning and end of every bucket range are both mapped into that bucket. It also checks that the bucket ranges are contiguous. Assuming the function's weakly monatonic, this is as good as testing every single value. Signed-off-by: Phil Carmody Commit: 943ba393dafc67e0df779829c3d33ac34bcb3fa3 https://github.com/dovecot/core/commit/943ba393dafc67e0df779829c3d33ac34bcb3fa3 Author: Phil Carmody Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/lib/test-bits.c Log Message: ----------- lib: test-bits - add fraclog test for most usual case, constant fracbits Were there to be any difference between the constant and non-constant tests, then it would be a compiler error, but it's better to be defensive and know about that case. Signed-off-by: Phil Carmody Commit: 84f697c5e30565823619abaaeb57164c789d4b66 https://github.com/dovecot/core/commit/84f697c5e30565823619abaaeb57164c789d4b66 Author: Phil Carmody Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/lib/bits.c M src/lib/bits.h Log Message: ----------- lib: bits - GCC (and clang) provide bit-twiddle intrinsics, use them Signed-off-by: Phil Carmody Commit: f2d7ae020bda762f78e8e639a69fb129230cbb7d https://github.com/dovecot/core/commit/f2d7ae020bda762f78e8e639a69fb129230cbb7d Author: Timo Sirainen Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/plugins/lazy-expunge/lazy-expunge-plugin.c Log Message: ----------- lazy-expunge: Allow lazy_expunge setting to point to a mailbox in any namespace. This way we can use an existing namespace without having to create a new one just for a single lazy_expunge mailbox. Commit: 3f7fa57941f967df4b8171acbcd022b1b14aad6f https://github.com/dovecot/core/commit/3f7fa57941f967df4b8171acbcd022b1b14aad6f Author: Timo Sirainen Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/lib/array.h M src/lib/bits.c M src/lib/bits.h M src/lib/test-array.c M src/lib/test-bits.c M src/plugins/lazy-expunge/lazy-expunge-plugin.c Log Message: ----------- Merge branch 'master' of git.dovecot.net:dovecot/core Compare: https://github.com/dovecot/core/compare/01b439471351...3f7fa57941f9 From noreply at github.com Tue Apr 19 18:04:20 2016 From: noreply at github.com (GitHub) Date: Tue, 19 Apr 2016 11:04:20 -0700 Subject: [dovecot/core] Message-ID: <57167324a6eb_7a7e3fcd5c2672bc82937@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core From noreply at github.com Tue Apr 19 18:04:39 2016 From: noreply at github.com (GitHub) Date: Tue, 19 Apr 2016 11:04:39 -0700 Subject: [dovecot/core] ee73d9: doveconf: Improved the warning message about globa... Message-ID: <5716733756854_545c3fd4ff0af2bc7854f@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: ee73d9657b65e4ff2111e5d2af7107a4eab0c361 https://github.com/dovecot/core/commit/ee73d9657b65e4ff2111e5d2af7107a4eab0c361 Author: Timo Sirainen Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M src/config/config-parser.c Log Message: ----------- doveconf: Improved the warning message about global setting not overriding a filter Commit: c6f4485a09e4b4ff480a30328679f6b47b39da67 https://github.com/dovecot/core/commit/c6f4485a09e4b4ff480a30328679f6b47b39da67 Author: Timo Sirainen Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M src/lib-dict/Makefile.am Log Message: ----------- lib-dict: Don't build dict-ldap if --with-ldap=no Commit: b025075e4874f6e9ce98883a88554f02f02bdfc5 https://github.com/dovecot/core/commit/b025075e4874f6e9ce98883a88554f02f02bdfc5 Author: Timo Sirainen Date: 2016-04-13 (Wed, 13 Apr 2016) Changed paths: M configure.ac Log Message: ----------- configure: Fixed building lib-ldap / dict-ldap --with-ldap=plugin Commit: 6da64a8fd41363c7667e1adab03b58e05e92a611 https://github.com/dovecot/core/commit/6da64a8fd41363c7667e1adab03b58e05e92a611 Author: Stephan Bosch Date: 2016-04-14 (Thu, 14 Apr 2016) Changed paths: M src/lib-http/http-server-request.c Log Message: ----------- lib-http: server: Prevent aborting finished or already aborted requests again. Commit: 219fd9bfdf4f61adbdf1734a39e0c8951d082fc4 https://github.com/dovecot/core/commit/219fd9bfdf4f61adbdf1734a39e0c8951d082fc4 Author: Timo Sirainen Date: 2016-04-18 (Mon, 18 Apr 2016) Log Message: ----------- Merge branches 'master-2.2' and 'master' of git.dovecot.net:dovecot/core Commit: 43158c7d5a63c2b533ee731eb23b5123052c97fb https://github.com/dovecot/core/commit/43158c7d5a63c2b533ee731eb23b5123052c97fb Author: Timo Sirainen Date: 2016-04-18 (Mon, 18 Apr 2016) Changed paths: M doc/example-config/conf.d/10-director.conf M doc/example-config/conf.d/10-mail.conf M src/director/director-settings.c M src/director/director-settings.h M src/director/main.c M src/lib-stats/stats-connection.c M src/lib-storage/index/dbox-multi/mdbox-settings.c M src/plugins/stats/stats-plugin.c Log Message: ----------- Merge branch 'master' of git.dovecot.net:dovecot/core Commit: 9d2df3950b6d658d6272689e77d3e604b782a8fc https://github.com/dovecot/core/commit/9d2df3950b6d658d6272689e77d3e604b782a8fc Author: Timo Sirainen Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/director/director-settings.c Log Message: ----------- Merge branch 'master' of git.dovecot.net:dovecot/core Commit: d1059e094a163ba45df11da3575bc8b200cea335 https://github.com/dovecot/core/commit/d1059e094a163ba45df11da3575bc8b200cea335 Author: Timo Sirainen Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M configure.ac M src/auth/auth-request.c M src/auth/auth-settings.c M src/auth/auth-settings.h M src/lib-storage/list/mailbox-list-index-backend.c M src/lib-storage/mail-storage-private.h M src/lib-storage/mail-storage.c M src/lib-storage/mailbox-list.h M src/lib/utc-mktime.c Log Message: ----------- Merge branch 'master' of git.dovecot.net:dovecot/core Commit: 575fa28d92361c068b2c08d393605e1de661d922 https://github.com/dovecot/core/commit/575fa28d92361c068b2c08d393605e1de661d922 Author: Martti Rannanj?rvi Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/lib-sql/driver-mysql.c Log Message: ----------- lib-sql: ssl_verify_server_cert=1 default on mysql Commit: 9ef0a41be230670613ae458d1b3692b4ca3959cd https://github.com/dovecot/core/commit/9ef0a41be230670613ae458d1b3692b4ca3959cd Author: Martti Rannanj?rvi Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/doveadm/doveadm-print-table.c Log Message: ----------- doveadm: print to stdout in table formatter Commit: fc7dde2040af579e5cf6769bbf63880071badf11 https://github.com/dovecot/core/commit/fc7dde2040af579e5cf6769bbf63880071badf11 Author: Martti Rannanj?rvi Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M configure.ac M src/auth/auth-penalty.c M src/director/mail-host.c M src/lib-http/test-http-url.c M src/lib-imap/imap-keepalive.c M src/lib-imap/test-imap-url.c M src/lib/net.c M src/lib/net.h M src/lib/test-net.c M src/lib/uri-util.c M src/login-common/client-common.c M src/master/main.c Log Message: ----------- Require IPv6 to build Commit: 2d729323913a672708dc600242e1cc3085985dcc https://github.com/dovecot/core/commit/2d729323913a672708dc600242e1cc3085985dcc Author: Phil Carmody Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/lib/array.h Log Message: ----------- lib: array - new copy-making array iterator Previously macros took a pointer, and that pointer was made to pointed to each element of the array in turn. Typical use cases for things like char* or struct* arrays were to immediately/repeatedly, dereference that pointer. This new iter (only one implementation done so far, more a proof of concept) gets rid of the user-visable pointer, and performs the dereference every time, and only when, a valid element is being iterated over. Empty array => no assignment. No U.B. NOTE: This cannot be done without assuming C99. It breaks the build on compilers that old if any components that are enabled use the macro. It strongly suggests we just need to make C99 mandatory. Signed-off-by: Phil Carmody Commit: 0700888606b96665902af9bf0157dc152850ae27 https://github.com/dovecot/core/commit/0700888606b96665902af9bf0157dc152850ae27 Author: Phil Carmody Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/lib/test-array.c Log Message: ----------- lib: test-array - test new element-assigning iterator Test that both (small) object copying and const/nonconst pointer copies work. Signed-off-by: Phil Carmody Commit: bb0eabc25c8ec2ee98e31fb81274481cc8ed245e https://github.com/dovecot/core/commit/bb0eabc25c8ec2ee98e31fb81274481cc8ed245e Author: Phil Carmody Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/lib/bits.h Log Message: ----------- lib: bits - new fractional log-like helper For stats gathering, where the data can have a wide range of values, you don't necessarily need the same granularity along the full range of values. For example, 1ms and 11ms latencies are very different, but 1.001s and 1.011s latencies are not worth distinguishing. Something logarithmic seems more apt. Simply looking at power-of-2 sized bands (e.g. doing log2(n)), however, is too granular, so these new helpers let you specify how fine to (linearly) subdivide each of those bands. 1 fractional bit splits each power of 2 band into 2 halves. 2 fractional bits splits each power of 2 band into 4 quarters, and so on. 0 fractional bits is just log2(). Exact identification of percentiles is impossible, but it was anyway, as you simply cannot store all the data required to calculate them. However, a mere 896 buckets will permit you to have 32 bands per power of 2, 5 fracional bits. The above example would have buckets such as 2.432s-2.496s, and 55.3s-56.3s. Assuming smooth distribution lets you calculate percentiles more accurately, just assume within each bucket is a trapezial distribution. This holds even if the distribution is multi-modal, which it will be. However, maths required. Signed-off-by: Phil Carmody Commit: 20be2a7b3ad5aa062d15e0d7146aaad3ba172804 https://github.com/dovecot/core/commit/20be2a7b3ad5aa062d15e0d7146aaad3ba172804 Author: Phil Carmody Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/lib/test-bits.c Log Message: ----------- lib: test-bits - test the new fractional log helpers Ensure that the beginning and end of every bucket range are both mapped into that bucket. It also checks that the bucket ranges are contiguous. Assuming the function's weakly monatonic, this is as good as testing every single value. Signed-off-by: Phil Carmody Commit: 943ba393dafc67e0df779829c3d33ac34bcb3fa3 https://github.com/dovecot/core/commit/943ba393dafc67e0df779829c3d33ac34bcb3fa3 Author: Phil Carmody Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/lib/test-bits.c Log Message: ----------- lib: test-bits - add fraclog test for most usual case, constant fracbits Were there to be any difference between the constant and non-constant tests, then it would be a compiler error, but it's better to be defensive and know about that case. Signed-off-by: Phil Carmody Commit: 84f697c5e30565823619abaaeb57164c789d4b66 https://github.com/dovecot/core/commit/84f697c5e30565823619abaaeb57164c789d4b66 Author: Phil Carmody Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/lib/bits.c M src/lib/bits.h Log Message: ----------- lib: bits - GCC (and clang) provide bit-twiddle intrinsics, use them Signed-off-by: Phil Carmody Commit: 01b43947135152e3036bd24b2a87365e21fbd859 https://github.com/dovecot/core/commit/01b43947135152e3036bd24b2a87365e21fbd859 Author: Timo Sirainen Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M configure.ac M src/auth/auth-penalty.c M src/director/mail-host.c M src/doveadm/doveadm-print-table.c M src/lib-http/test-http-url.c M src/lib-imap/imap-keepalive.c M src/lib-imap/test-imap-url.c M src/lib-sql/driver-mysql.c M src/lib/net.c M src/lib/net.h M src/lib/test-net.c M src/lib/uri-util.c M src/login-common/client-common.c M src/master/main.c Log Message: ----------- Merge branch 'master' of git.dovecot.net:dovecot/core Commit: f2d7ae020bda762f78e8e639a69fb129230cbb7d https://github.com/dovecot/core/commit/f2d7ae020bda762f78e8e639a69fb129230cbb7d Author: Timo Sirainen Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/plugins/lazy-expunge/lazy-expunge-plugin.c Log Message: ----------- lazy-expunge: Allow lazy_expunge setting to point to a mailbox in any namespace. This way we can use an existing namespace without having to create a new one just for a single lazy_expunge mailbox. Commit: e9bb0c3265a05ea23d3c03de78dfb0381571e99e https://github.com/dovecot/core/commit/e9bb0c3265a05ea23d3c03de78dfb0381571e99e Author: Timo Sirainen Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/lib/array.h M src/lib/bits.c M src/lib/bits.h M src/lib/test-array.c M src/lib/test-bits.c M src/plugins/lazy-expunge/lazy-expunge-plugin.c Log Message: ----------- Merge branch 'master' of git.dovecot.net:dovecot/core Compare: https://github.com/dovecot/core/compare/e5a3e4396b53...e9bb0c3265a0 From noreply at github.com Thu Apr 21 18:48:29 2016 From: noreply at github.com (GitHub) Date: Thu, 21 Apr 2016 11:48:29 -0700 Subject: [dovecot/core] 9e9711: lib: Fixed bits_required64() with 32bit systems. Message-ID: <5719207dd4ab4_6993fdcd2edb2c095791@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 9e9711ebed27c8efeece02d57cf91bb00f10015c https://github.com/dovecot/core/commit/9e9711ebed27c8efeece02d57cf91bb00f10015c Author: Timo Sirainen Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/lib/bits.h Log Message: ----------- lib: Fixed bits_required64() with 32bit systems. Broken by 84f697c5e30565823619abaaeb57164c789d4b66. Commit: 7a13cd2268a5a99d2975a1648d6d14ffe1b6ccb0 https://github.com/dovecot/core/commit/7a13cd2268a5a99d2975a1648d6d14ffe1b6ccb0 Author: Stephan Bosch Date: 2016-04-20 (Wed, 20 Apr 2016) Changed paths: M src/lib-http/http-client-request.c M src/lib-http/http-client.h Log Message: ----------- lib-http: client: Implemented means to set request payload buffer rather than an input stream. This is not purely a convenience function: there have been bugs caused by allocating a data input stream from a datastack buffer. With this function, the buffer is copied to the request pool, so that it is durably allocated while the request exists. This prevents futher mishaps. The server already has an equivalent function for its response object. Commit: 5a37824675033747fcae3fe3fc3c0dd7ef0ca1cd https://github.com/dovecot/core/commit/5a37824675033747fcae3fe3fc3c0dd7ef0ca1cd Author: Stephan Bosch Date: 2016-04-20 (Wed, 20 Apr 2016) Changed paths: M src/lib-http/http-client-private.h M src/lib-http/http-client.h Log Message: ----------- lib-http: client: Cleaned up headers and added some more documentation there. Commit: 2a9cadfccc8fb2c609eedbb929952b49181b6d25 https://github.com/dovecot/core/commit/2a9cadfccc8fb2c609eedbb929952b49181b6d25 Author: Stephan Bosch Date: 2016-04-20 (Wed, 20 Apr 2016) Changed paths: M src/lib-http/http-client-request.c M src/lib-http/http-client.h Log Message: ----------- lib-http: client: Added pure attribute to some of the request property functions. Commit: d34a07d36865fa4438d6c6af8408376188343eb9 https://github.com/dovecot/core/commit/d34a07d36865fa4438d6c6af8408376188343eb9 Author: Baofeng Date: 2016-04-20 (Wed, 20 Apr 2016) Changed paths: M src/plugins/expire/expire-plugin.c Log Message: ----------- expire-plugin: code cleanup expire_mail_namespaces_created() will check dict_uri after namespace validation check. Commit: a1630a3b3fa995fd68370de4054e5c04024b1c91 https://github.com/dovecot/core/commit/a1630a3b3fa995fd68370de4054e5c04024b1c91 Author: Timo Sirainen Date: 2016-04-20 (Wed, 20 Apr 2016) Changed paths: M src/plugins/zlib/zlib-plugin.c Log Message: ----------- zlib plugin: Make sure we don't keep mail istream referenced after mail is closed. Commit: 46d91e9ea8bf41e56c5436c064372171c5876d81 https://github.com/dovecot/core/commit/46d91e9ea8bf41e56c5436c064372171c5876d81 Author: Timo Sirainen Date: 2016-04-20 (Wed, 20 Apr 2016) Changed paths: M src/lib-index/mail-cache.c Log Message: ----------- lib-index: Fixed calling mail_cache_open_and_verify() on an already open cache. This was done at least by index_index_rebuild_init(). Either the currently open cache->fd was leaked, or if the cache file open() failed we left the cache in an inconsistent state where cache->fd == -1, but cache->hdr != NULL, so it caused MAIL_CACHE_IS_UNUSABLE() to also be TRUE. This could have ended up in an assert: Panic: file mail-index-lock.c: line 31 (mail_index_lock_fd): assertion failed: (MAIL_INDEX_IS_IN_MEMORY(index)) Commit: f330b7d9e14255fc06bc82908d9bc5a12cccb424 https://github.com/dovecot/core/commit/f330b7d9e14255fc06bc82908d9bc5a12cccb424 Author: Timo Sirainen Date: 2016-04-20 (Wed, 20 Apr 2016) Changed paths: M src/lib-index/mail-cache-compress.c M src/lib-index/mail-cache.c Log Message: ----------- lib-index: If opening a cache file fails, try again later. The previous code would never retry opening the cache file within the same session. Commit: f5a105b5e19f866d432f271cfef83fc42e38d908 https://github.com/dovecot/core/commit/f5a105b5e19f866d432f271cfef83fc42e38d908 Author: Timo Sirainen Date: 2016-04-20 (Wed, 20 Apr 2016) Changed paths: M src/plugins/lazy-expunge/lazy-expunge-plugin.c Log Message: ----------- lazy-expunge: Fixed using a mailbox (instead of namespace) as lazy_expunge destination. The initial implementation in f2d7ae020bda762f78e8e639a69fb129230cbb7d was completely broken. Commit: d5cfdf518b03c92ac96871b029be2a45be68b007 https://github.com/dovecot/core/commit/d5cfdf518b03c92ac96871b029be2a45be68b007 Author: Timo Sirainen Date: 2016-04-20 (Wed, 20 Apr 2016) Changed paths: M src/plugins/zlib/zlib-plugin.c Log Message: ----------- zlib: Compiling fix to a1630a3b3 - don't return a void function Commit: 373b27178af59c8579967c126e7c2c002974d095 https://github.com/dovecot/core/commit/373b27178af59c8579967c126e7c2c002974d095 Author: Baofeng Wang Date: 2016-04-21 (Thu, 21 Apr 2016) Changed paths: M src/dict/dict-commands.c M src/lib-dict/dict-client.c M src/lib-dict/dict-file.c M src/lib-dict/dict-ldap.c M src/lib-dict/dict-memcached-ascii.c M src/lib-dict/dict-private.h M src/lib-dict/dict-redis.c M src/lib-dict/dict-sql.c M src/lib-dict/dict.c M src/lib-dict/dict.h Log Message: ----------- lib-dict: remove dict_append() Remove all *_dict_append and redis_append functions and corresponding command from lib-dict. Commit: ac9600ec580ca6897d263b2f207f1571a09031fa https://github.com/dovecot/core/commit/ac9600ec580ca6897d263b2f207f1571a09031fa Author: Baofeng Wang Date: 2016-04-21 (Thu, 21 Apr 2016) Changed paths: M src/lib-dict/dict-db.c M src/lib-dict/dict-fs.c M src/lib-dict/dict-memcached.c Log Message: ----------- fixup: fix task for `lib-dict: remove dict_append()' Commit: 2982cfa232c4b320bc8df4d2e3c5f62e5b18c418 https://github.com/dovecot/core/commit/2982cfa232c4b320bc8df4d2e3c5f62e5b18c418 Author: Martti Rannanj?rvi Date: 2016-04-21 (Thu, 21 Apr 2016) Changed paths: M src/doveadm/doveadm-print-pager.c Log Message: ----------- doveadm: \f\n only between pages in pager No more \f\n in the end. Commit: 5a1b498b646b5c5dbd1b3f3861df766f560578c5 https://github.com/dovecot/core/commit/5a1b498b646b5c5dbd1b3f3861df766f560578c5 Author: Timo Sirainen Date: 2016-04-21 (Thu, 21 Apr 2016) Changed paths: M src/lib/iostream-private.h M src/lib/iostream.c M src/lib/istream-tee.c M src/lib/istream.c M src/lib/ostream.c Log Message: ----------- lib: When istream is destroyed, it now always unrefs the parent istream if it exists. This way the implementations don't have to do it themselves in their destroy() function. This change doesn't necessarily require changing the existing code, because if the istream implementation already unrefs the parent it gets set to NULL so the auto-unref won't be done. Commit: 899653bd8261ee9fe989aec0b1221a47e0de23cd https://github.com/dovecot/core/commit/899653bd8261ee9fe989aec0b1221a47e0de23cd Author: Martti Rannanj?rvi Date: 2016-04-21 (Thu, 21 Apr 2016) Changed paths: M src/lib/istream-failure-at.c M src/lib/istream-limit.c M src/lib/istream-rawlog.c M src/lib/istream-sized.c Log Message: ----------- lib: remove unneccesary i_stream_unrefs of parent Commit: c1f5ec50aa2d9f1efe2d75eac04e75aa6c7049c7 https://github.com/dovecot/core/commit/c1f5ec50aa2d9f1efe2d75eac04e75aa6c7049c7 Author: Martti Rannanj?rvi Date: 2016-04-21 (Thu, 21 Apr 2016) Changed paths: M src/lib-http/http-server-request.c M src/lib-http/http-transfer-chunked.c M src/lib-mail/istream-header-filter.c M src/lib-storage/index/mbox/istream-raw-mbox.c Log Message: ----------- lib-http, lib-mail, lib-storage: parent unrefs Remove some unneccesary parent unrefs from i_stream_*_destroys. Don't know too many or too few were removed. Commit: 556d69b89bf0afd1ba53acce4775097e494b6b8b https://github.com/dovecot/core/commit/556d69b89bf0afd1ba53acce4775097e494b6b8b Author: Martti Rannanj?rvi Date: 2016-04-21 (Thu, 21 Apr 2016) Changed paths: M doc/example-config/conf.d/20-imap.conf M src/imap/imap-settings.c Log Message: ----------- imap: add variables to default imap_logout_format Commit: e69026539591542dcdca3f27dd1652b80b2ef87a https://github.com/dovecot/core/commit/e69026539591542dcdca3f27dd1652b80b2ef87a Author: Timo Sirainen Date: 2016-04-21 (Thu, 21 Apr 2016) Changed paths: M src/lib-ssl-iostream/iostream-openssl-common.c Log Message: ----------- lib-ssl-iostream: Fixed reporting errors returned by OpenSSL. We were always logging all errors as "Stacked error" and then returning "Unknown error". Compare: https://github.com/dovecot/core/compare/f2d7ae020bda...e69026539591 From noreply at github.com Thu Apr 21 18:48:33 2016 From: noreply at github.com (GitHub) Date: Thu, 21 Apr 2016 11:48:33 -0700 Subject: [dovecot/core] b1c741: lazy-expunge: Allow lazy_expunge setting to point ... Message-ID: <57192081d25b7_68423fa04d0532a0120237@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: b1c7419b9238488ba56a47dc8acdc7cb85d65b12 https://github.com/dovecot/core/commit/b1c7419b9238488ba56a47dc8acdc7cb85d65b12 Author: Timo Sirainen Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/plugins/lazy-expunge/lazy-expunge-plugin.c Log Message: ----------- lazy-expunge: Allow lazy_expunge setting to point to a mailbox in any namespace. This way we can use an existing namespace without having to create a new one just for a single lazy_expunge mailbox. Commit: 31349fd1e282b84d98ca535cce71dc695fb194e0 https://github.com/dovecot/core/commit/31349fd1e282b84d98ca535cce71dc695fb194e0 Author: Timo Sirainen Date: 2016-04-21 (Thu, 21 Apr 2016) Changed paths: M src/plugins/zlib/zlib-plugin.c Log Message: ----------- zlib plugin: Make sure we don't keep mail istream referenced after mail is closed. Commit: 06bed4f40e87a0597ef6128dd2c19881df6e9b5c https://github.com/dovecot/core/commit/06bed4f40e87a0597ef6128dd2c19881df6e9b5c Author: Timo Sirainen Date: 2016-04-21 (Thu, 21 Apr 2016) Changed paths: M src/lib-index/mail-cache.c Log Message: ----------- lib-index: Fixed calling mail_cache_open_and_verify() on an already open cache. This was done at least by index_index_rebuild_init(). Either the currently open cache->fd was leaked, or if the cache file open() failed we left the cache in an inconsistent state where cache->fd == -1, but cache->hdr != NULL, so it caused MAIL_CACHE_IS_UNUSABLE() to also be TRUE. This could have ended up in an assert: Panic: file mail-index-lock.c: line 31 (mail_index_lock_fd): assertion failed: (MAIL_INDEX_IS_IN_MEMORY(index)) Commit: 61c30c7cd60c9c95b138175a5c8ab702b472399b https://github.com/dovecot/core/commit/61c30c7cd60c9c95b138175a5c8ab702b472399b Author: Timo Sirainen Date: 2016-04-21 (Thu, 21 Apr 2016) Changed paths: M src/lib-index/mail-cache-compress.c M src/lib-index/mail-cache.c Log Message: ----------- lib-index: If opening a cache file fails, try again later. The previous code would never retry opening the cache file within the same session. Commit: a6a14c762bca9397cccfcd4ef6c841ea5b1d0dcd https://github.com/dovecot/core/commit/a6a14c762bca9397cccfcd4ef6c841ea5b1d0dcd Author: Timo Sirainen Date: 2016-04-21 (Thu, 21 Apr 2016) Changed paths: M src/plugins/lazy-expunge/lazy-expunge-plugin.c Log Message: ----------- lazy-expunge: Fixed using a mailbox (instead of namespace) as lazy_expunge destination. The initial implementation in f2d7ae020bda762f78e8e639a69fb129230cbb7d was completely broken. Commit: 7ce6777f7e99cedf81714d21f95ec53c233e253e https://github.com/dovecot/core/commit/7ce6777f7e99cedf81714d21f95ec53c233e253e Author: Timo Sirainen Date: 2016-04-21 (Thu, 21 Apr 2016) Changed paths: M src/plugins/zlib/zlib-plugin.c Log Message: ----------- zlib: Compiling fix to a1630a3b3 - don't return a void function Commit: 2a9968850577cb9a4c0248960405b6cd2c63ae80 https://github.com/dovecot/core/commit/2a9968850577cb9a4c0248960405b6cd2c63ae80 Author: Stephan Bosch Date: 2016-04-21 (Thu, 21 Apr 2016) Changed paths: M src/lib-http/http-client-request.c M src/lib-http/http-client.h Log Message: ----------- lib-http: client: Implemented means to set request payload buffer rather than an input stream. This is not purely a convenience function: there have been bugs caused by allocating a data input stream from a datastack buffer. With this function, the buffer is copied to the request pool, so that it is durably allocated while the request exists. This prevents futher mishaps. The server already has an equivalent function for its response object. Commit: b9e1531c80039ee75239d31cdad70d430d255974 https://github.com/dovecot/core/commit/b9e1531c80039ee75239d31cdad70d430d255974 Author: Timo Sirainen Date: 2016-04-21 (Thu, 21 Apr 2016) Changed paths: M src/lib-ssl-iostream/iostream-openssl-common.c Log Message: ----------- lib-ssl-iostream: Fixed reporting errors returned by OpenSSL. We were always logging all errors as "Stacked error" and then returning "Unknown error". Compare: https://github.com/dovecot/core/compare/882807103c79...b9e1531c8003 From noreply at github.com Fri Apr 22 13:30:10 2016 From: noreply at github.com (GitHub) Date: Fri, 22 Apr 2016 06:30:10 -0700 Subject: [dovecot/core] 2d7ad8: push-notification: Small optimization - don't look... Message-ID: <571a2762ac3e0_65643fa838e252a01724b@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 2d7ad82a356217c7d763c7075aa3526129373bd8 https://github.com/dovecot/core/commit/2d7ad82a356217c7d763c7075aa3526129373bd8 Author: Timo Sirainen Date: 2016-04-22 (Fri, 22 Apr 2016) Changed paths: M src/plugins/push-notification/push-notification-txn-msg.c Log Message: ----------- push-notification: Small optimization - don't lookup uidvalidity for each message. From noreply at github.com Fri Apr 22 16:30:10 2016 From: noreply at github.com (GitHub) Date: Fri, 22 Apr 2016 09:30:10 -0700 Subject: [dovecot/core] c72cfe: cassandra: Added support for user and password set... Message-ID: <571a51924469_6bdc3feebdf2d2bc1643fd@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: c72cfe4a2bda39fff3b8a8bd64b31a7cc14d7d11 https://github.com/dovecot/core/commit/c72cfe4a2bda39fff3b8a8bd64b31a7cc14d7d11 Author: Timo Sirainen Date: 2016-04-22 (Fri, 22 Apr 2016) Changed paths: M src/lib-sql/driver-cassandra.c Log Message: ----------- cassandra: Added support for user and password settings. From noreply at github.com Fri Apr 22 17:30:09 2016 From: noreply at github.com (GitHub) Date: Fri, 22 Apr 2016 10:30:09 -0700 Subject: [dovecot/core] 9766af: lib: Improved istream-timeout error message. Message-ID: <571a5fa18e0a3_22ac3fbb241f529c17755f@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 9766afd8dc3976d238e1c71712d6bafa316f2e06 https://github.com/dovecot/core/commit/9766afd8dc3976d238e1c71712d6bafa316f2e06 Author: Timo Sirainen Date: 2016-04-22 (Fri, 22 Apr 2016) Changed paths: M src/lib/istream-timeout.c Log Message: ----------- lib: Improved istream-timeout error message. We're supposed to check that timeout isn't triggered after a long-running code, but it's not perfect. So provide the actual timing information we saw instead of the expected timeout. From noreply at github.com Fri Apr 22 18:01:17 2016 From: noreply at github.com (GitHub) Date: Fri, 22 Apr 2016 11:01:17 -0700 Subject: [dovecot/core] a77d7c: lib: Fix to previous istream-timeout commit Message-ID: <571a66ed67298_5c4d3fb018fd92bc228614@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: a77d7cc71b6a1d66fa33516582890c2256516c26 https://github.com/dovecot/core/commit/a77d7cc71b6a1d66fa33516582890c2256516c26 Author: Timo Sirainen Date: 2016-04-22 (Fri, 22 Apr 2016) Changed paths: M src/lib/istream-timeout.c Log Message: ----------- lib: Fix to previous istream-timeout commit The one commit I didn't bother putting through all the automated testing stages and I of course forgot to even compile after the last change :( From noreply at github.com Fri Apr 22 18:30:11 2016 From: noreply at github.com (GitHub) Date: Fri, 22 Apr 2016 11:30:11 -0700 Subject: [dovecot/core] ceefe5: cassandra: Added support for user and password set... Message-ID: <571a6db3ded2f_3b773fbd78cbd2a05850@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: ceefe5b61a235361f863de3114d72c70bbd07a5e https://github.com/dovecot/core/commit/ceefe5b61a235361f863de3114d72c70bbd07a5e Author: Timo Sirainen Date: 2016-04-22 (Fri, 22 Apr 2016) Changed paths: M src/lib-sql/driver-cassandra.c Log Message: ----------- cassandra: Added support for user and password settings. Commit: 81672c783e6df3ed9f03c8589acb0afd9ec32305 https://github.com/dovecot/core/commit/81672c783e6df3ed9f03c8589acb0afd9ec32305 Author: Timo Sirainen Date: 2016-04-22 (Fri, 22 Apr 2016) Changed paths: M src/lib/istream-timeout.c Log Message: ----------- lib: Improved istream-timeout error message. We're supposed to check that timeout isn't triggered after a long-running code, but it's not perfect. So provide the actual timing information we saw instead of the expected timeout. Commit: 58e4e5b370d52300f351559b3ba8ebce5c42b350 https://github.com/dovecot/core/commit/58e4e5b370d52300f351559b3ba8ebce5c42b350 Author: Timo Sirainen Date: 2016-04-22 (Fri, 22 Apr 2016) Changed paths: M src/lib/istream-timeout.c Log Message: ----------- lib: Fix to previous istream-timeout commit The one commit I didn't bother putting through all the automated testing stages and I of course forgot to even compile after the last change :( Compare: https://github.com/dovecot/core/compare/b9e1531c8003...58e4e5b370d5 From noreply at github.com Fri Apr 22 20:00:11 2016 From: noreply at github.com (GitHub) Date: Fri, 22 Apr 2016 13:00:11 -0700 Subject: [dovecot/core] cca227: configure: Move checks to separate m4 files Message-ID: <571a82cb1e0d4_76413feded04b29c1108f6@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: cca227d2929386ee11e4aa23464681ef35eb9679 https://github.com/dovecot/core/commit/cca227d2929386ee11e4aa23464681ef35eb9679 Author: Aki Tuomi Date: 2016-04-22 (Fri, 22 Apr 2016) Changed paths: M Makefile.am M autogen.sh M configure.ac R dovecot.m4 A m4/ac_checktype2.m4 A m4/ac_typeof.m4 A m4/blockdev.m4 A m4/c99_vsnprintf.m4 A m4/cc_clang.m4 A m4/cflags.m4 A m4/clock_gettime.m4 A m4/crypt.m4 A m4/crypt_xpg6.m4 A m4/dbqlk.m4 A m4/dirent_dtype.m4 A m4/dovecot.m4 A m4/endian.m4 A m4/fd_passing.m4 A m4/fdatasync.m4 A m4/flexible_array_member.m4 A m4/gc.m4 A m4/glibc.m4 A m4/gmtime_max.m4 A m4/gmtime_tm_gmtoff.m4 A m4/ioloop.m4 A m4/iovec.m4 A m4/ipv6.m4 A m4/libcap.m4 A m4/libwrap.m4 A m4/linux_mremap.m4 A m4/mmap_write.m4 A m4/mntctl.m4 A m4/modules.m4 A m4/notify.m4 A m4/nsl.m4 A m4/off_t_max.m4 A m4/pr_set_dumpable.m4 A m4/q_quotactl.m4 A m4/quota.m4 A m4/rlimit.m4 A m4/sendfile.m4 A m4/size_t_signed.m4 A m4/sockpeercred.m4 A m4/sql.m4 A m4/ssl.m4 A m4/st_tim.m4 A m4/test_with.m4 A m4/time_t_signed.m4 A m4/typeof.m4 A m4/typeof_dev_t.m4 A m4/unsetenv.m4 A m4/vararg.m4 A m4/want_bsdauth.m4 A m4/want_bzlib.m4 A m4/want_cassandra.m4 A m4/want_cdb.m4 A m4/want_checkpassword.m4 A m4/want_clucene.m4 A m4/want_db.m4 A m4/want_gssapi.m4 A m4/want_icu.m4 A m4/want_ldap.m4 A m4/want_lz4.m4 A m4/want_lzma.m4 A m4/want_mysql.m4 A m4/want_nss.m4 A m4/want_pam.m4 A m4/want_passwd.m4 A m4/want_pgsql.m4 A m4/want_prefetch.m4 A m4/want_shadow.m4 A m4/want_sia.m4 A m4/want_solr.m4 A m4/want_sqlite.m4 A m4/want_stemmer.m4 A m4/want_textcat.m4 A m4/want_vpopmail.m4 A m4/want_zlib.m4 A m4/warnings.m4 Log Message: ----------- configure: Move checks to separate m4 files Commit: 93c9909f68f7d057e38cca3b4612ec8d0bf42999 https://github.com/dovecot/core/commit/93c9909f68f7d057e38cca3b4612ec8d0bf42999 Author: Timo Sirainen Date: 2016-04-22 (Fri, 22 Apr 2016) Changed paths: M src/lib-http/http-client-private.h M src/lib-http/http-client-request.c M src/lib-http/http-client.h Log Message: ----------- lib-http: Include information about number of request attempts and its timing in response reason. Because the reason is usually logged as part of the error string, this causes all of the error messages to include the attempts count and how long the requests took in total. This should make it easier to understand problems in error logs. http_client_request_set_preserve_exact_reason() can be used to disable modifying the reason string. This may also apply to other reason modifications that may be done in the future. Commit: 972c9172e9e6a0fc6053efb3d2ee9d354b67727f https://github.com/dovecot/core/commit/972c9172e9e6a0fc6053efb3d2ee9d354b67727f Author: Lennart Weller Date: 2016-04-22 (Fri, 22 Apr 2016) Changed paths: M src/lmtp/commands.c Log Message: ----------- Support multiple recipient_delimiters The recipient_delimiter is treated as multiple one-character delimiters rather than one multi-character delimiter if more than one character is supplied. The address is split on the first character in recipient_delimiter found. Commit: 84c1b1af9d4739334ec423a264dea1c265d7ad30 https://github.com/dovecot/core/commit/84c1b1af9d4739334ec423a264dea1c265d7ad30 Author: Baofeng Wang Date: 2016-04-22 (Fri, 22 Apr 2016) Changed paths: M src/lib/mempool-alloconly.c Log Message: ----------- liblib: pool_unref() should always set pool=NULL (alloconly pool) set pool to NULL before return. Compare: https://github.com/dovecot/core/compare/a77d7cc71b6a...84c1b1af9d47 From noreply at github.com Fri Apr 22 22:00:10 2016 From: noreply at github.com (GitHub) Date: Fri, 22 Apr 2016 15:00:10 -0700 Subject: [dovecot/core] 90355e: imapc: Added support for imapc_features=modseq Message-ID: <571a9eea45fc9_1d613fc7d88f32b82440e0@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 90355e35d1139e446a99733986a9181bd7f05dd4 https://github.com/dovecot/core/commit/90355e35d1139e446a99733986a9181bd7f05dd4 Author: Timo Sirainen Date: 2016-04-23 (Sat, 23 Apr 2016) Changed paths: M src/lib-storage/index/imapc/imapc-mail.c M src/lib-storage/index/imapc/imapc-mailbox.c M src/lib-storage/index/imapc/imapc-settings.c M src/lib-storage/index/imapc/imapc-settings.h M src/lib-storage/index/imapc/imapc-storage.c M src/lib-storage/index/imapc/imapc-storage.h M src/lib-storage/index/imapc/imapc-sync.c Log Message: ----------- imapc: Added support for imapc_features=modseq If the remote server supports CONDSTORE or QRESYNC extensions we'll use the remote's MODSEQ and HIGHESTMODSEQ counts. There are some situations where the HIGHESTMODSEQ isn't updated exactly correctly on an open mailbox, so this feature shouldn't be fully relied on. It was primarily implemented for dsync+imapc support - both for preserving modseqs and also for HIGHESTMODSEQ lookups. From noreply at github.com Fri Apr 22 22:30:11 2016 From: noreply at github.com (GitHub) Date: Fri, 22 Apr 2016 15:30:11 -0700 Subject: [dovecot/core] 11c704: imapc: Added support for imapc_features=modseq Message-ID: <571aa5f35ba44_68413fa0e34bd2a01388a1@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 11c704a3d321ee6ae4b6e50c2f22d63845178f10 https://github.com/dovecot/core/commit/11c704a3d321ee6ae4b6e50c2f22d63845178f10 Author: Timo Sirainen Date: 2016-04-23 (Sat, 23 Apr 2016) Changed paths: M src/lib-storage/index/imapc/imapc-mail.c M src/lib-storage/index/imapc/imapc-mailbox.c M src/lib-storage/index/imapc/imapc-settings.c M src/lib-storage/index/imapc/imapc-settings.h M src/lib-storage/index/imapc/imapc-storage.c M src/lib-storage/index/imapc/imapc-storage.h M src/lib-storage/index/imapc/imapc-sync.c Log Message: ----------- imapc: Added support for imapc_features=modseq If the remote server supports CONDSTORE or QRESYNC extensions we'll use the remote's MODSEQ and HIGHESTMODSEQ counts. There are some situations where the HIGHESTMODSEQ isn't updated exactly correctly on an open mailbox, so this feature shouldn't be fully relied on. It was primarily implemented for dsync+imapc support - both for preserving modseqs and also for HIGHESTMODSEQ lookups. From noreply at github.com Fri Apr 22 23:00:08 2016 From: noreply at github.com (GitHub) Date: Fri, 22 Apr 2016 16:00:08 -0700 Subject: [dovecot/core] 0e6e3c: lib-ssl-iostream: Return stacked errors as single ... Message-ID: <571aacf8659eb_3f213fb9782512c0958fe@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 0e6e3cc7e9f7a1c0e883af468bbbfe77a1e4eb79 https://github.com/dovecot/core/commit/0e6e3cc7e9f7a1c0e883af468bbbfe77a1e4eb79 Author: Timo Sirainen Date: 2016-04-23 (Sat, 23 Apr 2016) Changed paths: M src/lib-ssl-iostream/iostream-openssl-common.c Log Message: ----------- lib-ssl-iostream: Return stacked errors as single combined string. Instead of logging stacked errors as separate log lines, which don't provide any context of what created them. Commit: 800bb686016278426c18f0d1529cf359ecb5f950 https://github.com/dovecot/core/commit/800bb686016278426c18f0d1529cf359ecb5f950 Author: Timo Sirainen Date: 2016-04-23 (Sat, 23 Apr 2016) Changed paths: M src/lib/test-var-expand.c M src/lib/var-expand.c Log Message: ----------- lib: var_expand() now expands %{nonexistent} to UNSUPPORTED_VARIABLE_nonexistent Earlier it was expanded to "nonexistent}", which looked more like a bug. This change hopefully makes it clear enough to understand when a variable isn't supported. Commit: 140afad728d78c56fb4c0256f94eb81a213688db https://github.com/dovecot/core/commit/140afad728d78c56fb4c0256f94eb81a213688db Author: Timo Sirainen Date: 2016-04-23 (Sat, 23 Apr 2016) Changed paths: M src/lib-fs/Makefile.am M src/lib-fs/fs-api-private.h M src/lib-fs/fs-api.c A src/lib-fs/fs-test.c A src/lib-fs/fs-test.h Log Message: ----------- lib-fs: Added fs-test backend for helping with creation of fs-wrapper unit tests. Commit: b2ff0468c298dd2f525fff5977f1f24fba3a9f3b https://github.com/dovecot/core/commit/b2ff0468c298dd2f525fff5977f1f24fba3a9f3b Author: Timo Sirainen Date: 2016-04-23 (Sat, 23 Apr 2016) Changed paths: M src/lib-fs/Makefile.am A src/lib-fs/test-fs-metawrap.c Log Message: ----------- lib-fs: Added initial fs-metawrap unit test. Commit: ab41e122aed42fdfae3f29378aff57bbe7743734 https://github.com/dovecot/core/commit/ab41e122aed42fdfae3f29378aff57bbe7743734 Author: Timo Sirainen Date: 2016-04-23 (Sat, 23 Apr 2016) Changed paths: M src/lib-fs/fs-metawrap.c Log Message: ----------- lib-fs: fs-metawrap stat() and get_metadata(): use existing istream if possible This may reduce reads from parent fs, but it's at least required for the following commit. Commit: 0ee52dafcc5b25c031e289d1d65ecccc859ebd3c https://github.com/dovecot/core/commit/0ee52dafcc5b25c031e289d1d65ecccc859ebd3c Author: Timo Sirainen Date: 2016-04-23 (Sat, 23 Apr 2016) Changed paths: M src/lib-fs/fs-api-private.h M src/lib-fs/fs-api.c Log Message: ----------- lib-fs: Assert-crash if file's istream isn't closed at fs_file_close() Some backends can't guarantee that the istream stays usable after the file is closed. Commit: 34b0579f1542471947564bf56cfcf51946f57313 https://github.com/dovecot/core/commit/34b0579f1542471947564bf56cfcf51946f57313 Author: Timo Sirainen Date: 2016-04-23 (Sat, 23 Apr 2016) Changed paths: M src/doveadm/dsync/dsync-brain-mailbox-tree.c M src/doveadm/dsync/dsync-mailbox-tree-sync.c M src/doveadm/dsync/dsync-mailbox-tree.h Log Message: ----------- dsync: Fixed crash when rename algorithm thinks it has gone to infinite loop. ctx->brain was NULL, so trying to access it crashed. Commit: e51f8aa02279cd594be13fb6a469cee89d250b45 https://github.com/dovecot/core/commit/e51f8aa02279cd594be13fb6a469cee89d250b45 Author: Timo Sirainen Date: 2016-04-23 (Sat, 23 Apr 2016) Changed paths: M src/doveadm/dsync/dsync-mailbox-tree-sync.c Log Message: ----------- dsync: Determine better when rename-algorithm might have gotten stuck. A hardcoded value of 100 isn't necessarily enough if there are a lot of mailboxes with a lot of renames. Base the max count on the total number of mailboxes on both local and remote. And just in case multiple it by 3. Probably smaller number would be fine too. Commit: 088bfb6b26ee72122f2ed8a632c741b19d8821d7 https://github.com/dovecot/core/commit/088bfb6b26ee72122f2ed8a632c741b19d8821d7 Author: Timo Sirainen Date: 2016-04-23 (Sat, 23 Apr 2016) Changed paths: M src/doveadm/dsync/dsync-mailbox-tree-sync.c M src/doveadm/dsync/test-dsync-mailbox-tree-sync.c Log Message: ----------- dsync: Fixed assert-crash in rename algorithm Fixes a crash: Panic: file dsync-mailbox-tree-sync.c: line 1308 (sync_mailbox_child_dirs): assertion failed: (!node_is_existent(local_node)) Commit: 7a12331c6360968b141a0888e0bf04dd24145f23 https://github.com/dovecot/core/commit/7a12331c6360968b141a0888e0bf04dd24145f23 Author: Timo Sirainen Date: 2016-04-23 (Sat, 23 Apr 2016) Changed paths: M src/lib-mail/message-parser.c M src/lib-mail/test-message-parser.c Log Message: ----------- lib-mail: Fixed handling duplicate boundary prefixes. If inner MIME part had the same --boundary prefix as its parent(s) and the MIME part body started with the inner --boundary prefix, we didn't yet have it in the list of valid boundaries, so we thought that the outer boundary was found and the MIME headers were truncated. But due to an extra bug we still treated it as if it were the inner boundary, except the MIME part sizes/offsets were set wrong. This for example fixes a situation where FETCH [1.2.MIME] returns an extra newline before the actual headers. Commit: 6df4a174b4cbdc439ed435a0cdc71d4a0126d54a https://github.com/dovecot/core/commit/6df4a174b4cbdc439ed435a0cdc71d4a0126d54a Author: Timo Sirainen Date: 2016-04-23 (Sat, 23 Apr 2016) Changed paths: M src/lib-mail/message-parser.c M src/lib-mail/test-message-parser.c Log Message: ----------- lib-mail: Fixed inner MIME part boundary being a prefix of outer boundary. Commit: 7195d775e5e943af90d24a615847c733a104e3d4 https://github.com/dovecot/core/commit/7195d775e5e943af90d24a615847c733a104e3d4 Author: Timo Sirainen Date: 2016-04-23 (Sat, 23 Apr 2016) Changed paths: M src/lib-mail/test-message-parser.c Log Message: ----------- lib-mail: Improved test-message-parser further Commit: 5a1c6ebe5232f7f15f22616235a085e007ac40c0 https://github.com/dovecot/core/commit/5a1c6ebe5232f7f15f22616235a085e007ac40c0 Author: Timo Sirainen Date: 2016-04-23 (Sat, 23 Apr 2016) Changed paths: M src/doveadm/doveadm-auth.c Log Message: ----------- doveadm user: Code cleanup - move field printing to its own function. No functional changes. Commit: 5e3b05494b117c1c17bda027d39387c2d68d8ea3 https://github.com/dovecot/core/commit/5e3b05494b117c1c17bda027d39387c2d68d8ea3 Author: Timo Sirainen Date: 2016-04-23 (Sat, 23 Apr 2016) Changed paths: M src/doveadm/doveadm-auth.c Log Message: ----------- doveadm user: Added -e parameter to expand %variables in This allows expanding any %variable that the mail processes normally expand. For example: % doveadm user -e "%u's home is %h" testuser at example.com testuser at example.com's home is /var/mail/testuser at example.com Compare: https://github.com/dovecot/core/compare/90355e35d113...5e3b05494b11 From noreply at github.com Sat Apr 23 11:30:09 2016 From: noreply at github.com (GitHub) Date: Sat, 23 Apr 2016 04:30:09 -0700 Subject: [dovecot/core] 5b0714: configure, Makefile: Tell autoconf/automake about ... Message-ID: <571b5cc16d4d0_1b903fa0f173b2bc21784e@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 5b071406997aa9ce5213b3aa42f3fa0f6c1bbe5f https://github.com/dovecot/core/commit/5b071406997aa9ce5213b3aa42f3fa0f6c1bbe5f Author: Timo Sirainen Date: 2016-04-23 (Sat, 23 Apr 2016) Changed paths: M Makefile.am M configure.ac Log Message: ----------- configure, Makefile: Tell autoconf/automake about m4 directory To finally get rid of the complaints: libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. Commit: 576326ec91bcb6ece206c75acf3556d93d1bfc42 https://github.com/dovecot/core/commit/576326ec91bcb6ece206c75acf3556d93d1bfc42 Author: Timo Sirainen Date: 2016-04-23 (Sat, 23 Apr 2016) Changed paths: M .gitignore Log Message: ----------- .gitignore: Updated to include auto-added m4/* Compare: https://github.com/dovecot/core/compare/5e3b05494b11...576326ec91bc From noreply at github.com Mon Apr 25 11:00:10 2016 From: noreply at github.com (GitHub) Date: Mon, 25 Apr 2016 04:00:10 -0700 Subject: [dovecot/core] ed77b0: Split parts of lib-dict into lib-dict-extra. Message-ID: <571df8ba906e7_76413feded04b29c12461a@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: ed77b0bf3a094fff279804e4f50ec0799680342f https://github.com/dovecot/core/commit/ed77b0bf3a094fff279804e4f50ec0799680342f Author: Timo Sirainen Date: 2016-04-25 (Mon, 25 Apr 2016) Changed paths: M configure.ac M src/Makefile.am A src/lib-dict-extra/Makefile.am A src/lib-dict-extra/dict-fs.c A src/lib-dict-extra/dict-register.c M src/lib-dict/Makefile.am R src/lib-dict/dict-fs.c R src/lib-dict/dict-register.c M src/lib-dovecot/Makefile.am Log Message: ----------- Split parts of lib-dict into lib-dict-extra. Otherwise there's a circular dependency because lib-dict/dict-fs.c depends on lib-fs, while lib-fs/fs-dict.c depends on lib-dict. This becomes a problem when compiling --without-shared-libs, although for some reason it works for me while linking the Dovecot core, but not when linking external plugins. Commit: 57729dda3e18f02bf3a1eb5ebba5fa2ea18b6d8e https://github.com/dovecot/core/commit/57729dda3e18f02bf3a1eb5ebba5fa2ea18b6d8e Author: Timo Sirainen Date: 2016-04-25 (Mon, 25 Apr 2016) Changed paths: M src/Makefile.am M src/lib-dict-extra/Makefile.am A src/lib-dict-extra/dict-ldap-settings.c A src/lib-dict-extra/dict-ldap-settings.h A src/lib-dict-extra/dict-ldap.c M src/lib-dict/Makefile.am R src/lib-dict/dict-ldap-settings.c R src/lib-dict/dict-ldap-settings.h R src/lib-dict/dict-ldap.c Log Message: ----------- lib-dict: Moved dict-ldap to lib-dict-extra This also allows moving lib-ldap away from LIBDOVECOT_SUBDIRS in src/Makefile.am, which was wrong because it's not really part of libdovecot.la. Commit: f670747b681262e0bf004107c3b1d1fe1183d6ec https://github.com/dovecot/core/commit/f670747b681262e0bf004107c3b1d1fe1183d6ec Author: Timo Sirainen Date: 2016-04-25 (Mon, 25 Apr 2016) Changed paths: M configure.ac M src/lib-dovecot/Makefile.am Log Message: ----------- lib-dovecot: Avoid duplication of listing *.la in both Makefile.am and configure Compare: https://github.com/dovecot/core/compare/576326ec91bc...f670747b6812 From noreply at github.com Mon Apr 25 12:30:11 2016 From: noreply at github.com (GitHub) Date: Mon, 25 Apr 2016 05:30:11 -0700 Subject: [dovecot/core] f7d018: cassandra: Added num_threads, connect_timeout and ... Message-ID: <571e0dd36e92a_58913ffc3ae572b87456@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: f7d018e7e0980044e3d537958126e44ef4c45056 https://github.com/dovecot/core/commit/f7d018e7e0980044e3d537958126e44ef4c45056 Author: Timo Sirainen Date: 2016-04-25 (Mon, 25 Apr 2016) Changed paths: M src/lib-sql/Makefile.am M src/lib-sql/driver-cassandra.c Log Message: ----------- cassandra: Added num_threads, connect_timeout and request_timeout settings. Commit: b540a53c8ac2f5d012149d39cf43a3868c927028 https://github.com/dovecot/core/commit/b540a53c8ac2f5d012149d39cf43a3868c927028 Author: Timo Sirainen Date: 2016-04-25 (Mon, 25 Apr 2016) Changed paths: M src/lib-storage/index/imapc/imapc-mail-fetch.c M src/lib-storage/index/imapc/imapc-mail.c Log Message: ----------- imapc: Fixed crash caused by pool_unref() API change. Calling pool_unref() set the mail_private->pool=NULL, which crashed in index_mail_free(). Fixed this by removing the unnecessary ref/unref entirely. We're already waiting in imapc_mail_close() for all the existing FETCHes to finish, so the callback will always have only valid mails with valid pools. Compare: https://github.com/dovecot/core/compare/f670747b6812...b540a53c8ac2 From noreply at github.com Mon Apr 25 17:30:09 2016 From: noreply at github.com (GitHub) Date: Mon, 25 Apr 2016 10:30:09 -0700 Subject: [dovecot/core] 23e079: fs-posix: Minor code cleanup - removed unnecessary... Message-ID: <571e5421edea1_a0f3fc5a30ef29c1036f1@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 23e079a8583bfa157861991330f27dd1d6c7ae6d https://github.com/dovecot/core/commit/23e079a8583bfa157861991330f27dd1d6c7ae6d Author: Timo Sirainen Date: 2016-04-25 (Mon, 25 Apr 2016) Changed paths: M src/lib-fs/fs-posix.c Log Message: ----------- fs-posix: Minor code cleanup - removed unnecessary code. If success==TRUE, temp_path==NULL always also. Commit: 3d798ec32957fea788cdefbc002f2e0fbb6f0556 https://github.com/dovecot/core/commit/3d798ec32957fea788cdefbc002f2e0fbb6f0556 Author: Timo Sirainen Date: 2016-04-25 (Mon, 25 Apr 2016) Changed paths: M src/lib-fs/fs-posix.c Log Message: ----------- fs-posix: If link() fails, preserve its errno through the following unlink() Commit: c977ee6ce06cbc0b4668fde1ec34f2f5e1773684 https://github.com/dovecot/core/commit/c977ee6ce06cbc0b4668fde1ec34f2f5e1773684 Author: Timo Sirainen Date: 2016-04-25 (Mon, 25 Apr 2016) Changed paths: M src/lib-storage/mail-storage-service.c Log Message: ----------- lib-storage: Don't use same session ID for multiple mail_storage_service_next() calls. dsync does multiple mail_storage_service_next() calls for the same mail_storage_service_user. This causes stats plugin to send the same session ID to stats process, which complains about duplicates. Solved this in a generic way by having the following mail_storage_service_next() calls append :counter to session ID. Compare: https://github.com/dovecot/core/compare/b540a53c8ac2...c977ee6ce06c From noreply at github.com Mon Apr 25 19:30:09 2016 From: noreply at github.com (GitHub) Date: Mon, 25 Apr 2016 12:30:09 -0700 Subject: [dovecot/core] 12e5ac: lib-mail: return void from message_parser_deinit() Message-ID: <571e7041f01a8_1deb3fc22e41929c183763@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 12e5ac049bd74f8b98d9dc62adcb0bf3217beef6 https://github.com/dovecot/core/commit/12e5ac049bd74f8b98d9dc62adcb0bf3217beef6 Author: Martti Rannanj?rvi Date: 2016-04-25 (Mon, 25 Apr 2016) Changed paths: M src/doveadm/doveadm-mail-fetch.c M src/lib-imap/test-imap-bodystructure.c M src/lib-mail/istream-attachment-extractor.c M src/lib-mail/istream-binary-converter.c M src/lib-mail/message-parser.c M src/lib-mail/message-parser.h M src/lib-mail/message-snippet.c M src/lib-mail/test-message-parser.c M src/lib-mail/test-message-part.c Log Message: ----------- lib-mail: return void from message_parser_deinit() Commit: 808fab19464062a665af85df5e147c6b64b1c348 https://github.com/dovecot/core/commit/808fab19464062a665af85df5e147c6b64b1c348 Author: Timo Sirainen Date: 2016-04-25 (Mon, 25 Apr 2016) Changed paths: M src/doveadm/dsync/dsync-mailbox-import.c Log Message: ----------- dsync: Improved detecting state state string. Commit: 3d49dc64d5719e5f2497339c0137f7672a02018e https://github.com/dovecot/core/commit/3d49dc64d5719e5f2497339c0137f7672a02018e Author: Timo Sirainen Date: 2016-04-25 (Mon, 25 Apr 2016) Changed paths: M src/doveadm/dsync/dsync-brain.c Log Message: ----------- dsync: If full resync is requested, return empty state string. If the state is wrong, it's better to fully resync all the mailboxes rather than just the one where a problem was noticed. Commit: 805d7834412465268486c50711962407ad13fbf6 https://github.com/dovecot/core/commit/805d7834412465268486c50711962407ad13fbf6 Author: Timo Sirainen Date: 2016-04-25 (Mon, 25 Apr 2016) Changed paths: M src/doveadm/dsync/dsync-brain-mailbox.c M src/doveadm/dsync/dsync-brain-mails.c M src/doveadm/dsync/dsync-mailbox-import.c M src/doveadm/dsync/dsync-mailbox-import.h Log Message: ----------- dsync: If state is invalid, exit with code 2 instead of tempfail. We'll have dsync_mailbox_import_*() just return success to everything until _deinit() is called. The _deinit() will return a failure and set "resync needed"-flag, which caller will know how to handle. Commit: 2719970c2c246f976178da179deeb64eecaec5ba https://github.com/dovecot/core/commit/2719970c2c246f976178da179deeb64eecaec5ba Author: Timo Sirainen Date: 2016-04-25 (Mon, 25 Apr 2016) Changed paths: M src/lib-mail/test-istream-header-filter.c Log Message: ----------- lib-mail: Code cleanup to istream-header-filter unit test The exclude_headers arrays were used in a confusing way. The X-Drop header wasn't actually even used in the exclude_headers. Commit: 76a71915c6452a4bee9a8ae89ddbdf58fa941dee https://github.com/dovecot/core/commit/76a71915c6452a4bee9a8ae89ddbdf58fa941dee Author: Timo Sirainen Date: 2016-04-25 (Mon, 25 Apr 2016) Changed paths: M src/lib-mail/istream-header-filter.c M src/lib-mail/test-istream-header-filter.c Log Message: ----------- lib-mail: istream-header-filter didn't limit memory usage. A large header was always added to hdr_buf, ignoring any max_buffer_size limits. Commit: 88d100753bd4b26f038093d3794c2dc50875443d https://github.com/dovecot/core/commit/88d100753bd4b26f038093d3794c2dc50875443d Author: Timo Sirainen Date: 2016-04-25 (Mon, 25 Apr 2016) Changed paths: M src/lib-mail/test-istream-header-filter.c Log Message: ----------- lib-mail: Improved istream-header-filter unit test. Existing code already assumes that the callback is called for all the header data. So it's not used just for filtering headers but also parsing the header contents. Make this assumption now explicit as a unit test. Commit: 270c7cd669b1ad4b69edb366dc5f22262948bfed https://github.com/dovecot/core/commit/270c7cd669b1ad4b69edb366dc5f22262948bfed Author: Timo Sirainen Date: 2016-04-25 (Mon, 25 Apr 2016) Changed paths: M src/lib-mail/istream-header-filter.c M src/lib-mail/test-istream-header-filter.c Log Message: ----------- lib-mail: More fixes to istream-header-filter with large input. Don't assume that when reading the header the second time we'll get exactly the same header blocks as the first time. This commit also prevents the filter callback from switching the matching-decision on non-first header line. This shouldn't be needed and it could just cause confusion. (It also made it a bit easier to implement this fix.) Commit: af2564c7f9e05ad245a032efdfbc5abbb9b70f1e https://github.com/dovecot/core/commit/af2564c7f9e05ad245a032efdfbc5abbb9b70f1e Author: Timo Sirainen Date: 2016-04-25 (Mon, 25 Apr 2016) Changed paths: M src/plugins/fts-lucene/lucene-wrapper.cc Log Message: ----------- fts-lucene: Cleanup - move code to a separate function Commit: 9a85ec311d3216dd6dbad401543330c4356d651d https://github.com/dovecot/core/commit/9a85ec311d3216dd6dbad401543330c4356d651d Author: Timo Sirainen Date: 2016-04-25 (Mon, 25 Apr 2016) Changed paths: M src/plugins/fts-lucene/lucene-wrapper.cc Log Message: ----------- fts-lucene: Rescan skipped namespace roots. Compare: https://github.com/dovecot/core/compare/c977ee6ce06c...9a85ec311d32 From noreply at github.com Tue Apr 26 08:00:10 2016 From: noreply at github.com (GitHub) Date: Tue, 26 Apr 2016 01:00:10 -0700 Subject: [dovecot/core] 26c0f5: lib-sql: Fixed building Cassandra as plugin Message-ID: <571f200ae104f_52173fa40d70b2a0208889@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 26c0f5a54d67c0fde70b8f0f4673dc3460707b80 https://github.com/dovecot/core/commit/26c0f5a54d67c0fde70b8f0f4673dc3460707b80 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-sql/Makefile.am Log Message: ----------- lib-sql: Fixed building Cassandra as plugin From noreply at github.com Tue Apr 26 08:30:15 2016 From: noreply at github.com (GitHub) Date: Tue, 26 Apr 2016 01:30:15 -0700 Subject: [dovecot/core] 2335ab: push-notification: Small optimization - don't look... Message-ID: <571f2717392e6_58743f8b4ef4f2b81964f@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 2335ab1f90e1e2ecdb856c0d18f5d823011c301e https://github.com/dovecot/core/commit/2335ab1f90e1e2ecdb856c0d18f5d823011c301e Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/plugins/push-notification/push-notification-txn-msg.c Log Message: ----------- push-notification: Small optimization - don't lookup uidvalidity for each message. Commit: 2f1be1ff67f5a30a6ae3e3536f570b52a6378828 https://github.com/dovecot/core/commit/2f1be1ff67f5a30a6ae3e3536f570b52a6378828 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-http/http-client-private.h M src/lib-http/http-client-request.c M src/lib-http/http-client.h Log Message: ----------- lib-http: Include information about number of request attempts and its timing in response reason. Because the reason is usually logged as part of the error string, this causes all of the error messages to include the attempts count and how long the requests took in total. This should make it easier to understand problems in error logs. http_client_request_set_preserve_exact_reason() can be used to disable modifying the reason string. This may also apply to other reason modifications that may be done in the future. Commit: de73aa2bdf45647d3d8bb00f045840f9dafc6861 https://github.com/dovecot/core/commit/de73aa2bdf45647d3d8bb00f045840f9dafc6861 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-ssl-iostream/iostream-openssl-common.c Log Message: ----------- lib-ssl-iostream: Return stacked errors as single combined string. Instead of logging stacked errors as separate log lines, which don't provide any context of what created them. Commit: 06c326243f9d65fd18b6fa1ca99d46c7f7113f98 https://github.com/dovecot/core/commit/06c326243f9d65fd18b6fa1ca99d46c7f7113f98 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib/test-var-expand.c M src/lib/var-expand.c Log Message: ----------- lib: var_expand() now expands %{nonexistent} to UNSUPPORTED_VARIABLE_nonexistent Earlier it was expanded to "nonexistent}", which looked more like a bug. This change hopefully makes it clear enough to understand when a variable isn't supported. Commit: bdff78333837f45abc804ca49ad1156e8ee4066c https://github.com/dovecot/core/commit/bdff78333837f45abc804ca49ad1156e8ee4066c Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-fs/Makefile.am M src/lib-fs/fs-api-private.h M src/lib-fs/fs-api.c A src/lib-fs/fs-test.c A src/lib-fs/fs-test.h Log Message: ----------- lib-fs: Added fs-test backend for helping with creation of fs-wrapper unit tests. Commit: 5c201395ff5bf096b341581d31b0e507aa47b2cc https://github.com/dovecot/core/commit/5c201395ff5bf096b341581d31b0e507aa47b2cc Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-fs/Makefile.am A src/lib-fs/test-fs-metawrap.c Log Message: ----------- lib-fs: Added initial fs-metawrap unit test. Commit: 973c6d6d86b84541c195c01ae32778444884d401 https://github.com/dovecot/core/commit/973c6d6d86b84541c195c01ae32778444884d401 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-fs/fs-metawrap.c Log Message: ----------- lib-fs: fs-metawrap stat() and get_metadata(): use existing istream if possible This may reduce reads from parent fs, but it's at least required for the following commit. Commit: 412fb67b918c4511f54a621fcb20bb3130e95682 https://github.com/dovecot/core/commit/412fb67b918c4511f54a621fcb20bb3130e95682 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/doveadm/dsync/dsync-brain-mailbox-tree.c M src/doveadm/dsync/dsync-mailbox-tree-sync.c M src/doveadm/dsync/dsync-mailbox-tree.h Log Message: ----------- dsync: Fixed crash when rename algorithm thinks it has gone to infinite loop. ctx->brain was NULL, so trying to access it crashed. Commit: 66da5866eb19271378d62facf4a1fea0059e9e72 https://github.com/dovecot/core/commit/66da5866eb19271378d62facf4a1fea0059e9e72 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/doveadm/dsync/dsync-mailbox-tree-sync.c Log Message: ----------- dsync: Determine better when rename-algorithm might have gotten stuck. A hardcoded value of 100 isn't necessarily enough if there are a lot of mailboxes with a lot of renames. Base the max count on the total number of mailboxes on both local and remote. And just in case multiple it by 3. Probably smaller number would be fine too. Commit: ff1f5155e8707fdff18f4311ce6c901a1de4e769 https://github.com/dovecot/core/commit/ff1f5155e8707fdff18f4311ce6c901a1de4e769 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/doveadm/dsync/dsync-mailbox-tree-sync.c M src/doveadm/dsync/test-dsync-mailbox-tree-sync.c Log Message: ----------- dsync: Fixed assert-crash in rename algorithm Fixes a crash: Panic: file dsync-mailbox-tree-sync.c: line 1308 (sync_mailbox_child_dirs): assertion failed: (!node_is_existent(local_node)) Commit: 55a79cff0ce0d9703fd718a28d0fef2d4a0fcaea https://github.com/dovecot/core/commit/55a79cff0ce0d9703fd718a28d0fef2d4a0fcaea Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-mail/message-parser.c M src/lib-mail/test-message-parser.c Log Message: ----------- lib-mail: Fixed handling duplicate boundary prefixes. If inner MIME part had the same --boundary prefix as its parent(s) and the MIME part body started with the inner --boundary prefix, we didn't yet have it in the list of valid boundaries, so we thought that the outer boundary was found and the MIME headers were truncated. But due to an extra bug we still treated it as if it were the inner boundary, except the MIME part sizes/offsets were set wrong. This for example fixes a situation where FETCH [1.2.MIME] returns an extra newline before the actual headers. Commit: 80622816d4f381c01b764f38cd32a34c7e7f8925 https://github.com/dovecot/core/commit/80622816d4f381c01b764f38cd32a34c7e7f8925 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-mail/message-parser.c M src/lib-mail/test-message-parser.c Log Message: ----------- lib-mail: Fixed inner MIME part boundary being a prefix of outer boundary. Commit: c6f44125b64cb29ed767fefdcb4c08ff4efe299d https://github.com/dovecot/core/commit/c6f44125b64cb29ed767fefdcb4c08ff4efe299d Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-mail/test-message-parser.c Log Message: ----------- lib-mail: Improved test-message-parser further Commit: ed2e2ac2629955c12a3a8037412a7465266479ea https://github.com/dovecot/core/commit/ed2e2ac2629955c12a3a8037412a7465266479ea Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/doveadm/doveadm-auth.c Log Message: ----------- doveadm user: Code cleanup - move field printing to its own function. No functional changes. Commit: cfb90f18ea813be72db99a8e8fe9bfa4dcd50976 https://github.com/dovecot/core/commit/cfb90f18ea813be72db99a8e8fe9bfa4dcd50976 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/doveadm/doveadm-auth.c Log Message: ----------- doveadm user: Added -e parameter to expand %variables in This allows expanding any %variable that the mail processes normally expand. For example: % doveadm user -e "%u's home is %h" testuser at example.com testuser at example.com's home is /var/mail/testuser at example.com Commit: bfbb24b9faba009c2cb79b3a38995acf2621f49b https://github.com/dovecot/core/commit/bfbb24b9faba009c2cb79b3a38995acf2621f49b Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M configure.ac M src/Makefile.am A src/lib-dict-extra/Makefile.am A src/lib-dict-extra/dict-fs.c A src/lib-dict-extra/dict-register.c M src/lib-dict/Makefile.am R src/lib-dict/dict-fs.c R src/lib-dict/dict-register.c M src/lib-dovecot/Makefile.am Log Message: ----------- Split parts of lib-dict into lib-dict-extra. Otherwise there's a circular dependency because lib-dict/dict-fs.c depends on lib-fs, while lib-fs/fs-dict.c depends on lib-dict. This becomes a problem when compiling --without-shared-libs, although for some reason it works for me while linking the Dovecot core, but not when linking external plugins. Commit: 2a81294e43c85d034acfb897e2532b38b9c06e7c https://github.com/dovecot/core/commit/2a81294e43c85d034acfb897e2532b38b9c06e7c Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/Makefile.am M src/lib-dict-extra/Makefile.am A src/lib-dict-extra/dict-ldap-settings.c A src/lib-dict-extra/dict-ldap-settings.h A src/lib-dict-extra/dict-ldap.c M src/lib-dict/Makefile.am R src/lib-dict/dict-ldap-settings.c R src/lib-dict/dict-ldap-settings.h R src/lib-dict/dict-ldap.c Log Message: ----------- lib-dict: Moved dict-ldap to lib-dict-extra This also allows moving lib-ldap away from LIBDOVECOT_SUBDIRS in src/Makefile.am, which was wrong because it's not really part of libdovecot.la. Commit: 4968bfaf02745ee8215e03d1effbc95bfa6cdeda https://github.com/dovecot/core/commit/4968bfaf02745ee8215e03d1effbc95bfa6cdeda Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M configure.ac M src/lib-dovecot/Makefile.am Log Message: ----------- lib-dovecot: Avoid duplication of listing *.la in both Makefile.am and configure Commit: 0bbaf397a41a89d35f795b51d6e871613712b006 https://github.com/dovecot/core/commit/0bbaf397a41a89d35f795b51d6e871613712b006 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-sql/Makefile.am M src/lib-sql/driver-cassandra.c Log Message: ----------- cassandra: Added num_threads, connect_timeout and request_timeout settings. Commit: b7d31e7e72c591364ea7e9cf096ce8ff78db9453 https://github.com/dovecot/core/commit/b7d31e7e72c591364ea7e9cf096ce8ff78db9453 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-fs/fs-posix.c Log Message: ----------- fs-posix: Minor code cleanup - removed unnecessary code. If success==TRUE, temp_path==NULL always also. Commit: e534a82dc63ad78d9a0aec777193c6a1433289a8 https://github.com/dovecot/core/commit/e534a82dc63ad78d9a0aec777193c6a1433289a8 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-fs/fs-posix.c Log Message: ----------- fs-posix: If link() fails, preserve its errno through the following unlink() Commit: c7ea86d2595e597f03dc1e1bae54d93a8578c8ca https://github.com/dovecot/core/commit/c7ea86d2595e597f03dc1e1bae54d93a8578c8ca Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-storage/mail-storage-service.c Log Message: ----------- lib-storage: Don't use same session ID for multiple mail_storage_service_next() calls. dsync does multiple mail_storage_service_next() calls for the same mail_storage_service_user. This causes stats plugin to send the same session ID to stats process, which complains about duplicates. Solved this in a generic way by having the following mail_storage_service_next() calls append :counter to session ID. Commit: 69811d9c7f9306a517a6ce5f5aca2bb9d9e74351 https://github.com/dovecot/core/commit/69811d9c7f9306a517a6ce5f5aca2bb9d9e74351 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/doveadm/dsync/dsync-mailbox-import.c Log Message: ----------- dsync: Improved detecting state state string. Commit: da0b62ea32c74994171054f9cb551dee49e122d0 https://github.com/dovecot/core/commit/da0b62ea32c74994171054f9cb551dee49e122d0 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/doveadm/dsync/dsync-brain.c Log Message: ----------- dsync: If full resync is requested, return empty state string. If the state is wrong, it's better to fully resync all the mailboxes rather than just the one where a problem was noticed. Commit: 7919e9560109928bd980b4c71ee4a34b51bd4ccd https://github.com/dovecot/core/commit/7919e9560109928bd980b4c71ee4a34b51bd4ccd Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/doveadm/dsync/dsync-brain-mailbox.c M src/doveadm/dsync/dsync-brain-mails.c M src/doveadm/dsync/dsync-mailbox-import.c M src/doveadm/dsync/dsync-mailbox-import.h Log Message: ----------- dsync: If state is invalid, exit with code 2 instead of tempfail. We'll have dsync_mailbox_import_*() just return success to everything until _deinit() is called. The _deinit() will return a failure and set "resync needed"-flag, which caller will know how to handle. Commit: 30ad986a3ff70921ba116f8a732466a25cc4691d https://github.com/dovecot/core/commit/30ad986a3ff70921ba116f8a732466a25cc4691d Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-mail/test-istream-header-filter.c Log Message: ----------- lib-mail: Code cleanup to istream-header-filter unit test The exclude_headers arrays were used in a confusing way. The X-Drop header wasn't actually even used in the exclude_headers. Commit: d7524cf81328d1f16a9651a1b17b5038d53ea46d https://github.com/dovecot/core/commit/d7524cf81328d1f16a9651a1b17b5038d53ea46d Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-mail/istream-header-filter.c M src/lib-mail/test-istream-header-filter.c Log Message: ----------- lib-mail: istream-header-filter didn't limit memory usage. A large header was always added to hdr_buf, ignoring any max_buffer_size limits. Commit: 5fdca8ef228a5dda223aeb3c4b7a51f3e533cb93 https://github.com/dovecot/core/commit/5fdca8ef228a5dda223aeb3c4b7a51f3e533cb93 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-mail/test-istream-header-filter.c Log Message: ----------- lib-mail: Improved istream-header-filter unit test. Existing code already assumes that the callback is called for all the header data. So it's not used just for filtering headers but also parsing the header contents. Make this assumption now explicit as a unit test. Commit: ad09af2c9157fbb20c5d2e588f1fac61d87b1b44 https://github.com/dovecot/core/commit/ad09af2c9157fbb20c5d2e588f1fac61d87b1b44 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-mail/istream-header-filter.c M src/lib-mail/test-istream-header-filter.c Log Message: ----------- lib-mail: More fixes to istream-header-filter with large input. Don't assume that when reading the header the second time we'll get exactly the same header blocks as the first time. This commit also prevents the filter callback from switching the matching-decision on non-first header line. This shouldn't be needed and it could just cause confusion. (It also made it a bit easier to implement this fix.) Commit: 70d210336de9e682a5f4ffd504b269c7be176fda https://github.com/dovecot/core/commit/70d210336de9e682a5f4ffd504b269c7be176fda Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/plugins/fts-lucene/lucene-wrapper.cc Log Message: ----------- fts-lucene: Cleanup - move code to a separate function Commit: 53d07fbebf837bf3dd621f89a0b46ed528198e43 https://github.com/dovecot/core/commit/53d07fbebf837bf3dd621f89a0b46ed528198e43 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/plugins/fts-lucene/lucene-wrapper.cc Log Message: ----------- fts-lucene: Rescan skipped namespace roots. Commit: 6956285ba13bf2604ab1345df4516f5fee69bd84 https://github.com/dovecot/core/commit/6956285ba13bf2604ab1345df4516f5fee69bd84 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-sql/Makefile.am Log Message: ----------- lib-sql: Fixed building Cassandra as plugin Compare: https://github.com/dovecot/core/compare/11c704a3d321...6956285ba13b From noreply at github.com Tue Apr 26 09:00:10 2016 From: noreply at github.com (GitHub) Date: Tue, 26 Apr 2016 02:00:10 -0700 Subject: [dovecot/core] 92c610: lib-storage: fixup the broken search result with \... Message-ID: <571f2e1a6f1d4_44673f87794892bc1405cb@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 92c610a38f40d98b437d0db7676b6ebcd662a77f https://github.com/dovecot/core/commit/92c610a38f40d98b437d0db7676b6ebcd662a77f Author: Baofeng Wang Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-storage/index/index-search.c Log Message: ----------- lib-storage: fixup the broken search result with \seen or \delete remove side effects of match_always flag during search. From noreply at github.com Tue Apr 26 09:00:13 2016 From: noreply at github.com (GitHub) Date: Tue, 26 Apr 2016 02:00:13 -0700 Subject: [dovecot/core] c87684: lib-storage: fixup the broken search result with \... Message-ID: <571f2e1d1a140_664a3fa10dc892c0228582@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: c87684e46e9764c4beba561d6ba614fff99670b9 https://github.com/dovecot/core/commit/c87684e46e9764c4beba561d6ba614fff99670b9 Author: Baofeng Wang Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-storage/index/index-search.c Log Message: ----------- lib-storage: fixup the broken search result with \seen or \delete remove side effects of match_always flag during search. From noreply at github.com Tue Apr 26 13:00:16 2016 From: noreply at github.com (GitHub) Date: Tue, 26 Apr 2016 06:00:16 -0700 Subject: [dovecot/core] d5804a: lib-storage: Added mail_storage_service_all_init_m... Message-ID: <571f6660a2e5e_1c363ff2bdde129c120321@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: d5804a03e41edd4229075bca57ddac8fefa7ae84 https://github.com/dovecot/core/commit/d5804a03e41edd4229075bca57ddac8fefa7ae84 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-storage/mail-storage-service.c M src/lib-storage/mail-storage-service.h Log Message: ----------- lib-storage: Added mail_storage_service_all_init_mask() This allows providing a usermask hint to the userdb iteration lookup. For example with LDAP this allows setting the base based on the @domain. Commit: 9de3ff6e97009c87fa0689e41ec15692650baf24 https://github.com/dovecot/core/commit/9de3ff6e97009c87fa0689e41ec15692650baf24 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/doveadm/doveadm-mail.c Log Message: ----------- doveadm -u: Use mail_storage_service_all_init_mask() Compare: https://github.com/dovecot/core/compare/c87684e46e97...9de3ff6e9700 From noreply at github.com Tue Apr 26 13:00:12 2016 From: noreply at github.com (GitHub) Date: Tue, 26 Apr 2016 06:00:12 -0700 Subject: [dovecot/core] 55e04e: lib-storage: Added mail_storage_service_all_init_m... Message-ID: <571f665c1da48_5a133fb82edbf29c1757d5@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 55e04e5659b27c520633835d3f04e2eca7f21117 https://github.com/dovecot/core/commit/55e04e5659b27c520633835d3f04e2eca7f21117 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-storage/mail-storage-service.c M src/lib-storage/mail-storage-service.h Log Message: ----------- lib-storage: Added mail_storage_service_all_init_mask() This allows providing a usermask hint to the userdb iteration lookup. For example with LDAP this allows setting the base based on the @domain. Commit: 1c0e48030437be3c28ff0c25c87164a0ce86bc5a https://github.com/dovecot/core/commit/1c0e48030437be3c28ff0c25c87164a0ce86bc5a Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/doveadm/doveadm-mail.c Log Message: ----------- doveadm -u: Use mail_storage_service_all_init_mask() Compare: https://github.com/dovecot/core/compare/92c610a38f40...1c0e48030437 From noreply at github.com Tue Apr 26 14:30:13 2016 From: noreply at github.com (GitHub) Date: Tue, 26 Apr 2016 07:30:13 -0700 Subject: [dovecot/core] a82c82: stats: Support multiple FIFO listeners. Message-ID: <571f7b75d03f4_28783fbf6a20529c7269e@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: a82c823227ca6d96cfc825687c3d3ba505459e22 https://github.com/dovecot/core/commit/a82c823227ca6d96cfc825687c3d3ba505459e22 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/stats/fifo-input-connection.c M src/stats/fifo-input-connection.h M src/stats/main.c Log Message: ----------- stats: Support multiple FIFO listeners. From noreply at github.com Tue Apr 26 14:30:10 2016 From: noreply at github.com (GitHub) Date: Tue, 26 Apr 2016 07:30:10 -0700 Subject: [dovecot/core] a7b9a3: lib-storage: Remove unused mail_storage_service_al... Message-ID: <571f7b72b71be_72633fa7b54032a0154534@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: a7b9a392af1ee67134ac63435601d6abb819beee https://github.com/dovecot/core/commit/a7b9a392af1ee67134ac63435601d6abb819beee Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-storage/mail-storage-service.c M src/lib-storage/mail-storage-service.h Log Message: ----------- lib-storage: Remove unused mail_storage_service_all_init() Commit: 0bd2fecf84ede3f0c378411de1ac0ca5c5979770 https://github.com/dovecot/core/commit/0bd2fecf84ede3f0c378411de1ac0ca5c5979770 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/stats/fifo-input-connection.c M src/stats/fifo-input-connection.h M src/stats/main.c Log Message: ----------- stats: Support multiple FIFO listeners. Compare: https://github.com/dovecot/core/compare/1c0e48030437...0bd2fecf84ed From noreply at github.com Tue Apr 26 15:23:54 2016 From: noreply at github.com (GitHub) Date: Tue, 26 Apr 2016 08:23:54 -0700 Subject: [dovecot/core] a94e44: Released v2.2.24. Message-ID: <571f880a2b390_21733ff88234f2a012732d@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/release-2.2.24 Home: https://github.com/dovecot/core Commit: a94e44ea82c8ac028401c6eab150c78dab590b07 https://github.com/dovecot/core/commit/a94e44ea82c8ac028401c6eab150c78dab590b07 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M NEWS M configure.ac Log Message: ----------- Released v2.2.24. From noreply at github.com Tue Apr 26 18:09:51 2016 From: noreply at github.com (GitHub) Date: Tue, 26 Apr 2016 11:09:51 -0700 Subject: [dovecot/core] 4ad29d: fts: Empty "fts" setting should be same as nonexis... Message-ID: <571faeefa19ff_44a43ff51075129c76537@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 4ad29d803f7383a553efcc6f6663dbec89b48bd0 https://github.com/dovecot/core/commit/4ad29d803f7383a553efcc6f6663dbec89b48bd0 Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/plugins/fts/fts-storage.c Log Message: ----------- fts: Empty "fts" setting should be same as nonexistent. From noreply at github.com Tue Apr 26 18:09:47 2016 From: noreply at github.com (GitHub) Date: Tue, 26 Apr 2016 11:09:47 -0700 Subject: [dovecot/core] ebf3d1: fts: Empty "fts" setting should be same as nonexis... Message-ID: <571faeebdce09_2bd63fd1e95fb2c016736f@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: ebf3d1a0874e85dc32dbe5aa09f72377277a6f1b https://github.com/dovecot/core/commit/ebf3d1a0874e85dc32dbe5aa09f72377277a6f1b Author: Timo Sirainen Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/plugins/fts/fts-storage.c Log Message: ----------- fts: Empty "fts" setting should be same as nonexistent. From noreply at github.com Tue Apr 26 19:35:56 2016 From: noreply at github.com (GitHub) Date: Tue, 26 Apr 2016 12:35:56 -0700 Subject: [dovecot/pigeonhole] 504a08: lib-sieve: redirect command: Removed useless NULL ... Message-ID: <571fc31cebfb5_1cc53fdef30df2c01558d0@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: 504a08ae93870a5035e778b7c6111abb7bd72563 https://github.com/dovecot/pigeonhole/commit/504a08ae93870a5035e778b7c6111abb7bd72563 Author: Stephan Bosch Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-sieve/cmd-redirect.c Log Message: ----------- lib-sieve: redirect command: Removed useless NULL check in loop detection. This caused a coverity defect report. Commit: e25f31a3800fb0f9e25114ec7d6d287c74ea1cf0 https://github.com/dovecot/pigeonhole/commit/e25f31a3800fb0f9e25114ec7d6d287c74ea1cf0 Author: Stephan Bosch Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-sieve/sieve-validator.c Log Message: ----------- lib-sieve: validator: Fixed potential NULL dereference in sieve_validator_extension_load(). Would only happen with dummy/internal `extensions' that have no valid ID. This caused a Coverity defect report. Commit: dfe0d52c3158ca67d0246ac3e14e48a7c30a2ed0 https://github.com/dovecot/pigeonhole/commit/dfe0d52c3158ca67d0246ac3e14e48a7c30a2ed0 Author: Stephan Bosch Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-sieve/sieve-validator.c Log Message: ----------- lib-sieve: validator: Fixed potential NULL dereference in sieve_validator_extensions_check_conficts(). Would only happen with dummy/internal `extensions' that have no valid ID. This caused a Coverity defect report. Commit: 0b04d67d3c301a9f5cfba38d8cff9b923866fc64 https://github.com/dovecot/pigeonhole/commit/0b04d67d3c301a9f5cfba38d8cff9b923866fc64 Author: Stephan Bosch Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-sieve/plugins/vnd.dovecot/report/cmd-report.c Log Message: ----------- lib-sieve: vnd.dovecot.report extension: Removed logically dead code. This caused Coverity defect reports. Commit: c984322f0237c71706124bbdc31f371017c1dfb9 https://github.com/dovecot/pigeonhole/commit/c984322f0237c71706124bbdc31f371017c1dfb9 Author: Stephan Bosch Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/lib-sieve/util/edit-mail.c Log Message: ----------- lib-sieve: edit-mail: Removed useless NULL check in edit_mail_istream_seek(). This caused a Coverity defect report. Compare: https://github.com/dovecot/pigeonhole/compare/ef25ce69cee8...c984322f0237 From noreply at github.com Tue Apr 26 19:52:24 2016 From: noreply at github.com (GitHub) Date: Tue, 26 Apr 2016 12:52:24 -0700 Subject: [dovecot/pigeonhole] 7c79cd: Added v0.4.13 to NEWS. Message-ID: <571fc6f87738_3f213fb9782512c0139441@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: 7c79cdc8149498e68491b81ccb65d9e6649e0bdc https://github.com/dovecot/pigeonhole/commit/7c79cdc8149498e68491b81ccb65d9e6649e0bdc Author: Stephan Bosch Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M NEWS Log Message: ----------- Added v0.4.13 to NEWS. From noreply at github.com Tue Apr 26 21:37:44 2016 From: noreply at github.com (GitHub) Date: Tue, 26 Apr 2016 14:37:44 -0700 Subject: [dovecot/pigeonhole] 850d80: Updated README with availability of vnd.dovecot.re... Message-ID: <571fdfa85cc6b_44a43ff51075129c831e2@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: 850d80b2a2eeeb6a55390e1d368141d2660a5fa4 https://github.com/dovecot/pigeonhole/commit/850d80b2a2eeeb6a55390e1d368141d2660a5fa4 Author: Stephan Bosch Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M README Log Message: ----------- Updated README with availability of vnd.dovecot.report extension. From noreply at github.com Tue Apr 26 21:38:03 2016 From: noreply at github.com (GitHub) Date: Tue, 26 Apr 2016 14:38:03 -0700 Subject: [dovecot/pigeonhole] 099a97: Released v0.4.14 for Dovecot v2.2.24. Message-ID: <571fdfbbaf81_7ea3fa60643f29c85798@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/release-0.4.14 Home: https://github.com/dovecot/pigeonhole Commit: 099a97c6c0105eeeb173a335f446f2832336faa2 https://github.com/dovecot/pigeonhole/commit/099a97c6c0105eeeb173a335f446f2832336faa2 Author: Stephan Bosch Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M NEWS M configure.ac Log Message: ----------- Released v0.4.14 for Dovecot v2.2.24. From noreply at github.com Tue Apr 26 21:38:02 2016 From: noreply at github.com (GitHub) Date: Tue, 26 Apr 2016 14:38:02 -0700 Subject: [dovecot/pigeonhole] Message-ID: <571fdfbacfbc2_3cd83fe6019412a0126811@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/tags/0.4.14 Home: https://github.com/dovecot/pigeonhole From noreply at github.com Wed Apr 27 11:30:09 2016 From: noreply at github.com (GitHub) Date: Wed, 27 Apr 2016 04:30:09 -0700 Subject: [dovecot/core] 21e185: auth: Add PBKDF2 password scheme Message-ID: <5720a2c1479c1_18833fc725d112b8184943@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 21e185f465bc20c5244866d1bf9ec70e5e002180 https://github.com/dovecot/core/commit/21e185f465bc20c5244866d1bf9ec70e5e002180 Author: Aki Tuomi Date: 2016-04-27 (Wed, 27 Apr 2016) Changed paths: M src/auth/Makefile.am A src/auth/password-scheme-pbkdf2.c M src/auth/password-scheme.c M src/auth/password-scheme.h Log Message: ----------- auth: Add PBKDF2 password scheme From noreply at github.com Wed Apr 27 12:00:12 2016 From: noreply at github.com (GitHub) Date: Wed, 27 Apr 2016 05:00:12 -0700 Subject: [dovecot/core] df74b8: lib: Add PKCS#5 pbkdf1 and 2 Message-ID: <5720a9cc5463a_92f3f9b569a12b87339e@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: df74b8f6ff432d9a26727669dfed9a15d77efb55 https://github.com/dovecot/core/commit/df74b8f6ff432d9a26727669dfed9a15d77efb55 Author: Aki Tuomi Date: 2016-04-27 (Wed, 27 Apr 2016) Changed paths: M src/lib/Makefile.am A src/lib/pkcs5.c A src/lib/pkcs5.h M src/lib/test-lib.c M src/lib/test-lib.h A src/lib/test-pkcs5.c Log Message: ----------- lib: Add PKCS#5 pbkdf1 and 2 From noreply at github.com Wed Apr 27 12:30:09 2016 From: noreply at github.com (GitHub) Date: Wed, 27 Apr 2016 05:30:09 -0700 Subject: [dovecot/core] e43979: man: Add more complete description of one-way sync Message-ID: <5720b0d17dc90_4adb3f7f1bb212c017974b@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: e43979fa09dc4a8eb774cb5476edd71544d39e44 https://github.com/dovecot/core/commit/e43979fa09dc4a8eb774cb5476edd71544d39e44 Author: Michael Slusarz Date: 2016-04-27 (Wed, 27 Apr 2016) Changed paths: M doc/man/doveadm-sync.1.in Log Message: ----------- man: Add more complete description of one-way sync From noreply at github.com Wed Apr 27 21:00:11 2016 From: noreply at github.com (GitHub) Date: Wed, 27 Apr 2016 14:00:11 -0700 Subject: [dovecot/core] 994d09: lazy-expunge: Open mailbox with MAILBOX_FLAG_SAVEO... Message-ID: <5721285ba0044_1e233fe4d2cdb29c8737d@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 994d09a23d02bce990d07a298046f744d13b36e6 https://github.com/dovecot/core/commit/994d09a23d02bce990d07a298046f744d13b36e6 Author: Timo Sirainen Date: 2016-04-27 (Wed, 27 Apr 2016) Changed paths: M src/plugins/lazy-expunge/lazy-expunge-plugin.c Log Message: ----------- lazy-expunge: Open mailbox with MAILBOX_FLAG_SAVEONLY flag. Commit: 0bcfa2a649ee4da64580648698481df41cd63b24 https://github.com/dovecot/core/commit/0bcfa2a649ee4da64580648698481df41cd63b24 Author: Timo Sirainen Date: 2016-04-27 (Wed, 27 Apr 2016) Changed paths: M src/plugins/lazy-expunge/lazy-expunge-plugin.c Log Message: ----------- lazy-expunge: Open the mailbox with ACLs ignored. Compare: https://github.com/dovecot/core/compare/e43979fa09dc...0bcfa2a649ee From noreply at github.com Wed Apr 27 21:00:16 2016 From: noreply at github.com (GitHub) Date: Wed, 27 Apr 2016 14:00:16 -0700 Subject: [dovecot/core] 9243e0: man: Add more complete description of one-way sync Message-ID: <572128609c9f0_56853fd0d88dd2c0166576@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 9243e07983dcea85817018dcbd6a131240d8fc29 https://github.com/dovecot/core/commit/9243e07983dcea85817018dcbd6a131240d8fc29 Author: Michael Slusarz Date: 2016-04-27 (Wed, 27 Apr 2016) Changed paths: M doc/man/doveadm-sync.1.in Log Message: ----------- man: Add more complete description of one-way sync Commit: f184b31abc338e5f01c637bb899aaf217b6f3bda https://github.com/dovecot/core/commit/f184b31abc338e5f01c637bb899aaf217b6f3bda Author: Timo Sirainen Date: 2016-04-27 (Wed, 27 Apr 2016) Changed paths: M src/plugins/lazy-expunge/lazy-expunge-plugin.c Log Message: ----------- lazy-expunge: Open mailbox with MAILBOX_FLAG_SAVEONLY flag. Commit: c05c1b4c1711145ce8bbf9165d31354de32d244b https://github.com/dovecot/core/commit/c05c1b4c1711145ce8bbf9165d31354de32d244b Author: Timo Sirainen Date: 2016-04-27 (Wed, 27 Apr 2016) Changed paths: M src/plugins/lazy-expunge/lazy-expunge-plugin.c Log Message: ----------- lazy-expunge: Open the mailbox with ACLs ignored. Compare: https://github.com/dovecot/core/compare/4ad29d803f73...c05c1b4c1711 From noreply at github.com Thu Apr 28 10:00:12 2016 From: noreply at github.com (GitHub) Date: Thu, 28 Apr 2016 03:00:12 -0700 Subject: [dovecot/core] db5d7f: lib-fs: Fixed multiple concurrent fs_read_stream()... Message-ID: <5721df2cdd9eb_495c3ffda14b12a07964d@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: db5d7fbdb3eaf8b588633f874190aa34363e5597 https://github.com/dovecot/core/commit/db5d7fbdb3eaf8b588633f874190aa34363e5597 Author: Timo Sirainen Date: 2016-04-28 (Thu, 28 Apr 2016) Changed paths: M src/lib-fs/fs-api.c Log Message: ----------- lib-fs: Fixed multiple concurrent fs_read_stream() calls Return a new limit-istream, so each istream can have its own independent offset. Commit: 0ed8bcc501d6f4839076353081408ee1a7710106 https://github.com/dovecot/core/commit/0ed8bcc501d6f4839076353081408ee1a7710106 Author: Timo Sirainen Date: 2016-04-28 (Thu, 28 Apr 2016) Changed paths: M src/lib-fs/fs-api.c Log Message: ----------- lib-fs: Allow multiple fs_read_stream() calls to seekable istreams. This fixes for example calling fs_default_copy() for an istream which was already opened: Panic: file fs-api.c: line 528 (fs_read_stream): assertion failed: (!file->istream_open) Commit: f434b3e433ebe34bca5a4f955611a00cf8952918 https://github.com/dovecot/core/commit/f434b3e433ebe34bca5a4f955611a00cf8952918 Author: Timo Sirainen Date: 2016-04-28 (Thu, 28 Apr 2016) Changed paths: M src/doveadm/doveadm-dump-index.c Log Message: ----------- doveadm dump: Added more index ext records. "msgs" and "vsize" are now expanded. Compare: https://github.com/dovecot/core/compare/0bcfa2a649ee...f434b3e433eb From noreply at github.com Thu Apr 28 12:30:10 2016 From: noreply at github.com (GitHub) Date: Thu, 28 Apr 2016 05:30:10 -0700 Subject: [dovecot/core] df586d: lib: [io]stream-rawlog.h should auto-include iostr... Message-ID: <572202527ff75_340b3fe93fb912bc23741d@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: df586de408c73a89c598e09a0ee1e7747146294a https://github.com/dovecot/core/commit/df586de408c73a89c598e09a0ee1e7747146294a Author: Timo Sirainen Date: 2016-04-28 (Thu, 28 Apr 2016) Changed paths: M src/lib/istream-rawlog.h M src/lib/ostream-rawlog.h Log Message: ----------- lib: [io]stream-rawlog.h should auto-include iostream-rawlog.h Otherwise compiler will warn about the missing enum. From noreply at github.com Thu Apr 28 13:00:11 2016 From: noreply at github.com (GitHub) Date: Thu, 28 Apr 2016 06:00:11 -0700 Subject: [dovecot/core] f086fd: lib-charset: Do not use //IGNORE on non-GNU system Message-ID: <5722095b7bd3f_5daf3fd722fe32b8144924@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: f086fd06591eafd4fb96cdc33ea8fb1b95f18e59 https://github.com/dovecot/core/commit/f086fd06591eafd4fb96cdc33ea8fb1b95f18e59 Author: Aki Tuomi Date: 2016-04-28 (Thu, 28 Apr 2016) Changed paths: M src/lib-charset/test-charset.c Log Message: ----------- lib-charset: Do not use //IGNORE on non-GNU system Commit: 2e1ec423f53050ff373be3cdcdca5cd9bb02146a https://github.com/dovecot/core/commit/2e1ec423f53050ff373be3cdcdca5cd9bb02146a Author: Timo Sirainen Date: 2016-04-28 (Thu, 28 Apr 2016) Changed paths: M src/lib-charset/test-charset.c Log Message: ----------- lib-charset: Revert f086fd065 - wrong version This wasn't the version that was supposed to be merged.. Compare: https://github.com/dovecot/core/compare/df586de408c7...2e1ec423f530 From noreply at github.com Thu Apr 28 13:30:11 2016 From: noreply at github.com (GitHub) Date: Thu, 28 Apr 2016 06:30:11 -0700 Subject: [dovecot/core] 0b1f4c: lib-storage: Added index_storage_list_index_has_ch... Message-ID: <57221063baf24_53d43fdf6242b2c01003d1@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 0b1f4c104714567a42a53040eae8c99e7c7ed9dc https://github.com/dovecot/core/commit/0b1f4c104714567a42a53040eae8c99e7c7ed9dc Author: Timo Sirainen Date: 2016-04-28 (Thu, 28 Apr 2016) Changed paths: M src/lib-storage/index/index-storage.h M src/lib-storage/index/index-sync.c Log Message: ----------- lib-storage: Added index_storage_list_index_has_changed_full() This allows the caller to use it to implement a slightly different mailbox.list_index_has_changed() From noreply at github.com Fri Apr 29 00:00:11 2016 From: noreply at github.com (GitHub) Date: Thu, 28 Apr 2016 17:00:11 -0700 Subject: [dovecot/core] 337ae3: lib-storage: mailbox_set_subscribed() ignores dupl... Message-ID: <5722a40b35d1c_54113fb04ae8f2bc87640@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 337ae3d4dacb3a91c9c918b8dc6abd69ebf0432d https://github.com/dovecot/core/commit/337ae3d4dacb3a91c9c918b8dc6abd69ebf0432d Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-storage/mail-storage.c Log Message: ----------- lib-storage: mailbox_set_subscribed() ignores duplicate changes now. From noreply at github.com Fri Apr 29 08:00:10 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 01:00:10 -0700 Subject: [dovecot/core] 576495: lib-charset: Do not use //IGNORE on non-GNU system Message-ID: <5723148a756eb_6e853fc6e91d72bc11177a@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 576495f5f4f04a08d80483ab997fdee9923c4698 https://github.com/dovecot/core/commit/576495f5f4f04a08d80483ab997fdee9923c4698 Author: Aki Tuomi Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-charset/charset-iconv.c M src/lib-charset/test-charset.c Log Message: ----------- lib-charset: Do not use //IGNORE on non-GNU system Commit: b4715b4a427769d5a7d5dc1d758426377b568833 https://github.com/dovecot/core/commit/b4715b4a427769d5a7d5dc1d758426377b568833 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/plugins/fts-lucene/lucene-wrapper.cc Log Message: ----------- fts-lucene: Fixed crash on rescan Broken by af2564c7f9e05ad245a032efdfbc5abbb9b70f1e - rescan_ctx can be NULL. Compare: https://github.com/dovecot/core/compare/337ae3d4dacb...b4715b4a4277 From noreply at github.com Fri Apr 29 08:00:14 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 01:00:14 -0700 Subject: [dovecot/core] 65e6f7: doveadm dump: Added more index ext records. Message-ID: <5723148e437af_7c073fe4e66c12bc1104db@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 65e6f715ba263853d30630808b2cfc43076454bf https://github.com/dovecot/core/commit/65e6f715ba263853d30630808b2cfc43076454bf Author: Timo Sirainen Date: 2016-04-28 (Thu, 28 Apr 2016) Changed paths: M src/doveadm/doveadm-dump-index.c Log Message: ----------- doveadm dump: Added more index ext records. "msgs" and "vsize" are now expanded. Commit: 125840997e07d55eb998eeca72634bd64996586b https://github.com/dovecot/core/commit/125840997e07d55eb998eeca72634bd64996586b Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-storage/index/index-storage.h M src/lib-storage/index/index-sync.c Log Message: ----------- lib-storage: Added index_storage_list_index_has_changed_full() This allows the caller to use it to implement a slightly different mailbox.list_index_has_changed() Commit: 18856082d632ac60996637547098688148826b5a https://github.com/dovecot/core/commit/18856082d632ac60996637547098688148826b5a Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-storage/mail-storage.c Log Message: ----------- lib-storage: mailbox_set_subscribed() ignores duplicate changes now. Commit: 46f0240020160618bf3d08df8b75ec63186ebdec https://github.com/dovecot/core/commit/46f0240020160618bf3d08df8b75ec63186ebdec Author: Aki Tuomi Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-charset/charset-iconv.c M src/lib-charset/test-charset.c Log Message: ----------- lib-charset: Do not use //IGNORE on non-GNU system Commit: 274031f2e9dcab61611ca57e74a283d933285cdd https://github.com/dovecot/core/commit/274031f2e9dcab61611ca57e74a283d933285cdd Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/plugins/fts-lucene/lucene-wrapper.cc Log Message: ----------- fts-lucene: Fixed crash on rescan Broken by af2564c7f9e05ad245a032efdfbc5abbb9b70f1e - rescan_ctx can be NULL. Compare: https://github.com/dovecot/core/compare/c05c1b4c1711...274031f2e9dc From noreply at github.com Fri Apr 29 10:00:11 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 03:00:11 -0700 Subject: [dovecot/core] f7ef21: lib-index: Memory allocation optimization Message-ID: <572330ab807e_cae3fe2e5e932b8585f@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: f7ef214d77493f0063c494f3595d46cb165eae87 https://github.com/dovecot/core/commit/f7ef214d77493f0063c494f3595d46cb165eae87 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-index/mail-index-map.c Log Message: ----------- lib-index: Memory allocation optimization Commit: 2386c9f53c2608afa307d2ce9a0a2a5af1a50c08 https://github.com/dovecot/core/commit/2386c9f53c2608afa307d2ce9a0a2a5af1a50c08 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M m4/want_ldap.m4 Log Message: ----------- configure: Fixed (again) --with-ldap=plugin Compare: https://github.com/dovecot/core/compare/b4715b4a4277...2386c9f53c26 From noreply at github.com Fri Apr 29 10:00:13 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 03:00:13 -0700 Subject: [dovecot/core] 2dc8e2: configure: Fixed (again) --with-ldap=plugin Message-ID: <572330ad23685_56383f860189b2c03056e9@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 2dc8e2db12512cb249264276c708a69507e12396 https://github.com/dovecot/core/commit/2dc8e2db12512cb249264276c708a69507e12396 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M configure.ac Log Message: ----------- configure: Fixed (again) --with-ldap=plugin From noreply at github.com Fri Apr 29 11:30:11 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 04:30:11 -0700 Subject: [dovecot/core] 731192: lib: Implement i_realloc(mem==NULL) more efficient... Message-ID: <572345c359ce9_404e3fdb9f54f2bc1331c2@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 7311925c65813a1902e41eb5aa397ee5b839d39e https://github.com/dovecot/core/commit/7311925c65813a1902e41eb5aa397ee5b839d39e Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib/mempool-system.c Log Message: ----------- lib: Implement i_realloc(mem==NULL) more efficiently Various parts of code use this to allocate the initial buffer. We can do this more efficiently by using calloc(). Commit: 50ae8852cb28b11b9589a4ed5f2b54b10b1ab591 https://github.com/dovecot/core/commit/50ae8852cb28b11b9589a4ed5f2b54b10b1ab591 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib/buffer.c Log Message: ----------- lib: Use p_malloc() explicitly in first buffer_alloc() Although there is now code in p_realloc() that it should be just as efficient, this makes profiling somewhat nicer since it can better distinguish between actual reallocs and initial allocs. Commit: 09539f3db2f1b3e24f40844d8456b06d318d0fe7 https://github.com/dovecot/core/commit/09539f3db2f1b3e24f40844d8456b06d318d0fe7 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib/buffer.c Log Message: ----------- lib: buffer_create_dynamic() now adds +1 to init_size Commit: 749097cae4e02bdeccb8b09f7dda6e2da6812ee1 https://github.com/dovecot/core/commit/749097cae4e02bdeccb8b09f7dda6e2da6812ee1 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-index/mail-index-map.c Log Message: ----------- lib-index: Use a bit larger initial records buffer size For example with a mailbox having 160k messages the buffer size is around 10MB. Adding just 1% more space to it allows a lot more appends before the buffer needs to be realloced. This reduces CPU usage quite a lot. Compare: https://github.com/dovecot/core/compare/2386c9f53c26...749097cae4e0 From noreply at github.com Fri Apr 29 11:30:15 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 04:30:15 -0700 Subject: [dovecot/core] 62219b: lib-index: Memory allocation optimization Message-ID: <572345c781651_35873fade5a4329c1814b6@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 62219bb5a13b95f1fa4c0d90986f2605b6324738 https://github.com/dovecot/core/commit/62219bb5a13b95f1fa4c0d90986f2605b6324738 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-index/mail-index-map.c Log Message: ----------- lib-index: Memory allocation optimization Commit: 81bbb8ec793a59f724b7c7d242f2187ff50567c2 https://github.com/dovecot/core/commit/81bbb8ec793a59f724b7c7d242f2187ff50567c2 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib/mempool-system.c Log Message: ----------- lib: Implement i_realloc(mem==NULL) more efficiently Various parts of code use this to allocate the initial buffer. We can do this more efficiently by using calloc(). Commit: 83373a25e7d2c6cc674cebea0db94f510110405f https://github.com/dovecot/core/commit/83373a25e7d2c6cc674cebea0db94f510110405f Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib/buffer.c Log Message: ----------- lib: Use p_malloc() explicitly in first buffer_alloc() Although there is now code in p_realloc() that it should be just as efficient, this makes profiling somewhat nicer since it can better distinguish between actual reallocs and initial allocs. Commit: 9273e1847d0cf0a2945e3c91c9bccb26869686dd https://github.com/dovecot/core/commit/9273e1847d0cf0a2945e3c91c9bccb26869686dd Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib/buffer.c Log Message: ----------- lib: buffer_create_dynamic() now adds +1 to init_size Commit: 31a274ee6fd77f9b1814fa18d38b06d6b70c7805 https://github.com/dovecot/core/commit/31a274ee6fd77f9b1814fa18d38b06d6b70c7805 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-index/mail-index-map.c Log Message: ----------- lib-index: Use a bit larger initial records buffer size For example with a mailbox having 160k messages the buffer size is around 10MB. Adding just 1% more space to it allows a lot more appends before the buffer needs to be realloced. This reduces CPU usage quite a lot. Compare: https://github.com/dovecot/core/compare/2dc8e2db1251...31a274ee6fd7 From noreply at github.com Fri Apr 29 11:36:13 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 04:36:13 -0700 Subject: [dovecot/core] de8fc9: imapc: Fixed EXPUNGE handling when imapc_features ... Message-ID: <5723472de22f_74323fe57a1b32b8824f@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: de8fc9d21460bf0369d671e9ba9361592379a7c5 https://github.com/dovecot/core/commit/de8fc9d21460bf0369d671e9ba9361592379a7c5 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-storage/index/imapc/imapc-mailbox.c Log Message: ----------- imapc: Fixed EXPUNGE handling when imapc_features didn't have modseq From noreply at github.com Fri Apr 29 11:36:15 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 04:36:15 -0700 Subject: [dovecot/core] ea3a3b: imapc: Fixed EXPUNGE handling when imapc_features ... Message-ID: <5723472fc1dfc_206e3f8228e2f2b822612@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: ea3a3b6383601ca04a732f09f7c6710158f23a66 https://github.com/dovecot/core/commit/ea3a3b6383601ca04a732f09f7c6710158f23a66 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-storage/index/imapc/imapc-mailbox.c Log Message: ----------- imapc: Fixed EXPUNGE handling when imapc_features didn't have modseq From noreply at github.com Fri Apr 29 12:00:11 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 05:00:11 -0700 Subject: [dovecot/core] 6876b6: lib-ldap: Set minimum protocol if supported by lib... Message-ID: <57234ccb9fd9c_522f3ff7a2a272c041491@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 6876b613e6532583b7ad317f28857940a562a66d https://github.com/dovecot/core/commit/6876b613e6532583b7ad317f28857940a562a66d Author: Aki Tuomi Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-ldap/ldap-connection.c Log Message: ----------- lib-ldap: Set minimum protocol if supported by library From noreply at github.com Fri Apr 29 12:00:13 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 05:00:13 -0700 Subject: [dovecot/core] a17f06: lib-ldap: Set minimum protocol if supported by lib... Message-ID: <57234ccdad40e_36a23fec1b6072b8979e2@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: a17f0687f5ad115b93ac962b7ec6d5aec9a92b2b https://github.com/dovecot/core/commit/a17f0687f5ad115b93ac962b7ec6d5aec9a92b2b Author: Aki Tuomi Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-ldap/ldap-connection.c Log Message: ----------- lib-ldap: Set minimum protocol if supported by library From noreply at github.com Fri Apr 29 13:00:16 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 06:00:16 -0700 Subject: [dovecot/core] bd3f28: quota: Optimize handling a large number of expunge... Message-ID: <57235ae0c3a67_2bd63fd1e95fb2c02105d2@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: bd3f28156ad2c5d1c99e0d3e5e9fdfe48694187e https://github.com/dovecot/core/commit/bd3f28156ad2c5d1c99e0d3e5e9fdfe48694187e Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/plugins/quota/quota-storage.c Log Message: ----------- quota: Optimize handling a large number of expunges. This assumes that the mail_expunge() was called in the same order as sync_notify(), which practically means that they were both done in ascending uid order. This is usually true. Commit: 86d26af6f9bd7ba50636b0c6440d7699400289f2 https://github.com/dovecot/core/commit/86d26af6f9bd7ba50636b0c6440d7699400289f2 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-fts/test-fts-icu.c M src/lib-ssl-iostream/ostream-openssl.c M src/lib/aqueue.c M src/lib/str.c Log Message: ----------- global: Use buffer_get_writable_size() where possible With 09539f3db increasing buffer's init_size with +1 some fts-icu unit tests started failing. And in general it's better to use the writable size since that provides the true size that can be used. Compare: https://github.com/dovecot/core/compare/a17f0687f5ad...86d26af6f9bd From noreply at github.com Fri Apr 29 13:00:11 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 06:00:11 -0700 Subject: [dovecot/core] 62f2f6: quota: Optimize handling a large number of expunge... Message-ID: <57235adbc733f_3ac63faf85adb2bc1070e5@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 62f2f6bafd6253443a8ec9715278db60df660254 https://github.com/dovecot/core/commit/62f2f6bafd6253443a8ec9715278db60df660254 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/plugins/quota/quota-storage.c Log Message: ----------- quota: Optimize handling a large number of expunges. This assumes that the mail_expunge() was called in the same order as sync_notify(), which practically means that they were both done in ascending uid order. This is usually true. Commit: 8b48c53a81bdc67f267ffbcc45ba9860cb49e977 https://github.com/dovecot/core/commit/8b48c53a81bdc67f267ffbcc45ba9860cb49e977 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-fts/test-fts-icu.c M src/lib-ssl-iostream/ostream-openssl.c M src/lib/aqueue.c M src/lib/str.c Log Message: ----------- global: Use buffer_get_writable_size() where possible With 09539f3db increasing buffer's init_size with +1 some fts-icu unit tests started failing. And in general it's better to use the writable size since that provides the true size that can be used. Compare: https://github.com/dovecot/core/compare/6876b613e653...8b48c53a81bd From noreply at github.com Fri Apr 29 15:00:16 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 08:00:16 -0700 Subject: [dovecot/core] 316c00: quota-count: Code cleanup - give consistent return... Message-ID: <572377005eedc_5adf3ff3333172a01459a0@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 316c00c38a5248cdf0ffa0af287beb9f1ade92ae https://github.com/dovecot/core/commit/316c00c38a5248cdf0ffa0af287beb9f1ade92ae Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/plugins/quota/quota-count.c Log Message: ----------- quota-count: Code cleanup - give consistent return value Although the callers didn't care if it returned 0 or 1. Commit: b6037984fb0a3409116f21ac241213f543d5d48b https://github.com/dovecot/core/commit/b6037984fb0a3409116f21ac241213f543d5d48b Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/plugins/quota/quota-count.c Log Message: ----------- quota-count: Cache quota usage within the same ioloop run. This mainly means that when both STORAGE and MESSAGES quota is looked up we don't need to calculate them twice. Compare: https://github.com/dovecot/core/compare/86d26af6f9bd...b6037984fb0a From noreply at github.com Fri Apr 29 15:00:10 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 08:00:10 -0700 Subject: [dovecot/core] 617092: quota-count: Code cleanup - give consistent return... Message-ID: <572376fa819ac_67c73fed6627129c25510@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 617092b0f17b37625e354d45108ad62baa65a858 https://github.com/dovecot/core/commit/617092b0f17b37625e354d45108ad62baa65a858 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/plugins/quota/quota-count.c Log Message: ----------- quota-count: Code cleanup - give consistent return value Although the callers didn't care if it returned 0 or 1. Commit: 464db6d9d6d9126ac87143fc7a466120ff5b70f4 https://github.com/dovecot/core/commit/464db6d9d6d9126ac87143fc7a466120ff5b70f4 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/plugins/quota/quota-count.c Log Message: ----------- quota-count: Cache quota usage within the same ioloop run. This mainly means that when both STORAGE and MESSAGES quota is looked up we don't need to calculate them twice. Compare: https://github.com/dovecot/core/compare/8b48c53a81bd...464db6d9d6d9 From noreply at github.com Fri Apr 29 16:00:13 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 09:00:13 -0700 Subject: [dovecot/core] b31204: quota: Fixed quota_over_flag handling when quota u... Message-ID: <5723850d44803_24543fb8abe952c0182a9@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: b3120486f617d6ab2634bb403bef5d1fde761442 https://github.com/dovecot/core/commit/b3120486f617d6ab2634bb403bef5d1fde761442 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/plugins/quota/quota.c Log Message: ----------- quota: Fixed quota_over_flag handling when quota usage==limit It couldn't really work correctly otherwise. If we've reached the quota, we want to start rejecting new mails. Commit: dcc6ade57671fa0798a0e19766f081932816b539 https://github.com/dovecot/core/commit/dcc6ade57671fa0798a0e19766f081932816b539 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/plugins/quota/quota.c Log Message: ----------- quota: Fixed debug logging for quota_over_flag Compare: https://github.com/dovecot/core/compare/b6037984fb0a...dcc6ade57671 From noreply at github.com Fri Apr 29 16:00:10 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 09:00:10 -0700 Subject: [dovecot/core] 272fef: quota: Fixed quota_over_flag handling when quota u... Message-ID: <5723850a3f2e6_583a3f90612692c034227c@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 272fef0a81805365ee9743200cc9277e10e066b2 https://github.com/dovecot/core/commit/272fef0a81805365ee9743200cc9277e10e066b2 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/plugins/quota/quota.c Log Message: ----------- quota: Fixed quota_over_flag handling when quota usage==limit It couldn't really work correctly otherwise. If we've reached the quota, we want to start rejecting new mails. Commit: a9c26c907e2995ec98f31e1716adaddb18e45742 https://github.com/dovecot/core/commit/a9c26c907e2995ec98f31e1716adaddb18e45742 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/plugins/quota/quota.c Log Message: ----------- quota: Fixed debug logging for quota_over_flag Compare: https://github.com/dovecot/core/compare/464db6d9d6d9...a9c26c907e29 From noreply at github.com Fri Apr 29 17:00:08 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 10:00:08 -0700 Subject: [dovecot/core] cfeebb: quota: Cleanup - split quota_over_flag to init & r... Message-ID: <57239318dbb66_11523f84473f329c833a6@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: cfeebb6dde3a3140972797c610ae78cc25c0b36c https://github.com/dovecot/core/commit/cfeebb6dde3a3140972797c610ae78cc25c0b36c Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/plugins/quota/quota-private.h M src/plugins/quota/quota-storage.c M src/plugins/quota/quota.c M src/plugins/quota/quota.h Log Message: ----------- quota: Cleanup - split quota_over_flag to init & run parts In preparation for the next change. Commit: ad3bf867168121a1255720487457d8bffc3f5e48 https://github.com/dovecot/core/commit/ad3bf867168121a1255720487457d8bffc3f5e48 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/plugins/quota/quota-count.c Log Message: ----------- quota: dict-quota was broken by 464db6d9d We can't assume that the quota_root given to quota_count() is count_quota_root, because dict_quota_root also calls it. Commit: c16f2d0725a16559cdeedec7628ce616725000cb https://github.com/dovecot/core/commit/c16f2d0725a16559cdeedec7628ce616725000cb Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/plugins/quota/quota-private.h M src/plugins/quota/quota-storage.c M src/plugins/quota/quota.c M src/plugins/quota/quota.h Log Message: ----------- quota: Added quota_over_flag_lazy_check flag. By default the quota_over_flag is checked immediately at startup. With this option the check is done only at a time when the quota is anyway being read. Compare: https://github.com/dovecot/core/compare/a9c26c907e29...c16f2d0725a1 From noreply at github.com Fri Apr 29 17:00:14 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 10:00:14 -0700 Subject: [dovecot/core] 154860: quota: Cleanup - split quota_over_flag to init & r... Message-ID: <5723931e1f3f6_32253fbfd655f2a016661a@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 1548608e92fa8a1a0ab9ea9622149fb0bc925606 https://github.com/dovecot/core/commit/1548608e92fa8a1a0ab9ea9622149fb0bc925606 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/plugins/quota/quota-private.h M src/plugins/quota/quota-storage.c M src/plugins/quota/quota.c M src/plugins/quota/quota.h Log Message: ----------- quota: Cleanup - split quota_over_flag to init & run parts In preparation for the next change. Commit: 31a3bc995702361571fe96dfe0080460b8755f73 https://github.com/dovecot/core/commit/31a3bc995702361571fe96dfe0080460b8755f73 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/plugins/quota/quota-count.c Log Message: ----------- quota: dict-quota was broken by 464db6d9d We can't assume that the quota_root given to quota_count() is count_quota_root, because dict_quota_root also calls it. Commit: ae96eaa83eb68274fea043e8dff2c0cab59e604c https://github.com/dovecot/core/commit/ae96eaa83eb68274fea043e8dff2c0cab59e604c Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/plugins/quota/quota-private.h M src/plugins/quota/quota-storage.c M src/plugins/quota/quota.c M src/plugins/quota/quota.h Log Message: ----------- quota: Added quota_over_flag_lazy_check flag. By default the quota_over_flag is checked immediately at startup. With this option the check is done only at a time when the quota is anyway being read. Compare: https://github.com/dovecot/core/compare/dcc6ade57671...ae96eaa83eb6 From noreply at github.com Fri Apr 29 17:30:10 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 10:30:10 -0700 Subject: [dovecot/core] d0f0b5: auth: Session ID wasn't exported to auth workers. Message-ID: <57239a22c1c33_4a913fdd5b6252a067269@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: d0f0b5553aea9013b55ead4841aa81d3e415132d https://github.com/dovecot/core/commit/d0f0b5553aea9013b55ead4841aa81d3e415132d Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/auth/auth-request.c Log Message: ----------- auth: Session ID wasn't exported to auth workers. Most importantly this means that log messages didn't contain them. Commit: efdaf9393742367a0d563a9cab3c9c4b6371e90d https://github.com/dovecot/core/commit/efdaf9393742367a0d563a9cab3c9c4b6371e90d Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/auth/auth-request.c Log Message: ----------- auth: Fixed final result in multiple userdbs We don't want to return the last result's success/failure, but the entire userdb chain's success/failure. Compare: https://github.com/dovecot/core/compare/c16f2d0725a1...efdaf9393742 From noreply at github.com Fri Apr 29 17:30:13 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 10:30:13 -0700 Subject: [dovecot/core] bbaeb0: auth: Session ID wasn't exported to auth workers. Message-ID: <57239a258f1fb_63db3fdee05272a094030@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: bbaeb01a32e56b01681843414a8dae28e055f262 https://github.com/dovecot/core/commit/bbaeb01a32e56b01681843414a8dae28e055f262 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/auth/auth-request.c Log Message: ----------- auth: Session ID wasn't exported to auth workers. Most importantly this means that log messages didn't contain them. Commit: 7f68a693c5a2215984839423089bc849b48d712a https://github.com/dovecot/core/commit/7f68a693c5a2215984839423089bc849b48d712a Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/auth/auth-request.c Log Message: ----------- auth: Fixed final result in multiple userdbs We don't want to return the last result's success/failure, but the entire userdb chain's success/failure. Compare: https://github.com/dovecot/core/compare/ae96eaa83eb6...7f68a693c5a2 From noreply at github.com Fri Apr 29 19:00:12 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 12:00:12 -0700 Subject: [dovecot/core] 314d5f: lib-ldap: Make static analyzer happier Message-ID: <5723af3c17d87_63db3fdee05272a0956da@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 314d5f114e79dcc0dc9cbcaf87c705f7e50e8c7e https://github.com/dovecot/core/commit/314d5f114e79dcc0dc9cbcaf87c705f7e50e8c7e Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-ldap/ldap-search.c Log Message: ----------- lib-ldap: Make static analyzer happier Remove dead assignment. From noreply at github.com Fri Apr 29 19:30:12 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 12:30:12 -0700 Subject: [dovecot/core] c1684f: lib: Set timestamp part more accurately in guid_12... Message-ID: <5723b6446a446_303b3fbea41432bc1332df@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: c1684fd2affe6159e99bc6de0fd387ce802f0ca6 https://github.com/dovecot/core/commit/c1684fd2affe6159e99bc6de0fd387ce802f0ca6 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib/guid.c Log Message: ----------- lib: Set timestamp part more accurately in guid_128_generate() Previously a long-running process would keep the timestamp close to its original start time. This doesn't really matter as long as GUIDs are treated opaque, but some pieces of code prefer to try to use the timestamp fields since they're already there. This makes such code work more nicely. Commit: 6de95f63d4590814354fa5e35e92946c58d4562e https://github.com/dovecot/core/commit/6de95f63d4590814354fa5e35e92946c58d4562e Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lmtp/commands.c Log Message: ----------- lmtp: Connect to anvil earlier while still running as root This was a problem only with lmtp_rcpt_check_quota=yes. Commit: e08a3c92eb9470296ea2d6b1834179c8564f3d1f https://github.com/dovecot/core/commit/e08a3c92eb9470296ea2d6b1834179c8564f3d1f Author: Martti Rannanj?rvi Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-fs/fs-posix.c Log Message: ----------- lib-fs: don't append '/' to prefix in posix-fs Commit: befccf297cba74009dfd0447a0dcea018af756fe https://github.com/dovecot/core/commit/befccf297cba74009dfd0447a0dcea018af756fe Author: Stephan Bosch Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-http/http-client-request.c M src/lib-http/http-client.h Log Message: ----------- lib-http: client: Added ability to configure a specific proxy for individual requests. This way, a request can be routed to a specific proxy (or origin server). The destination can also be a unix socket. Commit: e2d420dc4bbb06de56ca225c1d9eb79456c792c5 https://github.com/dovecot/core/commit/e2d420dc4bbb06de56ca225c1d9eb79456c792c5 Author: Stephan Bosch Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib/strfuncs.c M src/lib/strfuncs.h M src/lib/test-strfuncs.c Log Message: ----------- lib: Finished string trimming functions to trim characters from beginning and/or end of a string. This also restructures the code to avoid code duplication as much as possible. Commit: ac157a6a06f10f3691a3512fbe05a7781c6d22d2 https://github.com/dovecot/core/commit/ac157a6a06f10f3691a3512fbe05a7781c6d22d2 Author: Teemu Huovila Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-dict-extra/dict-ldap.c Log Message: ----------- lib-dict-extra: Avoid out of scope data stack usage. Commit: d61490e38c4c2fbfb761200f4169c52c09a63169 https://github.com/dovecot/core/commit/d61490e38c4c2fbfb761200f4169c52c09a63169 Author: Martti Rannanj?rvi Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-storage/list/subscription-file.c Log Message: ----------- lib-storage: write subscription file in version 2 format Write subscriptions file in a format that only v2.2.17 or newer can read, so after dovecot converts the files to the new format, downgrading to a version older than v2.2.17 is not supported. Commit: 68eb16778de5e694e4700c3631fa7f1919f18c49 https://github.com/dovecot/core/commit/68eb16778de5e694e4700c3631fa7f1919f18c49 Author: Martti Rannanj?rvi Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/doveadm/Makefile.am M src/doveadm/doveadm-cmd.c R src/doveadm/doveadm-mount.c M src/lib-master/Makefile.am R src/lib-master/mountpoint-list.c R src/lib-master/mountpoint-list.h Log Message: ----------- lib-master, doveadm: remove mountpoint-list.* and doveadm mount commands Commit: 197a3e48d6ca4f03d762ce45527e744c8a3d48e4 https://github.com/dovecot/core/commit/197a3e48d6ca4f03d762ce45527e744c8a3d48e4 Author: Martti Rannanj?rvi Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-lda/mail-deliver.c Log Message: ----------- lib-lda: remove forced logging of session_id Commit: fe219d44d016a40771117bdcb112828cdfad36a4 https://github.com/dovecot/core/commit/fe219d44d016a40771117bdcb112828cdfad36a4 Author: Martti Rannanj?rvi Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/plugins/mail-log/mail-log-plugin.c Log Message: ----------- mail-log: log headers as utf8 Commit: 3fd02e831c32598deda589ae536fdaa4022d9750 https://github.com/dovecot/core/commit/3fd02e831c32598deda589ae536fdaa4022d9750 Author: Aki Tuomi Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-dict-extra/dict-fs.c M src/lib-dict/dict-client.h M src/lib-dict/dict-file.c M src/lib-dict/dict-memcached-ascii.c M src/lib-dict/dict-transaction-memory.c M src/lib-dict/dict-transaction-memory.h Log Message: ----------- lib-dict: Further remove APPEND Compare: https://github.com/dovecot/core/compare/314d5f114e79...3fd02e831c32 From noreply at github.com Fri Apr 29 19:30:16 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 12:30:16 -0700 Subject: [dovecot/core] 48526b: lib-ldap: Make static analyzer happier Message-ID: <5723b648c6d57_52f33ff15318b29c8656f@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 48526bfec75c6f199d74b280a9a2b65b1d05eb57 https://github.com/dovecot/core/commit/48526bfec75c6f199d74b280a9a2b65b1d05eb57 Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-ldap/ldap-search.c Log Message: ----------- lib-ldap: Make static analyzer happier Remove dead assignment. Commit: 7f5d5fff77c66971b58e975d839442634c12bc6d https://github.com/dovecot/core/commit/7f5d5fff77c66971b58e975d839442634c12bc6d Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib/guid.c Log Message: ----------- lib: Set timestamp part more accurately in guid_128_generate() Previously a long-running process would keep the timestamp close to its original start time. This doesn't really matter as long as GUIDs are treated opaque, but some pieces of code prefer to try to use the timestamp fields since they're already there. This makes such code work more nicely. Commit: eb83d99d3a21d817ce42cbdf52fbf903d65a405a https://github.com/dovecot/core/commit/eb83d99d3a21d817ce42cbdf52fbf903d65a405a Author: Timo Sirainen Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lmtp/commands.c Log Message: ----------- lmtp: Connect to anvil earlier while still running as root This was a problem only with lmtp_rcpt_check_quota=yes. Compare: https://github.com/dovecot/core/compare/7f68a693c5a2...eb83d99d3a21 From noreply at github.com Fri Apr 29 21:00:12 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 14:00:12 -0700 Subject: [dovecot/core] e1a4ea: lib-http: server: Implemented means to gracefully ... Message-ID: <5723cb5c39bf0_617d3f96acc1929c3005cf@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: e1a4ea6ad3e799ef8df7395e765c0ae9218e6c5d https://github.com/dovecot/core/commit/e1a4ea6ad3e799ef8df7395e765c0ae9218e6c5d Author: Stephan Bosch Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/lib-http/http-server-connection.c M src/lib-http/http-server-private.h M src/lib-http/http-server.c M src/lib-http/http-server.h Log Message: ----------- lib-http: server: Implemented means to gracefully shut down the server. While shutting down, it will not accept new requests and connections are closed once they become idle. Commit: 3cd59a62afec77f8ab6b844905f73cffa965142f https://github.com/dovecot/core/commit/3cd59a62afec77f8ab6b844905f73cffa965142f Author: Aki Tuomi Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M src/doveadm/client-connection-http.c Log Message: ----------- doveadm-server: Handle istream send error. Commit: 74780c1e28bebb2b8b0a2ee7376244030c2e043f https://github.com/dovecot/core/commit/74780c1e28bebb2b8b0a2ee7376244030c2e043f Author: Michael Slusarz Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M .gitignore M doc/man/Makefile.am A doc/man/doveadm-fs.1.in Log Message: ----------- man: Add stub for doveadm-fs command Commit: 7633195df10da3c0f73502376a40fa58a2d82a5a https://github.com/dovecot/core/commit/7633195df10da3c0f73502376a40fa58a2d82a5a Author: Martti Rannanj?rvi Date: 2016-04-29 (Fri, 29 Apr 2016) Changed paths: M doc/example-config/conf.d/10-mail.conf M src/lib-storage/mail-storage-settings.c Log Message: ----------- lib-storage: mailbox_list_index yes by default Compare: https://github.com/dovecot/core/compare/3fd02e831c32...7633195df10d From noreply at github.com Fri Apr 29 22:30:10 2016 From: noreply at github.com (GitHub) Date: Fri, 29 Apr 2016 15:30:10 -0700 Subject: [dovecot/core] 22b0b5: lib-fs: Fixed fs_get_metadata() with fs-metawrap Message-ID: <5723e0725d7d0_2c253fe33fe512a01267cc@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 22b0b59ada158df7f00fd01d0c138317a843a546 https://github.com/dovecot/core/commit/22b0b59ada158df7f00fd01d0c138317a843a546 Author: Timo Sirainen Date: 2016-04-30 (Sat, 30 Apr 2016) Changed paths: M src/lib-fs/fs-metawrap.c Log Message: ----------- lib-fs: Fixed fs_get_metadata() with fs-metawrap If mail was already read to EOF. Commit: e7c85ff1029e1e01740613c2de2766e609195d84 https://github.com/dovecot/core/commit/e7c85ff1029e1e01740613c2de2766e609195d84 Author: Timo Sirainen Date: 2016-04-30 (Sat, 30 Apr 2016) Changed paths: M src/plugins/quota/quota-storage.c Log Message: ----------- quota: Fix to earlier commit 62f2f6baf expunge_uids may become empty with prev_idx > 0 Compare: https://github.com/dovecot/core/compare/7633195df10d...e7c85ff1029e From noreply at github.com Sat Apr 30 11:27:40 2016 From: noreply at github.com (GitHub) Date: Sat, 30 Apr 2016 04:27:40 -0700 Subject: [dovecot/core] 12fd7a: lib-mail: message-parser assert-crashfix Message-ID: <572496ac2d5b9_56383f860189b2c0321070@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 12fd7a30563f3256642070ef9528dda0d089cb41 https://github.com/dovecot/core/commit/12fd7a30563f3256642070ef9528dda0d089cb41 Author: Timo Sirainen Date: 2016-04-30 (Sat, 30 Apr 2016) Changed paths: M src/lib-mail/message-parser.c M src/lib-mail/test-message-parser.c Log Message: ----------- lib-mail: message-parser assert-crashfix Crashes when multipart MIME header is missing end-of-headers line and the boundary begins with the same prefix as one of the parent boundaries. Broken by 7a12331c6 From noreply at github.com Sat Apr 30 11:27:42 2016 From: noreply at github.com (GitHub) Date: Sat, 30 Apr 2016 04:27:42 -0700 Subject: [dovecot/core] 91ccea: man: Add stub for doveadm-fs command Message-ID: <572496aed11fc_185e3fa44dfa72c01231af@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 91ccea17ca5d6b7ac798d23357774933ac9524ea https://github.com/dovecot/core/commit/91ccea17ca5d6b7ac798d23357774933ac9524ea Author: Michael Slusarz Date: 2016-04-30 (Sat, 30 Apr 2016) Changed paths: M .gitignore M doc/man/Makefile.am A doc/man/doveadm-fs.1.in Log Message: ----------- man: Add stub for doveadm-fs command Commit: b58c7f9aabe884d575f7914e6af0874c9a284e11 https://github.com/dovecot/core/commit/b58c7f9aabe884d575f7914e6af0874c9a284e11 Author: Timo Sirainen Date: 2016-04-30 (Sat, 30 Apr 2016) Changed paths: M src/lib-fs/fs-metawrap.c Log Message: ----------- lib-fs: Fixed fs_get_metadata() with fs-metawrap If mail was already read to EOF. Commit: 0192511cbe5445f3db5baa65b6206fd6d8d62dcb https://github.com/dovecot/core/commit/0192511cbe5445f3db5baa65b6206fd6d8d62dcb Author: Timo Sirainen Date: 2016-04-30 (Sat, 30 Apr 2016) Changed paths: M src/plugins/quota/quota-storage.c Log Message: ----------- quota: Fix to earlier commit 62f2f6baf expunge_uids may become empty with prev_idx > 0 Commit: 0f6a26edeebd55a24d4ac763ec4088c252181c10 https://github.com/dovecot/core/commit/0f6a26edeebd55a24d4ac763ec4088c252181c10 Author: Timo Sirainen Date: 2016-04-30 (Sat, 30 Apr 2016) Changed paths: M src/lib-mail/message-parser.c M src/lib-mail/test-message-parser.c Log Message: ----------- lib-mail: message-parser assert-crashfix Crashes when multipart MIME header is missing end-of-headers line and the boundary begins with the same prefix as one of the parent boundaries. Broken by 7a12331c6 Compare: https://github.com/dovecot/core/compare/eb83d99d3a21...0f6a26edeebd From noreply at github.com Sat Apr 30 12:00:10 2016 From: noreply at github.com (GitHub) Date: Sat, 30 Apr 2016 05:00:10 -0700 Subject: [dovecot/core] e353d0: lib-storage: Clear list error before mailbox_list_... Message-ID: <57249e4a8a528_78133fe27f75f2a0171121@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: e353d03d3643f380dc7e6dc29a512dec86b8a3de https://github.com/dovecot/core/commit/e353d03d3643f380dc7e6dc29a512dec86b8a3de Author: Timo Sirainen Date: 2016-04-30 (Sat, 30 Apr 2016) Changed paths: M src/lib-storage/mailbox-list.c Log Message: ----------- lib-storage: Clear list error before mailbox_list_get_hierarchy_sep() With ACL plugin enabled the call could have triggered dovecot-acl-list rebuild, which in turn could have set list errors if it didn't have permissions to all the mailboxes. This caused IMAP logins to fail. From noreply at github.com Sat Apr 30 12:00:13 2016 From: noreply at github.com (GitHub) Date: Sat, 30 Apr 2016 05:00:13 -0700 Subject: [dovecot/core] 30c9ff: lib-storage: Clear list error before mailbox_list_... Message-ID: <57249e4d43885_39283fbd670d12b8275514@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 30c9ffa5fd5d7f6b7d7b8812714eea8c61651135 https://github.com/dovecot/core/commit/30c9ffa5fd5d7f6b7d7b8812714eea8c61651135 Author: Timo Sirainen Date: 2016-04-30 (Sat, 30 Apr 2016) Changed paths: M src/lib-storage/mailbox-list.c Log Message: ----------- lib-storage: Clear list error before mailbox_list_get_hierarchy_sep() With ACL plugin enabled the call could have triggered dovecot-acl-list rebuild, which in turn could have set list errors if it didn't have permissions to all the mailboxes. This caused IMAP logins to fail. From noreply at github.com Sat Apr 30 12:30:09 2016 From: noreply at github.com (GitHub) Date: Sat, 30 Apr 2016 05:30:09 -0700 Subject: [dovecot/core] eaae34: .gitignore: Added *~ Message-ID: <5724a5516526a_6e103fe90eb8329c977ae@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: eaae3462357ba99d65141ed511276c484974653f https://github.com/dovecot/core/commit/eaae3462357ba99d65141ed511276c484974653f Author: Timo Sirainen Date: 2016-04-30 (Sat, 30 Apr 2016) Changed paths: M .gitignore Log Message: ----------- .gitignore: Added *~ Commit: 0a6d1a48c7649f47ded69c550f45357201e7bdec https://github.com/dovecot/core/commit/0a6d1a48c7649f47ded69c550f45357201e7bdec Author: Stephan Bosch Date: 2016-04-30 (Sat, 30 Apr 2016) Changed paths: M src/lib-http/http-server-connection.c Log Message: ----------- lib-http: server: Fixed assert failure occurring when closing the connection while a request payload was still being read. Compare: https://github.com/dovecot/core/compare/e353d03d3643...0a6d1a48c764 From noreply at github.com Sat Apr 30 13:00:10 2016 From: noreply at github.com (GitHub) Date: Sat, 30 Apr 2016 06:00:10 -0700 Subject: [dovecot/core] 9c8699: lib: ostream-file: Renamed iov_size to iov_count e... Message-ID: <5724ac5a7ef1c_47853fc61cf512bc5122c@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 9c8699034c6d50403764fdec6915ab60a6012034 https://github.com/dovecot/core/commit/9c8699034c6d50403764fdec6915ab60a6012034 Author: Stephan Bosch Date: 2016-04-30 (Sat, 30 Apr 2016) Changed paths: M src/lib/ostream-file.c Log Message: ----------- lib: ostream-file: Renamed iov_size to iov_count everywhere and made it unsigned int for consistency. Commit: 6fae619f0c18de2a4c0656593e029929a60c4956 https://github.com/dovecot/core/commit/6fae619f0c18de2a4c0656593e029929a60c4956 Author: Stephan Bosch Date: 2016-04-30 (Sat, 30 Apr 2016) Changed paths: M src/lib/ostream-file.c Log Message: ----------- lib: ostream-file: Renamed o_stream_writev() to o_stream_file_writev_full(). Commit: 5e6d463808595353c6b8140bcfc12445bcd27ab4 https://github.com/dovecot/core/commit/5e6d463808595353c6b8140bcfc12445bcd27ab4 Author: Stephan Bosch Date: 2016-04-30 (Sat, 30 Apr 2016) Changed paths: M src/lib/ostream-file.c Log Message: ----------- lib: ostream-file: Split o_stream_file_writev() from o_stream_file_writev_full(). Commit: 2ac0ee86377636dcf9e8c0ddad93842b1fb3d46a https://github.com/dovecot/core/commit/2ac0ee86377636dcf9e8c0ddad93842b1fb3d46a Author: Stephan Bosch Date: 2016-04-30 (Sat, 30 Apr 2016) Changed paths: M src/lib/Makefile.am A src/lib/ostream-file-private.h M src/lib/ostream-file.c Log Message: ----------- lib: ostream-file: Allow creating derived file output streams. Commit: ea623e25e8d03cb1c28677f418d3dcd5729d09e1 https://github.com/dovecot/core/commit/ea623e25e8d03cb1c28677f418d3dcd5729d09e1 Author: Stephan Bosch Date: 2016-04-30 (Sat, 30 Apr 2016) Changed paths: M src/lib/Makefile.am A src/lib/ostream-unix.c A src/lib/ostream-unix.h Log Message: ----------- lib: Added ostream-unix for writing fd sockets via ostream. Compare: https://github.com/dovecot/core/compare/0a6d1a48c764...ea623e25e8d0