From noreply at github.com Mon May 2 09:00:09 2016 From: noreply at github.com (GitHub) Date: Mon, 02 May 2016 02:00:09 -0700 Subject: [dovecot/core] cc7699: auth: Added %{auth_user/username/domain} variables Message-ID: <57271719c4d1c_eb33fa7148c92b8113354@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: cc7699162ad3f1eaa95997b95b299610ca07158d https://github.com/dovecot/core/commit/cc7699162ad3f1eaa95997b95b299610ca07158d Author: Timo Sirainen Date: 2016-05-02 (Mon, 02 May 2016) Changed paths: M src/auth/auth-request-var-expand.c M src/auth/auth-request-var-expand.h Log Message: ----------- auth: Added %{auth_user/username/domain} variables From noreply at github.com Mon May 2 09:30:11 2016 From: noreply at github.com (GitHub) Date: Mon, 02 May 2016 02:30:11 -0700 Subject: [dovecot/core] 3c5d11: imap: Added struct client_command_context.tagline_... Message-ID: <57271e23a828e_ada3fe02ff952a029057f@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 3c5d1187e825bc9fd4f8ccf3911cc34df3d3e05f https://github.com/dovecot/core/commit/3c5d1187e825bc9fd4f8ccf3911cc34df3d3e05f Author: Timo Sirainen Date: 2016-05-02 (Mon, 02 May 2016) Changed paths: M src/imap/imap-client.c M src/imap/imap-client.h Log Message: ----------- imap: Added struct client_command_context.tagline_reply Can be used by plugins. From noreply at github.com Mon May 2 09:30:14 2016 From: noreply at github.com (GitHub) Date: Mon, 02 May 2016 02:30:14 -0700 Subject: [dovecot/core] 9ba5b7: auth: Added %{auth_user/username/domain} variables Message-ID: <57271e2620fc1_30593fb43cc3929c1575d4@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 9ba5b7f02bbfda58de4b539a85ae35678bfb8419 https://github.com/dovecot/core/commit/9ba5b7f02bbfda58de4b539a85ae35678bfb8419 Author: Timo Sirainen Date: 2016-05-02 (Mon, 02 May 2016) Changed paths: M src/auth/auth-request-var-expand.c M src/auth/auth-request-var-expand.h Log Message: ----------- auth: Added %{auth_user/username/domain} variables Commit: 6d1972db0f5f6e503c55fa590d4fbbf2c570d796 https://github.com/dovecot/core/commit/6d1972db0f5f6e503c55fa590d4fbbf2c570d796 Author: Timo Sirainen Date: 2016-05-02 (Mon, 02 May 2016) Changed paths: M src/imap/imap-client.c M src/imap/imap-client.h Log Message: ----------- imap: Added struct client_command_context.tagline_reply Can be used by plugins. Compare: https://github.com/dovecot/core/compare/30c9ffa5fd5d...6d1972db0f5f From noreply at github.com Mon May 2 11:30:10 2016 From: noreply at github.com (GitHub) Date: Mon, 02 May 2016 04:30:10 -0700 Subject: [dovecot/core] 969c46: dict-ldap: Don't reuse dict for different username... Message-ID: <57273a42a9d76_79e23fcab97db2c04002b@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 969c46c1d078c3f5d6814a653545c7beca4ef05b https://github.com/dovecot/core/commit/969c46c1d078c3f5d6814a653545c7beca4ef05b Author: Timo Sirainen Date: 2016-05-02 (Mon, 02 May 2016) Changed paths: M src/lib-dict-extra/dict-ldap.c Log Message: ----------- dict-ldap: Don't reuse dict for different usernames. Fixes doing priv/* lookups for multiple usernames. This currently also means that each username will create a separate LDAP connection, which isn't ideal. But this is probably better fixed in lib-ldap code similar to how lib-sql does connection pooling. From noreply at github.com Mon May 2 11:30:13 2016 From: noreply at github.com (GitHub) Date: Mon, 02 May 2016 04:30:13 -0700 Subject: [dovecot/core] f3781e: dict-ldap: Don't reuse dict for different username... Message-ID: <57273a453f904_57e83fce4bf3f29c221292@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: f3781e51f41fc3f8404c1bf62f99214d26aeb0f1 https://github.com/dovecot/core/commit/f3781e51f41fc3f8404c1bf62f99214d26aeb0f1 Author: Timo Sirainen Date: 2016-05-02 (Mon, 02 May 2016) Changed paths: M src/lib-dict-extra/dict-ldap.c Log Message: ----------- dict-ldap: Don't reuse dict for different usernames. Fixes doing priv/* lookups for multiple usernames. This currently also means that each username will create a separate LDAP connection, which isn't ideal. But this is probably better fixed in lib-ldap code similar to how lib-sql does connection pooling. From noreply at github.com Mon May 2 14:00:14 2016 From: noreply at github.com (GitHub) Date: Mon, 02 May 2016 07:00:14 -0700 Subject: [dovecot/core] 90afb1: dict-ldap: Removed caching of ldap-clients Message-ID: <57275d6eef1a_3f913fea713db29c9785a@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 90afb170719aeed89a8d40a1a01d2bade2a3619b https://github.com/dovecot/core/commit/90afb170719aeed89a8d40a1a01d2bade2a3619b Author: Timo Sirainen Date: 2016-05-02 (Mon, 02 May 2016) Changed paths: M src/lib-dict-extra/dict-ldap.c Log Message: ----------- dict-ldap: Removed caching of ldap-clients With the previous per-username caching there could be a huge number of dict-ldaps. Commit: 527dad09b4f11062bf34ce7ea5150a4e94c5185a https://github.com/dovecot/core/commit/527dad09b4f11062bf34ce7ea5150a4e94c5185a Author: Timo Sirainen Date: 2016-05-02 (Mon, 02 May 2016) Changed paths: M src/lib-dict-extra/dict-ldap.c M src/lib-ldap/Makefile.am M src/lib-ldap/ldap-client.c M src/lib-ldap/ldap-client.h A src/lib-ldap/ldap-connection-pool.c A src/lib-ldap/ldap-connection-pool.h M src/lib-ldap/ldap-connection.c M src/lib-ldap/ldap-private.h Log Message: ----------- lib-ldap: Added initial connection pooling code. This is mainly about allowing multiple dict-ldaps to use the same ldap-connection. In future we could support load balancing with multiple concurrent LDAP connections. Compare: https://github.com/dovecot/core/compare/f3781e51f41f...527dad09b4f1 From noreply at github.com Mon May 2 14:00:11 2016 From: noreply at github.com (GitHub) Date: Mon, 02 May 2016 07:00:11 -0700 Subject: [dovecot/core] 8147f5: dict-ldap: Removed caching of ldap-clients Message-ID: <57275d6be8a20_551d3fa29fa0d29c106894@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 8147f5c13baa75e05e8c6135fe44ac6009ebc12c https://github.com/dovecot/core/commit/8147f5c13baa75e05e8c6135fe44ac6009ebc12c Author: Timo Sirainen Date: 2016-05-02 (Mon, 02 May 2016) Changed paths: M src/lib-dict-extra/dict-ldap.c Log Message: ----------- dict-ldap: Removed caching of ldap-clients With the previous per-username caching there could be a huge number of dict-ldaps. Commit: 9e6c76cae59ece71f72e33d8fac9025ee12eaf05 https://github.com/dovecot/core/commit/9e6c76cae59ece71f72e33d8fac9025ee12eaf05 Author: Timo Sirainen Date: 2016-05-02 (Mon, 02 May 2016) Changed paths: M src/lib-dict-extra/dict-ldap.c M src/lib-ldap/Makefile.am M src/lib-ldap/ldap-client.c M src/lib-ldap/ldap-client.h A src/lib-ldap/ldap-connection-pool.c A src/lib-ldap/ldap-connection-pool.h M src/lib-ldap/ldap-connection.c M src/lib-ldap/ldap-private.h Log Message: ----------- lib-ldap: Added initial connection pooling code. This is mainly about allowing multiple dict-ldaps to use the same ldap-connection. In future we could support load balancing with multiple concurrent LDAP connections. Compare: https://github.com/dovecot/core/compare/969c46c1d078...9e6c76cae59e From noreply at github.com Mon May 2 14:30:10 2016 From: noreply at github.com (GitHub) Date: Mon, 02 May 2016 07:30:10 -0700 Subject: [dovecot/core] fc4e52: lib-storage: Changed mail storage initialization. Message-ID: <572764722ba8b_24783ff170bb72bc17692e@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: fc4e528886f47bf4d2dd0276fb8705c085c3b9ae https://github.com/dovecot/core/commit/fc4e528886f47bf4d2dd0276fb8705c085c3b9ae Author: Timo Sirainen Date: 2016-05-02 (Mon, 02 May 2016) Changed paths: M src/lib-storage/index/raw/raw-storage.c M src/lib-storage/mail-namespace.c M src/lib-storage/mail-user.c Log Message: ----------- lib-storage: Changed mail storage initialization. Most importantly require mail_namespaces_init_finish() after mail_storage_create(). This was needed so that mail_namespaces_created/added hook would always have the ns->list set, which is required for several of the hooks to work (e.g. mailbox list index) From noreply at github.com Mon May 2 15:00:10 2016 From: noreply at github.com (GitHub) Date: Mon, 02 May 2016 08:00:10 -0700 Subject: [dovecot/core] 3353c3: lib-ldap: Do not retry with bad credentials Message-ID: <57276b7ab831b_18ec3fe6b10472c02331d2@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 3353c3891012d26079631f817e99d65ac3f04d11 https://github.com/dovecot/core/commit/3353c3891012d26079631f817e99d65ac3f04d11 Author: Aki Tuomi Date: 2016-05-02 (Mon, 02 May 2016) Changed paths: M src/lib-ldap/ldap-connection.c Log Message: ----------- lib-ldap: Do not retry with bad credentials Commit: 21c4d793772b4077804d5fc8c7e5724915a7f735 https://github.com/dovecot/core/commit/21c4d793772b4077804d5fc8c7e5724915a7f735 Author: Aki Tuomi Date: 2016-05-02 (Mon, 02 May 2016) Changed paths: M src/lib-ldap/ldap-connection.c Log Message: ----------- lib-ldap: Handle various LDAP failures correctly Compare: https://github.com/dovecot/core/compare/fc4e528886f4...21c4d793772b From noreply at github.com Mon May 2 15:51:34 2016 From: noreply at github.com (GitHub) Date: Mon, 02 May 2016 08:51:34 -0700 Subject: [dovecot/pigeonhole] b9e567: lib-sieve: Handle extension overriding itself prop... Message-ID: <5727778691637_5adf3ff3333172a0183541@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: b9e567b56ab2dfb9ce10100407524b872d44b476 https://github.com/dovecot/pigeonhole/commit/b9e567b56ab2dfb9ce10100407524b872d44b476 Author: Stephan Bosch Date: 2016-04-28 (Thu, 28 Apr 2016) Changed paths: M src/lib-sieve/sieve-extensions.c Log Message: ----------- lib-sieve: Handle extension overriding itself properly. Commit: 2dc13c59938eeb35a4a99c86fcd293d65e045e3d https://github.com/dovecot/pigeonhole/commit/2dc13c59938eeb35a4a99c86fcd293d65e045e3d Author: Stephan Bosch Date: 2016-05-02 (Mon, 02 May 2016) Changed paths: M src/lib-sieve/sieve-extensions.c Log Message: ----------- Merged concurrent changes. Compare: https://github.com/dovecot/pigeonhole/compare/850d80b2a2ee...2dc13c59938e From noreply at github.com Mon May 2 16:10:47 2016 From: noreply at github.com (GitHub) Date: Mon, 02 May 2016 09:10:47 -0700 Subject: [dovecot/pigeonhole] 6b436b: Changed Makefile.am to make sure test suite is exe... Message-ID: <57277c07b84b0_420d3fd2c008f2a0235089@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-0.4 Home: https://github.com/dovecot/pigeonhole Commit: 6b436b4f1cced311c00b58616a41f9e1bba61cf4 https://github.com/dovecot/pigeonhole/commit/6b436b4f1cced311c00b58616a41f9e1bba61cf4 Author: Stephan Bosch Date: 2016-05-02 (Mon, 02 May 2016) Changed paths: M Makefile.am Log Message: ----------- Changed Makefile.am to make sure test suite is executed at `make check'. From noreply at github.com Mon May 2 16:12:38 2016 From: noreply at github.com (GitHub) Date: Mon, 02 May 2016 09:12:38 -0700 Subject: [dovecot/pigeonhole] 6b436b: Changed Makefile.am to make sure test suite is exe... Message-ID: <57277c76120e2_68fe3f904c1252c01222ec@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: 6b436b4f1cced311c00b58616a41f9e1bba61cf4 https://github.com/dovecot/pigeonhole/commit/6b436b4f1cced311c00b58616a41f9e1bba61cf4 Author: Stephan Bosch Date: 2016-05-02 (Mon, 02 May 2016) Changed paths: M Makefile.am Log Message: ----------- Changed Makefile.am to make sure test suite is executed at `make check'. From noreply at github.com Mon May 2 16:27:15 2016 From: noreply at github.com (GitHub) Date: Mon, 02 May 2016 09:27:15 -0700 Subject: [dovecot/pigeonhole] 641fa4: testsuite: Adjusted to changes in Dovecot lib-stor... Message-ID: <57277fe331af7_23dc3f885856d2c0261471@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: 641fa41442642ac4ad5aa928ce9697a90d1f00d4 https://github.com/dovecot/pigeonhole/commit/641fa41442642ac4ad5aa928ce9697a90d1f00d4 Author: Timo Sirainen Date: 2016-05-02 (Mon, 02 May 2016) Changed paths: M src/testsuite/testsuite-mailstore.c Log Message: ----------- testsuite: Adjusted to changes in Dovecot lib-storage API. From noreply at github.com Mon May 2 21:30:11 2016 From: noreply at github.com (GitHub) Date: Mon, 02 May 2016 14:30:11 -0700 Subject: [dovecot/core] 9cd4b2: lib-storage: Another fix to mail storage initializ... Message-ID: <5727c6e374611_5d693fda7a0792b829481c@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 9cd4b2da8ef71d5216cc49d8b46fbabd47d472db https://github.com/dovecot/core/commit/9cd4b2da8ef71d5216cc49d8b46fbabd47d472db Author: Timo Sirainen Date: 2016-05-03 (Tue, 03 May 2016) Changed paths: M src/lib-storage/mail-namespace.c Log Message: ----------- lib-storage: Another fix to mail storage initialization. Allow mail_namespaces_init_location() to add the namespace directly to user, since that's what the current callers always want. But compared to the original code we're now calling mail_namespaces_init_finish() rather than doing the same things ourself. From noreply at github.com Tue May 3 12:30:10 2016 From: noreply at github.com (GitHub) Date: Tue, 03 May 2016 05:30:10 -0700 Subject: [dovecot/core] d2c9e2: lib-storage: Fixed potential crash in mailbox_sync... Message-ID: <572899d23ef14_417b3f966f4652b8340560@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: d2c9e28ba48898e56f3ccd763d3aa947fcc2eb98 https://github.com/dovecot/core/commit/d2c9e28ba48898e56f3ccd763d3aa947fcc2eb98 Author: Timo Sirainen Date: 2016-05-03 (Tue, 03 May 2016) Changed paths: M src/lib-storage/index/index-sync.c Log Message: ----------- lib-storage: Fixed potential crash in mailbox_sync_deinit() error handling If mailbox_sync*() was called before mailbox was opened, the automatic mailbox opening could fail. mailbox_sync_deinit() would still try to access box->view, which would be NULL. From noreply at github.com Tue May 3 13:00:13 2016 From: noreply at github.com (GitHub) Date: Tue, 03 May 2016 06:00:13 -0700 Subject: [dovecot/core] eb8143: lib: Added o_stream_unix_write_fd() assert: fd>=0 Message-ID: <5728a0ddac821_66943fa7257db2a0955e9@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: eb8143d997a69e688c4349a47464c47837d3f53d https://github.com/dovecot/core/commit/eb8143d997a69e688c4349a47464c47837d3f53d Author: Timo Sirainen Date: 2016-05-03 (Tue, 03 May 2016) Changed paths: M src/lib/ostream-unix.c Log Message: ----------- lib: Added o_stream_unix_write_fd() assert: fd>=0 From noreply at github.com Tue May 3 17:00:13 2016 From: noreply at github.com (GitHub) Date: Tue, 03 May 2016 10:00:13 -0700 Subject: [dovecot/core] 2739e5: lib-mail: istream-header-filter - Check errors rea... Message-ID: <5728d91d78fc0_5c243fe65bd612b822556@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 2739e568eb2f33f6219d97261c94e67b68da2794 https://github.com/dovecot/core/commit/2739e568eb2f33f6219d97261c94e67b68da2794 Author: Timo Sirainen Date: 2016-05-03 (Tue, 03 May 2016) Changed paths: M src/lib-mail/istream-header-filter.c Log Message: ----------- lib-mail: istream-header-filter - Check errors reading header This probably doesn't affect the results much, since the stream_errno is set anyway. But it's better to abort early, just in case the broken state might end up asserting later. Commit: c8e34785671d3b13f4500144a2ec7af968ce3307 https://github.com/dovecot/core/commit/c8e34785671d3b13f4500144a2ec7af968ce3307 Author: Timo Sirainen Date: 2016-05-03 (Tue, 03 May 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: Fixed stat() with HEADER_FILTER_END_BODY_WITH_LF Commit: 10d2dbb8343d9f7a294519224e5e08e1c13e7453 https://github.com/dovecot/core/commit/10d2dbb8343d9f7a294519224e5e08e1c13e7453 Author: Timo Sirainen Date: 2016-05-03 (Tue, 03 May 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 HEADER_FILTER_ADD_MISSING_EOH fixes When using HEADER_FILTER_CRLF_PRESERVE, add CR to the EOH if the previous header line ended with CRLF. When header ends to a header without newline, add two newlines so we can get the actual EOH added. Commit: 32e3da4a505b3b258d44abdf4366fbfc95680027 https://github.com/dovecot/core/commit/32e3da4a505b3b258d44abdf4366fbfc95680027 Author: Timo Sirainen Date: 2016-05-03 (Tue, 03 May 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: Fixed stat() with HEADER_FILTER_HIDE_BODY Commit: bf5682ed5399fce13b2053e20098e2de19751c59 https://github.com/dovecot/core/commit/bf5682ed5399fce13b2053e20098e2de19751c59 Author: Timo Sirainen Date: 2016-05-03 (Tue, 03 May 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 - fixed adding headers at eoh Commit: 38a985c0634d03a5617cda7accf63753e6f2fce9 https://github.com/dovecot/core/commit/38a985c0634d03a5617cda7accf63753e6f2fce9 Author: Timo Sirainen Date: 2016-05-03 (Tue, 03 May 2016) Changed paths: M src/lib-storage/index/index-mail.c Log Message: ----------- lib-storage: Make it easier to debug mail's unclosed istream Commit: ff17313eca2e395aa3127ebc01047386cd9cdd27 https://github.com/dovecot/core/commit/ff17313eca2e395aa3127ebc01047386cd9cdd27 Author: Martti Rannanj?rvi Date: 2016-05-03 (Tue, 03 May 2016) Changed paths: M src/imap/cmd-fetch.c M src/lib-imap/imap-resp-code.h Log Message: ----------- lib-imap, imap: BINARY [UNKNOWNCTE] to [PARSE] Commit: 26a6ff7f0e1e020212c68e97110b0a3a9d2af628 https://github.com/dovecot/core/commit/26a6ff7f0e1e020212c68e97110b0a3a9d2af628 Author: Baofeng Wang Date: 2016-05-03 (Tue, 03 May 2016) Changed paths: M src/config/old-set-parser.c Log Message: ----------- config: Remove old_namespace() >From config/old-set-parser.c, and its caller. The namespace section named "private", "shared" or "public" is obsolete accordingly. Commit: 2d5d7890bd9b282eb1092fc788a2432a6c79a7ad https://github.com/dovecot/core/commit/2d5d7890bd9b282eb1092fc788a2432a6c79a7ad Author: Timo Sirainen Date: 2016-05-03 (Tue, 03 May 2016) Changed paths: M src/auth/mech-rpa.c M src/auth/password-scheme-rpa.c M src/lib-index/mail-transaction-log-file.c M src/lib-mail/message-part-serialize.c M src/lib-ntlm/ntlm-encrypt.c M src/lib-ntlm/ntlm-message.c M src/lib/str.c Log Message: ----------- global: Replace buffer_get_used_size(buf) with buf->used Doesn't make any diffence to code generation, but it's somewhat simpler code. It's also more consistent since most of the code nowadays uses the ->used. Commit: b88c43d09a288e99d439c78de4cc613212ea924c https://github.com/dovecot/core/commit/b88c43d09a288e99d439c78de4cc613212ea924c Author: Timo Sirainen Date: 2016-05-03 (Tue, 03 May 2016) Changed paths: M src/lib-imap/imap-base-subject.c M src/lib-index/mail-transaction-log-view.c M src/lib-mail/istream-header-filter.c M src/lib-mail/message-header-parser.c M src/lib-storage/index/index-mail-headers.c M src/lib-storage/mail-search.c M src/lib/array.c M src/lib/str.c Log Message: ----------- global: Avoid using buffer_get_data() Especially buffer_get_data(buf, NULL) generates worse code than just using buf->data directly. Commit: 53e9cbd970106be179f7586151fa4e434f7084f1 https://github.com/dovecot/core/commit/53e9cbd970106be179f7586151fa4e434f7084f1 Author: Timo Sirainen Date: 2016-05-03 (Tue, 03 May 2016) Changed paths: M src/lib/str.c M src/lib/str.h Log Message: ----------- lib: Make str_*() inline which are simple buffer_* wrappers. Commit: 88bcf81213b292e58ddaa41643e4146299cc750f https://github.com/dovecot/core/commit/88bcf81213b292e58ddaa41643e4146299cc750f Author: Timo Sirainen Date: 2016-05-03 (Tue, 03 May 2016) Changed paths: M src/lib/str.c Log Message: ----------- lib: Optimize str_append_n() Commit: 527c2b071dca35b91648344e867ab1af9c988281 https://github.com/dovecot/core/commit/527c2b071dca35b91648344e867ab1af9c988281 Author: Baofeng Wang Date: 2016-05-03 (Tue, 03 May 2016) Changed paths: M src/lib-storage/mail-user.c M src/lib-storage/mail-user.h Log Message: ----------- lib-storage: add mail_user_plugin_getenv_bool New API will check boolean-like env setting OR its exsitence. Function returns FALSE when: * Read out a null string, "Or" * String starts with any letter in set {'N', 'n', 'F','f','0'} To keep downward compatibility, For other cases including an empty string, function returns TRUE. Commit: 71748cca1bacd74451fd228db5536828bdfeb190 https://github.com/dovecot/core/commit/71748cca1bacd74451fd228db5536828bdfeb190 Author: Baofeng Wang Date: 2016-05-03 (Tue, 03 May 2016) Changed paths: M src/plugins/expire/expire-plugin.c M src/plugins/fts/fts-storage.c M src/plugins/lazy-expunge/lazy-expunge-plugin.c M src/plugins/pop3-migration/pop3-migration-plugin.c M src/plugins/stats/stats-plugin.c Log Message: ----------- global: Use mail_user_plugin_getenv_bool() wherever possible New API is used to check boolean setting OR exsitence of an env variable. Compare: https://github.com/dovecot/core/compare/eb8143d997a6...71748cca1bac From noreply at github.com Tue May 3 17:30:10 2016 From: noreply at github.com (GitHub) Date: Tue, 03 May 2016 10:30:10 -0700 Subject: [dovecot/core] cb0605: config: Fixed namespaces to work again Message-ID: <5728e02293d2b_5b8f3fa8dea732a07182@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: cb06054f863550b766950fe2949b69b7047bcd81 https://github.com/dovecot/core/commit/cb06054f863550b766950fe2949b69b7047bcd81 Author: Timo Sirainen Date: 2016-05-03 (Tue, 03 May 2016) Changed paths: M src/config/old-set-parser.c Log Message: ----------- config: Fixed namespaces to work again Broken by 26a6ff7f0. old_settings_handle() should have returned FALSE for settings it didn't handle. Commit: 56bcd695f96f093d801743a5633555339e241f5b https://github.com/dovecot/core/commit/56bcd695f96f093d801743a5633555339e241f5b Author: Timo Sirainen Date: 2016-05-03 (Tue, 03 May 2016) Changed paths: M src/lib/test-str.c Log Message: ----------- lib: Added more unit tests to str_*() Commit: 2fa41e3cd6393ce4b5f7e6f6048d7706aa93ac0d https://github.com/dovecot/core/commit/2fa41e3cd6393ce4b5f7e6f6048d7706aa93ac0d Author: Timo Sirainen Date: 2016-05-03 (Tue, 03 May 2016) Changed paths: M src/doveadm/doveadm-who.c Log Message: ----------- doveadm who: Fixed listing LMTP sessions Commit: 6e81d67a4e8985d35034eab791e270ffc01800b8 https://github.com/dovecot/core/commit/6e81d67a4e8985d35034eab791e270ffc01800b8 Author: Timo Sirainen Date: 2016-05-03 (Tue, 03 May 2016) Changed paths: M src/lib-mail/test-istream-header-filter.c Log Message: ----------- lib-mail: Fixed istream-header-filter unit test names Compare: https://github.com/dovecot/core/compare/71748cca1bac...6e81d67a4e89 From noreply at github.com Tue May 3 19:30:10 2016 From: noreply at github.com (GitHub) Date: Tue, 03 May 2016 12:30:10 -0700 Subject: [dovecot/core] 6d02ce: dsync: Fixed assert-crash if mailbox_attribute_set... Message-ID: <5728fc42d6021_54443fbb1eddd2b8106cc@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 6d02ce5bfbbcea1b532ce9fce78c1f23baea38ca https://github.com/dovecot/core/commit/6d02ce5bfbbcea1b532ce9fce78c1f23baea38ca Author: Timo Sirainen Date: 2016-05-03 (Tue, 03 May 2016) Changed paths: M src/doveadm/dsync/dsync-mailbox-import.c Log Message: ----------- dsync: Fixed assert-crash if mailbox_attribute_set() fails We shouldn't set importer->mail_error, because we're not going to fail the import. Fixes assert-crash: dsync-mailbox-import.c: line 2812 (dsync_mailbox_import_deinit): assertion failed: (importer->failed == (importer->mail_error != 0)) From noreply at github.com Tue May 3 19:36:08 2016 From: noreply at github.com (GitHub) Date: Tue, 03 May 2016 12:36:08 -0700 Subject: [dovecot/core] 5f50fe: dsync: Fixed assert-crash if mailbox_attribute_set... Message-ID: <5728fda87c1ce_5a9e3fbe6e79f2b8290b0@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 5f50fecfbf4eccdfea1550f1412b9790428cd4e4 https://github.com/dovecot/core/commit/5f50fecfbf4eccdfea1550f1412b9790428cd4e4 Author: Timo Sirainen Date: 2016-05-03 (Tue, 03 May 2016) Changed paths: M src/doveadm/dsync/dsync-mailbox-import.c Log Message: ----------- dsync: Fixed assert-crash if mailbox_attribute_set() fails We shouldn't set importer->mail_error, because we're not going to fail the import. Fixes assert-crash: dsync-mailbox-import.c: line 2812 (dsync_mailbox_import_deinit): assertion failed: (importer->failed == (importer->mail_error != 0)) From noreply at github.com Wed May 4 00:20:50 2016 From: noreply at github.com (GitHub) Date: Tue, 03 May 2016 17:20:50 -0700 Subject: [dovecot/pigeonhole] f7f206: configure: Changed version number to v0.5.devel. Message-ID: <57294062cf923_3b333fb9cf1852b8689ab@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: f7f206d587afe45e30caea17c0f2231d4a952eca https://github.com/dovecot/pigeonhole/commit/f7f206d587afe45e30caea17c0f2231d4a952eca Author: Stephan Bosch Date: 2016-05-04 (Wed, 04 May 2016) Changed paths: M configure.ac Log Message: ----------- configure: Changed version number to v0.5.devel. From noreply at github.com Wed May 4 13:00:12 2016 From: noreply at github.com (GitHub) Date: Wed, 04 May 2016 06:00:12 -0700 Subject: [dovecot/core] 139007: imap: Set client_command_context.tagline_reply bef... Message-ID: <5729f25cda830_64b03fa236a152bc525de@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 139007fda81b3f5027c79a892f8d329629b504c6 https://github.com/dovecot/core/commit/139007fda81b3f5027c79a892f8d329629b504c6 Author: Timo Sirainen Date: 2016-05-04 (Wed, 04 May 2016) Changed paths: M src/imap/imap-sync.c Log Message: ----------- imap: Set client_command_context.tagline_reply before syncing. Command post-hooks can't see it otherwise. From noreply at github.com Wed May 4 13:00:11 2016 From: noreply at github.com (GitHub) Date: Wed, 04 May 2016 06:00:11 -0700 Subject: [dovecot/core] 362db4: imap: Set client_command_context.tagline_reply bef... Message-ID: <5729f25b70c5_42fb3ff26e8972b81096d4@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 362db49a9acfb297266cb9a09600689dcffce3cc https://github.com/dovecot/core/commit/362db49a9acfb297266cb9a09600689dcffce3cc Author: Timo Sirainen Date: 2016-05-04 (Wed, 04 May 2016) Changed paths: M src/imap/imap-sync.c Log Message: ----------- imap: Set client_command_context.tagline_reply before syncing. Command post-hooks can't see it otherwise. From noreply at github.com Wed May 4 15:30:11 2016 From: noreply at github.com (GitHub) Date: Wed, 04 May 2016 08:30:11 -0700 Subject: [dovecot/core] 07b3a7: lib: istream's max_buffer_size=0 means 0, not unli... Message-ID: <572a1583c88f9_bfd3fa1be0d12a09475b@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 07b3a7d8143c083c554e3169c672dacf068eeeb6 https://github.com/dovecot/core/commit/07b3a7d8143c083c554e3169c672dacf068eeeb6 Author: Timo Sirainen Date: 2016-05-04 (Wed, 04 May 2016) Changed paths: M src/lib/istream.c Log Message: ----------- lib: istream's max_buffer_size=0 means 0, not unlimited. Make sure we don't grow the buffer size then. From noreply at github.com Thu May 5 12:30:10 2016 From: noreply at github.com (GitHub) Date: Thu, 05 May 2016 05:30:10 -0700 Subject: [dovecot/core] a9be54: lib-fs: fs-metawrap stat() error handling improvem... Message-ID: <572b3cd24e82a_32873fe3307372bc102834@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: a9be54bbbd815e0d2cfe1cd55e101802fb770a45 https://github.com/dovecot/core/commit/a9be54bbbd815e0d2cfe1cd55e101802fb770a45 Author: Timo Sirainen Date: 2016-05-04 (Wed, 04 May 2016) Changed paths: M src/lib-fs/fs-metawrap.c Log Message: ----------- lib-fs: fs-metawrap stat() error handling improvement. We can't just treat i_stream_get_size() returning 0 as the reason being istream is async and not fully read. It might be, but it might also be because of other reasons. And since we're closing the istream we couldn't even properly finish up the async handling. So for now just return an error if we see this happening. Commit: b11876430fa29dbcd0e2fd41e329e472e66fbe7e https://github.com/dovecot/core/commit/b11876430fa29dbcd0e2fd41e329e472e66fbe7e Author: Timo Sirainen Date: 2016-05-05 (Thu, 05 May 2016) Changed paths: M src/stats/mail-user.c Log Message: ----------- stats: Fixed ADD-USER stats tracking (auth stats) Compare: https://github.com/dovecot/core/compare/07b3a7d8143c...b11876430fa2 From noreply at github.com Thu May 5 13:30:10 2016 From: noreply at github.com (GitHub) Date: Thu, 05 May 2016 06:30:10 -0700 Subject: [dovecot/core] fece64: lib-fs: Fixes to stats count tracking Message-ID: <572b4ae232185_30973fe8e7c152b823075@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: fece64e92adf33622ff6238f4050100f305fc007 https://github.com/dovecot/core/commit/fece64e92adf33622ff6238f4050100f305fc007 Author: Timo Sirainen Date: 2016-05-05 (Thu, 05 May 2016) Changed paths: M src/lib-fs/fs-api.c Log Message: ----------- lib-fs: Fixes to stats count tracking fs_exists(), fs_copy(), fs_rename() and fs_delete() could have increased the count multiple times on async operations. From noreply at github.com Thu May 5 15:30:09 2016 From: noreply at github.com (GitHub) Date: Thu, 05 May 2016 08:30:09 -0700 Subject: [dovecot/core] e5bc82: lazy-expunge: Handle mailbox create race condition... Message-ID: <572b670159bd0_3af83f96a00792b845067@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: e5bc823952a118eeeab4e9f4e98f7f4ee72fc323 https://github.com/dovecot/core/commit/e5bc823952a118eeeab4e9f4e98f7f4ee72fc323 Author: Timo Sirainen Date: 2016-05-05 (Thu, 05 May 2016) Changed paths: M src/plugins/lazy-expunge/lazy-expunge-plugin.c Log Message: ----------- lazy-expunge: Handle mailbox create race conditions. Don't log an error if another process just created the lazy-expunge mailbox. From noreply at github.com Fri May 6 11:30:12 2016 From: noreply at github.com (GitHub) Date: Fri, 06 May 2016 04:30:12 -0700 Subject: [dovecot/core] c61779: lib: Improved connection_disconnect_reason() Message-ID: <572c804419c35_34ec3fab2a22729c6780@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: c61779cfa45c1684b1f7c462011088bad0b8318c https://github.com/dovecot/core/commit/c61779cfa45c1684b1f7c462011088bad0b8318c Author: Timo Sirainen Date: 2016-05-06 (Fri, 06 May 2016) Changed paths: M src/lib/connection.c Log Message: ----------- lib: Improved connection_disconnect_reason() From noreply at github.com Fri May 6 12:00:11 2016 From: noreply at github.com (GitHub) Date: Fri, 06 May 2016 05:00:11 -0700 Subject: [dovecot/core] 5af513: lib: Added i_stream_get_disconnect_reason() Message-ID: <572c874bce77a_7fe53fe89d8532a0809a2@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 5af5137f6dc0c9f358b7813e941e26f7bd735b3a https://github.com/dovecot/core/commit/5af5137f6dc0c9f358b7813e941e26f7bd735b3a Author: Timo Sirainen Date: 2016-05-06 (Fri, 06 May 2016) Changed paths: M src/lib/istream.c M src/lib/istream.h Log Message: ----------- lib: Added i_stream_get_disconnect_reason() From noreply at github.com Fri May 6 13:00:11 2016 From: noreply at github.com (GitHub) Date: Fri, 06 May 2016 06:00:11 -0700 Subject: [dovecot/core] 6d2557: auth: Makefile dependency fix Message-ID: <572c955bd038c_28a33f98a2e1529c401ac@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 6d25571dd3727f6cdc6a700d46ea67df8d065629 https://github.com/dovecot/core/commit/6d25571dd3727f6cdc6a700d46ea67df8d065629 Author: Timo Sirainen Date: 2016-05-06 (Fri, 06 May 2016) Changed paths: M src/auth/Makefile.am Log Message: ----------- auth: Makefile dependency fix Hopefully fixes: mv: cannot stat '.deps/auth-stats.Tpo': No such file or directory From noreply at github.com Fri May 6 14:30:10 2016 From: noreply at github.com (GitHub) Date: Fri, 06 May 2016 07:30:10 -0700 Subject: [dovecot/core] 6ea49f: lib: Added t_str_tabunescape() Message-ID: <572caa72d99c8_8cd3fcb5207729c5602a@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 6ea49f0ffe92ac0d709ac9282e136a94df0053ee https://github.com/dovecot/core/commit/6ea49f0ffe92ac0d709ac9282e136a94df0053ee Author: Timo Sirainen Date: 2016-05-06 (Fri, 06 May 2016) Changed paths: M src/lib/strescape.c M src/lib/strescape.h M src/lib/test-strescape.c Log Message: ----------- lib: Added t_str_tabunescape() From noreply at github.com Fri May 6 17:30:11 2016 From: noreply at github.com (GitHub) Date: Fri, 06 May 2016 10:30:11 -0700 Subject: [dovecot/core] 04d809: dict-ldap: Properly duplicate result Message-ID: <572cd4a3c65de_38913fc45719129c7232a@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 04d809e9454130d35da10e3d7a94c665c5e15dd4 https://github.com/dovecot/core/commit/04d809e9454130d35da10e3d7a94c665c5e15dd4 Author: Aki Tuomi Date: 2016-05-06 (Fri, 06 May 2016) Changed paths: M src/lib-dict-extra/dict-ldap.c Log Message: ----------- dict-ldap: Properly duplicate result From noreply at github.com Fri May 6 18:30:11 2016 From: noreply at github.com (GitHub) Date: Fri, 06 May 2016 11:30:11 -0700 Subject: [dovecot/core] 553dc9: stats: Work around shrinking system CPU usage Message-ID: <572ce2b33b9be_35223fabe92b12c064471@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 553dc92ad045d748139cab65ad5e2da4c62f977a https://github.com/dovecot/core/commit/553dc92ad045d748139cab65ad5e2da4c62f977a Author: Timo Sirainen Date: 2016-05-06 (Fri, 06 May 2016) Changed paths: M src/plugins/stats/mail-stats-fill.c Log Message: ----------- stats: Work around shrinking system CPU usage Happening at least in Debian's Linux kernel 4.3.0-1-amd64. getrusage() may returns ru_stime = 4000 or 8000, but later it drops to 0. We'll just work around this by switching to the previous working ru_stime. This fixes errors like: Error: stats: session stats shrank: sys_cpu 0.0 < 0.4000 Commit: a16057fc5283ab54128edd73408c332217dffb5e https://github.com/dovecot/core/commit/a16057fc5283ab54128edd73408c332217dffb5e Author: Timo Sirainen Date: 2016-05-06 (Fri, 06 May 2016) Changed paths: M src/plugins/stats/mail-stats-fill.c Log Message: ----------- stats: Handle getrusage() errors better I'm not aware of these errors actually happening anywhere, but its error handling wouldn't have been correct if previous getrusage() calls had succeeded. Now if it fails, log an error once and just keep on using the last working rusage. Compare: https://github.com/dovecot/core/compare/04d809e94541...a16057fc5283 From noreply at github.com Fri May 6 19:30:10 2016 From: noreply at github.com (GitHub) Date: Fri, 06 May 2016 12:30:10 -0700 Subject: [dovecot/core] 89b3a5: imap: Avoid assert-crash after a failed mailbox sy... Message-ID: <572cf0c25998c_72163fc39d1032b81131c0@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 89b3a53140d31bfa0f34378bf7ee1f52da954961 https://github.com/dovecot/core/commit/89b3a53140d31bfa0f34378bf7ee1f52da954961 Author: Timo Sirainen Date: 2016-05-06 (Fri, 06 May 2016) Changed paths: M src/imap/imap-sync.c Log Message: ----------- imap: Avoid assert-crash after a failed mailbox sync. We didn't close the mailbox and we didn't update message counts, so we could have crashed with: Panic: Message count decreased From noreply at github.com Sat May 7 16:30:09 2016 From: noreply at github.com (GitHub) Date: Sat, 07 May 2016 09:30:09 -0700 Subject: [dovecot/core] 2795f6: lib-storage: remove mdbox_purge_preserve_alt setti... Message-ID: <572e181188f9e_7f9c3ff85fda329c1507e7@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 2795f6183049a8a4cc489869b3e866dc20a8a732 https://github.com/dovecot/core/commit/2795f6183049a8a4cc489869b3e866dc20a8a732 Author: Baofeng Wang Date: 2016-05-07 (Sat, 07 May 2016) Changed paths: M src/lib-storage/index/dbox-multi/mdbox-purge.c M src/lib-storage/index/dbox-multi/mdbox-settings.c M src/lib-storage/index/dbox-multi/mdbox-settings.h Log Message: ----------- lib-storage: remove mdbox_purge_preserve_alt setting remove setting and its reference. Commit: 173d1d74736ec822158165bef66d312bb62f2152 https://github.com/dovecot/core/commit/173d1d74736ec822158165bef66d312bb62f2152 Author: Martti Rannanj?rvi Date: 2016-05-07 (Sat, 07 May 2016) Changed paths: M src/lib-ssl-iostream/iostream-openssl-context.c M src/lib-ssl-iostream/iostream-ssl.c M src/lib-ssl-iostream/iostream-ssl.h Log Message: ----------- lib-ssl-iostream: move ssl_iostream_settings_dup to iostream-ssl.c Commit: c275cef636c79e1d08b3a82462c4abdca6f8cef3 https://github.com/dovecot/core/commit/c275cef636c79e1d08b3a82462c4abdca6f8cef3 Author: Martti Rannanj?rvi Date: 2016-05-07 (Sat, 07 May 2016) Changed paths: M src/lib-http/http-client-connection.c M src/lib-http/http-client.c M src/lib-http/http-client.h M src/lib-http/test-http-client.c Log Message: ----------- lib-http: use ssl_iostream_settings in http_client_settings Commit: 5b02d2191f2dd9da567c70b383243395ec0ce13d https://github.com/dovecot/core/commit/5b02d2191f2dd9da567c70b383243395ec0ce13d Author: Martti Rannanj?rvi Date: 2016-05-07 (Sat, 07 May 2016) Changed paths: M src/lib/guid.c Log Message: ----------- lib: Fixed potential collision in guid_generate() There wasn't enough padding for tv_nsec and it was also assuming 16 bit PIDs. Because of these there was a tiny possibility of two guid_generate() calls returning the same GUID. This changes the GUID format a bit, but it was used only by sdbox code, which doesn't assume anything about the GUID format. Commit: 44aebbf6ddecda29a52d5a0fd6e766a1653a6a38 https://github.com/dovecot/core/commit/44aebbf6ddecda29a52d5a0fd6e766a1653a6a38 Author: Martti Rannanj?rvi Date: 2016-05-07 (Sat, 07 May 2016) Changed paths: M src/doveadm/doveadm-print-formatted.c Log Message: ----------- doveadm: error to print formatted without format This changes the segfault of `doveadm -f formatted ...` to an error. Commit: 09cd60cebc01b2b25ada824f3d9f877d5efd8272 https://github.com/dovecot/core/commit/09cd60cebc01b2b25ada824f3d9f877d5efd8272 Author: Timo Sirainen Date: 2016-05-07 (Sat, 07 May 2016) Changed paths: M src/lib-dict/dict-client.c Log Message: ----------- dict-client: Added idle_msecs= parameter This can be useful when connected to dict-async server where extra idling connections don't matter so much as with blocking dict servers. Commit: f24b245f49b030d7dba3bcb2463cbc05b98c9d1d https://github.com/dovecot/core/commit/f24b245f49b030d7dba3bcb2463cbc05b98c9d1d Author: Timo Sirainen Date: 2016-05-07 (Sat, 07 May 2016) Changed paths: M src/doveadm/Makefile.am M src/doveadm/doveadm-mail-fetch.c Log Message: ----------- doveadm fetch: Added body.
and binary.
fields These correspond to IMAP BODY[
]. Commit: 2d7da70c0e6768afeb1200c95f3e1293f2e502c6 https://github.com/dovecot/core/commit/2d7da70c0e6768afeb1200c95f3e1293f2e502c6 Author: Timo Sirainen Date: 2016-05-07 (Sat, 07 May 2016) Changed paths: M src/doveadm/doveadm-mail-fetch.c Log Message: ----------- doveadm fetch: Fixed logging errors for istream failures Commit: 6c1b37194009d5a55f230b49e768f24dd02c7927 https://github.com/dovecot/core/commit/6c1b37194009d5a55f230b49e768f24dd02c7927 Author: Timo Sirainen Date: 2016-05-07 (Sat, 07 May 2016) Changed paths: M src/lib-imap-storage/imap-msgpart.c Log Message: ----------- lib-imap-storage: Allow HEADER.FIELDS(..) without space before '(' This is to allow doveadm fetch to use it. Attempting to do this without a space in IMAP already fails elsewhere: x fetch 1 body.peek[header.fields(from to)] x BAD Error in IMAP command FETCH: Invalid characters in atom Commit: c001f4b968deb006f4f753af19db7843a2209ec5 https://github.com/dovecot/core/commit/c001f4b968deb006f4f753af19db7843a2209ec5 Author: Timo Sirainen Date: 2016-05-07 (Sat, 07 May 2016) Changed paths: M src/doveadm/doveadm-mail-fetch.c Log Message: ----------- doveadm fetch: Translate commas to spaces in body|binary.
with This way we can do e.g.: doveadm fetch 'uid body.header.fields(from,to,subject)' ... Although in theory we could also change the parser to allow spaces as long as they're inside (..), but this is probably too much extra effort. Commit: 5d1653a011e7ab117563e10a2fb32eda2857cf26 https://github.com/dovecot/core/commit/5d1653a011e7ab117563e10a2fb32eda2857cf26 Author: Timo Sirainen Date: 2016-05-07 (Sat, 07 May 2016) Changed paths: M src/lib-settings/settings-parser.c Log Message: ----------- lib-settings: settings_get_time() requires explicit unit now, except for 0. This means that all the time interval settings in dovecot.conf must no longer be simply a number. Commit: 2a8a6e1a8cca51cce6c43f5b4286f4d993e469d0 https://github.com/dovecot/core/commit/2a8a6e1a8cca51cce6c43f5b4286f4d993e469d0 Author: Timo Sirainen Date: 2016-05-07 (Sat, 07 May 2016) Changed paths: M src/lib-settings/Makefile.am M src/lib-settings/settings-parser.c M src/lib-settings/settings-parser.h A src/lib-settings/test-settings-parser.c Log Message: ----------- lib-settings: Added settings_get_time_msecs() Commit: f69f7373151940308b18a9e16f9cf3dc56d4184e https://github.com/dovecot/core/commit/f69f7373151940308b18a9e16f9cf3dc56d4184e Author: Timo Sirainen Date: 2016-05-07 (Sat, 07 May 2016) Changed paths: M src/lib-settings/settings-parser.c M src/lib-settings/settings-parser.h Log Message: ----------- lib-settings: Added SET_TIME_MSECS type. Commit: 7cd055a212d44067e2d94452c05691d696c9f699 https://github.com/dovecot/core/commit/7cd055a212d44067e2d94452c05691d696c9f699 Author: Timo Sirainen Date: 2016-05-07 (Sat, 07 May 2016) Changed paths: M src/lib-sql/driver-cassandra.c Log Message: ----------- cassandra: Support milliseconds for request/connect_timeout Compare: https://github.com/dovecot/core/compare/89b3a53140d3...7cd055a212d4 From noreply at github.com Sat May 7 17:30:10 2016 From: noreply at github.com (GitHub) Date: Sat, 07 May 2016 10:30:10 -0700 Subject: [dovecot/core] 2ed05e: config: Added support for SET_TIME_MSECS Message-ID: <572e262286f05_32873fe3307372bc1518a4@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 2ed05ea827dc49e715a4859a2ca485dc1934f1a3 https://github.com/dovecot/core/commit/2ed05ea827dc49e715a4859a2ca485dc1934f1a3 Author: Timo Sirainen Date: 2016-05-07 (Sat, 07 May 2016) Changed paths: M src/config/config-request.c Log Message: ----------- config: Added support for SET_TIME_MSECS From noreply at github.com Sun May 8 19:30:09 2016 From: noreply at github.com (GitHub) Date: Sun, 08 May 2016 12:30:09 -0700 Subject: [dovecot/core] 5d31e4: lib-http: Allow http_client_settings.ssl==NULL Message-ID: <572f93c146576_37ae3fc79fd092a01541b@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 5d31e4b38ef03b002e2ab245a7f8a4c0da3dd03d https://github.com/dovecot/core/commit/5d31e4b38ef03b002e2ab245a7f8a4c0da3dd03d Author: Timo Sirainen Date: 2016-05-08 (Sun, 08 May 2016) Changed paths: M src/lib-http/http-client.c Log Message: ----------- lib-http: Allow http_client_settings.ssl==NULL From noreply at github.com Sun May 8 20:00:11 2016 From: noreply at github.com (GitHub) Date: Sun, 08 May 2016 13:00:11 -0700 Subject: [dovecot/core] 928459: lib-http: If connect fails, include attempt count ... Message-ID: <572f9acbe746c_383e3fb7475312c014496b@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 9284599e2d12b08170be81441bcfc53fa5b71a73 https://github.com/dovecot/core/commit/9284599e2d12b08170be81441bcfc53fa5b71a73 Author: Timo Sirainen Date: 2016-05-08 (Sun, 08 May 2016) Changed paths: M src/lib-http/http-client-private.h M src/lib-http/http-client-queue.c Log Message: ----------- lib-http: If connect fails, include attempt count and total time in error. This will produce errors such as: 9002 connect(1.2.3.4:801) failed: Connection timed out in 1.001 secs (4 attempts in 4.706 secs) From noreply at github.com Sun May 8 22:00:09 2016 From: noreply at github.com (GitHub) Date: Sun, 08 May 2016 15:00:09 -0700 Subject: [dovecot/core] 20e042: lib-dict: Renamed dict_init_full() to dict_init() Message-ID: <572fb6e9daf25_324c3fc6f3f0329c122182@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 20e04227229970d148801c507946666e2a9bd838 https://github.com/dovecot/core/commit/20e04227229970d148801c507946666e2a9bd838 Author: Timo Sirainen Date: 2016-05-09 (Mon, 09 May 2016) Changed paths: M src/auth/db-dict.c M src/dict/dict-connection.c M src/doveadm/doveadm-dict.c M src/lib-dict/dict.c M src/lib-dict/dict.h M src/lib-fs/fs-dict.c M src/lib-storage/index/index-attribute.c M src/plugins/acl/acl-lookup-dict.c M src/plugins/expire/doveadm-expire.c M src/plugins/expire/expire-plugin.c M src/plugins/last-login/last-login-plugin.c M src/plugins/quota-clone/quota-clone-plugin.c M src/plugins/quota/quota-dict.c M src/plugins/quota/quota.c Log Message: ----------- lib-dict: Renamed dict_init_full() to dict_init() Commit: 8f9a18189f01448267100fa54c3b4bb8639a1a56 https://github.com/dovecot/core/commit/8f9a18189f01448267100fa54c3b4bb8639a1a56 Author: Timo Sirainen Date: 2016-05-09 (Mon, 09 May 2016) Changed paths: M src/lib-dict-extra/dict-ldap.c M src/lib-dict/dict-client.c M src/lib-dict/dict-memcached-ascii.c M src/lib-dict/dict-memcached.c M src/lib-dict/dict-redis.c M src/lib-dict/dict-sql.c M src/lib-dict/dict.c Log Message: ----------- lib-dict: Moved/removed explicit stack frames in dict drivers. Added them back to dict_set/unset/atomic_inc() in dict.c. Others are unlikely to be called many times. Commit: b5052fbfdbc2678cc8f12899afe55c998f43b740 https://github.com/dovecot/core/commit/b5052fbfdbc2678cc8f12899afe55c998f43b740 Author: Timo Sirainen Date: 2016-05-09 (Mon, 09 May 2016) Changed paths: M src/auth/db-dict.c M src/doveadm/doveadm-dict.c M src/lib-dict-extra/dict-fs.c M src/lib-dict-extra/dict-ldap.c M src/lib-dict/dict-client.c M src/lib-dict/dict-file.c M src/lib-dict/dict-memcached-ascii.c M src/lib-dict/dict-memcached.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 M src/lib-fs/fs-dict.c M src/lib-storage/index/index-attribute.c M src/plugins/expire/expire-plugin.c M src/plugins/quota/quota-dict.c Log Message: ----------- lib-dict: dict_lookup() returns now error string Commit: 6cfe560af03491c2ea118e9698a145d8a9ee26b2 https://github.com/dovecot/core/commit/6cfe560af03491c2ea118e9698a145d8a9ee26b2 Author: Timo Sirainen Date: 2016-05-09 (Mon, 09 May 2016) Changed paths: M src/dict/dict-commands.c M src/lib-dict/dict-client.c Log Message: ----------- dict: Pass through dict_lookup() error from dict server to client Commit: d5fea071fd71afcd5ef1e54fc0e94514a8e21621 https://github.com/dovecot/core/commit/d5fea071fd71afcd5ef1e54fc0e94514a8e21621 Author: Timo Sirainen Date: 2016-05-09 (Mon, 09 May 2016) Changed paths: M src/lib-dict/dict-client.c Log Message: ----------- dict-client: dict_wait() can't really fail Commit: c4478af52de63804efef2055580adf1dfc8679c6 https://github.com/dovecot/core/commit/c4478af52de63804efef2055580adf1dfc8679c6 Author: Timo Sirainen Date: 2016-05-09 (Mon, 09 May 2016) Changed paths: M src/lib-dict-extra/dict-ldap.c M src/lib-dict/dict-client.c M src/lib-dict/dict-private.h M src/lib-dict/dict-sql.c M src/lib-dict/dict.c M src/lib-dict/dict.h M src/lib-storage/index/index-storage.c M src/lib-storage/mail-user.c M src/plugins/last-login/last-login-plugin.c M src/plugins/quota/quota-dict.c Log Message: ----------- lib-dict: Changed dict_wait() to return void. If it encounters any failures, it should just make sure to abort any pending async requests before returning. Commit: 055389c58fa3915e12fb4e72ec86782ce77c5c72 https://github.com/dovecot/core/commit/055389c58fa3915e12fb4e72ec86782ce77c5c72 Author: Timo Sirainen Date: 2016-05-09 (Mon, 09 May 2016) Changed paths: M src/auth/userdb-dict.c M src/dict/dict-commands.c M src/doveadm/doveadm-dict.c M src/lib-dict-extra/dict-fs.c M src/lib-dict/dict-client.c M src/lib-dict/dict-file.c M src/lib-dict/dict-private.h M src/lib-dict/dict-sql.c M src/lib-dict/dict.c M src/lib-dict/dict.h M src/lib-fs/fs-dict.c M src/lib-storage/index/index-attribute.c M src/plugins/acl/acl-lookup-dict.c M src/plugins/expire/doveadm-expire.c Log Message: ----------- lib-dict: dict_iterate_deinit() returns now error string Commit: ff3c2a32a68136152f6771c5c4448cc0026476cd https://github.com/dovecot/core/commit/ff3c2a32a68136152f6771c5c4448cc0026476cd Author: Timo Sirainen Date: 2016-05-09 (Mon, 09 May 2016) Changed paths: M src/lib-dict/dict-redis.c Log Message: ----------- dict-redis: Fixed memory leak in async commit Commit: b2d3b5298be1820233205242c772804037555a54 https://github.com/dovecot/core/commit/b2d3b5298be1820233205242c772804037555a54 Author: Timo Sirainen Date: 2016-05-09 (Mon, 09 May 2016) Changed paths: M src/lib-dict/dict-memcached-ascii.c Log Message: ----------- dict-memcached-ascii: Fixed async commit Commit: c2a66e7950cb4d3fc4d68e4480ea8f39bdd7c871 https://github.com/dovecot/core/commit/c2a66e7950cb4d3fc4d68e4480ea8f39bdd7c871 Author: Timo Sirainen Date: 2016-05-09 (Mon, 09 May 2016) Changed paths: M src/lib-dict-extra/dict-fs.c M src/lib-dict/dict-client.c M src/lib-dict/dict-file.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 Log Message: ----------- lib-dict: Changed internal transaction_commit() to return void Somewhat simplifies the code now that it doesn't have to both call a callback and return the same ret. Commit: 661998e2ccd772ad92a9d4a75cb712692a8c94b3 https://github.com/dovecot/core/commit/661998e2ccd772ad92a9d4a75cb712692a8c94b3 Author: Timo Sirainen Date: 2016-05-09 (Mon, 09 May 2016) Changed paths: M src/dict/dict-commands.c M src/doveadm/doveadm-dict.c M src/lib-dict-extra/dict-fs.c M src/lib-dict/dict-client.c M src/lib-dict/dict-file.c M src/lib-dict/dict-memcached-ascii.c 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 M src/lib-fs/fs-dict.c M src/lib-storage/index/index-transaction.c M src/plugins/acl/acl-lookup-dict.c M src/plugins/expire/doveadm-expire.c M src/plugins/expire/expire-plugin.c M src/plugins/last-login/last-login-plugin.c M src/plugins/quota-clone/quota-clone-plugin.c M src/plugins/quota/quota-dict.c M src/plugins/quota/quota.c Log Message: ----------- lib-dict: dict_transaction_commit*() returns now error string Commit: cbe2d47fda811fc56ba59cb2811c3fc26033b03c https://github.com/dovecot/core/commit/cbe2d47fda811fc56ba59cb2811c3fc26033b03c Author: Timo Sirainen Date: 2016-05-09 (Mon, 09 May 2016) Changed paths: M src/lib-dict/dict-client.c M src/lib-dict/dict-client.h Log Message: ----------- dict-client: Use standard str_tabescape-functions There's no reason to reimplement them here separately. Commit: 3fdae9cc0f5d6ce05afdaf1e2ab35fb5dbdf0d17 https://github.com/dovecot/core/commit/3fdae9cc0f5d6ce05afdaf1e2ab35fb5dbdf0d17 Author: Timo Sirainen Date: 2016-05-09 (Mon, 09 May 2016) Changed paths: M src/lib-dict/dict-redis.c Log Message: ----------- lib-dict: Compiler warning fix I don't think it's possible that error was used uninitialized, but some gcc version seems to think so. Compare: https://github.com/dovecot/core/compare/9284599e2d12...3fdae9cc0f5d From noreply at github.com Mon May 9 05:30:09 2016 From: noreply at github.com (GitHub) Date: Sun, 08 May 2016 22:30:09 -0700 Subject: [dovecot/core] d72603: README: Added missing supported RFCs Message-ID: <57302061d3229_321e3fd7ea1032c01235d6@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: d72603a00f93638a9b7075dda2126b89b01a06b6 https://github.com/dovecot/core/commit/d72603a00f93638a9b7075dda2126b89b01a06b6 Author: Timo Sirainen Date: 2016-05-09 (Mon, 09 May 2016) Changed paths: M README Log Message: ----------- README: Added missing supported RFCs From noreply at github.com Mon May 9 07:12:37 2016 From: noreply at github.com (GitHub) Date: Mon, 09 May 2016 00:12:37 -0700 Subject: [dovecot/pigeonhole] 495393: Adjusted to changes in Dovecot lib-dict API. Message-ID: <57303865a37e1_28a13ff795b592b814384f@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: 495393c53d4eeaee4ddb429aa71e9b9b249209db https://github.com/dovecot/pigeonhole/commit/495393c53d4eeaee4ddb429aa71e9b9b249209db Author: Timo Sirainen Date: 2016-05-06 (Fri, 06 May 2016) Changed paths: M src/lib-sieve/storage/dict/sieve-dict-script.c M src/lib-sieve/storage/dict/sieve-dict-storage.c Log Message: ----------- Adjusted to changes in Dovecot lib-dict API. From noreply at github.com Mon May 9 08:30:13 2016 From: noreply at github.com (GitHub) Date: Mon, 09 May 2016 01:30:13 -0700 Subject: [dovecot/core] 0bd188: lib: Do not use OpenSSL to read random bytes Message-ID: <57304a954881d_29bb3ff2f02272c0103150@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 0bd1883396e95233def27bb13d16694c06ff4028 https://github.com/dovecot/core/commit/0bd1883396e95233def27bb13d16694c06ff4028 Author: Aki Tuomi Date: 2016-05-09 (Mon, 09 May 2016) Changed paths: M configure.ac M src/lib/randgen.c Log Message: ----------- lib: Do not use OpenSSL to read random bytes Commit: 19a02b635e2c5e796cdaecbef49a16eaec19c479 https://github.com/dovecot/core/commit/19a02b635e2c5e796cdaecbef49a16eaec19c479 Author: Aki Tuomi Date: 2016-05-09 (Mon, 09 May 2016) Changed paths: M configure.ac A m4/arc4random.m4 M src/lib/rand.c M src/lib/rand.h M src/lib/randgen.c Log Message: ----------- lib: Use arc4random if present Commit: 52041ed691a26ca80e4e805765e9f55ec097c8f1 https://github.com/dovecot/core/commit/52041ed691a26ca80e4e805765e9f55ec097c8f1 Author: Martti Rannanj?rvi Date: 2016-05-09 (Mon, 09 May 2016) Changed paths: M src/lib/istream.c Log Message: ----------- lib: check stream_errno too when checking whether istream is closed Commit: a11c0bcd4ad286b399053daf827735c39acdb9ec https://github.com/dovecot/core/commit/a11c0bcd4ad286b399053daf827735c39acdb9ec Author: Baofeng Wang Date: 2016-05-09 (Mon, 09 May 2016) Changed paths: M doc/example-config/conf.d/10-logging.conf M src/lib-storage/mail-storage-settings.c Log Message: ----------- lib-storage: Add %{session} to mail_log_prefix by default Parameter is added to initialization string. Compare: https://github.com/dovecot/core/compare/d72603a00f93...a11c0bcd4ad2 From noreply at github.com Mon May 9 20:30:08 2016 From: noreply at github.com (GitHub) Date: Mon, 09 May 2016 13:30:08 -0700 Subject: [dovecot/pigeonhole] a66812: lib-sieve: edit mail wasn't didn't handle truncate... Message-ID: <5730f3506f323_75fa3f7edcb092b8491f5@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: a66812ae00da261671a62f08dd3e57e2223397ce https://github.com/dovecot/pigeonhole/commit/a66812ae00da261671a62f08dd3e57e2223397ce Author: Timo Sirainen Date: 2016-05-09 (Mon, 09 May 2016) Changed paths: M src/lib-sieve/util/edit-mail.c Log Message: ----------- lib-sieve: edit mail wasn't didn't handle truncated header correctly. If header was truncated, it was treated as an istream error. Also the istream read errors weren't logged. Commit: 64ac8433f4af3143bcce72e0ef5cede0c16e89e2 https://github.com/dovecot/pigeonhole/commit/64ac8433f4af3143bcce72e0ef5cede0c16e89e2 Author: Stephan Bosch Date: 2016-05-09 (Mon, 09 May 2016) Changed paths: M src/lib-sieve/cmd-redirect.c M src/lib-sieve/plugins/notify/ext-notify-common.c M src/lib-sieve/plugins/vnd.dovecot/report/cmd-report.c M src/lib-sieve/sieve-message.c Log Message: ----------- lib-sieve: Fixed error handling for mail streams. The previous change prompted some futher code review and similar improvements/fixes were applied at various places in the code. Compare: https://github.com/dovecot/pigeonhole/compare/495393c53d4e...64ac8433f4af From noreply at github.com Mon May 9 21:15:36 2016 From: noreply at github.com (GitHub) Date: Mon, 09 May 2016 14:15:36 -0700 Subject: [dovecot/pigeonhole] daf1c2: lib-sieve: program client: Significantly improved ... Message-ID: <5730fdf8415f_2ad23fad5b74f2a0620b9@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: daf1c25cb60bc532172321ae29eb7294bcd7fad1 https://github.com/dovecot/pigeonhole/commit/daf1c25cb60bc532172321ae29eb7294bcd7fad1 Author: Stephan Bosch Date: 2016-05-09 (Mon, 09 May 2016) Changed paths: M src/lib-sieve/util/program-client-local.c M src/lib-sieve/util/program-client-private.h M src/lib-sieve/util/program-client-remote.c M src/lib-sieve/util/program-client.c Log Message: ----------- lib-sieve: program client: Significantly improved error handling. Stream errors were never logged properly. Streams now have a name that makes sense. Timeout errors were handled in a rather stupid fashion. From noreply at github.com Tue May 10 09:30:10 2016 From: noreply at github.com (GitHub) Date: Tue, 10 May 2016 02:30:10 -0700 Subject: [dovecot/core] d9be91: Added liblzma bug to Valgrind suppressions file. Message-ID: <5731aa2239d90_74e3f85b17db2b827733@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: d9be91cb4f5a9bd1a001de20c1a17a9b58eefe9a https://github.com/dovecot/core/commit/d9be91cb4f5a9bd1a001de20c1a17a9b58eefe9a Author: Stephan Bosch Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M run-test-valgrind.supp Log Message: ----------- Added liblzma bug to Valgrind suppressions file. It caused `make test` to fail with valgrind. Occurred at least for Debian Jessie with liblzma package version 5.1.1alpha+20120614-2+b3. From noreply at github.com Tue May 10 20:30:11 2016 From: noreply at github.com (GitHub) Date: Tue, 10 May 2016 13:30:11 -0700 Subject: [dovecot/core] 04a7e8: lib-index: "first saved UID of the day" wasn't upd... Message-ID: <573244d39d6e1_65213fbaca36f2bc43087@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 04a7e8986339116102df54b6ae7416f712c78fec https://github.com/dovecot/core/commit/04a7e8986339116102df54b6ae7416f712c78fec Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib-index/mail-index-transaction-finish.c Log Message: ----------- lib-index: "first saved UID of the day" wasn't updated right always. It was using the UID of the first append. But it may not have been the lowest UID. Do this after the appends are first sorted by their UID. Commit: 948b838c8e9896132e3a2d802fb5dad37e8dc716 https://github.com/dovecot/core/commit/948b838c8e9896132e3a2d802fb5dad37e8dc716 Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib/istream-concat.c Log Message: ----------- lib: Fixed crash when closing a failed istream-concat i_stream_concat_seek() could have set cur_input==NULL and we still attempted to seek the cur_input at close time. Compare: https://github.com/dovecot/core/compare/d9be91cb4f5a...948b838c8e98 From noreply at github.com Tue May 10 21:30:11 2016 From: noreply at github.com (GitHub) Date: Tue, 10 May 2016 14:30:11 -0700 Subject: [dovecot/core] 6bff0a: lib-ldap: Add libdovecot dependency to libdovecot-... Message-ID: <573252e3bbe5b_d993fe0e1cbb2c08732e@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 6bff0a08e74aafabd40588123ee0d817bcd7c487 https://github.com/dovecot/core/commit/6bff0a08e74aafabd40588123ee0d817bcd7c487 Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib-ldap/Makefile.am Log Message: ----------- lib-ldap: Add libdovecot dependency to libdovecot-ldap Required for linking to work on OSX. From noreply at github.com Tue May 10 21:30:15 2016 From: noreply at github.com (GitHub) Date: Tue, 10 May 2016 14:30:15 -0700 Subject: [dovecot/core] eb2394: lib-ldap: Do not retry with bad credentials Message-ID: <573252e71b745_7f2f3fa0dde4b2a010036@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: eb239417679f4d5bdf0299db64e4ac31d63addda https://github.com/dovecot/core/commit/eb239417679f4d5bdf0299db64e4ac31d63addda Author: Aki Tuomi Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib-ldap/ldap-connection.c Log Message: ----------- lib-ldap: Do not retry with bad credentials Commit: 47f2320ca5ff396644e43e864d7b4ceb923f364a https://github.com/dovecot/core/commit/47f2320ca5ff396644e43e864d7b4ceb923f364a Author: Aki Tuomi Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib-ldap/ldap-connection.c Log Message: ----------- lib-ldap: Handle various LDAP failures correctly Commit: 4497d28e19891c861e81e5bcb106f1f8e8b0facc https://github.com/dovecot/core/commit/4497d28e19891c861e81e5bcb106f1f8e8b0facc Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib-storage/index/index-sync.c Log Message: ----------- lib-storage: Fixed potential crash in mailbox_sync_deinit() error handling If mailbox_sync*() was called before mailbox was opened, the automatic mailbox opening could fail. mailbox_sync_deinit() would still try to access box->view, which would be NULL. Commit: 81905b9300535941e918eb81760c26fc51edb704 https://github.com/dovecot/core/commit/81905b9300535941e918eb81760c26fc51edb704 Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib-mail/istream-header-filter.c Log Message: ----------- lib-mail: istream-header-filter - Check errors reading header This probably doesn't affect the results much, since the stream_errno is set anyway. But it's better to abort early, just in case the broken state might end up asserting later. Commit: 03947494029d35847007ba8743076a9ad4fc07b0 https://github.com/dovecot/core/commit/03947494029d35847007ba8743076a9ad4fc07b0 Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 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: Fixed stat() with HEADER_FILTER_END_BODY_WITH_LF Commit: 7fd1292b9d55668d68ed5d046a1fec4cdd57b3e1 https://github.com/dovecot/core/commit/7fd1292b9d55668d68ed5d046a1fec4cdd57b3e1 Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 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 HEADER_FILTER_ADD_MISSING_EOH fixes When using HEADER_FILTER_CRLF_PRESERVE, add CR to the EOH if the previous header line ended with CRLF. When header ends to a header without newline, add two newlines so we can get the actual EOH added. Commit: 71c09f6b25467dfb6ae79dcee371781d2532d2d2 https://github.com/dovecot/core/commit/71c09f6b25467dfb6ae79dcee371781d2532d2d2 Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 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: Fixed stat() with HEADER_FILTER_HIDE_BODY Commit: 90c3923258819fcc222955fb71f0e5d77387c754 https://github.com/dovecot/core/commit/90c3923258819fcc222955fb71f0e5d77387c754 Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 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 - fixed adding headers at eoh Commit: 1c3f119d72701fea1f5bf65cca17ace1d8026ef9 https://github.com/dovecot/core/commit/1c3f119d72701fea1f5bf65cca17ace1d8026ef9 Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib-storage/index/index-mail.c Log Message: ----------- lib-storage: Make it easier to debug mail's unclosed istream Commit: 9233125a5524ca2dfe324de19d95576f8a360562 https://github.com/dovecot/core/commit/9233125a5524ca2dfe324de19d95576f8a360562 Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/doveadm/doveadm-who.c Log Message: ----------- doveadm who: Fixed listing LMTP sessions Commit: b0626c087fd1a15d47790873cae746324211e305 https://github.com/dovecot/core/commit/b0626c087fd1a15d47790873cae746324211e305 Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib-mail/test-istream-header-filter.c Log Message: ----------- lib-mail: Fixed istream-header-filter unit test names Commit: e36e97499078ff53671e00de863379b89823368c https://github.com/dovecot/core/commit/e36e97499078ff53671e00de863379b89823368c Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib-fs/fs-metawrap.c Log Message: ----------- lib-fs: fs-metawrap stat() error handling improvement. We can't just treat i_stream_get_size() returning 0 as the reason being istream is async and not fully read. It might be, but it might also be because of other reasons. And since we're closing the istream we couldn't even properly finish up the async handling. So for now just return an error if we see this happening. Commit: bb3679aad440b7a971fe4c9f53fbb6f5fd29bb50 https://github.com/dovecot/core/commit/bb3679aad440b7a971fe4c9f53fbb6f5fd29bb50 Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/stats/mail-user.c Log Message: ----------- stats: Fixed ADD-USER stats tracking (auth stats) Commit: 2615930e573084cac91dde95ab2052a267ae90e7 https://github.com/dovecot/core/commit/2615930e573084cac91dde95ab2052a267ae90e7 Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib-fs/fs-api.c Log Message: ----------- lib-fs: Fixes to stats count tracking fs_exists(), fs_copy(), fs_rename() and fs_delete() could have increased the count multiple times on async operations. Commit: 501231e8455297016fdca992518a31b0904fc8b7 https://github.com/dovecot/core/commit/501231e8455297016fdca992518a31b0904fc8b7 Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/plugins/lazy-expunge/lazy-expunge-plugin.c Log Message: ----------- lazy-expunge: Handle mailbox create race conditions. Don't log an error if another process just created the lazy-expunge mailbox. Commit: 4a92e7afb9683c8c4de60a822223c2ad6e0e55bd https://github.com/dovecot/core/commit/4a92e7afb9683c8c4de60a822223c2ad6e0e55bd Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib/connection.c Log Message: ----------- lib: Improved connection_disconnect_reason() Commit: 0e65dc9c8a938fde37dea36d5e17dc7ea522d24f https://github.com/dovecot/core/commit/0e65dc9c8a938fde37dea36d5e17dc7ea522d24f Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib/istream.c M src/lib/istream.h Log Message: ----------- lib: Added i_stream_get_disconnect_reason() Commit: fc0f22ebd30428111592e0a7e404794c6d71f20f https://github.com/dovecot/core/commit/fc0f22ebd30428111592e0a7e404794c6d71f20f Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/auth/Makefile.am Log Message: ----------- auth: Makefile dependency fix Hopefully fixes: mv: cannot stat '.deps/auth-stats.Tpo': No such file or directory Commit: 37f0b04489ab73227ae28678d6f15067adea1a94 https://github.com/dovecot/core/commit/37f0b04489ab73227ae28678d6f15067adea1a94 Author: Aki Tuomi Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib-dict-extra/dict-ldap.c Log Message: ----------- dict-ldap: Properly duplicate result Commit: c8d8cb57937a065090d6e0bfe96425de79f69244 https://github.com/dovecot/core/commit/c8d8cb57937a065090d6e0bfe96425de79f69244 Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/plugins/stats/mail-stats-fill.c Log Message: ----------- stats: Work around shrinking system CPU usage Happening at least in Debian's Linux kernel 4.3.0-1-amd64. getrusage() may returns ru_stime = 4000 or 8000, but later it drops to 0. We'll just work around this by switching to the previous working ru_stime. This fixes errors like: Error: stats: session stats shrank: sys_cpu 0.0 < 0.4000 Commit: 99e68380dfbc17b78c1cda139093dc108fa4f097 https://github.com/dovecot/core/commit/99e68380dfbc17b78c1cda139093dc108fa4f097 Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/plugins/stats/mail-stats-fill.c Log Message: ----------- stats: Handle getrusage() errors better I'm not aware of these errors actually happening anywhere, but its error handling wouldn't have been correct if previous getrusage() calls had succeeded. Now if it fails, log an error once and just keep on using the last working rusage. Commit: 9f47b8c69789e8e61b1581e3fb1864a125bf276f https://github.com/dovecot/core/commit/9f47b8c69789e8e61b1581e3fb1864a125bf276f Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/imap/imap-sync.c Log Message: ----------- imap: Avoid assert-crash after a failed mailbox sync. We didn't close the mailbox and we didn't update message counts, so we could have crashed with: Panic: Message count decreased Commit: 8dfa9cf75a5f0811053a8d5e8170c2ce1421c291 https://github.com/dovecot/core/commit/8dfa9cf75a5f0811053a8d5e8170c2ce1421c291 Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib-dict/dict-client.c Log Message: ----------- dict-client: Added idle_msecs= parameter This can be useful when connected to dict-async server where extra idling connections don't matter so much as with blocking dict servers. Commit: c2a17c802d691f5fc7eeec493613ce6c6965fc6e https://github.com/dovecot/core/commit/c2a17c802d691f5fc7eeec493613ce6c6965fc6e Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib-http/http-client-private.h M src/lib-http/http-client-queue.c Log Message: ----------- lib-http: If connect fails, include attempt count and total time in error. This will produce errors such as: 9002 connect(1.2.3.4:801) failed: Connection timed out in 1.001 secs (4 attempts in 4.706 secs) Commit: 5f59c92c2a9047419bdd29856d6a91e3bdcead83 https://github.com/dovecot/core/commit/5f59c92c2a9047419bdd29856d6a91e3bdcead83 Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M README Log Message: ----------- README: Added missing supported RFCs Commit: 99ce322e586996354583230b277ff87e6073cad5 https://github.com/dovecot/core/commit/99ce322e586996354583230b277ff87e6073cad5 Author: Stephan Bosch Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M run-test-valgrind.supp Log Message: ----------- Added liblzma bug to Valgrind suppressions file. It caused `make test` to fail with valgrind. Occurred at least for Debian Jessie with liblzma package version 5.1.1alpha+20120614-2+b3. Commit: 7c2d7b9e7a1611658e61d91de4341dc712c2d1ec https://github.com/dovecot/core/commit/7c2d7b9e7a1611658e61d91de4341dc712c2d1ec Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib-index/mail-index-transaction-finish.c Log Message: ----------- lib-index: "first saved UID of the day" wasn't updated right always. It was using the UID of the first append. But it may not have been the lowest UID. Do this after the appends are first sorted by their UID. Commit: bd0bf1233c56f448690df5ba495f18d7a0b15f1a https://github.com/dovecot/core/commit/bd0bf1233c56f448690df5ba495f18d7a0b15f1a Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib/istream-concat.c Log Message: ----------- lib: Fixed crash when closing a failed istream-concat i_stream_concat_seek() could have set cur_input==NULL and we still attempted to seek the cur_input at close time. Commit: 1b228876c020f2be8323253f862cbdabd482f756 https://github.com/dovecot/core/commit/1b228876c020f2be8323253f862cbdabd482f756 Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib-ldap/Makefile.am Log Message: ----------- lib-ldap: Add libdovecot dependency to libdovecot-ldap Required for linking to work on OSX. Compare: https://github.com/dovecot/core/compare/139007fda81b...1b228876c020 From noreply at github.com Tue May 10 21:38:23 2016 From: noreply at github.com (GitHub) Date: Tue, 10 May 2016 14:38:23 -0700 Subject: [dovecot/pigeonhole] 4aebe7: lib-sieve: edit mail wasn't didn't handle truncate... Message-ID: <573254cfd48a0_60b73fecd54eb2c0611c8@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-0.4 Home: https://github.com/dovecot/pigeonhole Commit: 4aebe7ecea29a6951f2c063699bd67d7c80aa257 https://github.com/dovecot/pigeonhole/commit/4aebe7ecea29a6951f2c063699bd67d7c80aa257 Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib-sieve/util/edit-mail.c Log Message: ----------- lib-sieve: edit mail wasn't didn't handle truncated header correctly. If header was truncated, it was treated as an istream error. Also the istream read errors weren't logged. Commit: d85babbf2a86a716bc4bb1f123e31c2153b18fac https://github.com/dovecot/pigeonhole/commit/d85babbf2a86a716bc4bb1f123e31c2153b18fac Author: Stephan Bosch Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib-sieve/cmd-redirect.c M src/lib-sieve/plugins/notify/ext-notify-common.c M src/lib-sieve/plugins/vnd.dovecot/report/cmd-report.c M src/lib-sieve/sieve-message.c Log Message: ----------- lib-sieve: Fixed error handling for mail streams. The previous change prompted some futher code review and similar improvements/fixes were applied at various places in the code. Compare: https://github.com/dovecot/pigeonhole/compare/6b436b4f1cce...d85babbf2a86 From noreply at github.com Tue May 10 22:00:13 2016 From: noreply at github.com (GitHub) Date: Tue, 10 May 2016 15:00:13 -0700 Subject: [dovecot/core] 0d7325: lib-ldap: Reverted previous commit for now. Message-ID: <573259ed7f284_7db23f9e6ad652c01111a9@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 0d7325fd167763a4d5e1d274f63d45863e2ca9d0 https://github.com/dovecot/core/commit/0d7325fd167763a4d5e1d274f63d45863e2ca9d0 Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib-ldap/Makefile.am Log Message: ----------- lib-ldap: Reverted previous commit for now. We don't have libdovecot built at at this stage. But we can't build it earlier, because it needs lib-dict-extra, which needs lib-ldap. So we have cyclical dependencies now. From noreply at github.com Tue May 10 22:00:15 2016 From: noreply at github.com (GitHub) Date: Tue, 10 May 2016 15:00:15 -0700 Subject: [dovecot/core] ebf2e9: lib-ldap: Reverted previous commit for now. Message-ID: <573259ef307a7_45c63fb0b52a92c0970e4@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: ebf2e93ed33cf3206075127818456fddfebf7281 https://github.com/dovecot/core/commit/ebf2e93ed33cf3206075127818456fddfebf7281 Author: Timo Sirainen Date: 2016-05-10 (Tue, 10 May 2016) Changed paths: M src/lib-ldap/Makefile.am Log Message: ----------- lib-ldap: Reverted previous commit for now. We don't have libdovecot built at at this stage. But we can't build it earlier, because it needs lib-dict-extra, which needs lib-ldap. So we have cyclical dependencies now. From noreply at github.com Wed May 11 09:30:10 2016 From: noreply at github.com (GitHub) Date: Wed, 11 May 2016 02:30:10 -0700 Subject: [dovecot/core] 373126: dsync: Fixed potential crash Message-ID: <5732fba22e8b9_4cdf3fc6749272bc10294e@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 37312679c89109e8762c3ec33da3dfac4c4177b8 https://github.com/dovecot/core/commit/37312679c89109e8762c3ec33da3dfac4c4177b8 Author: Timo Sirainen Date: 2016-05-11 (Wed, 11 May 2016) Changed paths: M src/doveadm/dsync/dsync-mailbox-import.c Log Message: ----------- dsync: Fixed potential crash This seems to be possible with dsync_mailbox_find_common_expunged_uid() -> dsync_mailbox_common_uid_found() -> dsync_mailbox_rewind_search() -> following search doesn't find anything. From noreply at github.com Wed May 11 21:30:10 2016 From: noreply at github.com (GitHub) Date: Wed, 11 May 2016 14:30:10 -0700 Subject: [dovecot/core] 300c5b: lib-sql: Memory leak fix when freeing sql dbs from... Message-ID: <5733a462834b2_5dae3fc613fb129c14349d@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 300c5b822cde4a1d7247f49c9a0ab9f14c3ae37b https://github.com/dovecot/core/commit/300c5b822cde4a1d7247f49c9a0ab9f14c3ae37b Author: Timo Sirainen Date: 2016-05-11 (Wed, 11 May 2016) Changed paths: M src/lib-sql/sql-db-cache.c Log Message: ----------- lib-sql: Memory leak fix when freeing sql dbs from cache Normally happened only at deinit. Commit: 9254a9e94dc794b3f2f2f155e60e3c1908569924 https://github.com/dovecot/core/commit/9254a9e94dc794b3f2f2f155e60e3c1908569924 Author: Timo Sirainen Date: 2016-05-11 (Wed, 11 May 2016) Changed paths: M src/lib-dict/dict-sql-settings.c M src/lib-dict/dict-sql-settings.h M src/lib-dict/dict-sql.c Log Message: ----------- dict-sql: Cache reading settings files. The settings were read for every dict init, which was done for every new dict connection. This was using a lot of CPU. There are usually only a couple dict-sql settings files, so we cache all of the ones we read. Compare: https://github.com/dovecot/core/compare/37312679c891...9254a9e94dc7 From noreply at github.com Thu May 12 10:00:13 2016 From: noreply at github.com (GitHub) Date: Thu, 12 May 2016 03:00:13 -0700 Subject: [dovecot/core] 5a6ad4: lmtp: Removed (Dovecot) from Received header. Message-ID: <5734542da953_a5e3f9e659a129c93751@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 5a6ad44f13668817043427f98616c1f7a5cc2606 https://github.com/dovecot/core/commit/5a6ad44f13668817043427f98616c1f7a5cc2606 Author: Timo Sirainen Date: 2016-05-12 (Thu, 12 May 2016) Changed paths: M src/lmtp/commands.c Log Message: ----------- lmtp: Removed (Dovecot) from Received header. Some people want to hide it, and I don't really see much benefit in including it anyway. So lets just hide it from everyone. From noreply at github.com Thu May 12 11:30:13 2016 From: noreply at github.com (GitHub) Date: Thu, 12 May 2016 04:30:13 -0700 Subject: [dovecot/core] a80011: fs-randomfail: Set fs error always when injecting ... Message-ID: <57346945289f4_22573fe9aad412b81055e7@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: a80011b6e3df30a7015959b06e29fa4e8e521305 https://github.com/dovecot/core/commit/a80011b6e3df30a7015959b06e29fa4e8e521305 Author: Timo Sirainen Date: 2016-05-12 (Thu, 12 May 2016) Changed paths: M src/lib-fs/fs-randomfail.c Log Message: ----------- fs-randomfail: Set fs error always when injecting failure. It was done in some places, but not everywhere. Commit: 69ced82926a142af47034178a77de804037bdf72 https://github.com/dovecot/core/commit/69ced82926a142af47034178a77de804037bdf72 Author: Timo Sirainen Date: 2016-05-12 (Thu, 12 May 2016) Changed paths: M src/lib-fs/fs-metawrap.c Log Message: ----------- fs-metawrap: Propagate fs_write_stream_abort() to parent always It needed to be done also when temp_output==NULL, because we had already started sending it to parent, but async parent wasn't being finished. Commit: 4c4a583c7339bce451b598ad19631df2d79c724d https://github.com/dovecot/core/commit/4c4a583c7339bce451b598ad19631df2d79c724d Author: Timo Sirainen Date: 2016-05-12 (Thu, 12 May 2016) Changed paths: M src/lib-fs/fs-metawrap.c Log Message: ----------- fs-metawrap: Minor code cleanup temp_output==NULL, so these calls are equal. Commit: 7bea15d9a4208c31a4b93764d39453f6e8d05565 https://github.com/dovecot/core/commit/7bea15d9a4208c31a4b93764d39453f6e8d05565 Author: Timo Sirainen Date: 2016-05-12 (Thu, 12 May 2016) Changed paths: M src/lib-fs/fs-api-private.h M src/lib-fs/fs-api.c Log Message: ----------- lib-fs: Added asserts to make sure async writes are finished before close Commit: fece801a15b50e232d9b2cb11fbe507d327287a9 https://github.com/dovecot/core/commit/fece801a15b50e232d9b2cb11fbe507d327287a9 Author: Timo Sirainen Date: 2016-05-12 (Thu, 12 May 2016) Changed paths: M src/lib-fs/fs-api.c Log Message: ----------- lib-fs: Set fs error on fs_write_stream_abort() Probably would be nice for fs_write_stream_abort() to have an error string parameter, which could be used instead of this generic error. Commit: 5aa642046277a4dbbbbc4fcf3de750d5c8760c18 https://github.com/dovecot/core/commit/5aa642046277a4dbbbbc4fcf3de750d5c8760c18 Author: Timo Sirainen Date: 2016-05-12 (Thu, 12 May 2016) Changed paths: M src/lib-fs/fs-api.c Log Message: ----------- lib-fs: Minor code cleanup Compare: https://github.com/dovecot/core/compare/ebf2e93ed33c...5aa642046277 From noreply at github.com Thu May 12 12:00:11 2016 From: noreply at github.com (GitHub) Date: Thu, 12 May 2016 05:00:11 -0700 Subject: [dovecot/core] cc8fdd: fs-randomfail: Set fs error always when injecting ... Message-ID: <5734704bd3122_62a23fef93c232c084288@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: cc8fdda7b8e82de63115d2dfc80ea63cdde51e3e https://github.com/dovecot/core/commit/cc8fdda7b8e82de63115d2dfc80ea63cdde51e3e Author: Timo Sirainen Date: 2016-05-12 (Thu, 12 May 2016) Changed paths: M src/lib-fs/fs-randomfail.c Log Message: ----------- fs-randomfail: Set fs error always when injecting failure. It was done in some places, but not everywhere. Commit: 5a20b6bb2a3a04300e341755e3bc2029042727d4 https://github.com/dovecot/core/commit/5a20b6bb2a3a04300e341755e3bc2029042727d4 Author: Timo Sirainen Date: 2016-05-12 (Thu, 12 May 2016) Changed paths: M src/lib-fs/fs-metawrap.c Log Message: ----------- fs-metawrap: Propagate fs_write_stream_abort() to parent always It needed to be done also when temp_output==NULL, because we had already started sending it to parent, but async parent wasn't being finished. Commit: 8b8534cc005aeafe43d7d1de7b50924568328129 https://github.com/dovecot/core/commit/8b8534cc005aeafe43d7d1de7b50924568328129 Author: Timo Sirainen Date: 2016-05-12 (Thu, 12 May 2016) Changed paths: M src/lib-fs/fs-metawrap.c Log Message: ----------- fs-metawrap: Minor code cleanup temp_output==NULL, so these calls are equal. Commit: d4a85e170c276969ba14c598a3efdbfaf33c7fc6 https://github.com/dovecot/core/commit/d4a85e170c276969ba14c598a3efdbfaf33c7fc6 Author: Timo Sirainen Date: 2016-05-12 (Thu, 12 May 2016) Changed paths: M src/lib-fs/fs-api-private.h M src/lib-fs/fs-api.c Log Message: ----------- lib-fs: Added asserts to make sure async writes are finished before close Commit: eaac2584903d75da935eeee5098a7baa904f1afd https://github.com/dovecot/core/commit/eaac2584903d75da935eeee5098a7baa904f1afd Author: Timo Sirainen Date: 2016-05-12 (Thu, 12 May 2016) Changed paths: M src/lib-fs/fs-api.c Log Message: ----------- lib-fs: Set fs error on fs_write_stream_abort() Probably would be nice for fs_write_stream_abort() to have an error string parameter, which could be used instead of this generic error. Commit: 526af69146c11a7a2c429f026e69fd66be845949 https://github.com/dovecot/core/commit/526af69146c11a7a2c429f026e69fd66be845949 Author: Timo Sirainen Date: 2016-05-12 (Thu, 12 May 2016) Changed paths: M src/lib-fs/fs-api.c Log Message: ----------- lib-fs: Minor code cleanup Compare: https://github.com/dovecot/core/compare/5a6ad44f1366...526af69146c1 From noreply at github.com Thu May 12 12:00:14 2016 From: noreply at github.com (GitHub) Date: Thu, 12 May 2016 05:00:14 -0700 Subject: [dovecot/core] fa4f8f: dict-sql: Cache reading settings files. Message-ID: <5734704e39a1c_20e63fc5840512a01150f9@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: fa4f8f36b213d233e25f628f48a8f3b33d842b88 https://github.com/dovecot/core/commit/fa4f8f36b213d233e25f628f48a8f3b33d842b88 Author: Timo Sirainen Date: 2016-05-12 (Thu, 12 May 2016) Changed paths: M src/lib-dict/dict-sql-settings.c M src/lib-dict/dict-sql-settings.h M src/lib-dict/dict-sql.c Log Message: ----------- dict-sql: Cache reading settings files. The settings were read for every dict init, which was done for every new dict connection. This was using a lot of CPU. There are usually only a couple dict-sql settings files, so we cache all of the ones we read. From noreply at github.com Thu May 12 13:00:16 2016 From: noreply at github.com (GitHub) Date: Thu, 12 May 2016 06:00:16 -0700 Subject: [dovecot/core] 9f300e: lib-http: Queue's delayed timeout handler wasn't r... Message-ID: <57347e601aec7_115f3fa200ba52c0585a2@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 9f300ec1af1f711ab7abe350eb333d7487384a25 https://github.com/dovecot/core/commit/9f300ec1af1f711ab7abe350eb333d7487384a25 Author: Timo Sirainen Date: 2016-05-12 (Thu, 12 May 2016) Changed paths: M src/lib-http/http-client-queue.c Log Message: ----------- lib-http: Queue's delayed timeout handler wasn't removed after work was done. From noreply at github.com Thu May 12 13:00:13 2016 From: noreply at github.com (GitHub) Date: Thu, 12 May 2016 06:00:13 -0700 Subject: [dovecot/core] 52ac19: lib-http: Queue's delayed timeout handler wasn't r... Message-ID: <57347e5d12bba_71543ff9e75612bc9635@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 52ac19fa609252a2dc5d78c724fd32a422c5c7a1 https://github.com/dovecot/core/commit/52ac19fa609252a2dc5d78c724fd32a422c5c7a1 Author: Timo Sirainen Date: 2016-05-12 (Thu, 12 May 2016) Changed paths: M src/lib-http/http-client-queue.c Log Message: ----------- lib-http: Queue's delayed timeout handler wasn't removed after work was done. From noreply at github.com Thu May 12 18:00:20 2016 From: noreply at github.com (GitHub) Date: Thu, 12 May 2016 11:00:20 -0700 Subject: [dovecot/core] 826f16: lib-fs: Fixed multiple concurrent fs_read_stream()... Message-ID: <5734c4b4cc2a7_13d3fd1dbeb52c012603d@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 826f16c0cd4c1ea667a441f45caf48e913bac906 https://github.com/dovecot/core/commit/826f16c0cd4c1ea667a441f45caf48e913bac906 Author: Timo Sirainen Date: 2016-05-12 (Thu, 12 May 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: d375835dd9fdff87c051aa646e54a1f8693fe7bc https://github.com/dovecot/core/commit/d375835dd9fdff87c051aa646e54a1f8693fe7bc Author: Timo Sirainen Date: 2016-05-12 (Thu, 12 May 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) Compare: https://github.com/dovecot/core/compare/9f300ec1af1f...d375835dd9fd From noreply at github.com Thu May 12 19:30:12 2016 From: noreply at github.com (GitHub) Date: Thu, 12 May 2016 12:30:12 -0700 Subject: [dovecot/core] f5f2a7: lib-fs: Added FS_PROPERTY_FASTCOPY_CHANGED_METADAT... Message-ID: <5734d9c4e3049_49883fd885f652a0104955@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: f5f2a7a7f2259db3ba42964fbbaeadb8870e64bf https://github.com/dovecot/core/commit/f5f2a7a7f2259db3ba42964fbbaeadb8870e64bf Author: Timo Sirainen Date: 2016-05-12 (Thu, 12 May 2016) Changed paths: M src/lib-fs/fs-api.h Log Message: ----------- lib-fs: Added FS_PROPERTY_FASTCOPY_CHANGED_METADATA From noreply at github.com Thu May 12 20:00:10 2016 From: noreply at github.com (GitHub) Date: Thu, 12 May 2016 13:00:10 -0700 Subject: [dovecot/core] c24b4f: lib-fs: Added FS_PROPERTY_FASTCOPY_CHANGED_METADAT... Message-ID: <5734e0caf1987_33bb3f91e25572c0478a4@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: c24b4f9c4acc99d90aef8512ec1bd907f9e844b9 https://github.com/dovecot/core/commit/c24b4f9c4acc99d90aef8512ec1bd907f9e844b9 Author: Timo Sirainen Date: 2016-05-12 (Thu, 12 May 2016) Changed paths: M src/lib-fs/fs-api.h Log Message: ----------- lib-fs: Added FS_PROPERTY_FASTCOPY_CHANGED_METADATA From noreply at github.com Thu May 12 22:30:10 2016 From: noreply at github.com (GitHub) Date: Thu, 12 May 2016 15:30:10 -0700 Subject: [dovecot/core] a298a4: doc: remove doveadm mount manpages Message-ID: <573503f2c53ac_8143fb5621b72c07425b@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: a298a43f65350dc268d2e382bb13fed3ca814e16 https://github.com/dovecot/core/commit/a298a43f65350dc268d2e382bb13fed3ca814e16 Author: Martti Rannanj?rvi Date: 2016-05-13 (Fri, 13 May 2016) Changed paths: M doc/man/Makefile.am R doc/man/doveadm-mount.1.in M doc/man/doveadm.1.in Log Message: ----------- doc: remove doveadm mount manpages Commit: 2da53a58a409ab042524782ac45472c2c565b2f6 https://github.com/dovecot/core/commit/2da53a58a409ab042524782ac45472c2c565b2f6 Author: Martti Rannanj?rvi Date: 2016-05-13 (Fri, 13 May 2016) Changed paths: M src/lib/istream-sized.c Log Message: ----------- lib: remove failed bool from sized_istream struct This is no longer needed as we are now checking for stream_errno also in istream.c Commit: 7c91b85facc83d0b4e5859e128e2d92e83687b2b https://github.com/dovecot/core/commit/7c91b85facc83d0b4e5859e128e2d92e83687b2b Author: Stephan Bosch Date: 2016-05-13 (Fri, 13 May 2016) Changed paths: M dovecot-config.in.in M m4/dovecot.m4 Log Message: ----------- Added LIBDOVECOT_SQL_INCLUDE to dovecot-config and dovecot.m4. Commit: c68f28e2cf5f9621511bece0414335e551dc82c6 https://github.com/dovecot/core/commit/c68f28e2cf5f9621511bece0414335e551dc82c6 Author: Timo Sirainen Date: 2016-05-13 (Fri, 13 May 2016) Changed paths: M src/lib-storage/index/cydir/cydir-save.c M src/lib-storage/index/dbox-common/dbox-save.c M src/lib-storage/index/imapc/imapc-save.c M src/lib-storage/index/index-storage.c M src/lib-storage/index/index-storage.h M src/lib-storage/index/maildir/maildir-save.c Log Message: ----------- lib-storage: Moved common code to index_storage_save_continue() Commit: 25761530d670443bca1fdfe8915f7bac1fcef5c5 https://github.com/dovecot/core/commit/25761530d670443bca1fdfe8915f7bac1fcef5c5 Author: Timo Sirainen Date: 2016-05-13 (Fri, 13 May 2016) Changed paths: M src/lib-storage/index/index-storage.c Log Message: ----------- lib-storage: Fixed istream error handling while saving mails. We might have logged them as write errors, or we might have ignored the error if i_stream_read() failed. Now the behavior is consistent. Compare: https://github.com/dovecot/core/compare/c24b4f9c4acc...25761530d670 From noreply at github.com Fri May 13 11:00:11 2016 From: noreply at github.com (GitHub) Date: Fri, 13 May 2016 04:00:11 -0700 Subject: [dovecot/core] 75a7ba: dict: Set default transaction commit callback Message-ID: <5735b3bb754b5_5973fd89db6d2c0163868@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 75a7ba70c7b377eff0f7124b8943cf2976ac2533 https://github.com/dovecot/core/commit/75a7ba70c7b377eff0f7124b8943cf2976ac2533 Author: Aki Tuomi Date: 2016-05-13 (Fri, 13 May 2016) Changed paths: M src/lib-dict/dict.c Log Message: ----------- dict: Set default transaction commit callback Removes need for NULL check on drivers From noreply at github.com Fri May 13 13:30:12 2016 From: noreply at github.com (GitHub) Date: Fri, 13 May 2016 06:30:12 -0700 Subject: [dovecot/core] 6eb019: lib: Fixed potential crash in i_stream_stat() fail... Message-ID: <5735d6e42d3c3_42743fc578d412a099782@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 6eb0192085073a63ea03443860c412bb5312dd7e https://github.com/dovecot/core/commit/6eb0192085073a63ea03443860c412bb5312dd7e Author: Timo Sirainen Date: 2016-05-13 (Fri, 13 May 2016) Changed paths: M src/lib/istream.c Log Message: ----------- lib: Fixed potential crash in i_stream_stat() failures. We shouldn't have been copying parent's stream_errno here. Especially because the parent can be NULL. From noreply at github.com Fri May 13 14:00:12 2016 From: noreply at github.com (GitHub) Date: Fri, 13 May 2016 07:00:12 -0700 Subject: [dovecot/core] da653f: lib-fs: If fs-metawrap sees truncated header, it s... Message-ID: <5735ddec216d4_791e3f9b19d572a0824eb@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: da653f208884f4f5da5b9daa9d5de0cdc009e843 https://github.com/dovecot/core/commit/da653f208884f4f5da5b9daa9d5de0cdc009e843 Author: Timo Sirainen Date: 2016-05-13 (Fri, 13 May 2016) Changed paths: M src/lib-fs/istream-metawrap.c Log Message: ----------- lib-fs: If fs-metawrap sees truncated header, it should return error. Commit: ed47ce764bfdd40b70919f2c917d237b0a2e4aed https://github.com/dovecot/core/commit/ed47ce764bfdd40b70919f2c917d237b0a2e4aed Author: Timo Sirainen Date: 2016-05-13 (Fri, 13 May 2016) Changed paths: M src/lib-fs/fs-metawrap.c Log Message: ----------- lib-fs: Make sure fs-metawrap catches all write errors. The full istream may not have been written in case ostream only partially wrote the data (e.g. out of disk space?) Compare: https://github.com/dovecot/core/compare/6eb019208507...ed47ce764bfd From noreply at github.com Fri May 13 18:00:14 2016 From: noreply at github.com (GitHub) Date: Fri, 13 May 2016 11:00:14 -0700 Subject: [dovecot/core] 6bc001: lib: Fixed potential crash in i_stream_stat() fail... Message-ID: <5736162e69f67_9533fdb575012bc71530@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 6bc001ee9dc03cb3107239861867cd674fd321d7 https://github.com/dovecot/core/commit/6bc001ee9dc03cb3107239861867cd674fd321d7 Author: Timo Sirainen Date: 2016-05-13 (Fri, 13 May 2016) Changed paths: M src/lib/istream.c Log Message: ----------- lib: Fixed potential crash in i_stream_stat() failures. We shouldn't have been copying parent's stream_errno here. Especially because the parent can be NULL. Commit: 4132ed5a3b2350d78188bb184d98ee6659ee5e1d https://github.com/dovecot/core/commit/4132ed5a3b2350d78188bb184d98ee6659ee5e1d Author: Timo Sirainen Date: 2016-05-13 (Fri, 13 May 2016) Changed paths: M src/lib-fs/istream-metawrap.c Log Message: ----------- lib-fs: If fs-metawrap sees truncated header, it should return error. Commit: aae505b6151745fdc60e46969b6ddf45d5b3f6be https://github.com/dovecot/core/commit/aae505b6151745fdc60e46969b6ddf45d5b3f6be Author: Timo Sirainen Date: 2016-05-13 (Fri, 13 May 2016) Changed paths: M src/lib-fs/fs-metawrap.c Log Message: ----------- lib-fs: Make sure fs-metawrap catches all write errors. The full istream may not have been written in case ostream only partially wrote the data (e.g. out of disk space?) Commit: a0b127aa8a84e5106d8848bca0db0b09544290fb https://github.com/dovecot/core/commit/a0b127aa8a84e5106d8848bca0db0b09544290fb Author: Timo Sirainen Date: 2016-05-13 (Fri, 13 May 2016) Changed paths: M src/lib/istream-seekable.c Log Message: ----------- lib: Fixed istream_seekable.stat() to return correct size. It was supposed to read until end of the stream, but it did it only when stat() was called while stream was still fully in memory. Compare: https://github.com/dovecot/core/compare/f5f2a7a7f225...a0b127aa8a84 From noreply at github.com Fri May 13 18:00:11 2016 From: noreply at github.com (GitHub) Date: Fri, 13 May 2016 11:00:11 -0700 Subject: [dovecot/core] 31fc5c: lib: Fixed istream_seekable.stat() to return corre... Message-ID: <5736162b36f9d_63ba3fd9996bf2bc413d8@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 31fc5ca967261b131646ff9719eb1fb23888ed1a https://github.com/dovecot/core/commit/31fc5ca967261b131646ff9719eb1fb23888ed1a Author: Timo Sirainen Date: 2016-05-13 (Fri, 13 May 2016) Changed paths: M src/lib/istream-seekable.c Log Message: ----------- lib: Fixed istream_seekable.stat() to return correct size. It was supposed to read until end of the stream, but it did it only when stat() was called while stream was still fully in memory. From noreply at github.com Fri May 13 18:30:10 2016 From: noreply at github.com (GitHub) Date: Fri, 13 May 2016 11:30:10 -0700 Subject: [dovecot/core] 47d439: imap: Set command start timestamps earlier. Message-ID: <57361d326353c_43ef3fe9b135129c105423@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 47d4398789219f22d58eb2c5cae5eb52c95e3cde https://github.com/dovecot/core/commit/47d4398789219f22d58eb2c5cae5eb52c95e3cde Author: Timo Sirainen Date: 2016-05-13 (Fri, 13 May 2016) Changed paths: M src/imap/imap-client.c Log Message: ----------- imap: Set command start timestamps earlier. Previously timing statistics in taglines weren't shown commands that didn't read any parameters. Also the timings now include the time speng reading command parameters from client. For example: a list "" {1} + OK % * LIST (\HasNoChildren) "/" INBOX a OK List completed (0.001 + 1.214 secs). From noreply at github.com Fri May 13 18:30:14 2016 From: noreply at github.com (GitHub) Date: Fri, 13 May 2016 11:30:14 -0700 Subject: [dovecot/core] 26758d: imap: Set command start timestamps earlier. Message-ID: <57361d3670ce6_5bef3fe7d307529c72177@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 26758def5493a93eeb40414830917b73e7d84407 https://github.com/dovecot/core/commit/26758def5493a93eeb40414830917b73e7d84407 Author: Timo Sirainen Date: 2016-05-13 (Fri, 13 May 2016) Changed paths: M src/imap/imap-client.c Log Message: ----------- imap: Set command start timestamps earlier. Previously timing statistics in taglines weren't shown commands that didn't read any parameters. Also the timings now include the time speng reading command parameters from client. For example: a list "" {1} + OK % * LIST (\HasNoChildren) "/" INBOX a OK List completed (0.001 + 1.214 secs). From noreply at github.com Sat May 14 22:30:10 2016 From: noreply at github.com (GitHub) Date: Sat, 14 May 2016 15:30:10 -0700 Subject: [dovecot/core] ec9ed7: lib-ldap: Compiling fix - don't pass through void ... Message-ID: <5737a6f2e8daa_6c673ffc85fed2bc173959@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: ec9ed7c725e0ce1aba59f6bc5dc291e24e9f0bbc https://github.com/dovecot/core/commit/ec9ed7c725e0ce1aba59f6bc5dc291e24e9f0bbc Author: Timo Sirainen Date: 2016-05-15 (Sun, 15 May 2016) Changed paths: M src/lib-ldap/ldap-client.c Log Message: ----------- lib-ldap: Compiling fix - don't pass through void return From noreply at github.com Sun May 15 10:50:42 2016 From: noreply at github.com (GitHub) Date: Sun, 15 May 2016 03:50:42 -0700 Subject: [dovecot/pigeonhole] dd0f8d: subaddress: Support multiple recipient_delimiters Message-ID: <573854823658f_514c3fc3686eb2a08609f@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: dd0f8d1a6c6089d37d03587fe1560379f101965c https://github.com/dovecot/pigeonhole/commit/dd0f8d1a6c6089d37d03587fe1560379f101965c Author: Aaron Lindsay Date: 2016-05-15 (Sun, 15 May 2016) Changed paths: M src/lib-sieve/plugins/subaddress/ext-subaddress.c M tests/extensions/subaddress/config.svtest Log Message: ----------- subaddress: 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. Based on a patch by: Lennart Weller From noreply at github.com Sun May 15 12:00:11 2016 From: noreply at github.com (GitHub) Date: Sun, 15 May 2016 05:00:11 -0700 Subject: [dovecot/core] a29f6b: lib-mail: istream-qp-decoder: For efficiency, avoi... Message-ID: <573864cb97d14_391f3f90298432a0100293@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: a29f6be099ae8938eddf4a25c3bd34d9dfe0798d https://github.com/dovecot/core/commit/a29f6be099ae8938eddf4a25c3bd34d9dfe0798d Author: Stephan Bosch Date: 2016-05-15 (Sun, 15 May 2016) Changed paths: M src/lib-mail/istream-qp-decoder.c Log Message: ----------- lib-mail: istream-qp-decoder: For efficiency, avoid copying data between decode buffer and stream buffer. Instead, use the decode buffer directly as stream buffer. From noreply at github.com Sun May 15 12:55:17 2016 From: noreply at github.com (GitHub) Date: Sun, 15 May 2016 05:55:17 -0700 Subject: [dovecot/pigeonhole] cafb21: managesieve: Free mail_user only after client is d... Message-ID: <573871b5fd22_38a3fd0bd7f92c0766f8@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: cafb21eb0722cddb5e785169a7d843b1056de1f5 https://github.com/dovecot/pigeonhole/commit/cafb21eb0722cddb5e785169a7d843b1056de1f5 Author: Stephan Bosch Date: 2016-05-15 (Sun, 15 May 2016) Changed paths: M src/managesieve/managesieve-client.c Log Message: ----------- managesieve: Free mail_user only after client is disconnected. Mimics Dovecot/IMAP change 1001bda65e9f592d852a26ddd6a993f7973050bf. Commit: 8ab4f24cab8bbfa45223a15b74478e1827dc3c2f https://github.com/dovecot/pigeonhole/commit/8ab4f24cab8bbfa45223a15b74478e1827dc3c2f Author: Stephan Bosch Date: 2016-05-15 (Sun, 15 May 2016) Changed paths: M src/managesieve/managesieve-client.c Log Message: ----------- managesieve: Avoid crashing at deinit if mail_user_unref() triggers mail_storage_callbacks This could have happened with Maildir/mbox and autoexpunging. Mimics Dovecot/IMAP change ddffbb277e212adb9d594b3d7d1e1d39fa78f7c6. Compare: https://github.com/dovecot/pigeonhole/compare/dd0f8d1a6c60...8ab4f24cab8b From noreply at github.com Mon May 16 07:30:11 2016 From: noreply at github.com (GitHub) Date: Mon, 16 May 2016 00:30:11 -0700 Subject: [dovecot/core] 0edb83: lib-ldap: Do not create new context and lose setti... Message-ID: <57397703fc56_7b1d3feff74972b85019a@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 0edb839b5fa5c082628d00257670010b3ef6963f https://github.com/dovecot/core/commit/0edb839b5fa5c082628d00257670010b3ef6963f Author: Aki Tuomi Date: 2016-05-15 (Sun, 15 May 2016) Changed paths: M src/lib-ldap/ldap-connection.c Log Message: ----------- lib-ldap: Do not create new context and lose settings From noreply at github.com Mon May 16 08:00:11 2016 From: noreply at github.com (GitHub) Date: Mon, 16 May 2016 01:00:11 -0700 Subject: [dovecot/core] f883bf: uri-util: Removed have_port and have_host_ip flags... Message-ID: <57397e0b4b52d_5ae13f9c063d52c010058f@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: f883bf3eff62f5d27df5ee9ee664edc38a77937f https://github.com/dovecot/core/commit/f883bf3eff62f5d27df5ee9ee664edc38a77937f Author: Stephan Bosch Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/imap-login/client-authenticate.c M src/lib-http/http-client-host.c M src/lib-http/http-client-request.c M src/lib-http/http-url.c M src/lib-http/http-url.h M src/lib-http/test-http-client.c M src/lib-http/test-http-request-parser.c M src/lib-http/test-http-url.c M src/lib-imap-urlauth/imap-urlauth.c M src/lib-imap/imap-url.c M src/lib-imap/imap-url.h M src/lib-imap/test-imap-url.c M src/lib/uri-util.c M src/lib/uri-util.h Log Message: ----------- uri-util: Removed have_port and have_host_ip flags. Presence of port can be tested with port != 0. Presence of IP can be tested with ip->family != 0. Commit: 32f28ff765ef6983af0df78ebc5289b478abf3fe https://github.com/dovecot/core/commit/32f28ff765ef6983af0df78ebc5289b478abf3fe Author: Stephan Bosch Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/lib/uri-util.c M src/lib/uri-util.h Log Message: ----------- uri-util: Added public function for parsing single percent encoding instances. Commit: b0dfc8fc0dd5d08fe6a746e346dca6c737749d89 https://github.com/dovecot/core/commit/b0dfc8fc0dd5d08fe6a746e346dca6c737749d89 Author: Stephan Bosch Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/lib-http/http-url.c M src/lib-http/test-http-url.c M src/lib-imap/imap-url.c M src/lib-imap/test-imap-url.c M src/lib/uri-util.c M src/lib/uri-util.h Log Message: ----------- uri-util: Implemented proper parsing of DNS-based host name for URI schemes that use DNS host names, such as http and imap. Commit: b7e953d7eecd18f1d0de701cc181e8830d8167b1 https://github.com/dovecot/core/commit/b7e953d7eecd18f1d0de701cc181e8830d8167b1 Author: Stephan Bosch Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/lib/uri-util.c M src/lib/uri-util.h Log Message: ----------- uri-util: Parsing of unreserved syntax erroneously included percent encoding. This functionality is currently not used, so no problems would occur. Commit: a643e1e3e5d9d8a60eeff83601f86ee00c26332a https://github.com/dovecot/core/commit/a643e1e3e5d9d8a60eeff83601f86ee00c26332a Author: Stephan Bosch Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/lib/uri-util.c M src/lib/uri-util.h Log Message: ----------- uri-util: Added support for initializing the URI parser from data. Commit: 62ed3307fb8a4a038a32a5181c503f1b645bf946 https://github.com/dovecot/core/commit/62ed3307fb8a4a038a32a5181c503f1b645bf946 Author: Stephan Bosch Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/lib/uri-util.c Log Message: ----------- uri-util: Added complete syntax comment. Commit: 8d2d2780c9e71581ff9c3e8bce527b492c295ec1 https://github.com/dovecot/core/commit/8d2d2780c9e71581ff9c3e8bce527b492c295ec1 Author: Stephan Bosch Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/lib-http/http-url.c M src/lib-imap/imap-url.c M src/lib/uri-util.c M src/lib/uri-util.h Log Message: ----------- uri-util: Split struct uri_host from uri_authority. Adds support for parsing host separately and manipulating host struct. Commit: f74dbd3ff682fea040f60383e001620d1f1b09d3 https://github.com/dovecot/core/commit/f74dbd3ff682fea040f60383e001620d1f1b09d3 Author: Stephan Bosch Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/lib-http/http-client-host.c M src/lib-http/http-client-request.c M src/lib-http/http-url.c M src/lib-http/http-url.h M src/lib-http/test-http-client.c M src/lib-http/test-http-request-parser.c M src/lib-http/test-http-url.c M src/plugins/fts-solr/solr-connection.c M src/plugins/fts/fts-parser-tika.c Log Message: ----------- lib-http: Started using struct uri_host in struct http_url. Commit: 66134fbce11778241ca9f8458ee2a0488a05bde0 https://github.com/dovecot/core/commit/66134fbce11778241ca9f8458ee2a0488a05bde0 Author: Stephan Bosch Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/imap-login/client-authenticate.c M src/lib-imap-urlauth/imap-urlauth.c M src/lib-imap/imap-url.c M src/lib-imap/imap-url.h M src/lib-imap/test-imap-url.c Log Message: ----------- lib-imap: Started using struct uri_host in struct imap_url. Commit: b4167b174b4eeebceaf80e240635e601f0a9860c https://github.com/dovecot/core/commit/b4167b174b4eeebceaf80e240635e601f0a9860c Author: Stephan Bosch Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/lib-http/http-url.c M src/lib-imap/imap-url.c M src/lib/uri-util.c Log Message: ----------- uri-util: Reworked URI scheme parsing. Made uri_cut_scheme() use uri_parse_scheme() internally rather than the other way around. Commit: af53c056cf1e3d133a78c201e72a678b5431d0fb https://github.com/dovecot/core/commit/af53c056cf1e3d133a78c201e72a678b5431d0fb Author: Stephan Bosch Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/lib/uri-util.c Log Message: ----------- uri-util: Improved implementation of uri_data_encode(). Commit: e4e9ba5f43f9bf7e072d7d9fcc3259a42ecb15c8 https://github.com/dovecot/core/commit/e4e9ba5f43f9bf7e072d7d9fcc3259a42ecb15c8 Author: Stephan Bosch Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/lib/uri-util.c M src/lib/uri-util.h Log Message: ----------- uri-util: Made uri_data_encode() public. Commit: 4e52bade0f83746405ecc1d0396e9b2ac7b98cd8 https://github.com/dovecot/core/commit/4e52bade0f83746405ecc1d0396e9b2ac7b98cd8 Author: Stephan Bosch Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/lib/uri-util.c M src/lib/uri-util.h Log Message: ----------- uri-util: Made URI encoding functions accept NULL pointer for additional escaped characters. Commit: 9aa483ebcba67bf1137ff79312315386eda94352 https://github.com/dovecot/core/commit/9aa483ebcba67bf1137ff79312315386eda94352 Author: Stephan Bosch Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/lib/uri-util.h Log Message: ----------- uri-util: Added documentation for all functions in header. Compare: https://github.com/dovecot/core/compare/0edb839b5fa5...9aa483ebcba6 From noreply at github.com Mon May 16 18:30:14 2016 From: noreply at github.com (GitHub) Date: Mon, 16 May 2016 11:30:14 -0700 Subject: [dovecot/core] 09142e: lib: istream - provide alternatives to i_stream_re... Message-ID: <573a11b6635f8_62143fc9f41232b8411c3@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 09142ea11662746ea07475b1a4f69a6a406fb996 https://github.com/dovecot/core/commit/09142ea11662746ea07475b1a4f69a6a406fb996 Author: Phil Carmody Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/lib/istream.h Log Message: ----------- lib: istream - provide alternatives to i_stream_read_data() Providing as a parameter the number of bytes that you would be disappointed to receive was confusing compared to providing the number that you would be happy to receive. This lets us get rid of all the '-1's in the callers. The callers which used 0 as a parameter were so common that it's worth providing a separate API just to simplify their demands. Deep down, these are still the same underlying function. Currently we route the new API through the old one, but eventually, the old API can be routed through the new one, so that the friendlier interface has the simplest implementation. Signed-off-by: Phil Carmody Commit: 3858a7a5da361c35f1e6e50c8e3214dc0cf379d6 https://github.com/dovecot/core/commit/3858a7a5da361c35f1e6e50c8e3214dc0cf379d6 Author: Phil Carmody Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/director/director-test.c M src/doveadm/doveadm-fs.c M src/doveadm/doveadm-print.c M src/doveadm/doveadm-zlib.c M src/doveadm/dsync/dsync-mail.c M src/doveadm/dsync/dsync-mailbox-import.c M src/imap-urlauth/imap-urlauth-worker.c M src/imap/cmd-setmetadata.c M src/lda/main.c M src/lib-compression/istream-bzlib.c M src/lib-compression/istream-lzma.c M src/lib-compression/istream-zlib.c M src/lib-compression/test-compression.c M src/lib-dict-extra/dict-fs.c M src/lib-fs/fs-api.c M src/lib-http/http-message-parser.c M src/lib-http/test-http-client.c M src/lib-http/test-http-transfer.c M src/lib-mail/istream-attachment-extractor.c M src/lib-mail/istream-qp-decoder.c M src/lib-mail/message-size.c M src/lib-mail/test-istream-attachment.c M src/lib-mail/test-istream-binary-converter.c M src/lib-mail/test-istream-qp-decoder.c M src/lib-ssl-iostream/iostream-openssl.c M src/lib-storage/index/imapc/imapc-mail.c M src/lib-storage/index/index-mail-binary.c M src/lib-storage/index/mbox/istream-raw-mbox.c M src/lib-storage/mailbox-attribute.c M src/lib/ostream.c M src/lib/test-istream-unix.c M src/login-common/client-common-auth.c M src/plugins/fts-solr/solr-connection.c M src/plugins/fts/fts-parser-tika.c M src/plugins/mail-filter/ostream-ext-filter.c M src/plugins/pop3-migration/pop3-migration-plugin.c M src/pop3/pop3-commands.c Log Message: ----------- lib: istream - migrate to i_stream_read_more() Scripted to find all the low-hanging-fruit (single line calls), but hand-checked: git grep i_stream_read_data.*,\ 0\) | sed s/:.*// | \ xargs sed -i -e 's/i_stream_read_data(\(.*\), \(.*\), \(.*\), 0)/i_stream_read_more(\1, \2, \3)/' Signed-off-by: Phil Carmody Commit: 534e41e436a7546f36f61e0dc49c0c191d850f6b https://github.com/dovecot/core/commit/534e41e436a7546f36f61e0dc49c0c191d850f6b Author: Phil Carmody Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/doveadm/doveadm-dump-dbox.c M src/lib-compression/compression.c M src/lib-fs/ostream-cmp.c M src/lib-index/mail-index-strmap.c M src/lib-storage/index/dbox-common/dbox-file-fix.c M src/lib-storage/list/subscription-file.c M src/lib/istream.h Log Message: ----------- lib: istream - migrate to i_stream_read_bytes() Scripted to pick off the low hanging fruit, one liners with an explicit '-1' in the final parameter, but hand-checked. git grep 'i_stream_read_data.*, [^,]*- \?1)' | sed s/:.*// | \ xargs sed -i -e 's/i_stream_read_data(\(.*\), \(.*\), \(.*\), \(.*[^ ]\) \?- \?1)/i_stream_read_bytes(\1, \2, \3, \4)/' Signed-off-by: Phil Carmody Commit: 573424407a2d3c1453638a643583a7cf10c129e1 https://github.com/dovecot/core/commit/573424407a2d3c1453638a643583a7cf10c129e1 Author: Phil Carmody Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/lib-compression/compression.c M src/lib-compression/istream-lz4.c M src/lib-compression/istream-zlib.c M src/lib-fs/fs-api.c M src/lib-index/mail-index-strmap.c M src/lib-lda/duplicate.c M src/lib-storage/index/dbox-common/dbox-file.c M src/lib/istream.h M src/lib/ostream-file.c M src/plugins/fts/fts-expunge-log.c Log Message: ----------- lib: istream - more migration to i_stream_read_bytes() This time a coccinelle semantic patch, again hand checked: git grep 'i_stream_read_data' | sed s/:.*// | \ while read f; do spatch --sp-file istream.cocci --in-place "$f" ; done -- 8< --- istream.cocci --- @@ expression e1, e2, e3, e4; @@ - i_stream_read_data(e1, e2, e3, e4 - 1) + i_stream_read_bytes(e1, e2, e3, e4) -- 8< --- end Signed-off-by: Phil Carmody Commit: 9184983183ae28fb543695c54c85bc5396c07e42 https://github.com/dovecot/core/commit/9184983183ae28fb543695c54c85bc5396c07e42 Author: Phil Carmody Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/doveadm/dsync/dsync-ibc-stream.c M src/lib-compression/istream-lz4.c M src/lib-http/http-header-parser.c M src/lib-http/http-transfer-chunked.c M src/lib-lda/lmtp-client.c Log Message: ----------- lib: istream - migrate more to i_stream_read_more() More coccinelle semantic patching, again hand-checked. git grep 'i_stream_read_data' | sed s/:.*// | \ while read f; do spatch --sp-file istream0.cocci --in-place "$f" ; done -- 8< --- istream0.cocci --- @@ expression e1, e2, e3; @@ - i_stream_read_data(e1, e2, e3, 0) + i_stream_read_more(e1, e2, e3) -- 8< --- end Signed-off-by: Phil Carmody Compare: https://github.com/dovecot/core/compare/9aa483ebcba6...9184983183ae From noreply at github.com Mon May 16 19:00:13 2016 From: noreply at github.com (GitHub) Date: Mon, 16 May 2016 12:00:13 -0700 Subject: [dovecot/core] f95afa: uri-util: The uri_parse_host_name_dns() would segf... Message-ID: <573a18bd4ca04_37a33fd3b4fd529c610de@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: f95afa9df14bee49d82baa3679fc94ef3a101d92 https://github.com/dovecot/core/commit/f95afa9df14bee49d82baa3679fc94ef3a101d92 Author: Stephan Bosch Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/lib/uri-util.c Log Message: ----------- uri-util: The uri_parse_host_name_dns() would segfault if the hostname_r parameter was NULL. Commit: 14383bf2be0296954609df5afd3c63c6555815f9 https://github.com/dovecot/core/commit/14383bf2be0296954609df5afd3c63c6555815f9 Author: Stephan Bosch Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/lib/uri-util.c Log Message: ----------- uri-util: Two ATTR_NULL specifications were misplaced or wrong. Commit: d3b0b5d2389acc43c75b63d2960daf82cf1f8aa7 https://github.com/dovecot/core/commit/d3b0b5d2389acc43c75b63d2960daf82cf1f8aa7 Author: Stephan Bosch Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/lib-http/http-url.c M src/lib-imap/imap-url.c M src/lib/uri-util.c M src/lib/uri-util.h Log Message: ----------- uri-util: Changed URI host/authority parsing API to not use a boolean. The boolean indicated whether the basic reg-name syntax or the more limited Internet host name syntax was to be expected. This change creates separate functions for this. Commit: 2a444bfedc0ee4db6ff92eb7fe5cdfd85b8e3379 https://github.com/dovecot/core/commit/2a444bfedc0ee4db6ff92eb7fe5cdfd85b8e3379 Author: Timo Sirainen Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/lib-ldap/ldap-connection.c Log Message: ----------- lib-ldap: Fixed assert-crash when killing LDAP connection. libldap may have already closed the fd, so with epoll io_remove() would try to remove it and crash with: Panic: epoll_ctl(del, 12) failed: Bad file descriptor Commit: 44ef49403ac7bddac84a1e322d170ed53cd37c95 https://github.com/dovecot/core/commit/44ef49403ac7bddac84a1e322d170ed53cd37c95 Author: Timo Sirainen Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/lib-mail/istream-header-filter.c M src/lib-mail/test-istream-header-filter.c M src/plugins/pop3-migration/pop3-migration-plugin.c Log Message: ----------- lib-mail: Fixed istream-header-filter callback's matched with eoh Reversed the matched-parameter handling for hdr->eoh, so it's consistent with non-eoh headers. Compare: https://github.com/dovecot/core/compare/9184983183ae...44ef49403ac7 From noreply at github.com Mon May 16 22:36:13 2016 From: noreply at github.com (GitHub) Date: Mon, 16 May 2016 15:36:13 -0700 Subject: [dovecot/pigeonhole] 2c0aa0: Replaced i_stream_read_data() calls with _read_byt... Message-ID: <573a4b5d2a39f_8313ff9e21372b8476c7@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: 2c0aa0f02f0f6f5a00da039767e0d1a903a68eaf https://github.com/dovecot/pigeonhole/commit/2c0aa0f02f0f6f5a00da039767e0d1a903a68eaf Author: Timo Sirainen Date: 2016-05-16 (Mon, 16 May 2016) Changed paths: M src/lib-sieve-tool/mail-raw.c M src/lib-sieve/sieve-message.c M src/lib-sieve/util/program-client-remote.c M src/lib-sieve/util/program-client.c M src/managesieve-login/client-authenticate.c M src/plugins/doveadm-sieve/doveadm-sieve-sync.c M src/testsuite/cmd-test-message.c Log Message: ----------- Replaced i_stream_read_data() calls with _read_bytes and _read_more() From noreply at github.com Tue May 17 21:00:12 2016 From: noreply at github.com (GitHub) Date: Tue, 17 May 2016 14:00:12 -0700 Subject: [dovecot/core] c220c8: doveadm-mailbox: Add update subcommand Message-ID: <573b865ce94d8_36b53fea35a2f29c733db@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: c220c8cd341ee9ba78979397c5d33ccd98b5d19f https://github.com/dovecot/core/commit/c220c8cd341ee9ba78979397c5d33ccd98b5d19f Author: Aki Tuomi Date: 2016-05-17 (Tue, 17 May 2016) Changed paths: M src/doveadm/doveadm-mail-mailbox.c M src/doveadm/doveadm-mail.c M src/doveadm/doveadm-mail.h Log Message: ----------- doveadm-mailbox: Add update subcommand Commit: 5f7f5baf6ce0b9428793b590ca286cdb24f67a11 https://github.com/dovecot/core/commit/5f7f5baf6ce0b9428793b590ca286cdb24f67a11 Author: Aki Tuomi Date: 2016-05-17 (Tue, 17 May 2016) Changed paths: M src/doveadm/doveadm-mail-mailbox.c Log Message: ----------- doveadm-mail-mailbox: Whitespace fix Commit: 5ceeb24b0d12e3368a78e17ce4b14d1c900fb223 https://github.com/dovecot/core/commit/5ceeb24b0d12e3368a78e17ce4b14d1c900fb223 Author: Timo Sirainen Date: 2016-05-17 (Tue, 17 May 2016) Changed paths: M src/imap/imap-client.c M src/imap/imap-client.h M src/imap/imap-sync.c Log Message: ----------- imap: Include sync timing information in tagged command replies. Show it only when it's larger than 0 to avoid unnecessary output. Compare: https://github.com/dovecot/core/compare/44ef49403ac7...5ceeb24b0d12 From noreply at github.com Tue May 17 22:37:35 2016 From: noreply at github.com (GitHub) Date: Tue, 17 May 2016 15:37:35 -0700 Subject: [dovecot/pigeonhole] b47c3a: doveadm-sieve: Update to ver2 structures Message-ID: <573b9d2f77f4b_45563f92baef72c01011b2@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: b47c3a060b809826d6038cfeb052c7028d733acf https://github.com/dovecot/pigeonhole/commit/b47c3a060b809826d6038cfeb052c7028d733acf Author: Aki Tuomi Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/plugins/doveadm-sieve/doveadm-sieve-cmd-activate.c M src/plugins/doveadm-sieve/doveadm-sieve-cmd-delete.c M src/plugins/doveadm-sieve/doveadm-sieve-cmd-get.c M src/plugins/doveadm-sieve/doveadm-sieve-cmd-list.c M src/plugins/doveadm-sieve/doveadm-sieve-cmd-put.c M src/plugins/doveadm-sieve/doveadm-sieve-cmd-rename.c M src/plugins/doveadm-sieve/doveadm-sieve-cmd.c M src/plugins/doveadm-sieve/doveadm-sieve-cmd.h Log Message: ----------- doveadm-sieve: Update to ver2 structures Commit: 5f4db18f1542eb44160f2fe736d867bbabea4acc https://github.com/dovecot/pigeonhole/commit/5f4db18f1542eb44160f2fe736d867bbabea4acc Author: Stephan Bosch Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/plugins/doveadm-sieve/doveadm-sieve-cmd-delete.c Log Message: ----------- doveadm-sieve: Fixed copy-paste stupidity in previous change. Commit: 634b16b3c25e8fb36c67dee3529a7b67796bc138 https://github.com/dovecot/pigeonhole/commit/634b16b3c25e8fb36c67dee3529a7b67796bc138 Author: Stephan Bosch Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib-sieve/storage/ldap/sieve-ldap-db.c Log Message: ----------- lib-sieve: ldap storage: Fixed compiler warning occurring under specific configuration conditions. Compare: https://github.com/dovecot/pigeonhole/compare/2c0aa0f02f0f...634b16b3c25e From noreply at github.com Wed May 18 09:30:12 2016 From: noreply at github.com (GitHub) Date: Wed, 18 May 2016 02:30:12 -0700 Subject: [dovecot/core] c7fd0a: dict: Fix crash when no dictionaries defined Message-ID: <573c36246a3d8_4cd03fc66ddf12b814054f@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: c7fd0af4fddec4a5a6d87d105a429e32429ae17d https://github.com/dovecot/core/commit/c7fd0af4fddec4a5a6d87d105a429e32429ae17d Author: Aki Tuomi Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/dict/dict-connection.c Log Message: ----------- dict: Fix crash when no dictionaries defined From noreply at github.com Wed May 18 10:30:11 2016 From: noreply at github.com (GitHub) Date: Wed, 18 May 2016 03:30:11 -0700 Subject: [dovecot/core] 4b5a2e: doveadm-mailbox-delete: Restore recursive paramete... Message-ID: <573c443331df0_7beb3fc189bc129c1775bf@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 4b5a2e923b61c3512dec0fcb32653fbd652bdc32 https://github.com/dovecot/core/commit/4b5a2e923b61c3512dec0fcb32653fbd652bdc32 Author: Aki Tuomi Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/doveadm/doveadm-mail-mailbox.c Log Message: ----------- doveadm-mailbox-delete: Restore recursive parameter From noreply at github.com Wed May 18 12:00:13 2016 From: noreply at github.com (GitHub) Date: Wed, 18 May 2016 05:00:13 -0700 Subject: [dovecot/core] d868a0: global: Fixed slighty wrong i_stream_read_data() w... Message-ID: <573c594d24608_7b83fa32ae4129c8423b@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: d868a04630bd7bfe9c1543a7c3f68703b3e276e4 https://github.com/dovecot/core/commit/d868a04630bd7bfe9c1543a7c3f68703b3e276e4 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lda/main.c M src/lib-compression/istream-lz4.c M src/lib-lda/duplicate.c M src/lib-storage/index/dbox-multi/mdbox-purge.c M src/plugins/fts/fts-expunge-log.c Log Message: ----------- global: Fixed slighty wrong i_stream_read_data() with _read_bytes() These calls were reading one byte more than they were intended to read. This didn't really cause any problems, but now they're correct. Commit: 651f981ca065d2365bf2ea07b04318a5402f047a https://github.com/dovecot/core/commit/651f981ca065d2365bf2ea07b04318a5402f047a Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/imap-hibernate/imap-client.c M src/lib-compression/compression.c M src/lib-compression/istream-zlib.c M src/lib-http/http-request-parser.c M src/lib-http/http-response-parser.c M src/lib-http/test-http-payload.c M src/lib-mail/message-header-parser.c M src/lib-mail/message-parser.c M src/lib-mail/message-size.c M src/lib-storage/index/mbox/istream-raw-mbox.c M src/login-common/login-proxy.c Log Message: ----------- global: Replaced all i_stream_read_data() with _more() and _bytes() Compare: https://github.com/dovecot/core/compare/4b5a2e923b61...651f981ca065 From noreply at github.com Wed May 18 12:30:11 2016 From: noreply at github.com (GitHub) Date: Wed, 18 May 2016 05:30:11 -0700 Subject: [dovecot/core] 8acb8d: dbox: iostream error logging improvements. Message-ID: <573c605398933_6d703fb479b9b2bc4362b@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 8acb8deef145fc0225095ed3974b2685fdaf959e https://github.com/dovecot/core/commit/8acb8deef145fc0225095ed3974b2685fdaf959e Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib-storage/index/dbox-common/dbox-file-fix.c M src/lib-storage/index/dbox-common/dbox-save.c Log Message: ----------- dbox: iostream error logging improvements. Commit: 43cc944340b6879ce2c6aeba048ceaf040bf0932 https://github.com/dovecot/core/commit/43cc944340b6879ce2c6aeba048ceaf040bf0932 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/doveadm/dsync/dsync-mailbox-import.c M src/imap/cmd-append.c M src/imap/cmd-urlfetch.c M src/lib-http/http-client-request.c M src/lib-imap-storage/imap-msgpart.c M src/lib-storage/index/index-mail-binary.c Log Message: ----------- global: Code cleanup - remove unnecessary errno changes. These were left behind from changing %m to [io]_stream_get_error() Commit: 0f3d4fbcf88e2ffd674893aed8cc1288fe17d290 https://github.com/dovecot/core/commit/0f3d4fbcf88e2ffd674893aed8cc1288fe17d290 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/auth/mech-winbind.c M src/auth/userdb-passwd-file.c M src/director/director-connection.c M src/doveadm/doveadm-director.c M src/doveadm/doveadm-penalty.c M src/doveadm/doveadm-replicator.c M src/doveadm/doveadm-stats.c M src/doveadm/doveadm-who.c M src/doveadm/doveadm-zlib.c M src/lib-auth/auth-master.c M src/lib-auth/auth-server-connection.c M src/lib-http/http-server-response.c M src/lib-index/mail-index-strmap.c M src/lib-lda/duplicate.c M src/lib-lda/lmtp-client.c M src/lib-lda/smtp-client.c M src/lib-master/anvil-client.c M src/lib-master/master-instance.c M src/lib-master/master-service-settings.c M src/lib-storage/index/cydir/cydir-save.c M src/lib-storage/index/dbox-multi/mdbox-purge.c M src/lib-storage/index/dbox-single/sdbox-file.c M src/lib-storage/index/imapc/imapc-save.c M src/lib-storage/index/index-attachment.c M src/lib-storage/index/maildir/maildir-save.c M src/lib-storage/index/maildir/maildir-uidlist.c M src/lib/json-parser.c M src/plugins/acl/acl-backend-vfile-acllist.c M src/plugins/acl/acl-backend-vfile-update.c M src/plugins/acl/acl-backend-vfile.c M src/plugins/fts-squat/squat-trie.c M src/plugins/fts-squat/squat-uidlist.c M src/plugins/fts/fts-expunge-log.c Log Message: ----------- global: Use [io]_stream_get_error() insted of %m Commit: f339a8e73beea7684ea634941ea82593dea522ee https://github.com/dovecot/core/commit/f339a8e73beea7684ea634941ea82593dea522ee Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/imap/cmd-getmetadata.c M src/imap/imap-fetch-body.c M src/imap/imap-fetch.c M src/imap/imap-fetch.h M src/lib-fs/fs-api.c M src/lib-http/test-http-payload.c M src/lib-storage/index/dbox-common/dbox-file-fix.c M src/lib-storage/index/dbox-multi/mdbox-purge.c M src/lib-storage/index/mbox/mbox-sync-rewrite.c M src/lib/file-copy.c Log Message: ----------- global: Don't assume o_stream_send_istream() return bytes sent. This won't be true soon after its API changes. Commit: 2fb246462dc1846a299ecc5530c2b90c53edcdb4 https://github.com/dovecot/core/commit/2fb246462dc1846a299ecc5530c2b90c53edcdb4 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib/ostream-file.c Log Message: ----------- lib: istream-file: Code cleanup No functional changes Commit: 08ab0b21d9da8881280071016a4475ee95f16c17 https://github.com/dovecot/core/commit/08ab0b21d9da8881280071016a4475ee95f16c17 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib-compression/ostream-bzlib.c M src/lib-compression/ostream-lzma.c M src/lib-compression/ostream-zlib.c Log Message: ----------- lib-compression: Changed impossible errors to asserts. o_stream_flush() no longer calls the stream's flush() if stream has failed. Commit: f988b93c2ef773987bcdcbfb4cca39b955e3a392 https://github.com/dovecot/core/commit/f988b93c2ef773987bcdcbfb4cca39b955e3a392 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib-index/mail-index-strmap.c M src/lib-storage/index/index-attachment.c M src/lib-storage/index/maildir/maildir-save.c M src/lib/ostream.c M src/lib/ostream.h Log Message: ----------- lib: Removed ostream.last_failed_errno It's been identical to ostream.stream_errno for a while now. Commit: 61d89b0ca0300e230c7882b71e8360edf62d9cd0 https://github.com/dovecot/core/commit/61d89b0ca0300e230c7882b71e8360edf62d9cd0 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lmtp/commands.c Log Message: ----------- lmtp: Fixed error logging when writing to temp file Commit: 9de176ef7f3d28ff486c2a8805110b84389e4f19 https://github.com/dovecot/core/commit/9de176ef7f3d28ff486c2a8805110b84389e4f19 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib/ostream-private.h M src/lib/ostream.c M src/lib/ostream.h Log Message: ----------- lib: Don't silently ignore partial writes for o_stream_nsend() Normally o_stream_nsend() should be used only for blocking streams or streams with infinite (or "enough") buffer space. Commit: 8b2cf1c1bd8ddcea0525b62fd35ba76e136828a1 https://github.com/dovecot/core/commit/8b2cf1c1bd8ddcea0525b62fd35ba76e136828a1 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib/ostream-buffer.c M src/lib/ostream-file.c M src/lib/ostream-null.c M src/lib/ostream.c M src/lib/ostream.h Log Message: ----------- lib: Added ostream.blocking boolean Similar to istream.blocking. Commit: 6adf683655750bcb809275cd65dc75fd12214198 https://github.com/dovecot/core/commit/6adf683655750bcb809275cd65dc75fd12214198 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib-fs/ostream-metawrap.c M src/lib/iostream-temp.c M src/lib/ostream-file.c M src/lib/ostream-private.h M src/lib/ostream.c M src/lib/ostream.h Log Message: ----------- lib: Simplified and clarified o_stream_send_istream() API Commit: b90fb7f78aca271243c26074ddd6587cce112a1e https://github.com/dovecot/core/commit/b90fb7f78aca271243c26074ddd6587cce112a1e Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib/ostream.c M src/lib/ostream.h Log Message: ----------- lib: Added o_stream_nsend_istream() Commit: 6f187ae85911f63cb87271246c68f3c13a0adb7b https://github.com/dovecot/core/commit/6f187ae85911f63cb87271246c68f3c13a0adb7b Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/doveadm/client-connection-http.c M src/doveadm/doveadm-fs.c M src/lib-fs/fs-metawrap.c M src/lib-lda/mail-send.c M src/lib-storage/index/dbox-multi/mdbox-purge.c M src/lib-storage/index/dbox-single/sdbox-file.c M src/plugins/fs-compress/fs-compress.c Log Message: ----------- global: Use o_stream_nsend_istream() where useful We can skip all of the io error handling and just leave it to o_stream_nfinish(). Commit: 0e0fe9bed9a2be8760acf93abc6e16758195ef38 https://github.com/dovecot/core/commit/0e0fe9bed9a2be8760acf93abc6e16758195ef38 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/imap/cmd-getmetadata.c Log Message: ----------- imap: Code cleanup - use istream-sized for GETMETADATA reply This avoids doing the same work explicitly. Commit: 1fb4c7c4cdf470c8aec47d0de76ccff03094d374 https://github.com/dovecot/core/commit/1fb4c7c4cdf470c8aec47d0de76ccff03094d374 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib/istream-sized.c Log Message: ----------- lib: istream-sized should log errors with its own name, not parent's name Commit: d04f3e064ceb2ba1d734182937a7115739ebadbe https://github.com/dovecot/core/commit/d04f3e064ceb2ba1d734182937a7115739ebadbe Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/doveadm/server-connection.c M src/imap/cmd-urlfetch.c M src/imap/imap-fetch-body.c M src/lib-fs/fs-api.c M src/lib-fs/ostream-metawrap.c M src/lib-http/http-client-request.c M src/lib-http/http-server-response.c M src/lib-http/test-http-payload.c M src/lib-imap-client/imapc-connection.c M src/lib/file-copy.c M src/lib/ostream.c M src/plugins/mail-filter/istream-ext-filter.c Log Message: ----------- global: Simplify code with the new o_stream_send_istream() API Commit: 94a6b3df81d2edb93460b7beca6d37e618a48262 https://github.com/dovecot/core/commit/94a6b3df81d2edb93460b7beca6d37e618a48262 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib/buffer.h M src/lib/test-buffer.c Log Message: ----------- lib: Updated buffer_set_used_size() comment and added unit test. Commit: f6d5c9fbdac9af5c4d3f467f828dc6f056309d5e https://github.com/dovecot/core/commit/f6d5c9fbdac9af5c4d3f467f828dc6f056309d5e Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib-index/mail-cache-lookup.c M src/lib-index/mail-index-map-read.c M src/lib-index/mail-index-sync-update.c M src/lib-mail/istream-header-filter.c M src/lib/buffer.c M src/lib/buffer.h M src/lib/test-pkcs5.c Log Message: ----------- Removed buffer_reset(). It was just a wrapper to buffer_set_used_size() and its comment was a bit confusing (or obsolete), since it wasn't actually immediately zeroing out the buffer. Compare: https://github.com/dovecot/core/compare/651f981ca065...f6d5c9fbdac9 From noreply at github.com Wed May 18 15:00:13 2016 From: noreply at github.com (GitHub) Date: Wed, 18 May 2016 08:00:13 -0700 Subject: [dovecot/core] c076ad: lib: iostream-temp: Fixed o_stream_send_istream() Message-ID: <573c837d7a3d0_64903f9ed153929c290e1@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: c076ad69e28e7d41af83ada84e12019793ffcfa2 https://github.com/dovecot/core/commit/c076ad69e28e7d41af83ada84e12019793ffcfa2 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib/iostream-temp.c M src/lib/test-iostream-temp.c Log Message: ----------- lib: iostream-temp: Fixed o_stream_send_istream() Commit: 25ec868bd8b5375e1c1c4c3331d761667ddfe26c https://github.com/dovecot/core/commit/25ec868bd8b5375e1c1c4c3331d761667ddfe26c Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib/iostream-temp.c M src/lib/test-iostream-temp.c Log Message: ----------- lib: iostream-temp: Fixed sending more output after o_stream_send_istream() Commit: a067446575cf5ce63f4a64fa0eb4aac16e591e89 https://github.com/dovecot/core/commit/a067446575cf5ce63f4a64fa0eb4aac16e591e89 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib/ostream-buffer.c Log Message: ----------- lib: Don't set ostream buffer as blocking Compare: https://github.com/dovecot/core/compare/f6d5c9fbdac9...a067446575cf From noreply at github.com Wed May 18 17:00:11 2016 From: noreply at github.com (GitHub) Date: Wed, 18 May 2016 10:00:11 -0700 Subject: [dovecot/core] fbae84: lib-fs: ostream-metawrap: Fixed o_stream_send_istr... Message-ID: <573c9f9bb9e38_1ebb3fd4dc1272bc5298c@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: fbae84cc7a76555ab38cf1b5b90682fa8deee2f3 https://github.com/dovecot/core/commit/fbae84cc7a76555ab38cf1b5b90682fa8deee2f3 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib-fs/ostream-metawrap.c Log Message: ----------- lib-fs: ostream-metawrap: Fixed o_stream_send_istream() offset updates Commit: bf87a5247ca33660ab8f20c12556ad16d7159395 https://github.com/dovecot/core/commit/bf87a5247ca33660ab8f20c12556ad16d7159395 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib/ostream.h Log Message: ----------- lib: Added comment to what ostream.offset actually is Commit: bcab95c672604588f1645e4a52e43f52ee567593 https://github.com/dovecot/core/commit/bcab95c672604588f1645e4a52e43f52ee567593 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib/ostream-escaped.c M src/lib/test-ostream-escaped.c Log Message: ----------- lib: ostream-escaped: Fixed setting offset Commit: ea854edb5ec951f7b58e11b2a2b8355596d63b26 https://github.com/dovecot/core/commit/ea854edb5ec951f7b58e11b2a2b8355596d63b26 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib-mail/test-ostream-dot.c Log Message: ----------- lib-mail: Improve ostream-dot unit test Commit: 7420207c4eae66bd7edc2bdebaee7d2cb0b6c341 https://github.com/dovecot/core/commit/7420207c4eae66bd7edc2bdebaee7d2cb0b6c341 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib/ioloop-epoll.c Log Message: ----------- lib: If epoll_ctl() fails, panic instead of just fatal. This makes it easier to fix such bugs. Commit: 43f651585cf5663bf176340b26eadd94b4060a9a https://github.com/dovecot/core/commit/43f651585cf5663bf176340b26eadd94b4060a9a Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib-http/http-client-request.c M src/lib-http/http-server-response.c Log Message: ----------- lib-http: Fixed checking if istream or ostream needs waiting. Commit: 56f5cea321c85b505d35d0ba11cfdd53c8bdd9d3 https://github.com/dovecot/core/commit/56f5cea321c85b505d35d0ba11cfdd53c8bdd9d3 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib/ostream-file.c Log Message: ----------- lib: istream-file: Fixed o_stream_send_istream() Compare: https://github.com/dovecot/core/compare/a067446575cf...56f5cea321c8 From noreply at github.com Wed May 18 17:30:12 2016 From: noreply at github.com (GitHub) Date: Wed, 18 May 2016 10:30:12 -0700 Subject: [dovecot/core] 049e3e: lib-imap-storage: Minor error logging cleanup/fix. Message-ID: <573ca6a450b02_74153feb0f9a32bc189775@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 049e3eaf84424e43576bcb70f62eeebd58364f40 https://github.com/dovecot/core/commit/049e3eaf84424e43576bcb70f62eeebd58364f40 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib-imap-storage/imap-msgpart.c Log Message: ----------- lib-imap-storage: Minor error logging cleanup/fix. We read from input, not from mail_input. In theory it could have the actual error instead of mail_input (although right now it couldn't). Commit: 333602c4048025afffabfbc57be2df6fc0ac7f4b https://github.com/dovecot/core/commit/333602c4048025afffabfbc57be2df6fc0ac7f4b Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib-imap-storage/imap-msgpart.c Log Message: ----------- lib-imap-storage: Don't double-filter HEADER.FIELDS (..) headers. Commit: 3f75daca243aed043737496b2bef9892d87659fc https://github.com/dovecot/core/commit/3f75daca243aed043737496b2bef9892d87659fc Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib-mail/message-size.c Log Message: ----------- lib-mail: Added asserts to message_get_*_size() Commit: 07bba7cf547c26c6f46f23bb84b6cab919b4ae0c https://github.com/dovecot/core/commit/07bba7cf547c26c6f46f23bb84b6cab919b4ae0c Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 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 - Don't return -2 too early We returned -2 after we already added the data to the buffer. We should have returned -2 only on the next read() call if nothing was skipped. Compare: https://github.com/dovecot/core/compare/56f5cea321c8...07bba7cf547c From noreply at github.com Wed May 18 19:00:11 2016 From: noreply at github.com (GitHub) Date: Wed, 18 May 2016 12:00:11 -0700 Subject: [dovecot/core] 564b73: lib-imap-storage: Removed wrong assert. Message-ID: <573cbbbbd0b14_7f1f3fbd44a512c0179738@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 564b73a662e20d0b4cae22d4d180cd1d7023923a https://github.com/dovecot/core/commit/564b73a662e20d0b4cae22d4d180cd1d7023923a Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib-imap-storage/imap-msgpart.c Log Message: ----------- lib-imap-storage: Removed wrong assert. Now that we're no longer putting the headers through istream-header-filter it doesn't necessarily have CRLFs. Broken by 333602c40. Commit: 76d21e3004493d4cf0c9f61b4771bbf2ffe4395d https://github.com/dovecot/core/commit/76d21e3004493d4cf0c9f61b4771bbf2ffe4395d Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib-imap-storage/imap-msgpart.c Log Message: ----------- lib-imap-storage: Don't sort uninitialized array on invalid header list. Commit: 21d094cf5f58da522150ec2ebc009fba96b700f4 https://github.com/dovecot/core/commit/21d094cf5f58da522150ec2ebc009fba96b700f4 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib-imap-storage/imap-msgpart.c Log Message: ----------- lib-imap-storage: Fixed fetching partial headers for message/rfc822 part Again broken by 333602c40. Compare: https://github.com/dovecot/core/compare/07bba7cf547c...21d094cf5f58 From noreply at github.com Wed May 18 19:30:12 2016 From: noreply at github.com (GitHub) Date: Wed, 18 May 2016 12:30:12 -0700 Subject: [dovecot/core] e6e5e9: lib: ostream-file: Fixed o_stream_send_istream() w... Message-ID: <573cc2c4e9f5b_4e573fde8ff8f2c0142943@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: e6e5e9c0309a48a1301577829fcebc5a83886705 https://github.com/dovecot/core/commit/e6e5e9c0309a48a1301577829fcebc5a83886705 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib/ostream-file.c M src/lib/test-ostream-file.c Log Message: ----------- lib: ostream-file: Fixed o_stream_send_istream() within same file When copying content backwards. Commit: a39c48f798d9f73256524e87767080a8ad1df6b1 https://github.com/dovecot/core/commit/a39c48f798d9f73256524e87767080a8ad1df6b1 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib/test-ostream-file.c Log Message: ----------- lib: ostream-file unit test: Test sendfile() Commit: 7a1749056494b6ddc54235b0a2dee4cb74474e04 https://github.com/dovecot/core/commit/7a1749056494b6ddc54235b0a2dee4cb74474e04 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib-fs/istream-metawrap.c Log Message: ----------- lib-fs: istream-metawrap can't have a readable fd currently Compare: https://github.com/dovecot/core/compare/21d094cf5f58...7a1749056494 From noreply at github.com Wed May 18 20:00:11 2016 From: noreply at github.com (GitHub) Date: Wed, 18 May 2016 13:00:11 -0700 Subject: [dovecot/core] 1904e2: Make libbsd optional Message-ID: <573cc9cbb8525_1edf3fcd1d6792b886980@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 1904e2fc786dbc037039d284b371730777277fc5 https://github.com/dovecot/core/commit/1904e2fc786dbc037039d284b371730777277fc5 Author: Aki Tuomi Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M m4/arc4random.m4 M src/lib-master/master-service.c M src/lib/process-title.c M src/lib/process-title.h Log Message: ----------- Make libbsd optional Also use setproctitle properly if libbsd is indeed used. Commit: cd07d97b7da550b52d60e3020f64821f7e35ceaa https://github.com/dovecot/core/commit/cd07d97b7da550b52d60e3020f64821f7e35ceaa Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib/test-ostream-file.c Log Message: ----------- lib: Fixed memory leak in ostream-file unit test Commit: 30be8c9beaa6944c13d80130fa7a1778b2f8a470 https://github.com/dovecot/core/commit/30be8c9beaa6944c13d80130fa7a1778b2f8a470 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib/process-title.c Log Message: ----------- lib: Compiler warning fix Commit: 79fff61b8fa0ec3c892e22cf792109dc1b398a30 https://github.com/dovecot/core/commit/79fff61b8fa0ec3c892e22cf792109dc1b398a30 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/dict/dict-commands.c Log Message: ----------- dict: Removed duplicate commit reply character This broke dict-client with error: Invalid commit reply, expected id=1: OO1 Compare: https://github.com/dovecot/core/compare/7a1749056494...79fff61b8fa0 From noreply at github.com Wed May 18 22:30:11 2016 From: noreply at github.com (GitHub) Date: Wed, 18 May 2016 15:30:11 -0700 Subject: [dovecot/core] d28179: lib: Changed istream.abs_start_offset to be relati... Message-ID: <573cecf399819_52533fd5d41112c0204251@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: d28179fd78550a58be44dcb1e3e830ab7d33172d https://github.com/dovecot/core/commit/d28179fd78550a58be44dcb1e3e830ab7d33172d Author: Timo Sirainen Date: 2016-05-19 (Thu, 19 May 2016) Changed paths: M src/lib-compression/istream-bzlib.c M src/lib-compression/istream-lz4.c M src/lib-compression/istream-lzma.c M src/lib-compression/istream-zlib.c M src/lib-fs/istream-metawrap.c M src/lib/iostream-temp.c M src/lib/istream-mmap.c M src/lib/istream-private.h M src/lib/istream.c M src/lib/ostream-file.c Log Message: ----------- lib: Changed istream.abs_start_offset to be relative start_offset i_stream_get_absolute_offset() walks through the stream's parents to get the absolute offset. This allows streams to change their start_offset after they have already created (e.g. istream-metawrap). Commit: 456602d34c76aa78e23b552bec2c03bc59b78aca https://github.com/dovecot/core/commit/456602d34c76aa78e23b552bec2c03bc59b78aca Author: Timo Sirainen Date: 2016-05-19 (Thu, 19 May 2016) Changed paths: M src/lib-fs/istream-metawrap.c Log Message: ----------- lib-fs: istream-metawrap can now safely have a readable fd Compare: https://github.com/dovecot/core/compare/79fff61b8fa0...456602d34c76 From noreply at github.com Thu May 19 09:00:12 2016 From: noreply at github.com (GitHub) Date: Thu, 19 May 2016 02:00:12 -0700 Subject: [dovecot/core] b27a8a: config: fix possible out-of-bound access in parsin... Message-ID: <573d809cd5df8_13ed3fd03a2892a019652@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: b27a8a97319620c4a6d97f2f98a2f0f15669d8f9 https://github.com/dovecot/core/commit/b27a8a97319620c4a6d97f2f98a2f0f15669d8f9 Author: Baofeng Wang Date: 2016-05-19 (Thu, 19 May 2016) Changed paths: M src/config/config-parser.c Log Message: ----------- config: fix possible out-of-bound access in parsing function Add low-bound check when decreasing string pointer from tail. From noreply at github.com Thu May 19 09:00:16 2016 From: noreply at github.com (GitHub) Date: Thu, 19 May 2016 02:00:16 -0700 Subject: [dovecot/core] b35c90: dict-redis: Fixed memory leak in async commit Message-ID: <573d80a0e3fd7_64b63f8e9a9cf2bc166294@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: b35c9039d95af2753253f8fa5c052c3114e0b11d https://github.com/dovecot/core/commit/b35c9039d95af2753253f8fa5c052c3114e0b11d Author: Timo Sirainen Date: 2016-05-19 (Thu, 19 May 2016) Changed paths: M src/lib-dict/dict-redis.c Log Message: ----------- dict-redis: Fixed memory leak in async commit Commit: 71bcaeb23954e591413dd5661df61caa3db17262 https://github.com/dovecot/core/commit/71bcaeb23954e591413dd5661df61caa3db17262 Author: Timo Sirainen Date: 2016-05-19 (Thu, 19 May 2016) Changed paths: M src/lib-sql/sql-db-cache.c Log Message: ----------- lib-sql: Memory leak fix when freeing sql dbs from cache Normally happened only at deinit. Commit: 015c15fd5fd64abfcb55ee93a54f0a5c32be4082 https://github.com/dovecot/core/commit/015c15fd5fd64abfcb55ee93a54f0a5c32be4082 Author: Timo Sirainen Date: 2016-05-19 (Thu, 19 May 2016) Changed paths: M src/lib-ldap/ldap-client.c Log Message: ----------- lib-ldap: Compiling fix - don't pass through void return Commit: 3a02e96bd6902de51711735bc282801ccd13c6a9 https://github.com/dovecot/core/commit/3a02e96bd6902de51711735bc282801ccd13c6a9 Author: Aki Tuomi Date: 2016-05-19 (Thu, 19 May 2016) Changed paths: M src/lib-ldap/ldap-connection.c Log Message: ----------- lib-ldap: Do not create new context and lose settings Commit: 72c15660f6caaf0fab9682e290a50dc9e3b7097b https://github.com/dovecot/core/commit/72c15660f6caaf0fab9682e290a50dc9e3b7097b Author: Phil Carmody Date: 2016-05-19 (Thu, 19 May 2016) Changed paths: M src/lib/istream.h Log Message: ----------- lib: istream - provide alternatives to i_stream_read_data() Providing as a parameter the number of bytes that you would be disappointed to receive was confusing compared to providing the number that you would be happy to receive. This lets us get rid of all the '-1's in the callers. The callers which used 0 as a parameter were so common that it's worth providing a separate API just to simplify their demands. Deep down, these are still the same underlying function. Currently we route the new API through the old one, but eventually, the old API can be routed through the new one, so that the friendlier interface has the simplest implementation. Signed-off-by: Phil Carmody Commit: b6d4252dc8c01b45055796ad290f3fd7cb5ff88a https://github.com/dovecot/core/commit/b6d4252dc8c01b45055796ad290f3fd7cb5ff88a Author: Timo Sirainen Date: 2016-05-19 (Thu, 19 May 2016) Changed paths: M src/lib-ldap/ldap-connection.c Log Message: ----------- lib-ldap: Fixed assert-crash when killing LDAP connection. libldap may have already closed the fd, so with epoll io_remove() would try to remove it and crash with: Panic: epoll_ctl(del, 12) failed: Bad file descriptor Commit: 9b496d96f9c985c29b398d2f4c33a7163239c52e https://github.com/dovecot/core/commit/9b496d96f9c985c29b398d2f4c33a7163239c52e Author: Aki Tuomi Date: 2016-05-19 (Thu, 19 May 2016) Changed paths: M src/doveadm/doveadm-mail-mailbox.c M src/doveadm/doveadm-mail.c M src/doveadm/doveadm-mail.h Log Message: ----------- doveadm-mailbox: Add update subcommand Commit: f008446315fdc50f4f8cdf5c786e885179afd333 https://github.com/dovecot/core/commit/f008446315fdc50f4f8cdf5c786e885179afd333 Author: Timo Sirainen Date: 2016-05-19 (Thu, 19 May 2016) Changed paths: M src/imap/imap-client.c M src/imap/imap-client.h M src/imap/imap-sync.c Log Message: ----------- imap: Include sync timing information in tagged command replies. Show it only when it's larger than 0 to avoid unnecessary output. Commit: 744fa5af70c19cce03974217302328bbe137d8dd https://github.com/dovecot/core/commit/744fa5af70c19cce03974217302328bbe137d8dd Author: Aki Tuomi Date: 2016-05-19 (Thu, 19 May 2016) Changed paths: M src/dict/dict-connection.c Log Message: ----------- dict: Fix crash when no dictionaries defined Commit: e17d7f4e6396e5345386132d788f3a13c8ae88f5 https://github.com/dovecot/core/commit/e17d7f4e6396e5345386132d788f3a13c8ae88f5 Author: Aki Tuomi Date: 2016-05-19 (Thu, 19 May 2016) Changed paths: M src/doveadm/doveadm-mail-mailbox.c Log Message: ----------- doveadm-mailbox-delete: Restore recursive parameter Commit: 94e8a82e51c24edafaa9a9e154c4df0150f78a99 https://github.com/dovecot/core/commit/94e8a82e51c24edafaa9a9e154c4df0150f78a99 Author: Timo Sirainen Date: 2016-05-19 (Thu, 19 May 2016) Changed paths: M src/lib/ioloop-epoll.c Log Message: ----------- lib: If epoll_ctl() fails, panic instead of just fatal. This makes it easier to fix such bugs. Commit: 580cfdf2535cc07436fe6ec75680a1b53026ae46 https://github.com/dovecot/core/commit/580cfdf2535cc07436fe6ec75680a1b53026ae46 Author: Timo Sirainen Date: 2016-05-19 (Thu, 19 May 2016) Changed paths: M src/lib-http/http-client-request.c M src/lib-http/http-server-response.c Log Message: ----------- lib-http: Fixed checking if istream or ostream needs waiting. Commit: 06bd6c4d4b6d88a1f9eb2723c2924ecda1d536bc https://github.com/dovecot/core/commit/06bd6c4d4b6d88a1f9eb2723c2924ecda1d536bc Author: Timo Sirainen Date: 2016-05-19 (Thu, 19 May 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 - Don't return -2 too early We returned -2 after we already added the data to the buffer. We should have returned -2 only on the next read() call if nothing was skipped. Commit: 81f0bc16544ab84eebd851a56487bce94f1d2d62 https://github.com/dovecot/core/commit/81f0bc16544ab84eebd851a56487bce94f1d2d62 Author: Timo Sirainen Date: 2016-05-19 (Thu, 19 May 2016) Changed paths: M src/lib-fs/istream-metawrap.c Log Message: ----------- lib-fs: istream-metawrap can't have a readable fd currently Commit: dca07197ab5bc2ba29f30d6c3814c24f7518d1f2 https://github.com/dovecot/core/commit/dca07197ab5bc2ba29f30d6c3814c24f7518d1f2 Author: Baofeng Wang Date: 2016-05-19 (Thu, 19 May 2016) Changed paths: M src/config/config-parser.c Log Message: ----------- config: fix possible out-of-bound access in parsing function Add low-bound check when decreasing string pointer from tail. Compare: https://github.com/dovecot/core/compare/26758def5493...dca07197ab5b From noreply at github.com Thu May 19 12:30:12 2016 From: noreply at github.com (GitHub) Date: Thu, 19 May 2016 05:30:12 -0700 Subject: [dovecot/core] da574e: lib: iostream-temp is a blocking ostream. Message-ID: <573db1d474d16_40613f8f59d692a0140633@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: da574ef2db96f258d24bc4c89a77833036d13a95 https://github.com/dovecot/core/commit/da574ef2db96f258d24bc4c89a77833036d13a95 Author: Timo Sirainen Date: 2016-05-19 (Thu, 19 May 2016) Changed paths: M src/lib/iostream-temp.c Log Message: ----------- lib: iostream-temp is a blocking ostream. It goes either to in-memory buffer or to a file. From noreply at github.com Thu May 19 20:30:15 2016 From: noreply at github.com (GitHub) Date: Thu, 19 May 2016 13:30:15 -0700 Subject: [dovecot/core] 104a24: lib-mail: Fixed istream-header-filter calling call... Message-ID: <573e225786e00_13773fb2b089d29c187010@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 104a244966641e13bb18b6a8006180702c88d518 https://github.com/dovecot/core/commit/104a244966641e13bb18b6a8006180702c88d518 Author: Timo Sirainen Date: 2016-05-19 (Thu, 19 May 2016) Changed paths: M src/lib-mail/istream-header-filter.c M src/lib-mail/test-istream-header-filter.c Log Message: ----------- lib-mail: Fixed istream-header-filter calling callback(hdr=NULL) It should do it on the following parsings as well if there were any callbacks that were called, or if the hdr==NULL callback added any headers. This is important because the hdr==NULL call could do some cleanups. From noreply at github.com Thu May 19 20:30:13 2016 From: noreply at github.com (GitHub) Date: Thu, 19 May 2016 13:30:13 -0700 Subject: [dovecot/core] 71ecc9: lib-mail: Fixed istream-header-filter calling call... Message-ID: <573e22554e26_20e3ffd61a672c015918f@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 71ecc97593a25c2444316b74e5882e6ce0a82c0c https://github.com/dovecot/core/commit/71ecc97593a25c2444316b74e5882e6ce0a82c0c Author: Timo Sirainen Date: 2016-05-19 (Thu, 19 May 2016) Changed paths: M src/lib-mail/istream-header-filter.c M src/lib-mail/test-istream-header-filter.c Log Message: ----------- lib-mail: Fixed istream-header-filter calling callback(hdr=NULL) It should do it on the following parsings as well if there were any callbacks that were called, or if the hdr==NULL callback added any headers. This is important because the hdr==NULL call could do some cleanups. From noreply at github.com Fri May 20 11:00:09 2016 From: noreply at github.com (GitHub) Date: Fri, 20 May 2016 04:00:09 -0700 Subject: [dovecot/core] c8920d: lib: Minor panic message improvement. Message-ID: <573eee39e46f2_56cc3fd0684db2a01346fe@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: c8920d5f3df9663668ccd6412218eb28008f4e9a https://github.com/dovecot/core/commit/c8920d5f3df9663668ccd6412218eb28008f4e9a Author: Timo Sirainen Date: 2016-05-20 (Fri, 20 May 2016) Changed paths: M src/lib/ioloop-epoll.c Log Message: ----------- lib: Minor panic message improvement. From noreply at github.com Fri May 20 13:00:12 2016 From: noreply at github.com (GitHub) Date: Fri, 20 May 2016 06:00:12 -0700 Subject: [dovecot/core] 8c8f6e: doveadm backup: Fixed unnecessary mailbox deletion... Message-ID: <573f0a5c1f17d_35723fd86c5c329c10927b@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 8c8f6ed0a46db6589c08d8db1f4ed779ef5bc19b https://github.com/dovecot/core/commit/8c8f6ed0a46db6589c08d8db1f4ed779ef5bc19b Author: Timo Sirainen Date: 2016-05-20 (Fri, 20 May 2016) Changed paths: M src/doveadm/dsync/dsync-mailbox-import.c Log Message: ----------- doveadm backup: Fixed unnecessary mailbox deletion. Broken by 79490ec1a. The idea is to delete the mailbox early to avoid unnecessary work, but we deleted it too early. If the last mail(s) were deleted instead of just expunging them we deleted the whole mailbox. From noreply at github.com Fri May 20 13:00:18 2016 From: noreply at github.com (GitHub) Date: Fri, 20 May 2016 06:00:18 -0700 Subject: [dovecot/core] 153528: doveadm backup: Fixed unnecessary mailbox deletion... Message-ID: <573f0a62c1b6_7c653fea76c1f2a07335d@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 153528ae66c742689c41d3f4279a15feb9f130d0 https://github.com/dovecot/core/commit/153528ae66c742689c41d3f4279a15feb9f130d0 Author: Timo Sirainen Date: 2016-05-20 (Fri, 20 May 2016) Changed paths: M src/doveadm/dsync/dsync-mailbox-import.c Log Message: ----------- doveadm backup: Fixed unnecessary mailbox deletion. Broken by 79490ec1a. The idea is to delete the mailbox early to avoid unnecessary work, but we deleted it too early. If the last mail(s) were deleted instead of just expunging them we deleted the whole mailbox. From noreply at github.com Sat May 21 12:33:54 2016 From: noreply at github.com (GitHub) Date: Sat, 21 May 2016 05:33:54 -0700 Subject: [dovecot/pigeonhole] b3f5d7: Adjusted to changes in Dovecot buffer API. Message-ID: <574055b25b32c_27dc3fe7f51f32a02326af@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: b3f5d771e7c835fb99bcd84483ea295a93b47ff9 https://github.com/dovecot/pigeonhole/commit/b3f5d771e7c835fb99bcd84483ea295a93b47ff9 Author: Stephan Bosch Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib-sieve/sieve-binary.c Log Message: ----------- Adjusted to changes in Dovecot buffer API. Commit: 69cce44424b55a465ee0bb8be46b8d6a779c4880 https://github.com/dovecot/pigeonhole/commit/69cce44424b55a465ee0bb8be46b8d6a779c4880 Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/managesieve/cmd-getscript.c Log Message: ----------- managesieve: Adjust to new o_stream_send_istream() API Commit: e2d6a03d20e8db291c3cbfc67082980c9a73b50e https://github.com/dovecot/pigeonhole/commit/e2d6a03d20e8db291c3cbfc67082980c9a73b50e Author: Timo Sirainen Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/lib-sieve-tool/sieve-tool.c M src/lib-sieve/cmd-redirect.c M src/lib-sieve/plugins/enotify/mailto/ntfy-mailto.c M src/lib-sieve/plugins/notify/cmd-notify.c M src/lib-sieve/plugins/vacation/cmd-vacation.c M src/lib-sieve/plugins/vnd.dovecot/report/cmd-report.c M src/lib-sieve/sieve-actions.c M src/lib-sieve/sieve-binary-dumper.c M src/lib-sieve/sieve-code-dumper.c M src/lib-sieve/sieve-result.c M src/lib-sieve/sieve.c M src/managesieve-login/managesieve-proxy.c M src/sieve-tools/sieve-filter.c M src/sieve-tools/sieve-test.c M src/testsuite/testsuite-result.c M src/testsuite/testsuite-smtp.c Log Message: ----------- Use o_stream_nsend*() to make sure write errors are caught. Compare: https://github.com/dovecot/pigeonhole/compare/634b16b3c25e...e2d6a03d20e8 From noreply at github.com Mon May 23 12:00:12 2016 From: noreply at github.com (GitHub) Date: Mon, 23 May 2016 05:00:12 -0700 Subject: [dovecot/core] 7e3528: lib-ldap: Support libldap without LDAP_OPT_X_TLS_N... Message-ID: <5742f0cc21bd8_1e953fce9f7092b81481c0@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 7e35289ecb2e4f97fd1252cee15f57012a9b11d5 https://github.com/dovecot/core/commit/7e35289ecb2e4f97fd1252cee15f57012a9b11d5 Author: Timo Sirainen Date: 2016-05-23 (Mon, 23 May 2016) Changed paths: M src/lib-ldap/ldap-connection.c Log Message: ----------- lib-ldap: Support libldap without LDAP_OPT_X_TLS_NEWCTX. Commit: e181e75d200d0b4c618616c3c2d2d30ceba68292 https://github.com/dovecot/core/commit/e181e75d200d0b4c618616c3c2d2d30ceba68292 Author: Timo Sirainen Date: 2016-05-23 (Mon, 23 May 2016) Changed paths: M src/lib-ldap/ldap-connection.c Log Message: ----------- lib-ldap: Use ldap_unbind_ext() instead of ldap_destroy() This allows it to compile with older LDAP libraries. Their behavior (at least in OpenLDAP) is identical as long as LDAP_OPT_CLIENT_CONTROLS haven't been changed, which we haven't. Compare: https://github.com/dovecot/core/compare/8c8f6ed0a46d...e181e75d200d From noreply at github.com Mon May 23 12:00:16 2016 From: noreply at github.com (GitHub) Date: Mon, 23 May 2016 05:00:16 -0700 Subject: [dovecot/core] 20e68d: lib-ldap: Support libldap without LDAP_OPT_X_TLS_N... Message-ID: <5742f0d0ac134_69503f941b4d52bc136636@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 20e68d86f08b614c77ade09163fbb4d4654d25ef https://github.com/dovecot/core/commit/20e68d86f08b614c77ade09163fbb4d4654d25ef Author: Timo Sirainen Date: 2016-05-23 (Mon, 23 May 2016) Changed paths: M src/lib-ldap/ldap-connection.c Log Message: ----------- lib-ldap: Support libldap without LDAP_OPT_X_TLS_NEWCTX. Commit: 24234b1714ee1ae04b9b55b11e7916d75766929f https://github.com/dovecot/core/commit/24234b1714ee1ae04b9b55b11e7916d75766929f Author: Timo Sirainen Date: 2016-05-23 (Mon, 23 May 2016) Changed paths: M src/lib-ldap/ldap-connection.c Log Message: ----------- lib-ldap: Use ldap_unbind_ext() instead of ldap_destroy() This allows it to compile with older LDAP libraries. Their behavior (at least in OpenLDAP) is identical as long as LDAP_OPT_CLIENT_CONTROLS haven't been changed, which we haven't. Compare: https://github.com/dovecot/core/compare/153528ae66c7...24234b1714ee From noreply at github.com Mon May 23 15:28:22 2016 From: noreply at github.com (GitHub) Date: Mon, 23 May 2016 08:28:22 -0700 Subject: [dovecot/core] 86c4dc: auth: Support %variable expansion for LDAP field n... Message-ID: <57432196ed377_17cb3fbb700a529c37819@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 86c4dc0121015e403f9dd94ff7816b2baa5bd692 https://github.com/dovecot/core/commit/86c4dc0121015e403f9dd94ff7816b2baa5bd692 Author: Timo Sirainen Date: 2016-05-23 (Mon, 23 May 2016) Changed paths: M src/auth/db-ldap.c Log Message: ----------- auth: Support %variable expansion for LDAP field names. For example this is now allowed: user_attrs = \ =namespace/%{ldap:enabledNamespace}/enabled=yes \ ... From noreply at github.com Mon May 23 20:30:10 2016 From: noreply at github.com (GitHub) Date: Mon, 23 May 2016 13:30:10 -0700 Subject: [dovecot/core] 230586: lib-index: Make sure cache compression doesn't cle... Message-ID: <57436852b2de9_1b323ff150e892bc74630@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 230586a1660d3c09dc9becd0f77b683a81330720 https://github.com/dovecot/core/commit/230586a1660d3c09dc9becd0f77b683a81330720 Author: Timo Sirainen Date: 2016-05-23 (Mon, 23 May 2016) Changed paths: M src/lib-index/mail-cache-compress.c Log Message: ----------- lib-index: Make sure cache compression doesn't clear the file unneededly. This probably never happened with current code, except when the cache file was already broken. mail_cache_compress() unmapped cache when map_with_read==TRUE, but we never mapped it back. This would cause cache copying code to think cache was unusable and not copy anything. Commit: 5b47087754f4008e88c93386d524e07db535c132 https://github.com/dovecot/core/commit/5b47087754f4008e88c93386d524e07db535c132 Author: Timo Sirainen Date: 2016-05-23 (Mon, 23 May 2016) Changed paths: M src/lib-index/mail-cache-compress.c Log Message: ----------- lib-index: Fixed assert-crash caused by previous cache compression change. We can't call mail_cache_map() when cache file isn't open or we'll crash: Panic: file mail-cache.c: line 468 (mail_cache_map): assertion failed: (cache->need_compress_file_seq != 0 || MAIL_INDEX_IS_IN_MEMORY(cache->index)) Compare: https://github.com/dovecot/core/compare/86c4dc012101...5b47087754f4 From noreply at github.com Mon May 23 20:30:14 2016 From: noreply at github.com (GitHub) Date: Mon, 23 May 2016 13:30:14 -0700 Subject: [dovecot/core] 26c937: lib-index: Make sure cache compression doesn't cle... Message-ID: <5743685675c04_4f643f8561f6d29c32949d@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 26c937b6c6671c99a2b4ce00004189ae4bdd5e87 https://github.com/dovecot/core/commit/26c937b6c6671c99a2b4ce00004189ae4bdd5e87 Author: Timo Sirainen Date: 2016-05-23 (Mon, 23 May 2016) Changed paths: M src/lib-index/mail-cache-compress.c Log Message: ----------- lib-index: Make sure cache compression doesn't clear the file unneededly. This probably never happened with current code, except when the cache file was already broken. mail_cache_compress() unmapped cache when map_with_read==TRUE, but we never mapped it back. This would cause cache copying code to think cache was unusable and not copy anything. Commit: 361575245e2267b7da3ebf0af616945dddf4aeb2 https://github.com/dovecot/core/commit/361575245e2267b7da3ebf0af616945dddf4aeb2 Author: Timo Sirainen Date: 2016-05-23 (Mon, 23 May 2016) Changed paths: M src/lib-index/mail-cache-compress.c Log Message: ----------- lib-index: Fixed assert-crash caused by previous cache compression change. We can't call mail_cache_map() when cache file isn't open or we'll crash: Panic: file mail-cache.c: line 468 (mail_cache_map): assertion failed: (cache->need_compress_file_seq != 0 || MAIL_INDEX_IS_IN_MEMORY(cache->index)) Compare: https://github.com/dovecot/core/compare/24234b1714ee...361575245e22 From noreply at github.com Tue May 24 13:00:13 2016 From: noreply at github.com (GitHub) Date: Tue, 24 May 2016 06:00:13 -0700 Subject: [dovecot/core] 838c70: lib-stats: Allow unregistering + re-registering st... Message-ID: <5744505dad665_1a733fd7f147d2a0722e2@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 838c70b2a1f10300b6e1b1e741d0330b2259fa05 https://github.com/dovecot/core/commit/838c70b2a1f10300b6e1b1e741d0330b2259fa05 Author: Timo Sirainen Date: 2016-05-24 (Tue, 24 May 2016) Changed paths: M src/lib-stats/stats.c Log Message: ----------- lib-stats: Allow unregistering + re-registering stats. Fixes: Panic: stats_register() called after stats_alloc_size() was already called - this will break existing allocations This could have happened with doveadm HTTP API when using multiple commands in same HTTP connection. From noreply at github.com Tue May 24 13:00:17 2016 From: noreply at github.com (GitHub) Date: Tue, 24 May 2016 06:00:17 -0700 Subject: [dovecot/core] bf5c1a: lib-stats: Allow unregistering + re-registering st... Message-ID: <57445061225f7_56cc3fd0684db2a02100bb@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: bf5c1acf579d10d9281af96e2f9efd21e7d45e9e https://github.com/dovecot/core/commit/bf5c1acf579d10d9281af96e2f9efd21e7d45e9e Author: Timo Sirainen Date: 2016-05-24 (Tue, 24 May 2016) Changed paths: M src/lib-stats/stats.c Log Message: ----------- lib-stats: Allow unregistering + re-registering stats. Fixes: Panic: stats_register() called after stats_alloc_size() was already called - this will break existing allocations This could have happened with doveadm HTTP API when using multiple commands in same HTTP connection. From noreply at github.com Tue May 24 22:07:52 2016 From: noreply at github.com (GitHub) Date: Tue, 24 May 2016 15:07:52 -0700 Subject: [dovecot/core] 9f2f22: dsync: race condition where done/finish is receive... Message-ID: <5744d0b8223_27ba3f97b50cf29c155218@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 9f2f22889a772be83bf7106df124f9262237e425 https://github.com/dovecot/core/commit/9f2f22889a772be83bf7106df124f9262237e425 Author: J. Nick Koston Date: 2016-05-25 (Wed, 25 May 2016) Changed paths: M src/doveadm/dsync/dsync-ibc-stream.c Log Message: ----------- dsync: race condition where done/finish is received after one side has closed We do not tell the remote we are closing if they have already told us because they close the connection after sending ITEM_FINISH or ITEM_DONE and will not be ever receive anything else from us unless it just happens to get combined into the same packet as a previous response and is already in the buffer. From noreply at github.com Tue May 24 22:07:57 2016 From: noreply at github.com (GitHub) Date: Tue, 24 May 2016 15:07:57 -0700 Subject: [dovecot/core] bde40a: dsync: race condition where done/finish is receive... Message-ID: <5744d0bd791c5_620a3fc2ede792b8738ac@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: bde40af690a254a5e2e00d655bd85bbb5df40fb9 https://github.com/dovecot/core/commit/bde40af690a254a5e2e00d655bd85bbb5df40fb9 Author: J. Nick Koston Date: 2016-05-25 (Wed, 25 May 2016) Changed paths: M src/doveadm/dsync/dsync-ibc-stream.c Log Message: ----------- dsync: race condition where done/finish is received after one side has closed We do not tell the remote we are closing if they have already told us because they close the connection after sending ITEM_FINISH or ITEM_DONE and will not be ever receive anything else from us unless it just happens to get combined into the same packet as a previous response and is already in the buffer. From noreply at github.com Wed May 25 17:00:13 2016 From: noreply at github.com (GitHub) Date: Wed, 25 May 2016 10:00:13 -0700 Subject: [dovecot/core] 65da08: lib: Added timing_reset() Message-ID: <5745da1dc9a8c_c493fe1010eb2b814889a@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 65da088073637abb8beac16ab6f19bc87f55a4cd https://github.com/dovecot/core/commit/65da088073637abb8beac16ab6f19bc87f55a4cd Author: Timo Sirainen Date: 2016-05-25 (Wed, 25 May 2016) Changed paths: M src/lib/test-timing.c M src/lib/timing.c M src/lib/timing.h Log Message: ----------- lib: Added timing_reset() Commit: b1d2b70ec68b787ab6701834f7649462e623320a https://github.com/dovecot/core/commit/b1d2b70ec68b787ab6701834f7649462e623320a Author: Timo Sirainen Date: 2016-05-25 (Wed, 25 May 2016) Changed paths: M src/lib/test-timing.c M src/lib/timing.c Log Message: ----------- lib: Fixed crashes in timing_get_median() and timing_get_95th() These were writing outside allocated memory. They weren't actually used anywhere yet though. Compare: https://github.com/dovecot/core/compare/9f2f22889a77...b1d2b70ec68b From noreply at github.com Wed May 25 17:30:12 2016 From: noreply at github.com (GitHub) Date: Wed, 25 May 2016 10:30:12 -0700 Subject: [dovecot/core] cbe49b: dict: Show command statistics in process title. Message-ID: <5745e12410021_36e43fe3baf352b810852f@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: cbe49ba128638e63395aedaa2144087c89835633 https://github.com/dovecot/core/commit/cbe49ba128638e63395aedaa2144087c89835633 Author: Timo Sirainen Date: 2016-05-25 (Wed, 25 May 2016) Changed paths: M src/dict/Makefile.am M src/dict/dict-commands.c M src/dict/dict-commands.h M src/dict/dict-connection.c M src/dict/dict-connection.h M src/dict/dict-settings.c M src/dict/dict-settings.h M src/dict/main.c Log Message: ----------- dict: Show command statistics in process title. From noreply at github.com Wed May 25 19:30:13 2016 From: noreply at github.com (GitHub) Date: Wed, 25 May 2016 12:30:13 -0700 Subject: [dovecot/core] 2c2934: dict: Added missing main.h from previous commit Message-ID: <5745fd458406_4aca3fba556372bc471f0@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 2c2934e719f8162b54a6ca9f9c80ec7587b03f97 https://github.com/dovecot/core/commit/2c2934e719f8162b54a6ca9f9c80ec7587b03f97 Author: Timo Sirainen Date: 2016-05-25 (Wed, 25 May 2016) Changed paths: A src/dict/main.h Log Message: ----------- dict: Added missing main.h from previous commit From noreply at github.com Wed May 25 20:00:13 2016 From: noreply at github.com (GitHub) Date: Wed, 25 May 2016 13:00:13 -0700 Subject: [dovecot/core] ba4626: cassandra: Added metrics=path connect setting. Message-ID: <5746044d57c76_2fcd3f8ade37b2b876247@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: ba4626cd5be3d225a7a89aa338d92b8fb411fd1c https://github.com/dovecot/core/commit/ba4626cd5be3d225a7a89aa338d92b8fb411fd1c Author: Timo Sirainen Date: 2016-05-25 (Wed, 25 May 2016) Changed paths: M src/lib-sql/driver-cassandra.c Log Message: ----------- cassandra: Added metrics=path connect setting. Cassandra's metrics are written to the path in JSON format. It can be a file or a FIFO. The path supports expanding the standard global %variables, such as %{pid} From noreply at github.com Thu May 26 09:30:12 2016 From: noreply at github.com (GitHub) Date: Thu, 26 May 2016 02:30:12 -0700 Subject: [dovecot/core] 1c2f12: lib-http: response parser: Added check for the ran... Message-ID: <5746c22451694_36ba3f9faa63f2c059999@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 1c2f122ae93d3316f6746f255f6659b510527cc8 https://github.com/dovecot/core/commit/1c2f122ae93d3316f6746f255f6659b510527cc8 Author: Stephan Bosch Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib-http/http-response-parser.c Log Message: ----------- lib-http: response parser: Added check for the range of the response status value. A value of 666 was accepted inappropriately. Commit: d5c665cf2989d49922b63439ac45714e9755838a https://github.com/dovecot/core/commit/d5c665cf2989d49922b63439ac45714e9755838a Author: Timo Sirainen Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib-http/http-client-connection.c M src/lib-http/http-client-host.c M src/lib-http/http-client-private.h M src/lib-http/http-client-queue.c M src/lib-http/http-client-request.c Log Message: ----------- lib-http: Changed http_client_request_error to set request to NULL It's going to internally unreference it, so the caller should be aware of it also. I also changed request state check to be an assert, since I don't think there's any safe way this could work otherwise. Commit: 43c49be6f1ca42b9284833b2297e72ea0393fc9c https://github.com/dovecot/core/commit/43c49be6f1ca42b9284833b2297e72ea0393fc9c Author: Stephan Bosch Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib-http/http-client-request.c Log Message: ----------- lib-http: client: Fixed reference counting for requests that are aborted due to having a broken outgoing payload stream. Commit: 6bdb1b488a5712ec7df0712949c31885e43d273c https://github.com/dovecot/core/commit/6bdb1b488a5712ec7df0712949c31885e43d273c Author: Stephan Bosch Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib-http/http-client-connection.c Log Message: ----------- lib-http: client: Fixed reference counting for requests that are aborted due to an early server response. An additional http_client_request_unref() is (now) unneccessary. Commit: 3e9055cee8e331a84522dd1e65d0d0e09a4e8803 https://github.com/dovecot/core/commit/3e9055cee8e331a84522dd1e65d0d0e09a4e8803 Author: Stephan Bosch Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib-http/http-client-connection.c M src/lib-http/http-client-request.c Log Message: ----------- lib-http: client: Improved request reference counting in connection code. It should now always be clear when the connection object holds a reference to a request and when it is released. Only while the reference is held, req->conn points to a connection. This also makes the assertion in http_client_request_unref() more robust and clear. Commit: ebe0f5e387744621b73c4db79d5891ccbe0a1321 https://github.com/dovecot/core/commit/ebe0f5e387744621b73c4db79d5891ccbe0a1321 Author: Stephan Bosch Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib-http/http-client-peer.c M src/lib-http/http-client-private.h M src/lib-http/http-client.c Log Message: ----------- lib-http: client: Made peer object reference-counted to prevent invalid memory access in request handling routine. Resetting the peer->handling_requests flag risked triggering a segfault, since the peer object could be deleted from within the request handler loop. Commit: 481b066e8f955f5e4fe64b381d093790a06d38ea https://github.com/dovecot/core/commit/481b066e8f955f5e4fe64b381d093790a06d38ea Author: Stephan Bosch Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib-http/http-client-peer.c Log Message: ----------- lib-http: client: peer: Improved debug message that shows the loss of a connection. Commit: 1569b12af7b7394ff820382011f8e22970180e8b https://github.com/dovecot/core/commit/1569b12af7b7394ff820382011f8e22970180e8b Author: Stephan Bosch Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib-http/http-client-request.c Log Message: ----------- lib-http: client: Removed curiously duplicated code. Probably a patch got applied with sufficient fuzz that it duplicated this code fragment, while it actually already existed. Commit: 8848174ce2d15daa9c4a20c93157e4401941f4f2 https://github.com/dovecot/core/commit/8848174ce2d15daa9c4a20c93157e4401941f4f2 Author: Stephan Bosch Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib/net.c M src/lib/net.h Log Message: ----------- lib: Implemented net_set_send_buffer_size() and net_set_recv_buffer_size(). These functions allow manipulating the kernel socket buffer sizes for a socket file descriptor. Commit: c972eaa3565e849df71b44cf0cd45d38c5567d07 https://github.com/dovecot/core/commit/c972eaa3565e849df71b44cf0cd45d38c5567d07 Author: Stephan Bosch Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib-http/http-client-connection.c M src/lib-http/http-client.c M src/lib-http/http-client.h Log Message: ----------- lib-http: client: Added settings to configure the connection's socket kernel buffer sizes. This is mainly useful for use in the lib-http test suite. Commit: 6ab81c81be13f33486746deeffe02a1ef2bcc821 https://github.com/dovecot/core/commit/6ab81c81be13f33486746deeffe02a1ef2bcc821 Author: Stephan Bosch Date: 2016-05-26 (Thu, 26 May 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.c Log Message: ----------- lib-http: client: Prevent useless and unexpected request callbacks during http_client_deinit(). Requests are now destroyed before queues, hosts, peers and connections. As a side-effect, requests are now removed from the client request list at http_client_request_destroy(), so that requests with lingering references will no longer make http_client_wait() hang. Commit: 7abab3b191860a3d77af5192b0649833c8a0c803 https://github.com/dovecot/core/commit/7abab3b191860a3d77af5192b0649833c8a0c803 Author: Stephan Bosch Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib-http/http-client-connection.c M src/lib-http/http-client-peer.c M src/lib-http/http-client-private.h M src/lib-http/http-client-request.c Log Message: ----------- lib-http: client: Improved labeling of debug messages. Request label is corrected. Labels are now pre-composed and stored. Commit: 8a6dc50255a27bf887bbd9ed7c3a87bf629d4179 https://github.com/dovecot/core/commit/8a6dc50255a27bf887bbd9ed7c3a87bf629d4179 Author: Stephan Bosch Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib-http/http-client-connection.c M src/lib-http/http-client-peer.c M src/lib-http/http-client-private.h Log Message: ----------- lib-http: client: Reworked connection close handling. Now, the peer is immediately notified of the lost connection. Before, this step was only taken when the connection was fully dereferenced. To prevent recursive notifications between peer and connection, handling the loss of a connection is deferred to the request handler. When a peer is freed, any associated lingering connections have conn->peer set to NULL. Commit: 57c339f4e3404355a8924103317a6158a709ecf1 https://github.com/dovecot/core/commit/57c339f4e3404355a8924103317a6158a709ecf1 Author: Stephan Bosch Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib-http/http-client-connection.c M src/lib-http/http-client-peer.c M src/lib-http/http-client-private.h Log Message: ----------- lib-http: client: Fixed bug in handling of lost connections while returning from another ioloop. At one instance the http_client_connection_is_ready() function could have destroyed the connection while the caller still depended on it. Renamed the http_client_connection_is_ready() function to http_client_connection_check_ready(). This now returns -1 when the connection got destroyed. Before it returned a bool that just indicated whether the connection was ready or not. So, there is no need anymore to preserve a connection reference while calling this function. Commit: f3f5732b20a319961440029ae1a9003418e511b0 https://github.com/dovecot/core/commit/f3f5732b20a319961440029ae1a9003418e511b0 Author: Stephan Bosch Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib-http/test-http-client.c Log Message: ----------- lib-http: test-http-client: Callback is not called for explicitly aborted requests. Test request context was not freed in that case. Commit: 844b0294f9bfc721e37782cada248394b531cea3 https://github.com/dovecot/core/commit/844b0294f9bfc721e37782cada248394b531cea3 Author: Stephan Bosch Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib-http/test-http-payload.c Log Message: ----------- lib-http: test-http-payload: Added -D option to easily enable debug mode. Commit: 7362ba25c47c19e2dd9e61f066b487fa1f204c8a https://github.com/dovecot/core/commit/7362ba25c47c19e2dd9e61f066b487fa1f204c8a Author: Stephan Bosch Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib-http/test-http-payload.c Log Message: ----------- lib-http: test-http-payload: Added cleanup code to make sure no child processes get orphaned at failures. Also handles SIGSEGV and SIGABRT. Commit: b44c460e198dd3dd8be29304d4a3cb5e071894dc https://github.com/dovecot/core/commit/b44c460e198dd3dd8be29304d4a3cb5e071894dc Author: Stephan Bosch Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib-http/test-http-payload.c Log Message: ----------- lib-http: test-http-payload: Added tests for the use of nested ioloops. Commit: 03142e79fbd4dd407b54348fe7aa16c11f577663 https://github.com/dovecot/core/commit/03142e79fbd4dd407b54348fe7aa16c11f577663 Author: Stephan Bosch Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib-http/Makefile.am A src/lib-http/test-http-client-errors.c Log Message: ----------- lib-http: client: Created test program that triggers most possible error conditions. Compare: https://github.com/dovecot/core/compare/ba4626cd5be3...03142e79fbd4 From noreply at github.com Thu May 26 15:30:14 2016 From: noreply at github.com (GitHub) Date: Thu, 26 May 2016 08:30:14 -0700 Subject: [dovecot/core] 801990: lib: Added timing_reset() Message-ID: <57471686ea1b0_32693fbbf566d2bc16801c@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 801990c1c26ad030e817d97f5ef49f52c14cd1ba https://github.com/dovecot/core/commit/801990c1c26ad030e817d97f5ef49f52c14cd1ba Author: Timo Sirainen Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib/test-timing.c M src/lib/timing.c M src/lib/timing.h Log Message: ----------- lib: Added timing_reset() Commit: c9adb47c376afd9115970659072ee07c416e590d https://github.com/dovecot/core/commit/c9adb47c376afd9115970659072ee07c416e590d Author: Timo Sirainen Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib/test-timing.c M src/lib/timing.c Log Message: ----------- lib: Fixed crashes in timing_get_median() and timing_get_95th() These were writing outside allocated memory. They weren't actually used anywhere yet though. Commit: cfc6d8e5c2424d8013ab000a10ba7bab00794369 https://github.com/dovecot/core/commit/cfc6d8e5c2424d8013ab000a10ba7bab00794369 Author: Timo Sirainen Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/dict/Makefile.am M src/dict/dict-commands.c M src/dict/dict-commands.h M src/dict/dict-connection.c M src/dict/dict-connection.h M src/dict/dict-settings.c M src/dict/dict-settings.h M src/dict/main.c Log Message: ----------- dict: Show command statistics in process title. Commit: 17aed59dc9d90d78b684d75f96e59f4eb90205ed https://github.com/dovecot/core/commit/17aed59dc9d90d78b684d75f96e59f4eb90205ed Author: Timo Sirainen Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: A src/dict/main.h Log Message: ----------- dict: Added missing main.h from previous commit Commit: a2f421418658fca58cfa0f6a2ae77b730992cb7f https://github.com/dovecot/core/commit/a2f421418658fca58cfa0f6a2ae77b730992cb7f Author: Timo Sirainen Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib-sql/driver-cassandra.c Log Message: ----------- cassandra: Added metrics=path connect setting. Cassandra's metrics are written to the path in JSON format. It can be a file or a FIFO. The path supports expanding the standard global %variables, such as %{pid} Commit: a436e90ca79d52cc7dedf82ebb96286af6f2be87 https://github.com/dovecot/core/commit/a436e90ca79d52cc7dedf82ebb96286af6f2be87 Author: Timo Sirainen Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib-dict/dict-sql-settings.c Log Message: ----------- dict-sql: Fixed memory leak Compare: https://github.com/dovecot/core/compare/bde40af690a2...a436e90ca79d From noreply at github.com Thu May 26 15:30:11 2016 From: noreply at github.com (GitHub) Date: Thu, 26 May 2016 08:30:11 -0700 Subject: [dovecot/core] db0f43: dict-sql: Fixed memory leak Message-ID: <574716836de50_38a53fd6dd8412c0170486@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: db0f43524ab04b6540289ad10a8621d617eec567 https://github.com/dovecot/core/commit/db0f43524ab04b6540289ad10a8621d617eec567 Author: Timo Sirainen Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib-dict/dict-sql-settings.c Log Message: ----------- dict-sql: Fixed memory leak Commit: bcb07f51d871e84ba0dbd8ba9f74f93f0c2ddd12 https://github.com/dovecot/core/commit/bcb07f51d871e84ba0dbd8ba9f74f93f0c2ddd12 Author: Timo Sirainen Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib-http/http-client-connection.c Log Message: ----------- lib-http: Improved error logging for net_set_*_buffer_size() failures. Compare: https://github.com/dovecot/core/compare/03142e79fbd4...bcb07f51d871 From noreply at github.com Thu May 26 19:00:11 2016 From: noreply at github.com (GitHub) Date: Thu, 26 May 2016 12:00:11 -0700 Subject: [dovecot/core] 901f49: sdbox: Make sure we don't crash when altmove-flag ... Message-ID: <574747bb6ee59_4f953f98a30d72a0944d1@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 901f49833183c9360fd04002fa94a47f8f7129ed https://github.com/dovecot/core/commit/901f49833183c9360fd04002fa94a47f8f7129ed Author: Timo Sirainen Date: 2016-05-26 (Thu, 26 May 2016) Changed paths: M src/lib-storage/index/dbox-single/sdbox-file.c Log Message: ----------- sdbox: Make sure we don't crash when altmove-flag is set but alt path is missing. From noreply at github.com Fri May 27 09:00:17 2016 From: noreply at github.com (GitHub) Date: Fri, 27 May 2016 02:00:17 -0700 Subject: [dovecot/core] d1843c: sdbox: Make sure we don't crash when altmove-flag ... Message-ID: <57480ca1f09d_2d0c3ff601bd92a015161c@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: d1843ca668fe692891ce49b47c362d49c949a002 https://github.com/dovecot/core/commit/d1843ca668fe692891ce49b47c362d49c949a002 Author: Timo Sirainen Date: 2016-05-27 (Fri, 27 May 2016) Changed paths: M src/lib-storage/index/dbox-single/sdbox-file.c Log Message: ----------- sdbox: Make sure we don't crash when altmove-flag is set but alt path is missing. Commit: 8baf2344f9e2b98aaac46eb3830bcca218cacc3d https://github.com/dovecot/core/commit/8baf2344f9e2b98aaac46eb3830bcca218cacc3d Author: Timo Sirainen Date: 2016-05-27 (Fri, 27 May 2016) Changed paths: M src/doveadm/doveadm-mail.c Log Message: ----------- doveadm: Fixed sending command -parameters to doveadm-server Compare: https://github.com/dovecot/core/compare/a436e90ca79d...8baf2344f9e2 From noreply at github.com Fri May 27 09:00:11 2016 From: noreply at github.com (GitHub) Date: Fri, 27 May 2016 02:00:11 -0700 Subject: [dovecot/core] 4fecb0: doveadm: Fixed sending command -parameters to dove... Message-ID: <57480c9bdafe0_30913faebf0c729c1434b9@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 4fecb0a09c4d5d0300b047bfd9df5166ee555c9b https://github.com/dovecot/core/commit/4fecb0a09c4d5d0300b047bfd9df5166ee555c9b Author: Timo Sirainen Date: 2016-05-27 (Fri, 27 May 2016) Changed paths: M src/doveadm/doveadm-mail.c Log Message: ----------- doveadm: Fixed sending command -parameters to doveadm-server From noreply at github.com Fri May 27 11:00:12 2016 From: noreply at github.com (GitHub) Date: Fri, 27 May 2016 04:00:12 -0700 Subject: [dovecot/core] 0af543: lib-http: Default port for http should be 80, not ... Message-ID: <574828bcefd2e_753d3fa97b1592bc978b8@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 0af543c1f5407f2fafd8685642e55385abade14a https://github.com/dovecot/core/commit/0af543c1f5407f2fafd8685642e55385abade14a Author: Timo Sirainen Date: 2016-05-27 (Fri, 27 May 2016) Changed paths: M src/lib-http/http-client-request.c Log Message: ----------- lib-http: Default port for http should be 80, not 443. From noreply at github.com Fri May 27 12:00:16 2016 From: noreply at github.com (GitHub) Date: Fri, 27 May 2016 05:00:16 -0700 Subject: [dovecot/core] d22b6a: lib-fs: fs-metawrap: Improved error logging on cor... Message-ID: <574836d04b6ff_3d143fd20582b2b8730d@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: d22b6aeafd9c596f283274b9bd5d9b3425f37712 https://github.com/dovecot/core/commit/d22b6aeafd9c596f283274b9bd5d9b3425f37712 Author: Timo Sirainen Date: 2016-05-27 (Fri, 27 May 2016) Changed paths: M src/lib-fs/istream-metawrap.c Log Message: ----------- lib-fs: fs-metawrap: Improved error logging on corrupted files. Commit: f48452dad18c7de2abaea9bd177171793e5f1130 https://github.com/dovecot/core/commit/f48452dad18c7de2abaea9bd177171793e5f1130 Author: Timo Sirainen Date: 2016-05-27 (Fri, 27 May 2016) Changed paths: M src/lib-fs/istream-metawrap.c Log Message: ----------- lib-fs: Fix to previous fs-metawrap commit Argh. I was sure I compiled this before pushing it. Compare: https://github.com/dovecot/core/compare/0af543c1f540...f48452dad18c From noreply at github.com Fri May 27 16:00:14 2016 From: noreply at github.com (GitHub) Date: Fri, 27 May 2016 09:00:14 -0700 Subject: [dovecot/core] 589bc2: dsync: Debug logging improvement. Message-ID: <57486f0ef01ad_7eec3ff0849d32bc119289@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 589bc28b5489c76626f022adc74a5324ae02996a https://github.com/dovecot/core/commit/589bc28b5489c76626f022adc74a5324ae02996a Author: Timo Sirainen Date: 2016-05-27 (Fri, 27 May 2016) Changed paths: M src/doveadm/dsync/dsync-mailbox-import.c Log Message: ----------- dsync: Debug logging improvement. From noreply at github.com Fri May 27 19:00:13 2016 From: noreply at github.com (GitHub) Date: Fri, 27 May 2016 12:00:13 -0700 Subject: [dovecot/core] 567d2f: lazy-expunge: Fixed error logging. Message-ID: <5748993d89afa_9d53f8fbd5132b8215293@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 567d2fd59e0f3d74f2473045b1f5488186840205 https://github.com/dovecot/core/commit/567d2fd59e0f3d74f2473045b1f5488186840205 Author: Timo Sirainen Date: 2016-05-27 (Fri, 27 May 2016) Changed paths: M src/plugins/lazy-expunge/lazy-expunge-plugin.c Log Message: ----------- lazy-expunge: Fixed error logging. Commit: f819fafff4ac09930e27d171242dc90358fa98a6 https://github.com/dovecot/core/commit/f819fafff4ac09930e27d171242dc90358fa98a6 Author: Timo Sirainen Date: 2016-05-27 (Fri, 27 May 2016) Changed paths: M src/plugins/lazy-expunge/lazy-expunge-plugin.c Log Message: ----------- lazy-expunge: Don't fail expunge if mail was already expunged. Commit: c866a0378c3ecaa30610373e75dc3118bad5b232 https://github.com/dovecot/core/commit/c866a0378c3ecaa30610373e75dc3118bad5b232 Author: Timo Sirainen Date: 2016-05-27 (Fri, 27 May 2016) Changed paths: M src/lib-storage/index/dbox-multi/mdbox-save.c M src/lib-storage/index/dbox-single/sdbox-save.c Log Message: ----------- dbox: Revert cache changes if some save/copy fails but transaction is committed. Compare: https://github.com/dovecot/core/compare/589bc28b5489...c866a0378c3e From noreply at github.com Sun May 29 20:26:17 2016 From: noreply at github.com (GitHub) Date: Sun, 29 May 2016 13:26:17 -0700 Subject: [dovecot/core] 468440: lib-imap: imap-parser: Renamed error field to erro... Message-ID: <574b5069d035f_11793fab4815529c1584b7@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 468440fab1a18d93a31b87fd92b25c86c6328e98 https://github.com/dovecot/core/commit/468440fab1a18d93a31b87fd92b25c86c6328e98 Author: Stephan Bosch Date: 2016-05-29 (Sun, 29 May 2016) Changed paths: M src/lib-imap/imap-parser.c Log Message: ----------- lib-imap: imap-parser: Renamed error field to error_msg. Commit: 7bb371485650002935888b2f9b72b23aba5a5d9a https://github.com/dovecot/core/commit/7bb371485650002935888b2f9b72b23aba5a5d9a Author: Stephan Bosch Date: 2016-05-29 (Sun, 29 May 2016) Changed paths: M src/lib-imap-client/imapc-connection.c M src/lib-imap/imap-bodystructure.c M src/lib-imap/imap-parser.c M src/lib-imap/imap-parser.h M src/plugins/virtual/virtual-config.c Log Message: ----------- lib-imap: imap-parser: Made the fatal result parameter of imap_parser_get_error() optional. Commit: 0adc24c0c534944b55a185795e09dfaea2ca3131 https://github.com/dovecot/core/commit/0adc24c0c534944b55a185795e09dfaea2ca3131 Author: Stephan Bosch Date: 2016-05-29 (Sun, 29 May 2016) Changed paths: M src/imap-login/imap-login-client.c M src/imap/cmd-append.c M src/imap/cmd-setmetadata.c M src/imap/imap-client.c M src/lib-imap/imap-parser.c M src/lib-imap/imap-parser.h M src/lib-imap/test-imap-parser.c Log Message: ----------- lib-imap: imap-parser: Turned the fatal error flag into a proper error code. Commit: d8aa10df6d1dae56d3aa485708a34d74e9e31e79 https://github.com/dovecot/core/commit/d8aa10df6d1dae56d3aa485708a34d74e9e31e79 Author: Stephan Bosch Date: 2016-05-29 (Sun, 29 May 2016) Changed paths: M configure.ac M doc/example-config/conf.d/20-imap.conf M src/imap-login/imap-login-client.c M src/imap-login/imap-login-settings.c M src/imap-login/imap-login-settings.h M src/imap/cmd-append.c M src/imap/cmd-setmetadata.c M src/imap/imap-client.c M src/imap/imap-settings.c M src/imap/imap-settings.h M src/lib-imap/imap-parser.c M src/lib-imap/imap-parser.h Log Message: ----------- imap: Implemented support for the LITERAL- capability. This replaces the LITERAL+ capability when the imap_literal_minus setting is enabled. Compare: https://github.com/dovecot/core/compare/c866a0378c3e...d8aa10df6d1d From noreply at github.com Mon May 30 11:30:11 2016 From: noreply at github.com (GitHub) Date: Mon, 30 May 2016 04:30:11 -0700 Subject: [dovecot/core] 264a0f: doveadm-director: Convert to ver2 infra Message-ID: <574c2443d8100_3ccb3fa6fd9c929c169565@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 264a0f242067fb14df778d2fef181ad0045ad0ea https://github.com/dovecot/core/commit/264a0f242067fb14df778d2fef181ad0045ad0ea Author: Aki Tuomi Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M src/doveadm/doveadm-director.c Log Message: ----------- doveadm-director: Convert to ver2 infra Commit: 2a9af9ae38a33b93e10ee01b42f5612b175418ba https://github.com/dovecot/core/commit/2a9af9ae38a33b93e10ee01b42f5612b175418ba Author: Timo Sirainen Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M src/doveadm/doveadm-mail-mailbox.c Log Message: ----------- doveadm mailbox delete: Added -e parameter to delete only empty mailboxes. Compare: https://github.com/dovecot/core/compare/d8aa10df6d1d...2a9af9ae38a3 From noreply at github.com Mon May 30 12:00:12 2016 From: noreply at github.com (GitHub) Date: Mon, 30 May 2016 05:00:12 -0700 Subject: [dovecot/core] 5d16ff: doveadm-director: Fix commands so that they compil... Message-ID: <574c2b4ca5e70_50323fe6da6e32b897970@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 5d16ff58f96527093b49597e8d6168f833e0a52e https://github.com/dovecot/core/commit/5d16ff58f96527093b49597e8d6168f833e0a52e Author: Aki Tuomi Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M src/doveadm/doveadm-director.c Log Message: ----------- doveadm-director: Fix commands so that they compile From noreply at github.com Mon May 30 12:30:12 2016 From: noreply at github.com (GitHub) Date: Mon, 30 May 2016 05:30:12 -0700 Subject: [dovecot/core] 316cbe: lib-dcrypt: Initial implementation Message-ID: <574c3254ce8a0_78373fdcdf22f2bc68151@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 316cbe323513a0f20d1cf519fe9405e231d633e2 https://github.com/dovecot/core/commit/316cbe323513a0f20d1cf519fe9405e231d633e2 Author: Aki Tuomi Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M configure.ac M src/Makefile.am A src/lib-dcrypt/Makefile.am A src/lib-dcrypt/dcrypt-gnutls.c A src/lib-dcrypt/dcrypt-iostream-private.h A src/lib-dcrypt/dcrypt-openssl.c A src/lib-dcrypt/dcrypt-private.h A src/lib-dcrypt/dcrypt.c A src/lib-dcrypt/dcrypt.h A src/lib-dcrypt/istream-decrypt.c A src/lib-dcrypt/istream-decrypt.h A src/lib-dcrypt/ostream-encrypt.c A src/lib-dcrypt/ostream-encrypt.h A src/lib-dcrypt/sample-v1.bin A src/lib-dcrypt/sample-v2.bin A src/lib-dcrypt/test-crypto.c A src/lib-dcrypt/test-stream.c M src/lib-storage/index/dbox-single/sdbox-file.c Log Message: ----------- lib-dcrypt: Initial implementation Commit: 9385b31756a7797c025e5931bfe8e18c8eb4ffb9 https://github.com/dovecot/core/commit/9385b31756a7797c025e5931bfe8e18c8eb4ffb9 Author: Aki Tuomi Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M configure.ac Log Message: ----------- configure: Include lib-dcrypt in core Commit: f8a63c14a4d2eed05019e5d8ed48fc3d8c976ed4 https://github.com/dovecot/core/commit/f8a63c14a4d2eed05019e5d8ed48fc3d8c976ed4 Author: Timo Sirainen Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M src/lib-storage/mail-storage.h M src/plugins/lazy-expunge/lazy-expunge-plugin.c M src/plugins/quota/quota-storage.c Log Message: ----------- lib-storage: Added MAILBOX_FLAG_DELETE_UNSAFE Commit: 4673195d0f741536cd4e1d2b8c1708a7d4ced2ba https://github.com/dovecot/core/commit/4673195d0f741536cd4e1d2b8c1708a7d4ced2ba Author: Timo Sirainen Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M src/doveadm/doveadm-mail-mailbox.c Log Message: ----------- doveadm mailbox delete: Added --unsafe option. Commit: f6008a666d9c3df66fd8a437369133e8519b4e24 https://github.com/dovecot/core/commit/f6008a666d9c3df66fd8a437369133e8519b4e24 Author: Timo Sirainen Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M src/lmtp/commands.c M src/plugins/quota/quota-status.c Log Message: ----------- lmtp, quota-status: Don't send mail_storage_service_lookup() error to client. This is in preparation for changing the returned error to contain the full error string. The current error string is pretty useless for any purpose. Commit: 6dc2060d6e0261e4bfd453f1eb1c165cc8d905c1 https://github.com/dovecot/core/commit/6dc2060d6e0261e4bfd453f1eb1c165cc8d905c1 Author: Timo Sirainen Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M src/lib-storage/mail-storage-service.c M src/lib-storage/mail-storage-service.h Log Message: ----------- lib-storage: mail_storage_service_lookup() now returns the full error. Commit: 61d3fd14828b68d789f3df73d1dbed56e37b7931 https://github.com/dovecot/core/commit/61d3fd14828b68d789f3df73d1dbed56e37b7931 Author: Timo Sirainen Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M src/doveadm/doveadm-dsync.c M src/doveadm/doveadm-mail.c M src/lib-storage/mail-storage-service.c M src/lib-storage/mail-storage-service.h M src/lmtp/commands.c Log Message: ----------- lib-storage: mail_storage_service_next() now returns error string. Compare: https://github.com/dovecot/core/compare/5d16ff58f965...61d3fd14828b From noreply at github.com Mon May 30 13:00:10 2016 From: noreply at github.com (GitHub) Date: Mon, 30 May 2016 06:00:10 -0700 Subject: [dovecot/core] 8d5a20: lib-dcrypt: Compiler warning fixes Message-ID: <574c395abe8a7_30853fcf9f1a12c02236e4@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 8d5a200b82ee4f7fe7643c704f37fdf23f813923 https://github.com/dovecot/core/commit/8d5a200b82ee4f7fe7643c704f37fdf23f813923 Author: Timo Sirainen Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M src/lib-dcrypt/dcrypt-openssl.c Log Message: ----------- lib-dcrypt: Compiler warning fixes From noreply at github.com Mon May 30 17:00:11 2016 From: noreply at github.com (GitHub) Date: Mon, 30 May 2016 10:00:11 -0700 Subject: [dovecot/core] f7ce05: lib-dcrypt: sample-v2.bin shouldn't be executable Message-ID: <574c719be425b_b583fc1caa492c03914e@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: f7ce05fb177875b24fc24a75ca50df9866ded0bd https://github.com/dovecot/core/commit/f7ce05fb177875b24fc24a75ca50df9866ded0bd Author: Timo Sirainen Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M src/lib-dcrypt/sample-v2.bin Log Message: ----------- lib-dcrypt: sample-v2.bin shouldn't be executable From noreply at github.com Mon May 30 18:30:11 2016 From: noreply at github.com (GitHub) Date: Mon, 30 May 2016 11:30:11 -0700 Subject: [dovecot/core] 1ada45: lib-dcrypt: Always allow error_r to be NULL. Message-ID: <574c86b35e318_791e3f9b19d572a02958f5@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 1ada45cd38aa503efa088a90ee240356f1ea7d3b https://github.com/dovecot/core/commit/1ada45cd38aa503efa088a90ee240356f1ea7d3b Author: Timo Sirainen Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M src/lib-dcrypt/dcrypt-openssl.c Log Message: ----------- lib-dcrypt: Always allow error_r to be NULL. Especially dcrypt_openssl_private_to_public_key() was called with error_r=NULL by the dcrypt.c itself. From noreply at github.com Mon May 30 19:00:13 2016 From: noreply at github.com (GitHub) Date: Mon, 30 May 2016 12:00:13 -0700 Subject: [dovecot/core] 378e6c: o_stream_send_istream() API changed again Message-ID: <574c8dbd2999b_5b833f9f8b4b92bc19985d@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 378e6cb162b355d6f103526505bc00b9a78962e7 https://github.com/dovecot/core/commit/378e6cb162b355d6f103526505bc00b9a78962e7 Author: Timo Sirainen Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M src/doveadm/server-connection.c M src/imap/cmd-getmetadata.c M src/imap/cmd-urlfetch.c M src/imap/imap-fetch-body.c M src/lib-fs/fs-api.c M src/lib-fs/ostream-metawrap.c M src/lib-http/http-client-request.c M src/lib-http/http-server-response.c M src/lib-http/test-http-payload.c M src/lib-http/test-http-request-parser.c M src/lib-http/test-http-response-parser.c M src/lib-http/test-http-transfer.c M src/lib-imap-client/imapc-connection.c M src/lib-storage/index/index-storage.c M src/lib/file-copy.c M src/lib/iostream-temp.c M src/lib/ostream-file.c M src/lib/ostream-private.h M src/lib/ostream.c M src/lib/ostream.h M src/lib/test-iostream-temp.c M src/lib/test-ostream-file.c M src/plugins/mail-filter/istream-ext-filter.c Log Message: ----------- o_stream_send_istream() API changed again The new API enforces the caller to correctly handle all the possible situations. It also makes in unambiguous whether to wait for input or output stream. Commit: 0175d37a5ae5a4d146ca41b684bd38d9b03683cb https://github.com/dovecot/core/commit/0175d37a5ae5a4d146ca41b684bd38d9b03683cb Author: Martti Rannanj?rvi Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M src/auth/auth-request-var-expand.c M src/auth/password-scheme.c M src/doveadm/doveadm-dsync.c M src/doveadm/doveadm-dump-log.c M src/imap-hibernate/imap-client.c M src/imap/imap-client.c M src/lib-http/http-transfer-chunked.c M src/lib-imap/imap-date.c M src/lib-imap/imap-utf7.c M src/lib-index/test-mail-index-sync-ext.c M src/lib-lda/mail-deliver.c M src/lib-lda/mail-send.c M src/lib-mail/mail-user-hash.c M src/lib-ssl-iostream/iostream-openssl-common.c M src/lib-ssl-iostream/iostream-openssl.c M src/lib-storage/index/shared/shared-storage.c M src/lib-storage/mail-storage-service.c M src/lib-storage/mailbox-list.c M src/lib/data-stack.c M src/lib/data-stack.h M src/lib/hex-binary.c M src/lib/mempool-datastack.c M src/lib/mempool-unsafe-datastack.c M src/lib/net.c M src/lib/strfuncs.c M src/lib/test-data-stack.c M src/lib/test-istream-concat.c M src/lib/test-istream-seekable.c M src/lib/var-expand.c M src/login-common/client-common.c M src/login-common/login-settings.c M src/login-common/ssl-proxy-openssl.c M src/plugins/acl/acl-shared-storage.c M src/plugins/fts-squat/squat-trie.c M src/plugins/fts-squat/squat-uidlist.c M src/pop3/pop3-client.c M src/pop3/pop3-commands.c M src/ssl-params/ssl-params.c Log Message: ----------- Remove t_malloc in favour of t_malloc_no0 Using either t_malloc_no0 or t_malloc0 makes it clear whether the allocated memory is zeroed or not. Commit: 657d704a513d74c8bd0b2d355c88d8723a4ec69b https://github.com/dovecot/core/commit/657d704a513d74c8bd0b2d355c88d8723a4ec69b Author: Martti Rannanj?rvi Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M src/auth/auth-request-var-expand.c M src/lib-http/http-transfer-chunked.c M src/lib/net.c Log Message: ----------- Use t_new in complicated t_malloc_no0 calls Commit: 11f02cda5a67ba09167ef001e5600833c5803a7b https://github.com/dovecot/core/commit/11f02cda5a67ba09167ef001e5600833c5803a7b Author: Martti Rannanj?rvi Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M src/lib-imap/imap-date.c M src/lib-imap/imap-utf7.c M src/lib-index/test-mail-index-sync-ext.c M src/lib-ssl-iostream/iostream-openssl-common.c M src/lib-ssl-iostream/iostream-openssl.c M src/login-common/ssl-proxy-openssl.c Log Message: ----------- Replace some t_malloc_no0 calls with t_malloc0 This might increase safety. Commit: 4fbd5c5e113078e72f29465ccc96d44955ceadc2 https://github.com/dovecot/core/commit/4fbd5c5e113078e72f29465ccc96d44955ceadc2 Author: Timo Sirainen Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M src/lib-dcrypt/istream-decrypt.c Log Message: ----------- lib-dcrypt: Finish previous t_malloc() change. Compare: https://github.com/dovecot/core/compare/1ada45cd38aa...4fbd5c5e1130 From noreply at github.com Mon May 30 20:00:12 2016 From: noreply at github.com (GitHub) Date: Mon, 30 May 2016 13:00:12 -0700 Subject: [dovecot/core] 87abc2: lib-dcrypt: Remove duplication of samples Message-ID: <574c9bcc892cd_2a013fce42df32c0158927@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 87abc256d68609b35b35de28d9b549245904658b https://github.com/dovecot/core/commit/87abc256d68609b35b35de28d9b549245904658b Author: Aki Tuomi Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M src/lib-dcrypt/Makefile.am Log Message: ----------- lib-dcrypt: Remove duplication of samples Commit: 47d4ae26cdacbdea94434ef46e09617013869f68 https://github.com/dovecot/core/commit/47d4ae26cdacbdea94434ef46e09617013869f68 Author: Aki Tuomi Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M src/lib-dcrypt/dcrypt-openssl.c Log Message: ----------- lib-dcrypt: Fix various OpenSSL API usage issues Commit: 99e5f462c768115777775655f7c7f420d1371901 https://github.com/dovecot/core/commit/99e5f462c768115777775655f7c7f420d1371901 Author: Aki Tuomi Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M src/lib-dcrypt/dcrypt-openssl.c Log Message: ----------- lib-dcrypt: Fix strict type-punning warning Commit: de1c645a79d42c37dffb7f52e9c643b6251fdcd0 https://github.com/dovecot/core/commit/de1c645a79d42c37dffb7f52e9c643b6251fdcd0 Author: Aki Tuomi Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M src/lib-dcrypt/Makefile.am A src/lib-dcrypt/sample-v1.asc R src/lib-dcrypt/sample-v1.bin A src/lib-dcrypt/sample-v2.asc R src/lib-dcrypt/sample-v2.bin M src/lib-dcrypt/test-stream.c Log Message: ----------- lib-dcrypt: Use base64 encoded test samples Compare: https://github.com/dovecot/core/compare/4fbd5c5e1130...de1c645a79d4 From noreply at github.com Tue May 31 00:58:23 2016 From: noreply at github.com (GitHub) Date: Mon, 30 May 2016 17:58:23 -0700 Subject: [dovecot/pigeonhole] 3d1226: Replace t_malloc with t_malloc0 or t_malloc_no0 Message-ID: <574ce1af3d9e9_6df63ff6ced1f2b8323555@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: 3d1226b5583d314626ce8842dfe2a4e2b2f9f90e https://github.com/dovecot/pigeonhole/commit/3d1226b5583d314626ce8842dfe2a4e2b2f9f90e Author: Martti Rannanj?rvi Date: 2016-05-30 (Mon, 30 May 2016) Changed paths: M src/lib-sieve/plugins/spamvirustest/ext-spamvirustest-common.c M src/lib-sieve/sieve-binary-file.c M src/lib-sieve/util/program-client-local.c M src/managesieve/managesieve-client.c Log Message: ----------- Replace t_malloc with t_malloc0 or t_malloc_no0 Plain t_malloc was deprecated in dovecot. Commit: 67dfb5a228fd728b5726f6adfc794366c6790997 https://github.com/dovecot/pigeonhole/commit/67dfb5a228fd728b5726f6adfc794366c6790997 Author: Stephan Bosch Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M src/lib-sieve/storage/ldap/sieve-ldap-db.c Log Message: ----------- Previous change omitted one occurrence of t_malloc(). Compare: https://github.com/dovecot/pigeonhole/compare/e2d6a03d20e8...67dfb5a228fd From noreply at github.com Tue May 31 09:30:11 2016 From: noreply at github.com (GitHub) Date: Tue, 31 May 2016 02:30:11 -0700 Subject: [dovecot/core] e20f59: lib: iostream-temp: Fixed o_stream_send_istream() Message-ID: <574d59a395e00_7d343fbe54dad2a0158532@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: e20f5920759215f328ce12dcca071b4e7dda3d48 https://github.com/dovecot/core/commit/e20f5920759215f328ce12dcca071b4e7dda3d48 Author: Timo Sirainen Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M src/lib/iostream-temp.c Log Message: ----------- lib: iostream-temp: Fixed o_stream_send_istream() From noreply at github.com Tue May 31 14:30:10 2016 From: noreply at github.com (GitHub) Date: Tue, 31 May 2016 07:30:10 -0700 Subject: [dovecot/core] 3d1ef0: lib-storage: Fixed error_r with mail_storage_servi... Message-ID: <574d9ff26e565_4073fafd364329c338cc@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 3d1ef0818c9b14a79d130fd5a2f3c4e9f6e760c9 https://github.com/dovecot/core/commit/3d1ef0818c9b14a79d130fd5a2f3c4e9f6e760c9 Author: Timo Sirainen Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M src/lib-storage/mail-storage-service.c Log Message: ----------- lib-storage: Fixed error_r with mail_storage_service_lookup_next() We no longer want to hide the actual error message. Commit: 1cc7a6c6a986b972fdb7eac146f4ca8036aca4e6 https://github.com/dovecot/core/commit/1cc7a6c6a986b972fdb7eac146f4ca8036aca4e6 Author: Timo Sirainen Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M src/lib-fs/fs-metawrap.c M src/lib-fs/fs-randomfail.c M src/lib-fs/fs-sis-queue.c M src/lib-fs/fs-sis.c Log Message: ----------- lib-fs: Don't duplicate backend name in fs_init() errors. fs_init() already adds the "backend: " prefix to the error_r, so the callers shouldn't do it again. Commit: 567ace1f60eca983acbc9b42d7569a5c16e8c3ec https://github.com/dovecot/core/commit/567ace1f60eca983acbc9b42d7569a5c16e8c3ec Author: Timo Sirainen Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M src/lib-dict/dict-client.c Log Message: ----------- dict-client: Fixed idle_msecs setting. Compare: https://github.com/dovecot/core/compare/e20f59207592...567ace1f60ec From noreply at github.com Tue May 31 21:30:13 2016 From: noreply at github.com (GitHub) Date: Tue, 31 May 2016 14:30:13 -0700 Subject: [dovecot/core] 0f56c2: lib: Fixed file_copy() after recent changes. Message-ID: <574e02657a9fc_47bb3ff57c07b2bc77319@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 0f56c2ae3318c2d0ccba824f7fa85c5e4a5d5e7c https://github.com/dovecot/core/commit/0f56c2ae3318c2d0ccba824f7fa85c5e4a5d5e7c Author: Timo Sirainen Date: 2016-06-01 (Wed, 01 Jun 2016) Changed paths: M src/lib/file-copy.c Log Message: ----------- lib: Fixed file_copy() after recent changes. Commit: 4372103cb640db9f1584b0db487339101863f5d9 https://github.com/dovecot/core/commit/4372103cb640db9f1584b0db487339101863f5d9 Author: Timo Sirainen Date: 2016-06-01 (Wed, 01 Jun 2016) Changed paths: M src/lib-dcrypt/dcrypt-openssl.c Log Message: ----------- lib-dcrypt: Fixed dcrypt_openssl_generate_keypair() Compare: https://github.com/dovecot/core/compare/567ace1f60ec...4372103cb640 From noreply at github.com Tue May 31 23:30:12 2016 From: noreply at github.com (GitHub) Date: Tue, 31 May 2016 16:30:12 -0700 Subject: [dovecot/core] b90dc2: lib-dcrypt: Fixed check program dependencies Message-ID: <574e1e849b640_56453fa18184f2bc844f9@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: b90dc2ae3d65976f73924deee174d22de6d0e2e4 https://github.com/dovecot/core/commit/b90dc2ae3d65976f73924deee174d22de6d0e2e4 Author: Timo Sirainen Date: 2016-06-01 (Wed, 01 Jun 2016) Changed paths: M src/lib-dcrypt/Makefile.am Log Message: ----------- lib-dcrypt: Fixed check program dependencies