From noreply at github.com Tue Nov 1 17:30:11 2016 From: noreply at github.com (GitHub) Date: Tue, 01 Nov 2016 10:30:11 -0700 Subject: [dovecot/core] 4b50a1: auth: If uidgid_file doesn't exist, fail the userd... Message-ID: <5818d123d548_1d7a3fc8731c313c949fa@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 4b50a16fa242eea52254a6cd02982174b9819c83 https://github.com/dovecot/core/commit/4b50a16fa242eea52254a6cd02982174b9819c83 Author: Timo Sirainen Date: 2016-11-01 (Tue, 01 Nov 2016) Changed paths: M src/auth/auth-request.c Log Message: ----------- auth: If uidgid_file doesn't exist, fail the userdb lookup. Commit: b4ed649cad1f149bb8fc058eb2eb44f0278a729b https://github.com/dovecot/core/commit/b4ed649cad1f149bb8fc058eb2eb44f0278a729b Author: Timo Sirainen Date: 2016-11-01 (Tue, 01 Nov 2016) Changed paths: M src/auth/db-passwd-file.c M src/auth/db-passwd-file.h M src/auth/passdb-passwd-file.c M src/auth/userdb-passwd-file.c Log Message: ----------- auth: If passwd-file can't be read, return tempfail (not user unknown). Commit: adea1e1e46ccb4ae107767fd930e3d1fb4f1d11d https://github.com/dovecot/core/commit/adea1e1e46ccb4ae107767fd930e3d1fb4f1d11d Author: Timo Sirainen Date: 2016-11-01 (Tue, 01 Nov 2016) Changed paths: M src/auth/passdb-sql.c M src/auth/passdb.h Log Message: ----------- auth: Code cleanup - Return void in passdb.set_credentials() It's an asynchronous function, so the result will be in the callback parameters. Commit: 6d24551e169c0808695db35d7a228f1970a84c75 https://github.com/dovecot/core/commit/6d24551e169c0808695db35d7a228f1970a84c75 Author: Timo Sirainen Date: 2016-11-01 (Tue, 01 Nov 2016) Changed paths: M src/imap-login/imap-proxy.c M src/login-common/client-common-auth.c M src/login-common/client-common.h M src/pop3-login/pop3-proxy.c Log Message: ----------- imap/pop3 proxy: If passdb returns proxy_not_trusted, don't send ID/XCLIENT This allows using Dovecot proxying feature towards less trusted servers. Commit: e0e555a09a8ff93aa904586aeffd37f5b0e3a84d https://github.com/dovecot/core/commit/e0e555a09a8ff93aa904586aeffd37f5b0e3a84d Author: Timo Sirainen Date: 2016-11-01 (Tue, 01 Nov 2016) Changed paths: M src/lib/str.h M src/lib/test-str.c Log Message: ----------- lib: Fix str_truncate() when string size is already smaller. Previous behavior either added extra NULs to the string or assert-crashed. Commit: ccf5e99d0285da8679dee6e0b68fa9ea99a4ddfa https://github.com/dovecot/core/commit/ccf5e99d0285da8679dee6e0b68fa9ea99a4ddfa Author: Timo Sirainen Date: 2016-11-01 (Tue, 01 Nov 2016) Changed paths: M src/doveadm/doveadm-director.c Log Message: ----------- doveadm director: Fix memory leaks if hostname lookup fails. Compare: https://github.com/dovecot/core/compare/59a82d4b3ade...ccf5e99d0285 From noreply at github.com Tue Nov 1 20:00:10 2016 From: noreply at github.com (GitHub) Date: Tue, 01 Nov 2016 13:00:10 -0700 Subject: [dovecot/core] 059e4a: lib-storage: Reverse MAIL_SEARCH_ARG_FLAG_USE_TZ h... Message-ID: <5818f44ac8b5c_38763f7fdda3713090497@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 059e4ac419224598349704b74cb9f6b49278df46 https://github.com/dovecot/core/commit/059e4ac419224598349704b74cb9f6b49278df46 Author: Timo Sirainen Date: 2016-11-01 (Tue, 01 Nov 2016) Changed paths: M src/lib-storage/index/index-search.c Log Message: ----------- lib-storage: Reverse MAIL_SEARCH_ARG_FLAG_USE_TZ handling. It was being used the wrong way. SEARCH SENTON/BEFORE/AFTER should have checked the times within the mail's timezone, not UTC. From noreply at github.com Tue Nov 1 20:30:11 2016 From: noreply at github.com (GitHub) Date: Tue, 01 Nov 2016 13:30:11 -0700 Subject: [dovecot/core] e545fb: lib-storage: Don't enable modseqs on STATUS_HIGHES... Message-ID: <5818fb53207aa_472a3fcc4605f1341035fe@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: e545fb28bcd7ef8d3b838933f7f12633ba839233 https://github.com/dovecot/core/commit/e545fb28bcd7ef8d3b838933f7f12633ba839233 Author: Timo Sirainen Date: 2016-11-01 (Tue, 01 Nov 2016) Changed paths: M src/lib-storage/mail-storage.c Log Message: ----------- lib-storage: Don't enable modseqs on STATUS_HIGHESTMODSEQ. This is requested always by IMAP's SELECT command even when the IMAP client hasn't requested it. We don't want to unnecessarily enable modseqs that use up memory and disk space when they're not really needed. Other callers may also be interested in asking for HIGHESTMODSEQ (which is nowadays actually always available) without enabling full modseq tracking. From noreply at github.com Wed Nov 2 12:00:10 2016 From: noreply at github.com (GitHub) Date: Wed, 02 Nov 2016 05:00:10 -0700 Subject: [dovecot/core] df1b2c: lib-index: Don't waste 3 bytes of space in struct ... Message-ID: <5819d54ab670e_16ae3fa006a511407017e@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: df1b2c3ff9cea4b57a4b9f1688bef54998fda5a4 https://github.com/dovecot/core/commit/df1b2c3ff9cea4b57a4b9f1688bef54998fda5a4 Author: Timo Sirainen Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib-index/mail-index-sync-ext.c M src/lib-index/mail-index-sync-keywords.c M src/lib-index/mail-index.h Log Message: ----------- lib-index: Don't waste 3 bytes of space in struct mail_index_record. It was always supposed to be used mainly for keywords, but it got broken many years ago and nobody noticed. Commit: 58c278560d3553ed61ef063f30a357ee4efe84df https://github.com/dovecot/core/commit/58c278560d3553ed61ef063f30a357ee4efe84df Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib-http/test-http-client-errors.c Log Message: ----------- lib-http: Made test-http-client-errors more reliable. Commit: c936df07cf490f090f2f336f40ca386cc953b055 https://github.com/dovecot/core/commit/c936df07cf490f090f2f336f40ca386cc953b055 Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib-http/http-client-host.c M src/lib-http/http-client-private.h Log Message: ----------- lib-http: client: Improved handling of hosts with explicit IP address. Commit: e6c7a2711a51c9e8231b239bcea68177250efc97 https://github.com/dovecot/core/commit/e6c7a2711a51c9e8231b239bcea68177250efc97 Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib-http/http-client-connection.c Log Message: ----------- lib-http: client: Set conn->connect_request to NULL immediately in http_client_connection_tunnel_response(). Prevents referring to this completed request in other parts of the code. Commit: 32ef0bd65f1263626ac138183c0a8ca9a564502e https://github.com/dovecot/core/commit/32ef0bd65f1263626ac138183c0a8ca9a564502e Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib-http/http-client-connection.c Log Message: ----------- lib-http: client: Created http_client_connection_failure() handler. Commit: 2b9d522a3300fa84a1606e2108a159be7bb36154 https://github.com/dovecot/core/commit/2b9d522a3300fa84a1606e2108a159be7bb36154 Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib-http/http-client-connection.c M src/lib-http/http-client-private.h Log Message: ----------- lib-http: client: Added function that checks whether a connection is currently active. Commit: 66ea898de7face7fc9c275e01e514fa002446975 https://github.com/dovecot/core/commit/66ea898de7face7fc9c275e01e514fa002446975 Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib-http/http-client-peer.c M src/lib-http/http-client-private.h Log Message: ----------- lib-http: client: Added function that counts how many connections are active within a peer. Commit: a8f65a7de876bbb9354e888ff448832f4727262f https://github.com/dovecot/core/commit/a8f65a7de876bbb9354e888ff448832f4727262f Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib-http/http-client-peer.c Log Message: ----------- lib-http: client: Added debug messages that indicate when a queue is linked/unlinked to a peer. Commit: ac325a76379b7d63a3dfb0a1c24fb190396d7cc8 https://github.com/dovecot/core/commit/ac325a76379b7d63a3dfb0a1c24fb190396d7cc8 Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib-http/http-client-peer.c Log Message: ----------- lib-http: client: If a peer object is no longer linked to a queue, don't close it until all connections are inactive. The peer object is canceled, rather than closed. Which means that any newly started and idle connections are closed immediately. Requests may be pending though. This is only relevant when hosts/queues are removed at some point. This is a preparational change for having a maximum lifetime on hosts/queues, in which case this becomes a possibility. Commit: d675ed17db85f710fca504979054238628416c6c https://github.com/dovecot/core/commit/d675ed17db85f710fca504979054238628416c6c Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib-http/http-client-peer.c Log Message: ----------- lib-http: client: Improved logging of connection loss handling in peer. Commit: c1423bdba971228a283653222ed0367f84ab6402 https://github.com/dovecot/core/commit/c1423bdba971228a283653222ed0367f84ab6402 Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 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-queue.c Log Message: ----------- lib-http: client: Unlink all queues from peer when it is disconnected. Before, queues were only destroyed when the whole client was destroyed. This change and subsequent changes prepare for being able to destroy a queue when it becomes unused. Commit: 1443a6b1be41f132ea8269d0826083f7bbf4a7d6 https://github.com/dovecot/core/commit/1443a6b1be41f132ea8269d0826083f7bbf4a7d6 Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib-http/http-client-peer.c Log Message: ----------- lib-http: client: Created http_client_peer_drop() function that closes a peer object gracefully. It checks whether any connections are still present. It checks whether a backoff timer is still active. This change and subsequent changes prepare for being able to destroy a queue when it becomes unused. All peers linked to such a queue are unlinked and dropped when inactive and unlinked. Commit: 57d86b6fd46cb6d37bfc28f67ae4be80296ad35a https://github.com/dovecot/core/commit/57d86b6fd46cb6d37bfc28f67ae4be80296ad35a Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib-http/http-client-private.h M src/lib-http/http-client-queue.c Log Message: ----------- lib-http: client: Link peers to queue earlier: during connection attempts. This makes sure that queues keep track of which peers are doing stuff on its behalf. This is important to be able to manage the active peers when a new host name lookup was performed; if a peer is no longer listed in the returned IPs it should be dropped. Commit: 6a0e62561f965c86f98444c8ad48fad7c0d67bcb https://github.com/dovecot/core/commit/6a0e62561f965c86f98444c8ad48fad7c0d67bcb Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib-http/http-client-queue.c Log Message: ----------- lib-http: client: Create queue->pending_peers array from the beginning. This simplifies the code, since the pending peers array is always used. Commit: c62f15cc134cc9701c391eec8e9ef92105aa6d33 https://github.com/dovecot/core/commit/c62f15cc134cc9701c391eec8e9ef92105aa6d33 Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib-http/http-client-private.h M src/lib-http/http-client-queue.c Log Message: ----------- lib-http: client: Added http_client_queue_requests_active(). It counts how many active requests a queue has. Commit: 1e63e30812158e6446d81cdbb2f45954794d4f8a https://github.com/dovecot/core/commit/1e63e30812158e6446d81cdbb2f45954794d4f8a Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: 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.c M src/lib-http/http-client.h Log Message: ----------- lib-http: client: Implemented host name lookup TTL. Host name lookups will now be performed again when the results have expired. Without access to TTL information from DNS lookups, all lookups will use the same default TTL for now. Commit: c4b2dba355010a38f17b3cd84feb01ecb8b05a55 https://github.com/dovecot/core/commit/c4b2dba355010a38f17b3cd84feb01ecb8b05a55 Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib-http/http-client-host.c M src/lib-http/http-client-private.h M src/lib-http/http-client-queue.c Log Message: ----------- lib-http: client: Destroy host and associated queue objects after no more requests remain and an idle timeout expires. Commit: 3395f5ad01bdd0904682157086e3741df511c908 https://github.com/dovecot/core/commit/3395f5ad01bdd0904682157086e3741df511c908 Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib-http/test-http-client-errors.c Log Message: ----------- lib-http: Added DNS-related tests to test-http-client-errors. Compare: https://github.com/dovecot/core/compare/e545fb28bcd7...3395f5ad01bd From noreply at github.com Wed Nov 2 12:30:09 2016 From: noreply at github.com (GitHub) Date: Wed, 02 Nov 2016 05:30:09 -0700 Subject: [dovecot/core] 36b072: auth: Added a code= field to the auth FAIL respons... Message-ID: <5819dc51d7de3_e0b3fbae6acd13c77791@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 36b072d84a9076c3c483bf710444a716e987ccc3 https://github.com/dovecot/core/commit/36b072d84a9076c3c483bf710444a716e987ccc3 Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/auth/auth-request-handler.c M src/lib-auth/auth-client-interface.h M src/login-common/client-common-auth.c M src/login-common/client-common.c M src/login-common/client-common.h Log Message: ----------- auth: Added a code= field to the auth FAIL response that replaces the "authz", "temp", "pass_expired", and "user_disabled" fields. Commit: 529944a3554da75c2e6231a25fe489d815519b22 https://github.com/dovecot/core/commit/529944a3554da75c2e6231a25fe489d815519b22 Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/imap-login/client-authenticate.c M src/login-common/client-common-auth.c M src/login-common/client-common.h M src/pop3-login/client-authenticate.c Log Message: ----------- login-common: Added result code for password-expired authentication failure. Commit: f32d0295c90ed810889504cdfa5e1a25a415f65f https://github.com/dovecot/core/commit/f32d0295c90ed810889504cdfa5e1a25a415f65f Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/imap-login/client-authenticate.c M src/login-common/client-common-auth.c M src/login-common/client-common.c M src/login-common/client-common.h M src/pop3-login/client-authenticate.c Log Message: ----------- login-common: Added result code for a nologin code from the auth service. Commit: 04eb0abcf8f8b0c014499b5c5bae89484553613f https://github.com/dovecot/core/commit/04eb0abcf8f8b0c014499b5c5bae89484553613f Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/imap-login/client-authenticate.c M src/lib-auth/auth-client-interface.h M src/login-common/client-common-auth.c M src/login-common/client-common.c M src/login-common/client-common.h M src/login-common/sasl-server.c M src/login-common/sasl-server.h M src/pop3-login/client-authenticate.c Log Message: ----------- login-common: Added result codes for mechanism-related failures. Commit: 8ac6623677005256bf99ab33a2ed98c69c1d656c https://github.com/dovecot/core/commit/8ac6623677005256bf99ab33a2ed98c69c1d656c Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/auth/auth-request-handler.c M src/imap-login/client-authenticate.c M src/lib-auth/auth-client-interface.h M src/login-common/client-common-auth.c M src/login-common/client-common.c M src/login-common/client-common.h M src/pop3-login/client-authenticate.c Log Message: ----------- auth,login-common: Added result code for invalid base64-encoded response data. Commit: d2fd204b303ef4990eecd1ad6f32d2829f241c57 https://github.com/dovecot/core/commit/d2fd204b303ef4990eecd1ad6f32d2829f241c57 Author: Stephan Bosch Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/imap-login/client-authenticate.c Log Message: ----------- imap-login: Adjusted IMAP AUTHENTICATE command to return CONTACTADMIN and EXPIRED response codes when appropriate. Compare: https://github.com/dovecot/core/compare/3395f5ad01bd...d2fd204b303e From noreply at github.com Wed Nov 2 13:00:11 2016 From: noreply at github.com (GitHub) Date: Wed, 02 Nov 2016 06:00:11 -0700 Subject: [dovecot/core] 7c3a80: lib: var_expand() code cleanup - Moved short %v ex... Message-ID: <5819e35b39255_57223f8cc3711134665f3@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 7c3a801caa8daa9a7f57e61b4d1e63f02a51e7e4 https://github.com/dovecot/core/commit/7c3a801caa8daa9a7f57e61b4d1e63f02a51e7e4 Author: Timo Sirainen Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib/var-expand.c Log Message: ----------- lib: var_expand() code cleanup - Moved short %v expansion to its own function. Commit: d5e68154e67819140e513cbd037eda9c1b929c4e https://github.com/dovecot/core/commit/d5e68154e67819140e513cbd037eda9c1b929c4e Author: Timo Sirainen Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/auth/passdb-passwd-file.c M src/auth/userdb-passwd-file.c Log Message: ----------- auth: Code cleanup - Move passwd-file extra fields import to its own function. This will shrink the diff output for the following var_expand() change. Commit: 0f5dc4da3982053036be65190e44bf28a67b1ca2 https://github.com/dovecot/core/commit/0f5dc4da3982053036be65190e44bf28a67b1ca2 Author: Timo Sirainen Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/auth/auth-cache.c M src/auth/auth-policy.c M src/auth/auth-request-var-expand.c M src/auth/auth-request-var-expand.h M src/auth/auth-request.c M src/auth/db-checkpassword.c M src/auth/db-dict.c M src/auth/db-ldap.c M src/auth/db-passwd-file.c M src/auth/passdb-imap.c M src/auth/passdb-ldap.c M src/auth/passdb-pam.c M src/auth/passdb-passwd-file.c M src/auth/passdb-sql.c M src/auth/passdb-static.c M src/auth/passdb-template.c M src/auth/passdb-template.h M src/auth/test-auth-cache.c M src/auth/test-auth-request-var-expand.c M src/auth/userdb-dict.c M src/auth/userdb-ldap.c M src/auth/userdb-passwd-file.c M src/auth/userdb-passwd.c M src/auth/userdb-sql.c M src/auth/userdb-static.c M src/auth/userdb-template.c M src/auth/userdb-template.h M src/director/director-request.c M src/director/director.c M src/director/doveadm-connection.c M src/director/notify-connection.c M src/director/test-user-directory.c M src/director/user-directory.c M src/director/user-directory.h M src/doveadm/doveadm-auth-server.c M src/doveadm/doveadm-auth.c M src/doveadm/doveadm-director.c M src/doveadm/doveadm-dsync.c M src/doveadm/doveadm-print-formatted.c M src/imap-hibernate/imap-client.c M src/imap-urlauth/imap-urlauth-worker.c M src/imap/imap-client.c M src/imap/main.c M src/lda/main.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-mail/mail-user-hash.h M src/lib-settings/settings-parser.c M src/lib-settings/settings-parser.h M src/lib-sql/driver-cassandra.c M src/lib-storage/index/shared/shared-storage.c M src/lib-storage/mail-storage-service.c M src/lib-storage/mail-user.c M src/lib/test-var-expand.c M src/lib/var-expand.c M src/lib/var-expand.h M src/lmtp/client.c M src/lmtp/commands.c M src/login-common/client-common.c M src/login-common/login-proxy.c M src/login-common/login-settings.c M src/plugins/acl/acl-shared-storage.c M src/plugins/dict-ldap/dict-ldap.c M src/pop3/pop3-client.c M src/pop3/pop3-commands.c Log Message: ----------- lib: API change - var_expand*() now returns error string. This allows callers to fail properly if the format string is invalid. Commit: bcf1cf2afb9692b0db555e6ecf662a2fbd19793d https://github.com/dovecot/core/commit/bcf1cf2afb9692b0db555e6ecf662a2fbd19793d Author: Timo Sirainen Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/auth/auth-request-var-expand.c M src/auth/db-dict.c M src/auth/db-ldap.c M src/lib-storage/mail-storage-service.c M src/lib-storage/mail-user.c M src/lib/test-var-expand.c M src/lib/var-expand.c M src/lib/var-expand.h M src/login-common/client-common.c Log Message: ----------- lib: API change - var_expand_func_table.func() can now return error. None of the existing functions were changed to return errors (yet). Compare: https://github.com/dovecot/core/compare/d2fd204b303e...bcf1cf2afb96 From noreply at github.com Wed Nov 2 13:30:09 2016 From: noreply at github.com (GitHub) Date: Wed, 02 Nov 2016 06:30:09 -0700 Subject: [dovecot/core] c73ede: lib-storage: Fix previous var_expand() change. Message-ID: <5819ea6153f0f_60353f8ff25d912c590d4@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: c73ede1a6685975eb21eecf2fb5af79854867f9b https://github.com/dovecot/core/commit/c73ede1a6685975eb21eecf2fb5af79854867f9b Author: Timo Sirainen Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib-storage/mail-storage-service.c Log Message: ----------- lib-storage: Fix previous var_expand() change. From noreply at github.com Wed Nov 2 14:00:10 2016 From: noreply at github.com (GitHub) Date: Wed, 02 Nov 2016 07:00:10 -0700 Subject: [dovecot/core] 5535f5: lib: ioloop-notify-kqueue wasn't storing source fi... Message-ID: <5819f16ac3200_73ce3fe9d798d13088594@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 5535f5fb5feef602cc21678aa2db11a2809e8f76 https://github.com/dovecot/core/commit/5535f5fb5feef602cc21678aa2db11a2809e8f76 Author: Timo Sirainen Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib/ioloop-notify-kqueue.c Log Message: ----------- lib: ioloop-notify-kqueue wasn't storing source filename. Commit: dec95fbca4f662fa0f2b480f175679116e33fafa https://github.com/dovecot/core/commit/dec95fbca4f662fa0f2b480f175679116e33fafa Author: Timo Sirainen Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/auth/auth-request.c M src/auth/test-auth-request-var-expand.c Log Message: ----------- auth: Fixes to previous var_expand() change. Compare: https://github.com/dovecot/core/compare/c73ede1a6685...dec95fbca4f6 From noreply at github.com Wed Nov 2 16:38:20 2016 From: noreply at github.com (GitHub) Date: Wed, 02 Nov 2016 09:38:20 -0700 Subject: [dovecot/pigeonhole] 10e707: lib-sieve: edit-mail: Adjusted to changes in Dovec... Message-ID: <581a167c4ef93_21e73f8a070ef13456868@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: 10e70749e6ca4cf1e99dafe05519b2cb6c3b890d https://github.com/dovecot/pigeonhole/commit/10e70749e6ca4cf1e99dafe05519b2cb6c3b890d Author: Stephan Bosch Date: 2016-10-29 (Sat, 29 Oct 2016) Changed paths: M src/lib-sieve/util/edit-mail.c Log Message: ----------- lib-sieve: edit-mail: Adjusted to changes in Dovecot lib-storage/index. Commit: 1e5d2c6ae8b41d0be78249d6639c58268f69bd4f https://github.com/dovecot/pigeonhole/commit/1e5d2c6ae8b41d0be78249d6639c58268f69bd4f Author: Timo Sirainen Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib-sieve/sieve-error.c M src/managesieve/main.c M src/managesieve/managesieve-client.c M src/plugins/lda-sieve/lda-sieve-log.c Log Message: ----------- Adjust to var_expand*() API changes. Compare: https://github.com/dovecot/pigeonhole/compare/c5ed66bccd5d...1e5d2c6ae8b4 From noreply at github.com Wed Nov 2 20:30:08 2016 From: noreply at github.com (GitHub) Date: Wed, 02 Nov 2016 13:30:08 -0700 Subject: [dovecot/core] b8673e: fts: Fix error message when syncing FTS root mailb... Message-ID: <581a4cd0c212b_6cdf3f8350a9513812881d@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: b8673ed3de3d1931ea5319c7557b72235cfe31fe https://github.com/dovecot/core/commit/b8673ed3de3d1931ea5319c7557b72235cfe31fe Author: Timo Sirainen Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/plugins/fts/fts-api.c Log Message: ----------- fts: Fix error message when syncing FTS root mailbox fails. From noreply at github.com Wed Nov 2 21:30:10 2016 From: noreply at github.com (GitHub) Date: Wed, 02 Nov 2016 14:30:10 -0700 Subject: [dovecot/core] fb9b99: auth: Make static analyzer happier. Message-ID: <581a5ae2b751b_5ba43fb15566b138641cc@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: fb9b9914c9bd35a52e5d140df81e3c31f63cb8d5 https://github.com/dovecot/core/commit/fb9b9914c9bd35a52e5d140df81e3c31f63cb8d5 Author: Timo Sirainen Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/auth/passdb-static.c Log Message: ----------- auth: Make static analyzer happier. Don't complain about uninitialized static_password being sent to passdb_handle_credentials(). It could only happen for failures, and passdb_handle_credentials() wouldn't have used the password then. Commit: e07b8f034b4c214e94aa5eb93d96ccbe60094b4b https://github.com/dovecot/core/commit/e07b8f034b4c214e94aa5eb93d96ccbe60094b4b Author: Aki Tuomi Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib/buffer.c M src/lib/buffer.h Log Message: ----------- lib: Add buffer truncate Commit: ef2bf290febe82c5047394145909c946d7151ebf https://github.com/dovecot/core/commit/ef2bf290febe82c5047394145909c946d7151ebf Author: Aki Tuomi Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib/test-buffer.c Log Message: ----------- lib: Add unit test for buffer truncate Commit: e0dddec702cceb77536a659c71b1973a71c09192 https://github.com/dovecot/core/commit/e0dddec702cceb77536a659c71b1973a71c09192 Author: Aki Tuomi Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib/var-expand.c Log Message: ----------- lib: Do not consume {} inside %{} Commit: 7c4af1fdcb1aa5ece9fd6c8a893789666ae29dbb https://github.com/dovecot/core/commit/7c4af1fdcb1aa5ece9fd6c8a893789666ae29dbb Author: Aki Tuomi Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib/var-expand.c Log Message: ----------- lib: Add generic hashing support to var-expand Enables use of %{H;rounds=,truncate=,salt=:field} syntax in any variable expansion. H is any supported hash algorithm or pkcs5 for PKCS#5 PBKDF2 using SHA256. Commit: 14c903cfef0227c750e66298df56c3bf8ef258a1 https://github.com/dovecot/core/commit/14c903cfef0227c750e66298df56c3bf8ef258a1 Author: Aki Tuomi Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib/test-var-expand.c Log Message: ----------- lib: Add tests for hashed var-expand Commit: e1d4f6f6ab3cedc30c7477820c394fbd3769964c https://github.com/dovecot/core/commit/e1d4f6f6ab3cedc30c7477820c394fbd3769964c Author: Aki Tuomi Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/auth/auth-policy.c Log Message: ----------- auth: Use buffer_truncate_rshift_bits Commit: 4ab8814199f67c28b30f6aeef77d045fc856dc30 https://github.com/dovecot/core/commit/4ab8814199f67c28b30f6aeef77d045fc856dc30 Author: Josef 'Jeff' Sipek Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib/data-stack.h M src/lib/macros.h Log Message: ----------- use __func__ instead of __FUNCTION__ __FUNCTION__ is a non-standard extension while __func__ is C99. Commit: ccfe24c9fa6bea4298dce6bc2d4cc65f05b8a538 https://github.com/dovecot/core/commit/ccfe24c9fa6bea4298dce6bc2d4cc65f05b8a538 Author: Josef 'Jeff' Sipek Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib/data-stack.c M src/lib/data-stack.h Log Message: ----------- data-stack: t_push should always keep track of the marker Instead of only keeping track of it on DEBUG builds, t_push should always keep the marker around. This will help diagnosing issues on non-debug builds. Commit: 9d69283efe8ff56a3b9adb813dc79f7d910ace6a https://github.com/dovecot/core/commit/9d69283efe8ff56a3b9adb813dc79f7d910ace6a Author: Josef 'Jeff' Sipek Date: 2016-11-02 (Wed, 02 Nov 2016) Changed paths: M src/lib/data-stack.h Log Message: ----------- data-stack: T_BEGIN should use file & line number as the t_push marker Using a function name is not unique if there is more than one T_BEGIN in a function. Therefore, switch the marker passed into t_push to be the concatenation of __FILE__ and __LINE__. Compare: https://github.com/dovecot/core/compare/b8673ed3de3d...9d69283efe8f From noreply at github.com Thu Nov 3 17:30:11 2016 From: noreply at github.com (GitHub) Date: Thu, 03 Nov 2016 10:30:11 -0700 Subject: [dovecot/core] 6525f6: lib: Define ARRAY_TYPE for uint8_t, uint16_t and u... Message-ID: <581b74235e570_2b3d3fa8c7869138745d9@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 6525f63717c08f29648fe3dd8c940c915db47d10 https://github.com/dovecot/core/commit/6525f63717c08f29648fe3dd8c940c915db47d10 Author: Timo Sirainen Date: 2016-11-03 (Thu, 03 Nov 2016) Changed paths: M src/lib/array-decl.h Log Message: ----------- lib: Define ARRAY_TYPE for uint8_t, uint16_t and uint64_t. From noreply at github.com Thu Nov 3 19:38:18 2016 From: noreply at github.com (GitHub) Date: Thu, 03 Nov 2016 12:38:18 -0700 Subject: [dovecot/pigeonhole] 849790: lib-sieve: ldap storage: Adjust to var_expand*() A... Message-ID: <581b922a278db_5ce43ffa82d751381234e9@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: 849790c5144152da9f042915fdaec937a916099a https://github.com/dovecot/pigeonhole/commit/849790c5144152da9f042915fdaec937a916099a Author: Stephan Bosch Date: 2016-11-03 (Thu, 03 Nov 2016) Changed paths: M src/lib-sieve/storage/ldap/sieve-ldap-db.c Log Message: ----------- lib-sieve: ldap storage: Adjust to var_expand*() API changes. From noreply at github.com Thu Nov 3 20:30:10 2016 From: noreply at github.com (GitHub) Date: Thu, 03 Nov 2016 13:30:10 -0700 Subject: [dovecot/core] 4ff193: lib-http: Fixed potential segfault problem in test... Message-ID: <581b9e52acc9b_2f1c3fd439879130486a0@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 4ff193d240e812a181472de80ece72566e8096b8 https://github.com/dovecot/core/commit/4ff193d240e812a181472de80ece72566e8096b8 Author: Stephan Bosch Date: 2016-11-03 (Thu, 03 Nov 2016) Changed paths: M src/lib-http/test-http-client-errors.c Log Message: ----------- lib-http: Fixed potential segfault problem in test-http-client-errors. Found by Coverity. From noreply at github.com Sat Nov 5 15:00:11 2016 From: noreply at github.com (GitHub) Date: Sat, 05 Nov 2016 08:00:11 -0700 Subject: [dovecot/core] 0303b6: lib-storage: Reverse MAIL_SEARCH_ARG_FLAG_USE_TZ h... Message-ID: <581df3fbae963_31a23fb8198e7130399a1@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 0303b693b8b3fc35b9daa1ce9cb92d94d1b95205 https://github.com/dovecot/core/commit/0303b693b8b3fc35b9daa1ce9cb92d94d1b95205 Author: Timo Sirainen Date: 2016-11-04 (Fri, 04 Nov 2016) Changed paths: M src/lib-storage/index/index-search.c Log Message: ----------- lib-storage: Reverse MAIL_SEARCH_ARG_FLAG_USE_TZ handling again. It wasn't really wrong, it was just confusing. And doveadm's tz-handling was wrong. Reverses 059e4ac419224598349704b74cb9f6b49278df46 Commit: 2fc91862fa8b14dba1ab18c7c7a88e451df46ed0 https://github.com/dovecot/core/commit/2fc91862fa8b14dba1ab18c7c7a88e451df46ed0 Author: Timo Sirainen Date: 2016-11-04 (Fri, 04 Nov 2016) Changed paths: M src/doveadm/doveadm-dsync.c M src/lib-storage/mail-search-register-human.c M src/lib-storage/mail-storage.c M src/lib-storage/mail-storage.h Log Message: ----------- lib-storage: Fix doveadm search query parsing to use timezones correctly. When using a date string, e.g. "senton 25-Mar-2007" it should work the same way as IMAP does and show all mails whose sent date is on 25th, ignoring whatever the timezone is in the Date header (or in case of received/saved-date it would be using the timestamps in server's local timezone, again just like IMAP). When search with an exact UNIX timestamp or a time interval (e.g. "3 days"), it should be using UTC times for doing all comparisons. Commit: 8fc48a7d4130c2b7c417800a1eeea00563b950ea https://github.com/dovecot/core/commit/8fc48a7d4130c2b7c417800a1eeea00563b950ea Author: Timo Sirainen Date: 2016-11-04 (Fri, 04 Nov 2016) Changed paths: M src/lib-storage/mail-search.h Log Message: ----------- lib-storage: Updated MAIL_SEARCH_ARG_FLAG_USE_TZ comment. Commit: 6264b51bcce8ae98efdcda3e55a765d7a13d15ed https://github.com/dovecot/core/commit/6264b51bcce8ae98efdcda3e55a765d7a13d15ed Author: Timo Sirainen Date: 2016-11-04 (Fri, 04 Nov 2016) Changed paths: M src/lib-storage/index/index-search.c M src/lib-storage/mail-search-args-imap.c M src/lib-storage/mail-search-register-human.c M src/lib-storage/mail-search-register-imap.c M src/lib-storage/mail-search.h M src/plugins/expire/doveadm-expire.c Log Message: ----------- lib-storage: Renamed MAIL_SEARCH_ARG_FLAG_USE_TZ to _FLAG_UTC_TIMES Compare: https://github.com/dovecot/core/compare/4ff193d240e8...6264b51bcce8 From noreply at github.com Mon Nov 7 09:27:31 2016 From: noreply at github.com (GitHub) Date: Mon, 07 Nov 2016 01:27:31 -0800 Subject: [dovecot/pigeonhole] 3deda0: managesieve: Try to initialize var_expand_tab[] di... Message-ID: <582049032c0c_57e43fc58caa512c805f@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: 3deda06e9e24279d6ef0a65db13bbaba6b937157 https://github.com/dovecot/pigeonhole/commit/3deda06e9e24279d6ef0a65db13bbaba6b937157 Author: Stephan Bosch Date: 2016-11-03 (Thu, 03 Nov 2016) Changed paths: M src/managesieve/managesieve-client.c Log Message: ----------- managesieve: Try to initialize var_expand_tab[] directly. This avoids accidents with the array numbering being wrong. Commit: be11698e5cf4ec24af3922c7198040f6d8ccc731 https://github.com/dovecot/pigeonhole/commit/be11698e5cf4ec24af3922c7198040f6d8ccc731 Author: Stephan Bosch Date: 2016-11-07 (Mon, 07 Nov 2016) Changed paths: M doc/example-config/Makefile.am M doc/extensions/Makefile.am M doc/plugins/Makefile.am M doc/rfc/Makefile.am Log Message: ----------- doc: Forgot to add several files to the distribution. Compare: https://github.com/dovecot/pigeonhole/compare/849790c51441...be11698e5cf4 From noreply at github.com Mon Nov 7 09:28:13 2016 From: noreply at github.com (GitHub) Date: Mon, 07 Nov 2016 01:28:13 -0800 Subject: [dovecot/pigeonhole] c6edca: doc: Forgot to add several files to the distributi... Message-ID: <5820492d857d2_482a3fb25afeb130372c3@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-0.4 Home: https://github.com/dovecot/pigeonhole Commit: c6edca374eccfa3653bc4f9aaae2c4d013977d6d https://github.com/dovecot/pigeonhole/commit/c6edca374eccfa3653bc4f9aaae2c4d013977d6d Author: Stephan Bosch Date: 2016-11-07 (Mon, 07 Nov 2016) Changed paths: M doc/example-config/Makefile.am M doc/extensions/Makefile.am M doc/plugins/Makefile.am M doc/rfc/Makefile.am Log Message: ----------- doc: Forgot to add several files to the distribution. From noreply at github.com Mon Nov 7 22:00:11 2016 From: noreply at github.com (GitHub) Date: Mon, 07 Nov 2016 14:00:11 -0800 Subject: [dovecot/core] 9c257a: m4: Fix compiler warnings Message-ID: <5820f96bc4b0_4b5c3fe1042bb130100573@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 9c257ae400f8a075946a7457b45b2ff0a455ee21 https://github.com/dovecot/core/commit/9c257ae400f8a075946a7457b45b2ff0a455ee21 Author: Aki Tuomi Date: 2016-11-07 (Mon, 07 Nov 2016) Changed paths: M m4/fd_passing.m4 M m4/ipv6.m4 M m4/unsetenv.m4 Log Message: ----------- m4: Fix compiler warnings Makes it work with -Wall -W -Werror From noreply at github.com Tue Nov 8 00:49:17 2016 From: noreply at github.com (GitHub) Date: Mon, 07 Nov 2016 16:49:17 -0800 Subject: [dovecot/pigeonhole] ab9bec: imapsieve plugin: Fixed assert failure occurring w... Message-ID: <5821210dbacfd_5b473f82d1cff13c7488d@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-0.4 Home: https://github.com/dovecot/pigeonhole Commit: ab9bec545f9f9e795b96b71e652bba839a8f6bec https://github.com/dovecot/pigeonhole/commit/ab9bec545f9f9e795b96b71e652bba839a8f6bec Author: Stephan Bosch Date: 2016-11-08 (Tue, 08 Nov 2016) Changed paths: M src/plugins/imapsieve/imap-sieve-storage.c Log Message: ----------- imapsieve plugin: Fixed assert failure occurring when used with virtual mailboxes. In that case a transaction (delayed sync) is perfromed outside of the context of an IMAP command. Commit: 676476ffe99f4bdc74a42f914af19cbfeac4fa4b https://github.com/dovecot/pigeonhole/commit/676476ffe99f4bdc74a42f914af19cbfeac4fa4b Author: Stephan Bosch Date: 2016-11-08 (Tue, 08 Nov 2016) Changed paths: M src/plugins/imapsieve/imap-sieve-storage.c Log Message: ----------- imapsieve plugin: Removed spurious debug message. Compare: https://github.com/dovecot/pigeonhole/compare/c6edca374ecc...676476ffe99f From noreply at github.com Tue Nov 8 00:49:37 2016 From: noreply at github.com (GitHub) Date: Mon, 07 Nov 2016 16:49:37 -0800 Subject: [dovecot/pigeonhole] 00651e: imapsieve plugin: Fixed assert failure occurring w... Message-ID: <58212121bc948_736c3fbdf799b13842255@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: 00651e607c6ea9145ec565dcfd2fdf7d04bb32e9 https://github.com/dovecot/pigeonhole/commit/00651e607c6ea9145ec565dcfd2fdf7d04bb32e9 Author: Stephan Bosch Date: 2016-11-08 (Tue, 08 Nov 2016) Changed paths: M src/plugins/imapsieve/imap-sieve-storage.c Log Message: ----------- imapsieve plugin: Fixed assert failure occurring when used with virtual mailboxes. In that case a transaction (delayed sync) is perfromed outside of the context of an IMAP command. Commit: c8b91de8a3c4d8f12be3c5cee245fdb734cc8f3e https://github.com/dovecot/pigeonhole/commit/c8b91de8a3c4d8f12be3c5cee245fdb734cc8f3e Author: Stephan Bosch Date: 2016-11-08 (Tue, 08 Nov 2016) Changed paths: M src/plugins/imapsieve/imap-sieve-storage.c Log Message: ----------- imapsieve plugin: Removed spurious debug message. Compare: https://github.com/dovecot/pigeonhole/compare/be11698e5cf4...c8b91de8a3c4 From noreply at github.com Tue Nov 8 14:30:09 2016 From: noreply at github.com (GitHub) Date: Tue, 08 Nov 2016 06:30:09 -0800 Subject: [dovecot/core] 882479: lib-lda: smtp-client: Renamed "smtp_client" parame... Message-ID: <5821e171b55d9_30553fada749714c6016@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 882479071e07efb17e419a7b663452702009dc31 https://github.com/dovecot/core/commit/882479071e07efb17e419a7b663452702009dc31 Author: Stephan Bosch Date: 2016-11-08 (Tue, 08 Nov 2016) Changed paths: M src/lib-lda/smtp-client.c Log Message: ----------- lib-lda: smtp-client: Renamed "smtp_client" parameters to "client" for consistency. Commit: 1ebd744c8a28a7ee13942e07e2e35fd4079943c4 https://github.com/dovecot/core/commit/1ebd744c8a28a7ee13942e07e2e35fd4079943c4 Author: Stephan Bosch Date: 2016-11-08 (Tue, 08 Nov 2016) Changed paths: M src/lib-lda/smtp-client.c Log Message: ----------- lib-lda: smtp-client: Made boolean fields single-bit. Commit: e7ebceac4ba9e8de67c3447fa713cade3cf52be2 https://github.com/dovecot/core/commit/e7ebceac4ba9e8de67c3447fa713cade3cf52be2 Author: Stephan Bosch Date: 2016-11-08 (Tue, 08 Nov 2016) Changed paths: M src/lib-lda/Makefile.am M src/lib-lda/smtp-client.c Log Message: ----------- lib-lda: smtp-client: Use program-client for invoking sendmail binary. Commit: 1007721ca5bd32b62859d9fabab49473458f7c60 https://github.com/dovecot/core/commit/1007721ca5bd32b62859d9fabab49473458f7c60 Author: Stephan Bosch Date: 2016-11-08 (Tue, 08 Nov 2016) Changed paths: M src/lib-lda/smtp-client.c Log Message: ----------- lib-lda: smtp-client: Replaced temp file handling with iostream-temp. Commit: 6868400686d0726ac2c08d67ed896f2c76e7b219 https://github.com/dovecot/core/commit/6868400686d0726ac2c08d67ed896f2c76e7b219 Author: Aki Tuomi Date: 2016-11-08 (Tue, 08 Nov 2016) Changed paths: M src/lib/Makefile.am A src/lib/sha-common.h M src/lib/sha2.h Log Message: ----------- lib: Move sha context and result size to new header This is to prepare for SHA3 inclusion Commit: 70ee483d320a270993b56c713e350b736edd753f https://github.com/dovecot/core/commit/70ee483d320a270993b56c713e350b736edd753f Author: Aki Tuomi Date: 2016-11-08 (Tue, 08 Nov 2016) Changed paths: M src/lib/Makefile.am M src/lib/hash-method.c A src/lib/sha3.c A src/lib/sha3.h Log Message: ----------- lib: Add SHA3 hashing methods for 256 and 512 bits Commit: 4217dcdec011f674ff30613ba3add9418db07d58 https://github.com/dovecot/core/commit/4217dcdec011f674ff30613ba3add9418db07d58 Author: Aki Tuomi Date: 2016-11-08 (Tue, 08 Nov 2016) Changed paths: M src/lib/test-hash-method.c Log Message: ----------- lib: Add test vectors for message digests Commit: 4af552f09aad93a2ae09efa6024f4ec6bb11f499 https://github.com/dovecot/core/commit/4af552f09aad93a2ae09efa6024f4ec6bb11f499 Author: Aki Tuomi Date: 2016-11-08 (Tue, 08 Nov 2016) Changed paths: M src/director/mail-host.c M src/director/mail-host.h Log Message: ----------- director: const mail_host in mail_host_get_tag Commit: e47dd69b09e4f8efb0ba55b7c3d70a864a534558 https://github.com/dovecot/core/commit/e47dd69b09e4f8efb0ba55b7c3d70a864a534558 Author: Timo Sirainen Date: 2016-11-08 (Tue, 08 Nov 2016) Changed paths: M src/director/notify-connection.c Log Message: ----------- director: Code cleanup - moved code to notify_update_user() Commit: 68d87d8fb8f23ffed031ddfd9c410f3c929777fa https://github.com/dovecot/core/commit/68d87d8fb8f23ffed031ddfd9c410f3c929777fa Author: Timo Sirainen Date: 2016-11-08 (Tue, 08 Nov 2016) Changed paths: M src/director/director-connection.c M src/director/director-request.c M src/director/director.c M src/director/doveadm-connection.c Log Message: ----------- director: Code cleanup - use temporary users variables This will shrink the diff for the following changes. Commit: 1f7f4294207557edf83171642ef62ce4922ffc9d https://github.com/dovecot/core/commit/1f7f4294207557edf83171642ef62ce4922ffc9d Author: Timo Sirainen Date: 2016-11-08 (Tue, 08 Nov 2016) Changed paths: M src/director/director-connection.c M src/director/director.c M src/director/director.h M src/director/doveadm-connection.c Log Message: ----------- director: Code cleanup - added user director_iterate_users_*() wrappers. This will shrink the diff for the following changes. Commit: de92873c366becfaea1554642f89b9169d7955e2 https://github.com/dovecot/core/commit/de92873c366becfaea1554642f89b9169d7955e2 Author: Timo Sirainen Date: 2016-11-08 (Tue, 08 Nov 2016) Changed paths: M src/director/director-request.c M src/director/director.c M src/director/director.h M src/director/doveadm-connection.c M src/director/notify-connection.c M src/director/test-user-directory.c M src/director/user-directory.c M src/director/user-directory.h Log Message: ----------- director: Code cleanup - moved username_hash generation to director.h It's not really user_directory specific. This is especially important in the following patches that add per-tag user_directories. It's also not always known which tag the username_hash refers to, so there can't be different tag-specific username_hash generators. Commit: 33d70dcbb6bf10fd47aa62f29ca8e5f92d116ae4 https://github.com/dovecot/core/commit/33d70dcbb6bf10fd47aa62f29ca8e5f92d116ae4 Author: Aki Tuomi Date: 2016-11-08 (Tue, 08 Nov 2016) Changed paths: M src/director/director-connection.c M src/director/director-request.c M src/director/mail-host.h M src/director/notify-connection.c M src/director/test-user-directory.c M src/director/user-directory.c Log Message: ----------- director: Code cleanup - Reorder includes This is required to enable typedef of user_free_hook Commit: 1a7ed931e58827e3048360be8341f29dfb85837b https://github.com/dovecot/core/commit/1a7ed931e58827e3048360be8341f29dfb85837b Author: Aki Tuomi Date: 2016-11-08 (Tue, 08 Nov 2016) Changed paths: M src/director/user-directory.c M src/director/user-directory.h Log Message: ----------- director: Code cleanup - typedef user_free_hook This is done because user_free_hook needs to be also used in mail_host. If it changes, this reduces the places that need touching. Commit: b44033e45e9f48f8a6e1ac5905234fec5de6d6cc https://github.com/dovecot/core/commit/b44033e45e9f48f8a6e1ac5905234fec5de6d6cc Author: Aki Tuomi Date: 2016-11-08 (Tue, 08 Nov 2016) Changed paths: M src/director/director-connection.c M src/director/director-request.c M src/director/director.c M src/director/director.h M src/director/doveadm-connection.c M src/director/mail-host.c M src/director/mail-host.h M src/director/main.c M src/director/notify-connection.c Log Message: ----------- director: Keep per-tag directory Compare: https://github.com/dovecot/core/compare/9c257ae400f8...b44033e45e9f From noreply at github.com Wed Nov 9 09:30:08 2016 From: noreply at github.com (GitHub) Date: Wed, 09 Nov 2016 01:30:08 -0800 Subject: [dovecot/core] 7bc312: imap: Free box on error Message-ID: <5822eca02fd10_6b663fb1b843f130140869@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 7bc3126bb62589fe373f40aa40132e671e4a363d https://github.com/dovecot/core/commit/7bc3126bb62589fe373f40aa40132e671e4a363d Author: Aki Tuomi Date: 2016-11-08 (Tue, 08 Nov 2016) Changed paths: M src/imap/imap-state.c Log Message: ----------- imap: Free box on error Otherwise the box wil leak as it is not assigned anywhere and can cause crash on imap exit due to stats plugin timeout leak. Commit: 8e2dd12266778e999d474f07c1ec92e14eb0af68 https://github.com/dovecot/core/commit/8e2dd12266778e999d474f07c1ec92e14eb0af68 Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/test-http-client-errors.c Log Message: ----------- lib-http: Added blocking client support to test-http-client-errors. Commit: b284962364068d5e9d60b8b1e98ba61b4b6593ec https://github.com/dovecot/core/commit/b284962364068d5e9d60b8b1e98ba61b4b6593ec Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/http-client-request.c Log Message: ----------- lib-http: client: Fixed assert failure occurring when server returns error status early while client is still sending blocking payload. Commit: 0cdd27506a48e45fadec180a3bd85200dd298874 https://github.com/dovecot/core/commit/0cdd27506a48e45fadec180a3bd85200dd298874 Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/test-http-client-errors.c Log Message: ----------- lib-http: test-http-client-errors: Add test for server that returns error status early while client is still sending blocking payload. Compare: https://github.com/dovecot/core/compare/b44033e45e9f...0cdd27506a48 From noreply at github.com Wed Nov 9 13:00:10 2016 From: noreply at github.com (GitHub) Date: Wed, 09 Nov 2016 05:00:10 -0800 Subject: [dovecot/core] 3d2fe1: director: remove unused variable from doveadm-conn... Message-ID: <58231ddabfec2_27f933fe6e031713892821@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 3d2fe17f23331c311cf5d232e235292e929b47cf https://github.com/dovecot/core/commit/3d2fe17f23331c311cf5d232e235292e929b47cf Author: Martti Rannanj?rvi Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/director/doveadm-connection.c Log Message: ----------- director: remove unused variable from doveadm-connection From noreply at github.com Wed Nov 9 13:00:19 2016 From: noreply at github.com (GitHub) Date: Wed, 09 Nov 2016 05:00:19 -0800 Subject: [dovecot/core] 955fd5: lib: Add function to see if lib is initialized Message-ID: <58231de3ca6bb_47833ff954d8d1401448ab@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 955fd57264bbaf602b4d8ab766d2d148a998c6dc https://github.com/dovecot/core/commit/955fd57264bbaf602b4d8ab766d2d148a998c6dc Author: Aki Tuomi Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib/lib.c M src/lib/lib.h Log Message: ----------- lib: Add function to see if lib is initialized This is needed by test-lib to prevent double init/deinit. Commit: ef43e82fe0d5129e173ddfdeb84de26c574f6287 https://github.com/dovecot/core/commit/ef43e82fe0d5129e173ddfdeb84de26c574f6287 Author: Aki Tuomi Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-test/test-common.c Log Message: ----------- lib-test: Do not init/deinit library twice If lib is initialized, do not initialize or deinitialize library. This is done to allow using master_service in unit tests which also wants to perform lib init and deinit itself. Commit: 1b2adc0b842cda8c0d4f5369ac7f760affb784db https://github.com/dovecot/core/commit/1b2adc0b842cda8c0d4f5369ac7f760affb784db Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-fs/fs-randomfail.c Log Message: ----------- fs-randomfail: "write" probability was reversed. 0 meant 100% while 100 meant 0% Commit: 284a79dc399ce086ff93e7423354420e2ee24bee https://github.com/dovecot/core/commit/284a79dc399ce086ff93e7423354420e2ee24bee Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-storage/index/dbox-multi/mdbox-map.c Log Message: ----------- mdbox: Fix assert-crash caused by race condition with multiple doveadm purges. This fixes a problem where an email that was just written to a new m.* file gets expunged and purged by another process. Fixes: Panic: file mdbox-map.c: line 1359: unreached Commit: 0a28037cd00e7fa5c38d33c328a6af5c3bf59e94 https://github.com/dovecot/core/commit/0a28037cd00e7fa5c38d33c328a6af5c3bf59e94 Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/auth/auth-request.c Log Message: ----------- auth: If uidgid_file doesn't exist, fail the userdb lookup. Commit: 99b7459d18f7aaf0165637b8ccc7619e8e6467bf https://github.com/dovecot/core/commit/99b7459d18f7aaf0165637b8ccc7619e8e6467bf Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/auth/db-passwd-file.c M src/auth/db-passwd-file.h M src/auth/passdb-passwd-file.c M src/auth/userdb-passwd-file.c Log Message: ----------- auth: If passwd-file can't be read, return tempfail (not user unknown). Commit: 02cb95751e5e32491ce70623a24178b1660dbd01 https://github.com/dovecot/core/commit/02cb95751e5e32491ce70623a24178b1660dbd01 Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/imap-login/imap-proxy.c M src/login-common/client-common-auth.c M src/login-common/client-common.h M src/pop3-login/pop3-proxy.c Log Message: ----------- imap/pop3 proxy: If passdb returns proxy_not_trusted, don't send ID/XCLIENT This allows using Dovecot proxying feature towards less trusted servers. Commit: 00b033190d39d5bb1f6cc82fdd48f49662bab967 https://github.com/dovecot/core/commit/00b033190d39d5bb1f6cc82fdd48f49662bab967 Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 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: 7b086b7bc53f02f0b6b474025db11ccc3aaed6ca https://github.com/dovecot/core/commit/7b086b7bc53f02f0b6b474025db11ccc3aaed6ca Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib/test-str.c Log Message: ----------- lib: Added more unit tests to str_*() Commit: 86810bd455e32a6252f63953993825e83c06c3a1 https://github.com/dovecot/core/commit/86810bd455e32a6252f63953993825e83c06c3a1 Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib/str.h M src/lib/test-str.c Log Message: ----------- lib: Fix str_truncate() when string size is already smaller. Previous behavior either added extra NULs to the string or assert-crashed. Commit: 2b7c01f167d4f112ed21a5ccab6109adceefa1aa https://github.com/dovecot/core/commit/2b7c01f167d4f112ed21a5ccab6109adceefa1aa Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/doveadm/doveadm-director.c Log Message: ----------- doveadm director: Fix memory leaks if hostname lookup fails. Commit: b5169b98bb89eb7c9b1c00f30a43ec98cc56a7bc https://github.com/dovecot/core/commit/b5169b98bb89eb7c9b1c00f30a43ec98cc56a7bc Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-storage/index/index-search.c Log Message: ----------- lib-storage: Reverse MAIL_SEARCH_ARG_FLAG_USE_TZ handling. It was being used the wrong way. SEARCH SENTON/BEFORE/AFTER should have checked the times within the mail's timezone, not UTC. Commit: aef7a714d729271b7b644c69abcedf2735825e28 https://github.com/dovecot/core/commit/aef7a714d729271b7b644c69abcedf2735825e28 Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-storage/mail-storage.c Log Message: ----------- lib-storage: Don't enable modseqs on STATUS_HIGHESTMODSEQ. This is requested always by IMAP's SELECT command even when the IMAP client hasn't requested it. We don't want to unnecessarily enable modseqs that use up memory and disk space when they're not really needed. Other callers may also be interested in asking for HIGHESTMODSEQ (which is nowadays actually always available) without enabling full modseq tracking. Commit: fea1942d3723744e3f191e8f9262404b571ac5f8 https://github.com/dovecot/core/commit/fea1942d3723744e3f191e8f9262404b571ac5f8 Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-index/mail-index-sync-ext.c M src/lib-index/mail-index-sync-keywords.c M src/lib-index/mail-index.h Log Message: ----------- lib-index: Don't waste 3 bytes of space in struct mail_index_record. It was always supposed to be used mainly for keywords, but it got broken many years ago and nobody noticed. Commit: b707ace5150d6ccbb8cfa46fe16053e28205f54c https://github.com/dovecot/core/commit/b707ace5150d6ccbb8cfa46fe16053e28205f54c Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/test-http-client-errors.c Log Message: ----------- lib-http: Made test-http-client-errors more reliable. Commit: 17ec7e616644eb627e8eda290742daa8b722a97e https://github.com/dovecot/core/commit/17ec7e616644eb627e8eda290742daa8b722a97e Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/http-client-host.c M src/lib-http/http-client-private.h Log Message: ----------- lib-http: client: Improved handling of hosts with explicit IP address. Commit: d9c3269c80b903e085e01c384060cf5d4c94d87c https://github.com/dovecot/core/commit/d9c3269c80b903e085e01c384060cf5d4c94d87c Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/http-client-connection.c Log Message: ----------- lib-http: client: Set conn->connect_request to NULL immediately in http_client_connection_tunnel_response(). Prevents referring to this completed request in other parts of the code. Commit: 6324e0de0c4ff682695f6430d8927ae9b75fbd71 https://github.com/dovecot/core/commit/6324e0de0c4ff682695f6430d8927ae9b75fbd71 Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/http-client-connection.c Log Message: ----------- lib-http: client: Created http_client_connection_failure() handler. Commit: 2bde4edef34ef345fe5af50b7b50d6bb4c8bb5b7 https://github.com/dovecot/core/commit/2bde4edef34ef345fe5af50b7b50d6bb4c8bb5b7 Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/http-client-connection.c M src/lib-http/http-client-private.h Log Message: ----------- lib-http: client: Added function that checks whether a connection is currently active. Commit: 786336c9d455639c3316d4b70808edb54e401f0b https://github.com/dovecot/core/commit/786336c9d455639c3316d4b70808edb54e401f0b Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/http-client-peer.c M src/lib-http/http-client-private.h Log Message: ----------- lib-http: client: Added function that counts how many connections are active within a peer. Commit: e008bd3700dc8ce82ddc56b1762ef22c77532b98 https://github.com/dovecot/core/commit/e008bd3700dc8ce82ddc56b1762ef22c77532b98 Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/http-client-peer.c Log Message: ----------- lib-http: client: Added debug messages that indicate when a queue is linked/unlinked to a peer. Commit: 7b4439d8af177f4fac9180f9c8ae51fd98da03d3 https://github.com/dovecot/core/commit/7b4439d8af177f4fac9180f9c8ae51fd98da03d3 Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/http-client-peer.c Log Message: ----------- lib-http: client: If a peer object is no longer linked to a queue, don't close it until all connections are inactive. The peer object is canceled, rather than closed. Which means that any newly started and idle connections are closed immediately. Requests may be pending though. This is only relevant when hosts/queues are removed at some point. This is a preparational change for having a maximum lifetime on hosts/queues, in which case this becomes a possibility. Commit: 9f5429bc6dfac74690d407e97cf2f71ded2f422c https://github.com/dovecot/core/commit/9f5429bc6dfac74690d407e97cf2f71ded2f422c Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/http-client-peer.c Log Message: ----------- lib-http: client: Improved logging of connection loss handling in peer. Commit: 0c43fc213abb050ca43f7c97bda391c4d3113664 https://github.com/dovecot/core/commit/0c43fc213abb050ca43f7c97bda391c4d3113664 Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 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-queue.c Log Message: ----------- lib-http: client: Unlink all queues from peer when it is disconnected. Before, queues were only destroyed when the whole client was destroyed. This change and subsequent changes prepare for being able to destroy a queue when it becomes unused. Commit: 390a66a1de6431eb9a32577b6c8edbe44a167238 https://github.com/dovecot/core/commit/390a66a1de6431eb9a32577b6c8edbe44a167238 Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/http-client-private.h M src/lib-http/http-client.h Log Message: ----------- lib-http: client: Cleaned up headers and added some more documentation there. Commit: 5a1f8f057fb1a276ee6a64da132ba37d77b58f4b https://github.com/dovecot/core/commit/5a1f8f057fb1a276ee6a64da132ba37d77b58f4b Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/http-client-request.c M src/lib-http/http-client.h Log Message: ----------- lib-http: client: Added pure attribute to some of the request property functions. Commit: 09d628cf9ba8b96753d1dac7fab62d2878c955c1 https://github.com/dovecot/core/commit/09d628cf9ba8b96753d1dac7fab62d2878c955c1 Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/http-client-request.c M src/lib-http/http-client.h Log Message: ----------- lib-http: client: Added ability to configure a specific proxy for individual requests. This way, a request can be routed to a specific proxy (or origin server). The destination can also be a unix socket. Commit: 70b91e695462876a532966253e79039d4718b612 https://github.com/dovecot/core/commit/70b91e695462876a532966253e79039d4718b612 Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/http-server-connection.c M src/lib-http/http-server-private.h M src/lib-http/http-server.c M src/lib-http/http-server.h Log Message: ----------- lib-http: server: Implemented means to gracefully shut down the server. While shutting down, it will not accept new requests and connections are closed once they become idle. Commit: 3019190af88d3d036fd89cddcaa1b9c46e34bc65 https://github.com/dovecot/core/commit/3019190af88d3d036fd89cddcaa1b9c46e34bc65 Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 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: a2f8d56fa1c2d6237ecc0269539572139b297674 https://github.com/dovecot/core/commit/a2f8d56fa1c2d6237ecc0269539572139b297674 Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib/net.c M src/lib/net.h Log Message: ----------- lib: Created net_set_tcp_nodelay(), which enables the TCP_NODELAY socket option. This disables the TCP Nagle algorithm. Commit: 3a939e6c0985a7351e889a6398eee49d42e691c5 https://github.com/dovecot/core/commit/3a939e6c0985a7351e889a6398eee49d42e691c5 Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/http-client-connection.c M src/lib-http/http-server-connection.c Log Message: ----------- lib-http: client/server: Enable the TCP_NODELAY option for all connections. This disables the TCP Nagle algorithm. With the Nagle algorithm enabled, TCP waits a little to accumulate more data in a small segment before it is sent. For transfer of large continuous payloads, this is not useful and even harmful. If the final remaining bit of the payload is small, the TCP layer will wait for a significant amount of time at the end of the payload. For many sequential transfers, this amounts to much waiting time. This is particularly evident in the test-http-payload test suite tool. Setting TCP_NODELAY decreases its run time from up to 20 minutes to about half a minute my system. Commit: 3db76db2380fe28a83fc2788de84ee0daa52aa22 https://github.com/dovecot/core/commit/3db76db2380fe28a83fc2788de84ee0daa52aa22 Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/http-client-peer.c Log Message: ----------- lib-http: client: Created http_client_peer_drop() function that closes a peer object gracefully. It checks whether any connections are still present. It checks whether a backoff timer is still active. This change and subsequent changes prepare for being able to destroy a queue when it becomes unused. All peers linked to such a queue are unlinked and dropped when inactive and unlinked. Commit: 6d7bf6d362f79f08a33f72d7e796bc85932d5525 https://github.com/dovecot/core/commit/6d7bf6d362f79f08a33f72d7e796bc85932d5525 Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/http-client-private.h M src/lib-http/http-client-queue.c Log Message: ----------- lib-http: client: Link peers to queue earlier: during connection attempts. This makes sure that queues keep track of which peers are doing stuff on its behalf. This is important to be able to manage the active peers when a new host name lookup was performed; if a peer is no longer listed in the returned IPs it should be dropped. Commit: 6d39f7baff80710fc6128e245ab8d07a538477a3 https://github.com/dovecot/core/commit/6d39f7baff80710fc6128e245ab8d07a538477a3 Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/http-client-queue.c Log Message: ----------- lib-http: client: Create queue->pending_peers array from the beginning. This simplifies the code, since the pending peers array is always used. Commit: d9fee0b80da4f292edb09e81485fe65dc4ee1fec https://github.com/dovecot/core/commit/d9fee0b80da4f292edb09e81485fe65dc4ee1fec Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/http-client-private.h M src/lib-http/http-client-queue.c Log Message: ----------- lib-http: client: Added http_client_queue_requests_active(). It counts how many active requests a queue has. Commit: 2ac61a7033467e6966c59704699c7c6610222b45 https://github.com/dovecot/core/commit/2ac61a7033467e6966c59704699c7c6610222b45 Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: 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.c M src/lib-http/http-client.h Log Message: ----------- lib-http: client: Implemented host name lookup TTL. Host name lookups will now be performed again when the results have expired. Without access to TTL information from DNS lookups, all lookups will use the same default TTL for now. Commit: e9b4a8854eb7387b9f54652da63056d5609b2054 https://github.com/dovecot/core/commit/e9b4a8854eb7387b9f54652da63056d5609b2054 Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/http-client-host.c M src/lib-http/http-client-private.h M src/lib-http/http-client-queue.c Log Message: ----------- lib-http: client: Destroy host and associated queue objects after no more requests remain and an idle timeout expires. Commit: c58821d5adffec80b8bf6ecff25483fdf0f90751 https://github.com/dovecot/core/commit/c58821d5adffec80b8bf6ecff25483fdf0f90751 Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/test-http-client-errors.c Log Message: ----------- lib-http: Added DNS-related tests to test-http-client-errors. Commit: 4d150ce542729a647fd306ce9c5bd8c32eba74f6 https://github.com/dovecot/core/commit/4d150ce542729a647fd306ce9c5bd8c32eba74f6 Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/test-http-client-errors.c Log Message: ----------- lib-http: Fixed potential segfault problem in test-http-client-errors. Found by Coverity. Commit: 7421c8ededfff2791500f23ac76e07d451e500dd https://github.com/dovecot/core/commit/7421c8ededfff2791500f23ac76e07d451e500dd Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/test-http-client-errors.c Log Message: ----------- lib-http: Added blocking client support to test-http-client-errors. Commit: 78d15580ea05eef62b05a3a9e1f5be49b6288616 https://github.com/dovecot/core/commit/78d15580ea05eef62b05a3a9e1f5be49b6288616 Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/http-client-request.c Log Message: ----------- lib-http: client: Fixed assert failure occurring when server returns error status early while client is still sending blocking payload. Commit: b0614487f719d4f86f72238d0b4508acafe2dd41 https://github.com/dovecot/core/commit/b0614487f719d4f86f72238d0b4508acafe2dd41 Author: Stephan Bosch Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-http/test-http-client-errors.c Log Message: ----------- lib-http: test-http-client-errors: Add test for server that returns error status early while client is still sending blocking payload. Commit: 765dd991c4816965fc7722e995083610f79e5eae https://github.com/dovecot/core/commit/765dd991c4816965fc7722e995083610f79e5eae Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib/ioloop-notify-kqueue.c Log Message: ----------- lib: ioloop-notify-kqueue wasn't storing source filename. Commit: a5fd19666b9d997fa76e63936af0a0a1f6f35bd9 https://github.com/dovecot/core/commit/a5fd19666b9d997fa76e63936af0a0a1f6f35bd9 Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/plugins/fts/fts-api.c Log Message: ----------- fts: Fix error message when syncing FTS root mailbox fails. Commit: 36447e7ead047ae6a6a2b6794b534bf5fd8f3914 https://github.com/dovecot/core/commit/36447e7ead047ae6a6a2b6794b534bf5fd8f3914 Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/auth/passdb-static.c Log Message: ----------- auth: Make static analyzer happier. Don't complain about uninitialized static_password being sent to passdb_handle_credentials(). It could only happen for failures, and passdb_handle_credentials() wouldn't have used the password then. Commit: 56e33660d8ffde6da52baa8c10f4eb22c1170009 https://github.com/dovecot/core/commit/56e33660d8ffde6da52baa8c10f4eb22c1170009 Author: Aki Tuomi Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib/buffer.c M src/lib/buffer.h Log Message: ----------- lib: Add buffer truncate Commit: 01557bc006d52f6ea72f8d10b6f3e3fc942559cb https://github.com/dovecot/core/commit/01557bc006d52f6ea72f8d10b6f3e3fc942559cb Author: Aki Tuomi Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib/var-expand.c Log Message: ----------- lib: Do not consume {} inside %{} Commit: 51fb86474b6882bdbcdf1dffd95d669c7cb64094 https://github.com/dovecot/core/commit/51fb86474b6882bdbcdf1dffd95d669c7cb64094 Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 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: 45aeec4300de8757674eeb77c4f8d9c1b6cc6622 https://github.com/dovecot/core/commit/45aeec4300de8757674eeb77c4f8d9c1b6cc6622 Author: Aki Tuomi Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib/test-buffer.c Log Message: ----------- lib: Add unit test for buffer truncate Commit: d845c5c6d4a4b736eff6f4c5e39e84a1f2db7eee https://github.com/dovecot/core/commit/d845c5c6d4a4b736eff6f4c5e39e84a1f2db7eee Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib/var-expand.c Log Message: ----------- lib: var_expand() code cleanup - Moved short %v expansion to its own function. Commit: f7f66f6e5c5f102217399ef73f720aab92bdbf2f https://github.com/dovecot/core/commit/f7f66f6e5c5f102217399ef73f720aab92bdbf2f Author: Aki Tuomi Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib/var-expand.c Log Message: ----------- lib: Add generic hashing support to var-expand Enables use of %{H;rounds=,truncate=,salt=:field} syntax in any variable expansion. H is any supported hash algorithm or pkcs5 for PKCS#5 PBKDF2 using SHA256. Commit: cd5d16a11c72e248afdd73da9b97c10c62406333 https://github.com/dovecot/core/commit/cd5d16a11c72e248afdd73da9b97c10c62406333 Author: Aki Tuomi Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib/test-var-expand.c Log Message: ----------- lib: Add tests for hashed var-expand Commit: e086fc365852b3cf4e6dc1da0243d1a6cd7bd47a https://github.com/dovecot/core/commit/e086fc365852b3cf4e6dc1da0243d1a6cd7bd47a Author: Aki Tuomi Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/auth/auth-policy.c Log Message: ----------- auth: Use buffer_truncate_rshift_bits Commit: 48a6ada2f3ff44a90b1f3c24a0d2ba23987404f4 https://github.com/dovecot/core/commit/48a6ada2f3ff44a90b1f3c24a0d2ba23987404f4 Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib/array-decl.h Log Message: ----------- lib: Define ARRAY_TYPE for uint8_t, uint16_t and uint64_t. Commit: 25609df5163e4d93f51e30b766248f15ec4a5d52 https://github.com/dovecot/core/commit/25609df5163e4d93f51e30b766248f15ec4a5d52 Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-storage/index/index-search.c Log Message: ----------- lib-storage: Reverse MAIL_SEARCH_ARG_FLAG_USE_TZ handling again. It wasn't really wrong, it was just confusing. And doveadm's tz-handling was wrong. Reverses 059e4ac419224598349704b74cb9f6b49278df46 Commit: f33ead8f667fdc27d25c2b15458d35b74e4038e9 https://github.com/dovecot/core/commit/f33ead8f667fdc27d25c2b15458d35b74e4038e9 Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/doveadm/doveadm-dsync.c M src/lib-storage/mail-search-register-human.c M src/lib-storage/mail-storage.c M src/lib-storage/mail-storage.h Log Message: ----------- lib-storage: Fix doveadm search query parsing to use timezones correctly. When using a date string, e.g. "senton 25-Mar-2007" it should work the same way as IMAP does and show all mails whose sent date is on 25th, ignoring whatever the timezone is in the Date header (or in case of received/saved-date it would be using the timestamps in server's local timezone, again just like IMAP). When search with an exact UNIX timestamp or a time interval (e.g. "3 days"), it should be using UTC times for doing all comparisons. Commit: b388982a5f93dbe9f86b75bbb83ee77ed025258f https://github.com/dovecot/core/commit/b388982a5f93dbe9f86b75bbb83ee77ed025258f Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib-storage/mail-search.h Log Message: ----------- lib-storage: Updated MAIL_SEARCH_ARG_FLAG_USE_TZ comment. Commit: d29f070a5431f6fcd75772151a10cb052295c79f https://github.com/dovecot/core/commit/d29f070a5431f6fcd75772151a10cb052295c79f Author: Aki Tuomi Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib/Makefile.am A src/lib/sha-common.h M src/lib/sha2.h Log Message: ----------- lib: Move sha context and result size to new header This is to prepare for SHA3 inclusion Commit: fb21560dbf4130ee523292321949c0aa16a580fd https://github.com/dovecot/core/commit/fb21560dbf4130ee523292321949c0aa16a580fd Author: Aki Tuomi Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib/Makefile.am M src/lib/hash-method.c A src/lib/sha3.c A src/lib/sha3.h Log Message: ----------- lib: Add SHA3 hashing methods for 256 and 512 bits Commit: 6a7943d59f21484c19fed40894180e25f6c7adc5 https://github.com/dovecot/core/commit/6a7943d59f21484c19fed40894180e25f6c7adc5 Author: Aki Tuomi Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/lib/test-hash-method.c Log Message: ----------- lib: Add test vectors for message digests Commit: 6588dc3122ce42f7cd87d591895ce2bfe820385f https://github.com/dovecot/core/commit/6588dc3122ce42f7cd87d591895ce2bfe820385f Author: Aki Tuomi Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/director/mail-host.c M src/director/mail-host.h Log Message: ----------- director: const mail_host in mail_host_get_tag Commit: 7bf427ca4bf12f0f00fd4dc7237d261a1c524e5d https://github.com/dovecot/core/commit/7bf427ca4bf12f0f00fd4dc7237d261a1c524e5d Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/director/notify-connection.c Log Message: ----------- director: Code cleanup - moved code to notify_update_user() Commit: a433b8b1f81354026de238ac8ee69c561423c302 https://github.com/dovecot/core/commit/a433b8b1f81354026de238ac8ee69c561423c302 Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/director/director-connection.c M src/director/director-request.c M src/director/director.c M src/director/doveadm-connection.c Log Message: ----------- director: Code cleanup - use temporary users variables This will shrink the diff for the following changes. Commit: dccfab90f6406b5a6a4fc6ad7377eab3352fa745 https://github.com/dovecot/core/commit/dccfab90f6406b5a6a4fc6ad7377eab3352fa745 Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/director/director-connection.c M src/director/director.c M src/director/director.h M src/director/doveadm-connection.c Log Message: ----------- director: Code cleanup - added user director_iterate_users_*() wrappers. This will shrink the diff for the following changes. Commit: e9a9d396a459c72aeacb1638667e3551596515b1 https://github.com/dovecot/core/commit/e9a9d396a459c72aeacb1638667e3551596515b1 Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/director/director-request.c M src/director/director.c M src/director/director.h M src/director/doveadm-connection.c M src/director/notify-connection.c M src/director/test-user-directory.c M src/director/user-directory.c M src/director/user-directory.h Log Message: ----------- director: Code cleanup - moved username_hash generation to director.h It's not really user_directory specific. This is especially important in the following patches that add per-tag user_directories. It's also not always known which tag the username_hash refers to, so there can't be different tag-specific username_hash generators. Commit: 099649348e7b2fec736e857ed4271f3d1ad109a9 https://github.com/dovecot/core/commit/099649348e7b2fec736e857ed4271f3d1ad109a9 Author: Aki Tuomi Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/director/director-connection.c M src/director/director-request.c M src/director/mail-host.h M src/director/notify-connection.c M src/director/test-user-directory.c M src/director/user-directory.c Log Message: ----------- director: Code cleanup - Reorder includes This is required to enable typedef of user_free_hook Commit: 789e6eb9c7724a6075e762c800ca3a9c666a8a4c https://github.com/dovecot/core/commit/789e6eb9c7724a6075e762c800ca3a9c666a8a4c Author: Aki Tuomi Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/director/user-directory.c M src/director/user-directory.h Log Message: ----------- director: Code cleanup - typedef user_free_hook This is done because user_free_hook needs to be also used in mail_host. If it changes, this reduces the places that need touching. Commit: ea6c665dd97d234a35c58ad4e7cfb82ed7e7b46f https://github.com/dovecot/core/commit/ea6c665dd97d234a35c58ad4e7cfb82ed7e7b46f Author: Aki Tuomi Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/director/director-connection.c M src/director/director-request.c M src/director/director.c M src/director/director.h M src/director/doveadm-connection.c M src/director/mail-host.c M src/director/mail-host.h M src/director/main.c M src/director/notify-connection.c Log Message: ----------- director: Keep per-tag directory Commit: 7dc4e79d850b1ba4b5056f198921dd773fa77afb https://github.com/dovecot/core/commit/7dc4e79d850b1ba4b5056f198921dd773fa77afb Author: Aki Tuomi Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/imap/imap-state.c Log Message: ----------- imap: Free box on error Otherwise the box wil leak as it is not assigned anywhere and can cause crash on imap exit due to stats plugin timeout leak. Compare: https://github.com/dovecot/core/compare/42f5200012b8...7dc4e79d850b From noreply at github.com Wed Nov 9 13:30:09 2016 From: noreply at github.com (GitHub) Date: Wed, 09 Nov 2016 05:30:09 -0800 Subject: [dovecot/core] 078d76: director: Fix crash when receiving USER-MOVE for n... Message-ID: <582324e1c5840_1d283fb23b4cd13c6243b@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 078d7671f59bfcedc010b0b9192639c7d87f3e58 https://github.com/dovecot/core/commit/078d7671f59bfcedc010b0b9192639c7d87f3e58 Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/director/director.c Log Message: ----------- director: Fix crash when receiving USER-MOVE for nonexistent user. From noreply at github.com Wed Nov 9 13:30:21 2016 From: noreply at github.com (GitHub) Date: Wed, 09 Nov 2016 05:30:21 -0800 Subject: [dovecot/core] b1818b: director: Fix crash when receiving USER-MOVE for n... Message-ID: <582324edb86fd_6ac33faa6989512c11872@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: b1818b930fbbb94fd5a725a552062cb837304840 https://github.com/dovecot/core/commit/b1818b930fbbb94fd5a725a552062cb837304840 Author: Timo Sirainen Date: 2016-11-09 (Wed, 09 Nov 2016) Changed paths: M src/director/director.c Log Message: ----------- director: Fix crash when receiving USER-MOVE for nonexistent user. From noreply at github.com Fri Nov 11 12:00:08 2016 From: noreply at github.com (GitHub) Date: Fri, 11 Nov 2016 04:00:08 -0800 Subject: [dovecot/core] ecd54a: sdbox: Fix crash on mailbox_sync*() when mailbox a... Message-ID: <5825b2c84f5fb_24683f8a4414313442816@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: ecd54acb3f5be767cfe3e4a759f3edeb24abf6d3 https://github.com/dovecot/core/commit/ecd54acb3f5be767cfe3e4a759f3edeb24abf6d3 Author: Timo Sirainen Date: 2016-11-10 (Thu, 10 Nov 2016) Changed paths: M src/lib-storage/index/dbox-single/sdbox-sync.c Log Message: ----------- sdbox: Fix crash on mailbox_sync*() when mailbox auto-open fails. Commit: 321750ab6e6d0b003a4afefbb67b994809725cb4 https://github.com/dovecot/core/commit/321750ab6e6d0b003a4afefbb67b994809725cb4 Author: Timo Sirainen Date: 2016-11-11 (Fri, 11 Nov 2016) Changed paths: M src/director/mail-host.c Log Message: ----------- director: Don't access freed memory during deinit Compare: https://github.com/dovecot/core/compare/078d7671f59b...321750ab6e6d From noreply at github.com Fri Nov 11 12:00:11 2016 From: noreply at github.com (GitHub) Date: Fri, 11 Nov 2016 04:00:11 -0800 Subject: [dovecot/core] da8e73: director: Don't access freed memory during deinit Message-ID: <5825b2cbf3047_70d03fc61683b140122282@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: da8e733d72bf4a65ed7e1109cbb848c03f001c12 https://github.com/dovecot/core/commit/da8e733d72bf4a65ed7e1109cbb848c03f001c12 Author: Timo Sirainen Date: 2016-11-11 (Fri, 11 Nov 2016) Changed paths: M src/director/mail-host.c Log Message: ----------- director: Don't access freed memory during deinit From noreply at github.com Fri Nov 11 12:30:09 2016 From: noreply at github.com (GitHub) Date: Fri, 11 Nov 2016 04:30:09 -0800 Subject: [dovecot/core] ea9026: lib-dict: Fix infinite loop when row limit is reac... Message-ID: <5825b9d156445_68173ff82c59b140147b1@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: ea90267d457a03b5b1e0e2a5111949609edb4cb3 https://github.com/dovecot/core/commit/ea90267d457a03b5b1e0e2a5111949609edb4cb3 Author: Timo Sirainen Date: 2016-11-11 (Fri, 11 Nov 2016) Changed paths: M src/lib-dict/dict.c Log Message: ----------- lib-dict: Fix infinite loop when row limit is reached. If dict_iterate_has_more() keeps returning TRUE, the caller keeps calling dict_iterate(). Commit: 980b0dbdcbeed1a15fdbf4ec1d00352d71a66c5d https://github.com/dovecot/core/commit/980b0dbdcbeed1a15fdbf4ec1d00352d71a66c5d Author: Timo Sirainen Date: 2016-11-11 (Fri, 11 Nov 2016) Changed paths: M src/lib-dict/dict-client.c Log Message: ----------- dict-client: Code cleanup - remember all iteration flags Commit: 8c0e4118f21c30455d4911fabc4bf50bfaeca712 https://github.com/dovecot/core/commit/8c0e4118f21c30455d4911fabc4bf50bfaeca712 Author: Timo Sirainen Date: 2016-11-11 (Fri, 11 Nov 2016) Changed paths: M src/dict/dict-commands.c M src/lib-dict/dict-client.c Log Message: ----------- dict-client: Forward dict_iterate_set_limit() to dict server Compare: https://github.com/dovecot/core/compare/321750ab6e6d...8c0e4118f21c From noreply at github.com Fri Nov 11 15:30:10 2016 From: noreply at github.com (GitHub) Date: Fri, 11 Nov 2016 07:30:10 -0800 Subject: [dovecot/core] 6a4bfb: lib-index: Improve error messages when transaction... Message-ID: <5825e402200e4_2c8d3faf90bf514c10463e@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 6a4bfb2b0bb9f53fb1d4e705bf3948ef4d1ecccb https://github.com/dovecot/core/commit/6a4bfb2b0bb9f53fb1d4e705bf3948ef4d1ecccb Author: Timo Sirainen Date: 2016-11-11 (Fri, 11 Nov 2016) Changed paths: M src/lib-index/mail-index-map-read.c M src/lib-index/mail-index-private.h M src/lib-index/mail-index-sync-private.h M src/lib-index/mail-index-sync-update.c M src/lib-index/mail-index.c M src/lib-index/mail-transaction-log-view.c Log Message: ----------- lib-index: Improve error messages when transaction log is unexpectedly lost From noreply at github.com Fri Nov 11 15:30:12 2016 From: noreply at github.com (GitHub) Date: Fri, 11 Nov 2016 07:30:12 -0800 Subject: [dovecot/core] 739c4c: sdbox: Fix crash on mailbox_sync*() when mailbox a... Message-ID: <5825e40468ef0_2b3d3f835db8313c1308ad@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 739c4c06cd9d465831976034cdab1de8558f2027 https://github.com/dovecot/core/commit/739c4c06cd9d465831976034cdab1de8558f2027 Author: Timo Sirainen Date: 2016-11-11 (Fri, 11 Nov 2016) Changed paths: M src/lib-storage/index/dbox-single/sdbox-sync.c Log Message: ----------- sdbox: Fix crash on mailbox_sync*() when mailbox auto-open fails. Commit: 0640d222b735d6ad13408b824ebcabf6b8d23f76 https://github.com/dovecot/core/commit/0640d222b735d6ad13408b824ebcabf6b8d23f76 Author: Timo Sirainen Date: 2016-11-11 (Fri, 11 Nov 2016) Changed paths: M src/lib-dict/dict.c Log Message: ----------- lib-dict: Fix infinite loop when row limit is reached. If dict_iterate_has_more() keeps returning TRUE, the caller keeps calling dict_iterate(). Commit: db29579ead4dd82c1186fa5e37fd143aeb11a333 https://github.com/dovecot/core/commit/db29579ead4dd82c1186fa5e37fd143aeb11a333 Author: Timo Sirainen Date: 2016-11-11 (Fri, 11 Nov 2016) Changed paths: M src/lib-dict/dict-client.c Log Message: ----------- dict-client: Code cleanup - remember all iteration flags Commit: 2b41fba0f869941246fdb0a81be6e0fe54123916 https://github.com/dovecot/core/commit/2b41fba0f869941246fdb0a81be6e0fe54123916 Author: Timo Sirainen Date: 2016-11-11 (Fri, 11 Nov 2016) Changed paths: M src/dict/dict-commands.c M src/lib-dict/dict-client.c Log Message: ----------- dict-client: Forward dict_iterate_set_limit() to dict server Commit: 22a30b5dffac37a0bb92a7eead2898bca3649365 https://github.com/dovecot/core/commit/22a30b5dffac37a0bb92a7eead2898bca3649365 Author: Timo Sirainen Date: 2016-11-11 (Fri, 11 Nov 2016) Changed paths: M src/lib-index/mail-index-map-read.c M src/lib-index/mail-index-private.h M src/lib-index/mail-index-sync-private.h M src/lib-index/mail-index-sync-update.c M src/lib-index/mail-index.c M src/lib-index/mail-transaction-log-view.c Log Message: ----------- lib-index: Improve error messages when transaction log is unexpectedly lost Compare: https://github.com/dovecot/core/compare/da8e733d72bf...22a30b5dffac From noreply at github.com Sun Nov 13 14:17:37 2016 From: noreply at github.com (GitHub) Date: Sun, 13 Nov 2016 06:17:37 -0800 Subject: [dovecot/pigeonhole] d5afd7: lib-sieve: file storage: Fixed indent in sieve_sto... Message-ID: <582876016d2ed_70d03fc61683b1401428c@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/pigeonhole Commit: d5afd719f8ad645b5e9cde3cbd0e314809a93e80 https://github.com/dovecot/pigeonhole/commit/d5afd719f8ad645b5e9cde3cbd0e314809a93e80 Author: Stephan Bosch Date: 2016-11-13 (Sun, 13 Nov 2016) Changed paths: M src/lib-sieve/storage/file/sieve-file-storage.c Log Message: ----------- lib-sieve: file storage: Fixed indent in sieve_storage_get_relative_link_path(). Apparently, this causes GCC warnings. Commit: c90b7fdc1cff0428d5ddbb91835985e69603f0c7 https://github.com/dovecot/pigeonhole/commit/c90b7fdc1cff0428d5ddbb91835985e69603f0c7 Author: Stephan Bosch Date: 2016-11-13 (Sun, 13 Nov 2016) Changed paths: M src/managesieve/managesieve-client.c Log Message: ----------- managesieve: Fixed indent in client_output(). Apparently, this causes GCC warnings. Compare: https://github.com/dovecot/pigeonhole/compare/c8b91de8a3c4...c90b7fdc1cff From noreply at github.com Sun Nov 13 14:18:46 2016 From: noreply at github.com (GitHub) Date: Sun, 13 Nov 2016 06:18:46 -0800 Subject: [dovecot/pigeonhole] aa835e: lib-sieve: file storage: Fixed indent in sieve_sto... Message-ID: <582876462928_95203f9d1c1f713097327@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master-0.4 Home: https://github.com/dovecot/pigeonhole Commit: aa835eb717f777d921ee1013e9c09338b76a2d4c https://github.com/dovecot/pigeonhole/commit/aa835eb717f777d921ee1013e9c09338b76a2d4c Author: Stephan Bosch Date: 2016-11-13 (Sun, 13 Nov 2016) Changed paths: M src/lib-sieve/storage/file/sieve-file-storage.c Log Message: ----------- lib-sieve: file storage: Fixed indent in sieve_storage_get_relative_link_path(). Apparently, this causes GCC warnings. Commit: 53a358279a0f5f0182f541589d10ed13459f8e7e https://github.com/dovecot/pigeonhole/commit/53a358279a0f5f0182f541589d10ed13459f8e7e Author: Stephan Bosch Date: 2016-11-13 (Sun, 13 Nov 2016) Changed paths: M src/managesieve/managesieve-client.c Log Message: ----------- managesieve: Fixed indent in client_output(). Apparently, this causes GCC warnings. Compare: https://github.com/dovecot/pigeonhole/compare/676476ffe99f...53a358279a0f From noreply at github.com Mon Nov 14 13:00:08 2016 From: noreply at github.com (GitHub) Date: Mon, 14 Nov 2016 05:00:08 -0800 Subject: [dovecot/core] 155e32: dict-client: Dict server timeout may have occurred... Message-ID: <5829b558cd9e9_dab3fa4abce91381034b1@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 155e321dd4de5796e2f81a7d336b2df09b5603a0 https://github.com/dovecot/core/commit/155e321dd4de5796e2f81a7d336b2df09b5603a0 Author: Timo Sirainen Date: 2016-11-14 (Mon, 14 Nov 2016) Changed paths: M src/lib-dict/dict-client.c Log Message: ----------- dict-client: Dict server timeout may have occurred too early. Commit: c1814529bdc9f1468b4fe75beb080991ee3feea0 https://github.com/dovecot/core/commit/c1814529bdc9f1468b4fe75beb080991ee3feea0 Author: Timo Sirainen Date: 2016-11-14 (Mon, 14 Nov 2016) Changed paths: M src/lib-dict/dict-client.c Log Message: ----------- dict-client: Code cleanup to timeout handling. No functional changes. Commit: 87e7fc1f2804c6f2ae43952def1f30b8cdf00826 https://github.com/dovecot/core/commit/87e7fc1f2804c6f2ae43952def1f30b8cdf00826 Author: Timo Sirainen Date: 2016-11-14 (Mon, 14 Nov 2016) Changed paths: M src/lib-dict/dict-client.c Log Message: ----------- dict-client: When dict-server times out, log ioloop/lock waits. Compare: https://github.com/dovecot/core/compare/6a4bfb2b0bb9...87e7fc1f2804 From noreply at github.com Mon Nov 14 13:30:10 2016 From: noreply at github.com (GitHub) Date: Mon, 14 Nov 2016 05:30:10 -0800 Subject: [dovecot/core] f207fb: lib-program-client: Do not call callback when dest... Message-ID: <5829bc6247cd4_2c213f9826fe91306704c@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: f207fb0f2fd3113aa9a9f7911fb12d94dce19dff https://github.com/dovecot/core/commit/f207fb0f2fd3113aa9a9f7911fb12d94dce19dff Author: Aki Tuomi Date: 2016-11-14 (Mon, 14 Nov 2016) Changed paths: M src/lib-program-client/program-client-private.h M src/lib-program-client/program-client.c Log Message: ----------- lib-program-client: Do not call callback when destroying Commit: fa3fc0b4c821874ccc56a1512604f661b411d3a4 https://github.com/dovecot/core/commit/fa3fc0b4c821874ccc56a1512604f661b411d3a4 Author: Aki Tuomi Date: 2016-11-14 (Mon, 14 Nov 2016) Changed paths: M src/plugins/quota/Makefile.am M src/plugins/quota/quota.c Log Message: ----------- quota: Use program-client for quota-warning scripts Compare: https://github.com/dovecot/core/compare/87e7fc1f2804...fa3fc0b4c821 From noreply at github.com Mon Nov 14 15:00:09 2016 From: noreply at github.com (GitHub) Date: Mon, 14 Nov 2016 07:00:09 -0800 Subject: [dovecot/core] a85c62: lib: Mark istream with eof=TRUE on all errors Message-ID: <5829d179a98ac_5aba3ff1a3139140587fe@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: a85c629c5d75a5fd9489ba14d5d4f54f3cddd591 https://github.com/dovecot/core/commit/a85c629c5d75a5fd9489ba14d5d4f54f3cddd591 Author: Aki Tuomi Date: 2016-11-14 (Mon, 14 Nov 2016) Changed paths: M src/lib/istream.c Log Message: ----------- lib: Mark istream with eof=TRUE on all errors Previously only i_stream_read() did this, but i_stream_seek(), _stat(), _get_size() and _create() didn't. This caused assert-crashes on error conditions in code which assumed that when stream_errno != 0, eof==TRUE. From noreply at github.com Mon Nov 14 18:00:11 2016 From: noreply at github.com (GitHub) Date: Mon, 14 Nov 2016 10:00:11 -0800 Subject: [dovecot/core] 08923d: lib-master: Make sure stdin/stdout/stderr fds are ... Message-ID: <5829fbab78667_38763f9a314cd14090351@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 08923d2c956ece3dc604d5842ba152c2bdb11fb9 https://github.com/dovecot/core/commit/08923d2c956ece3dc604d5842ba152c2bdb11fb9 Author: Timo Sirainen Date: 2016-11-14 (Mon, 14 Nov 2016) Changed paths: M src/lib-master/master-service.c Log Message: ----------- lib-master: Make sure stdin/stdout/stderr fds are open. We'll just open /dev/null for them if they don't already exist. Commit: 5a0b58bfcf65991a5b99cc84438815601d56377c https://github.com/dovecot/core/commit/5a0b58bfcf65991a5b99cc84438815601d56377c Author: Timo Sirainen Date: 2016-11-14 (Mon, 14 Nov 2016) Changed paths: M src/master/main.c Log Message: ----------- master: Remove redundant check to guarantee stdin/stdout/stderr fd existence. The previous method also wasn't correct, since it was setting close-on-exec flag for the fds. Although this didn't normally make any difference, since stdin & stdout was explicitly dup2()ed to /dev/null and for all except the log process stderr was also being dup2()ed. Commit: 8638c3723e3d4dfe921d0f8a1fc844a9ed79d5d3 https://github.com/dovecot/core/commit/8638c3723e3d4dfe921d0f8a1fc844a9ed79d5d3 Author: Timo Sirainen Date: 2016-11-14 (Mon, 14 Nov 2016) Changed paths: M src/lib/macros.h Log Message: ----------- lib: Assert-crash in i_close_fd() if fd == 0 lib-master now guarantees that fd==0 doesn't normally happen. Compare: https://github.com/dovecot/core/compare/a85c629c5d75...8638c3723e3d From noreply at github.com Tue Nov 15 09:30:08 2016 From: noreply at github.com (GitHub) Date: Tue, 15 Nov 2016 01:30:08 -0800 Subject: [dovecot/core] ece150: doveadm: Fix error reporting for doveadm-dump-dcry... Message-ID: <582ad5a0731ee_5db43fcb0204f13449288@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: ece150f1bc805326289ea999366345515060a177 https://github.com/dovecot/core/commit/ece150f1bc805326289ea999366345515060a177 Author: Aki Tuomi Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/doveadm/doveadm-dump-dcrypt-file.c M src/doveadm/doveadm-dump-dcrypt-key.c Log Message: ----------- doveadm: Fix error reporting for doveadm-dump-dcrypt From noreply at github.com Tue Nov 15 10:00:08 2016 From: noreply at github.com (GitHub) Date: Tue, 15 Nov 2016 02:00:08 -0800 Subject: [dovecot/core] 727d69: lib: Add net_ipport2str Message-ID: <582adca8f165f_15c013fcebd7a514017392@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 727d691bba4385eb725204f40dc5ecdaf42da8e9 https://github.com/dovecot/core/commit/727d691bba4385eb725204f40dc5ecdaf42da8e9 Author: Aki Tuomi Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib/net.c M src/lib/net.h Log Message: ----------- lib: Add net_ipport2str Converts struct ip_addr + port into either 127.0.0.1:6000 or [::1]:6000. Commit: 1b6f7fc2c404852c0f23ca4a0bf3a4f6186e7d5b https://github.com/dovecot/core/commit/1b6f7fc2c404852c0f23ca4a0bf3a4f6186e7d5b Author: Aki Tuomi Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib-program-client/program-client-remote.c Log Message: ----------- lib-program-client: Use net_ipport2str Commit: 4d615d2599ee858fa0a9cc4043883b1be1e058a4 https://github.com/dovecot/core/commit/4d615d2599ee858fa0a9cc4043883b1be1e058a4 Author: Aki Tuomi Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/stats/Makefile.am M src/stats/mail-stats.c M src/stats/mail-stats.h A src/stats/stats-carbon.c A src/stats/stats-carbon.h M src/stats/stats-settings.c M src/stats/stats-settings.h Log Message: ----------- stats: Add support for carbon-server Allows admin to specify stats_carbon_server=ip:port. Stats are delivered in "key value" format to specified port. Can be received with e.g. metronome. Commit: 00b10a9ca50bca190e72a19aa6571ea612701d82 https://github.com/dovecot/core/commit/00b10a9ca50bca190e72a19aa6571ea612701d82 Author: Aki Tuomi Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/doveadm/doveadm-mail-altmove.c M src/doveadm/doveadm-mail-copymove.c M src/doveadm/doveadm-mail-deduplicate.c M src/doveadm/doveadm-mail-expunge.c M src/doveadm/doveadm-mail-fetch.c M src/doveadm/doveadm-mail-flags.c M src/doveadm/doveadm-mail-import.c M src/doveadm/doveadm-mail-iter.c M src/doveadm/doveadm-mail-iter.h M src/doveadm/doveadm-mail-search.c Log Message: ----------- doveadm: Add open read-only parameter to mailbox iterator This allows iterating mailboxes so that they are opened for read-only. Commit: 22728b92af07b0f19dce109960641a185a9193b3 https://github.com/dovecot/core/commit/22728b92af07b0f19dce109960641a185a9193b3 Author: Aki Tuomi Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/doveadm/doveadm-mail-import.c Log Message: ----------- doveadm-import: Open source boxes read-only This allows importing emails from read-only locations, such as backups. Compare: https://github.com/dovecot/core/compare/ece150f1bc80...22728b92af07 From noreply at github.com Tue Nov 15 12:00:10 2016 From: noreply at github.com (GitHub) Date: Tue, 15 Nov 2016 04:00:10 -0800 Subject: [dovecot/core] a25320: doveadm-director: Include tag in add line Message-ID: <582af8ca35135_42cc3fa882871134104919@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: a2532003186d63337e1cbf9ba8f8f7ec401dea58 https://github.com/dovecot/core/commit/a2532003186d63337e1cbf9ba8f8f7ec401dea58 Author: Aki Tuomi Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/doveadm/doveadm-director.c Log Message: ----------- doveadm-director: Include tag in add line From noreply at github.com Tue Nov 15 14:00:08 2016 From: noreply at github.com (GitHub) Date: Tue, 15 Nov 2016 06:00:08 -0800 Subject: [dovecot/core] ede246: lib-storage: Add vsize hdr on empty mailbox Message-ID: <582b14e8edc8c_4f1b3f9508fdd13031960@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: ede2466e3f1b7fdf1ceb35909a5fd4182a06c56b https://github.com/dovecot/core/commit/ede2466e3f1b7fdf1ceb35909a5fd4182a06c56b Author: Aki Tuomi Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib-storage/index/index-mailbox-size.c Log Message: ----------- lib-storage: Add vsize hdr on empty mailbox From noreply at github.com Tue Nov 15 20:30:11 2016 From: noreply at github.com (GitHub) Date: Tue, 15 Nov 2016 12:30:11 -0800 Subject: [dovecot/core] 2dbb7b: doveadm: Put doveadm_mail_iter_init parameters to ... Message-ID: <582b7053213fa_3cf33fe1b58ad12c44810@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 2dbb7b30d9bf6d6b0cd104c6931c4b44a77c2383 https://github.com/dovecot/core/commit/2dbb7b30d9bf6d6b0cd104c6931c4b44a77c2383 Author: Aki Tuomi Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/doveadm/doveadm-mail-copymove.c M src/doveadm/doveadm-mail-fetch.c M src/doveadm/doveadm-mail-flags.c Log Message: ----------- doveadm: Put doveadm_mail_iter_init parameters to right order From noreply at github.com Tue Nov 15 21:00:09 2016 From: noreply at github.com (GitHub) Date: Tue, 15 Nov 2016 13:00:09 -0800 Subject: [dovecot/core] bd3f03: lib: Fix ioloop wait times when io_loop_time_refre... Message-ID: <582b775920d9e_1ea963fa7abcb3134910d8@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: bd3f036fda5cf08d7b23e2681ecc759ad71843f5 https://github.com/dovecot/core/commit/bd3f036fda5cf08d7b23e2681ecc759ad71843f5 Author: Timo Sirainen Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib/ioloop-private.h M src/lib/ioloop.c Log Message: ----------- lib: Fix ioloop wait times when io_loop_time_refresh() is used Commit: 3809334f938c69df473f154978204e9044840c0b https://github.com/dovecot/core/commit/3809334f938c69df473f154978204e9044840c0b Author: Timo Sirainen Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib/ioloop.c Log Message: ----------- lib: Code cleanup - move code to ioloop_add_wait_time() Commit: 64f5f4f0e0c80ea8dc6f06f59e447fdf488635d0 https://github.com/dovecot/core/commit/64f5f4f0e0c80ea8dc6f06f59e447fdf488635d0 Author: Timo Sirainen Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib/ioloop-private.h M src/lib/ioloop.c M src/lib/ioloop.h Log Message: ----------- lib: Added io_wait_timer This allows easier tracking of how much time the io_wait_timer has been spending on (multiple) ioloops. Commit: 6d5a7004a7c0b528b7ba05b2656bea80b3f2743d https://github.com/dovecot/core/commit/6d5a7004a7c0b528b7ba05b2656bea80b3f2743d Author: Timo Sirainen Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib-dict/dict-client.c Log Message: ----------- dict-client: Use io_wait_timer for tracking wait times. This way the "dict wait" time includes all ioloop waits that wait on the dict-client, not just in dict_wait(). Commit: 92f66f98f64ee3febbfba6618c4e144080d81a66 https://github.com/dovecot/core/commit/92f66f98f64ee3febbfba6618c4e144080d81a66 Author: Timo Sirainen Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib-http/http-client-connection.c M src/lib-http/http-client-private.h M src/lib-http/http-client-request.c Log Message: ----------- lib-http: Use io_wait_timer for tracking wait times. The previous code was completely incorrect, since it wasn't even tracking the HTTP request's start usecs. Commit: 7a6197f909f23febec07194a5f4c0e1f53d49cef https://github.com/dovecot/core/commit/7a6197f909f23febec07194a5f4c0e1f53d49cef Author: Apollon Oikonomopoulos Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M doc/example-config/conf.d/10-ssl.conf M src/lib-master/master-service-ssl-settings.c Log Message: ----------- ssl: fix reference to SSLv2 and disable SSLv3 This is driven by the fact that OpenSSL 1.1 does not know about SSLv2 at all and dovecot's defaults simply make OpenSSL error out with "Unknown protocol 'SSLv2'"[1]. So we change the defaults to refer to SSLv2 iff OpenSSL seems to know something about it. While at it, it's also a good idea to disable SSLv3 by default as well. [1] https://bugs.debian.org/844347 Signed-off-by: Apollon Oikonomopoulos Commit: b4884ca2e67bb794786419d9e7b6140842b03bcc https://github.com/dovecot/core/commit/b4884ca2e67bb794786419d9e7b6140842b03bcc Author: Apollon Oikonomopoulos Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib-ssl-iostream/dovecot-openssl-common.c Log Message: ----------- Manually cleanup OpenSSL from dovecot_openssl_common_global_unref() OpenSSL 1.1 features a cleanup function that is automatically run on shutdown using atexit(3). This function frees all OpenSSL-allocated resources. In dovecot, OpenSSL is loaded indirectly using dlopen(3) against the relevant dovecot crypto module and is finally unloaded using dlclose(3). Until OpenSSL 1.0.1c this worked fine, however OpenSSL 1.0.1c makes sure[1] that the library stays loaded after the initial dlclose() so that the atexit(3) handlers can run on shutdown. This, together with the fact that dovecot uses custom allocation functions for OpenSSL and has already partially free()'d some of OpenSSL's resources in module_free(), leads to a segfault at process shutdown[2]. We fix this by explicitly calling OPENSSL_cleanup() during module unload. This is safe to do, as long as we will never want to subsequently re-initialize OpenSSL. [1] https://github.com/openssl/openssl/commit/4af9f7fe79ff82b90c16969b7e5871435056377b [2] https://buildd.debian.org/status/fetch.php?pkg=dovecot&arch=amd64&ver=1:2.2.26.0-2&stamp=1478873022 Signed-off-by: Apollon Oikonomopoulos Commit: ed96188c7a8b2516678f7c600728738375abb24a https://github.com/dovecot/core/commit/ed96188c7a8b2516678f7c600728738375abb24a Author: Josef 'Jeff' Sipek Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib/data-stack.h Log Message: ----------- lib: fix data stack marker generation The line number wasn't getting expanded. Commit: 0bff25fd39f3d1e859f71d45695f98c9a95593d8 https://github.com/dovecot/core/commit/0bff25fd39f3d1e859f71d45695f98c9a95593d8 Author: Aki Tuomi Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/doveadm/doveadm-mail-save.c Log Message: ----------- doveadm-save: Check stream errno before save This is to ensure the file has been really opened. Compare: https://github.com/dovecot/core/compare/2dbb7b30d9bf...0bff25fd39f3 From noreply at github.com Tue Nov 15 22:00:08 2016 From: noreply at github.com (GitHub) Date: Tue, 15 Nov 2016 14:00:08 -0800 Subject: [dovecot/core] 34742a: Fix -Wstrict-bool compiler warnings. Message-ID: <582b8568ebe17_787e3ff25b965130579a6@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 34742a4b92c16c300e3d75731685b678712340b2 https://github.com/dovecot/core/commit/34742a4b92c16c300e3d75731685b678712340b2 Author: Timo Sirainen Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib-index/mail-index-sync-update.c M src/lib/sha3.c Log Message: ----------- Fix -Wstrict-bool compiler warnings. From noreply at github.com Wed Nov 16 10:30:13 2016 From: noreply at github.com (GitHub) Date: Wed, 16 Nov 2016 02:30:13 -0800 Subject: [dovecot/core] 26bab6: dict-client: Dict server timeout may have occurred... Message-ID: <582c35359e569_25d833fa60118513c64197@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 26bab6960cd764e2083f5226c9513fa44f4041fd https://github.com/dovecot/core/commit/26bab6960cd764e2083f5226c9513fa44f4041fd Author: Timo Sirainen Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib-dict/dict-client.c Log Message: ----------- dict-client: Dict server timeout may have occurred too early. Commit: 80a903b6e664e56597f8876e177e5ce42125e8d8 https://github.com/dovecot/core/commit/80a903b6e664e56597f8876e177e5ce42125e8d8 Author: Timo Sirainen Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib-dict/dict-client.c Log Message: ----------- dict-client: Code cleanup to timeout handling. No functional changes. Commit: 9eba01ece7e14c6e053f4b400faadb4dc9946421 https://github.com/dovecot/core/commit/9eba01ece7e14c6e053f4b400faadb4dc9946421 Author: Timo Sirainen Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib-dict/dict-client.c Log Message: ----------- dict-client: When dict-server times out, log ioloop/lock waits. Commit: fa542e31347718fb8ce1687ef02346616f0af4fd https://github.com/dovecot/core/commit/fa542e31347718fb8ce1687ef02346616f0af4fd Author: Aki Tuomi Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib-program-client/program-client-private.h M src/lib-program-client/program-client.c Log Message: ----------- lib-program-client: Do not call callback when destroying Commit: 15150ac3d314a512262a1a0e3d403375f005e923 https://github.com/dovecot/core/commit/15150ac3d314a512262a1a0e3d403375f005e923 Author: Aki Tuomi Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib/istream.c Log Message: ----------- lib: Mark istream with eof=TRUE on all errors Previously only i_stream_read() did this, but i_stream_seek(), _stat(), _get_size() and _create() didn't. This caused assert-crashes on error conditions in code which assumed that when stream_errno != 0, eof==TRUE. Commit: 7071e573857ed73dfa9a63036aaedfeb23a8f130 https://github.com/dovecot/core/commit/7071e573857ed73dfa9a63036aaedfeb23a8f130 Author: Timo Sirainen Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib-master/master-service.c Log Message: ----------- lib-master: Make sure stdin/stdout/stderr fds are open. We'll just open /dev/null for them if they don't already exist. Commit: fd717f41dad3d71435dbca4a05135a34ffe7accc https://github.com/dovecot/core/commit/fd717f41dad3d71435dbca4a05135a34ffe7accc Author: Timo Sirainen Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/master/main.c Log Message: ----------- master: Remove redundant check to guarantee stdin/stdout/stderr fd existence. The previous method also wasn't correct, since it was setting close-on-exec flag for the fds. Although this didn't normally make any difference, since stdin & stdout was explicitly dup2()ed to /dev/null and for all except the log process stderr was also being dup2()ed. Commit: 2135342de3679ddbf91448c198d36e2140c75f6d https://github.com/dovecot/core/commit/2135342de3679ddbf91448c198d36e2140c75f6d Author: Timo Sirainen Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib/macros.h Log Message: ----------- lib: Assert-crash in i_close_fd() if fd == 0 lib-master now guarantees that fd==0 doesn't normally happen. Commit: a2ad0219f2e3a8fcc662fc1ace299980a9d4bb87 https://github.com/dovecot/core/commit/a2ad0219f2e3a8fcc662fc1ace299980a9d4bb87 Author: Aki Tuomi Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/doveadm/doveadm-dump-dcrypt-file.c M src/doveadm/doveadm-dump-dcrypt-key.c Log Message: ----------- doveadm: Fix error reporting for doveadm-dump-dcrypt Commit: fd7219afaf9e827adff2d90e53d8f5b246bc66fe https://github.com/dovecot/core/commit/fd7219afaf9e827adff2d90e53d8f5b246bc66fe Author: Aki Tuomi Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib/net.c M src/lib/net.h Log Message: ----------- lib: Add net_ipport2str Converts struct ip_addr + port into either 127.0.0.1:6000 or [::1]:6000. Commit: 03cb9435d73d12638b43c57c5b782a92c40c7f36 https://github.com/dovecot/core/commit/03cb9435d73d12638b43c57c5b782a92c40c7f36 Author: Aki Tuomi Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/stats/Makefile.am M src/stats/mail-stats.c M src/stats/mail-stats.h A src/stats/stats-carbon.c A src/stats/stats-carbon.h M src/stats/stats-settings.c M src/stats/stats-settings.h Log Message: ----------- stats: Add support for carbon-server Allows admin to specify stats_carbon_server=ip:port. Stats are delivered in "key value" format to specified port. Can be received with e.g. metronome. Commit: 81c22db21f37380ecf3ca6fcc73efe469a8eda4b https://github.com/dovecot/core/commit/81c22db21f37380ecf3ca6fcc73efe469a8eda4b Author: Aki Tuomi Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/doveadm/doveadm-mail-altmove.c M src/doveadm/doveadm-mail-copymove.c M src/doveadm/doveadm-mail-deduplicate.c M src/doveadm/doveadm-mail-expunge.c M src/doveadm/doveadm-mail-fetch.c M src/doveadm/doveadm-mail-flags.c M src/doveadm/doveadm-mail-import.c M src/doveadm/doveadm-mail-iter.c M src/doveadm/doveadm-mail-iter.h M src/doveadm/doveadm-mail-search.c Log Message: ----------- doveadm: Add open read-only parameter to mailbox iterator This allows iterating mailboxes so that they are opened for read-only. Commit: 41e2afac107da5db1b1405ab3fd92f8434a5d42e https://github.com/dovecot/core/commit/41e2afac107da5db1b1405ab3fd92f8434a5d42e Author: Aki Tuomi Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/doveadm/doveadm-mail-import.c Log Message: ----------- doveadm-import: Open source boxes read-only This allows importing emails from read-only locations, such as backups. Commit: 11eaa05833a7a009c50062a76c08f2b39bacd7c0 https://github.com/dovecot/core/commit/11eaa05833a7a009c50062a76c08f2b39bacd7c0 Author: Aki Tuomi Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/doveadm/doveadm-director.c Log Message: ----------- doveadm-director: Include tag in add line Commit: 43735d5b43ce467338e58b414b53d2be37534c92 https://github.com/dovecot/core/commit/43735d5b43ce467338e58b414b53d2be37534c92 Author: Aki Tuomi Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib-storage/index/index-mailbox-size.c Log Message: ----------- lib-storage: Add vsize hdr on empty mailbox Commit: ac2373f235425e0f1fe70748f0604614e9a81010 https://github.com/dovecot/core/commit/ac2373f235425e0f1fe70748f0604614e9a81010 Author: Aki Tuomi Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/doveadm/doveadm-mail-copymove.c M src/doveadm/doveadm-mail-fetch.c M src/doveadm/doveadm-mail-flags.c Log Message: ----------- doveadm: Put doveadm_mail_iter_init parameters to right order Commit: 52c43248f0f04028c1ce839c15f51e2d329915da https://github.com/dovecot/core/commit/52c43248f0f04028c1ce839c15f51e2d329915da Author: Timo Sirainen Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib/ioloop-private.h M src/lib/ioloop.c Log Message: ----------- lib: Fix ioloop wait times when io_loop_time_refresh() is used Commit: 47c7576a0d0ef8add619d5b02418ce6baca5dbb9 https://github.com/dovecot/core/commit/47c7576a0d0ef8add619d5b02418ce6baca5dbb9 Author: Timo Sirainen Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib/ioloop.c Log Message: ----------- lib: Code cleanup - move code to ioloop_add_wait_time() Commit: 4c8b67114485a33f107747bba8bff88fde8f315f https://github.com/dovecot/core/commit/4c8b67114485a33f107747bba8bff88fde8f315f Author: Timo Sirainen Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib/ioloop-private.h M src/lib/ioloop.c M src/lib/ioloop.h Log Message: ----------- lib: Added io_wait_timer This allows easier tracking of how much time the io_wait_timer has been spending on (multiple) ioloops. Commit: 9b69686b499bee75726dc46b89bff29424e040f8 https://github.com/dovecot/core/commit/9b69686b499bee75726dc46b89bff29424e040f8 Author: Timo Sirainen Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib-dict/dict-client.c Log Message: ----------- dict-client: Use io_wait_timer for tracking wait times. This way the "dict wait" time includes all ioloop waits that wait on the dict-client, not just in dict_wait(). Commit: ba72c69be5da6b703940dd53d63204dd0222194b https://github.com/dovecot/core/commit/ba72c69be5da6b703940dd53d63204dd0222194b Author: Timo Sirainen Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib-http/http-client-connection.c M src/lib-http/http-client-private.h M src/lib-http/http-client-request.c Log Message: ----------- lib-http: Use io_wait_timer for tracking wait times. The previous code was completely incorrect, since it wasn't even tracking the HTTP request's start usecs. Commit: b775f8b4306beb10c77a6035fe41aec77c014b41 https://github.com/dovecot/core/commit/b775f8b4306beb10c77a6035fe41aec77c014b41 Author: Apollon Oikonomopoulos Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M doc/example-config/conf.d/10-ssl.conf M src/lib-master/master-service-ssl-settings.c Log Message: ----------- ssl: fix reference to SSLv2 and disable SSLv3 This is driven by the fact that OpenSSL 1.1 does not know about SSLv2 at all and dovecot's defaults simply make OpenSSL error out with "Unknown protocol 'SSLv2'"[1]. So we change the defaults to refer to SSLv2 iff OpenSSL seems to know something about it. While at it, it's also a good idea to disable SSLv3 by default as well. [1] https://bugs.debian.org/844347 Signed-off-by: Apollon Oikonomopoulos Commit: c164f8afe58c8d83ef2a48aae629c72408dfea01 https://github.com/dovecot/core/commit/c164f8afe58c8d83ef2a48aae629c72408dfea01 Author: Apollon Oikonomopoulos Date: 2016-11-15 (Tue, 15 Nov 2016) Changed paths: M src/lib-ssl-iostream/dovecot-openssl-common.c Log Message: ----------- Manually cleanup OpenSSL from dovecot_openssl_common_global_unref() OpenSSL 1.1 features a cleanup function that is automatically run on shutdown using atexit(3). This function frees all OpenSSL-allocated resources. In dovecot, OpenSSL is loaded indirectly using dlopen(3) against the relevant dovecot crypto module and is finally unloaded using dlclose(3). Until OpenSSL 1.0.1c this worked fine, however OpenSSL 1.0.1c makes sure[1] that the library stays loaded after the initial dlclose() so that the atexit(3) handlers can run on shutdown. This, together with the fact that dovecot uses custom allocation functions for OpenSSL and has already partially free()'d some of OpenSSL's resources in module_free(), leads to a segfault at process shutdown[2]. We fix this by explicitly calling OPENSSL_cleanup() during module unload. This is safe to do, as long as we will never want to subsequently re-initialize OpenSSL. [1] https://github.com/openssl/openssl/commit/4af9f7fe79ff82b90c16969b7e5871435056377b [2] https://buildd.debian.org/status/fetch.php?pkg=dovecot&arch=amd64&ver=1:2.2.26.0-2&stamp=1478873022 Signed-off-by: Apollon Oikonomopoulos Commit: f373f2e7bff76cae2365989e57e7a2dd33d06815 https://github.com/dovecot/core/commit/f373f2e7bff76cae2365989e57e7a2dd33d06815 Author: Aki Tuomi Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/doveadm/doveadm-mail-save.c Log Message: ----------- doveadm-save: Check stream errno before save This is to ensure the file has been really opened. Commit: 17c99261a80233145aebd3dce571cf130e9f4e7a https://github.com/dovecot/core/commit/17c99261a80233145aebd3dce571cf130e9f4e7a Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib-index/mail-index-sync-update.c M src/lib/sha3.c Log Message: ----------- Fix -Wstrict-bool compiler warnings. Commit: c5f651e406edd42cdb70a5062379c6840b0b1e50 https://github.com/dovecot/core/commit/c5f651e406edd42cdb70a5062379c6840b0b1e50 Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib/lib.c M src/lib/lib.h Log Message: ----------- lib: Make sure stdin/stdout/stderr have fd at startup and keep /dev/null always open This guarantees we will always have a fd that can be used as /dev/null. It works even inside chroots. Commit: 2b3d98d3fa9c76cacab66486c0ba2e5134f6da32 https://github.com/dovecot/core/commit/2b3d98d3fa9c76cacab66486c0ba2e5134f6da32 Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib-master/master-service.c Log Message: ----------- lib-master: Revert redundant stdin/stdout/stderr fd checks This is now done by lib_init() in a bit nicer way. Reverts 08923d2c956ece3dc604d5842ba152c2bdb11fb9 Commit: f3fc24f545443366fca0cbeb2ece6ea7f760a93f https://github.com/dovecot/core/commit/f3fc24f545443366fca0cbeb2ece6ea7f760a93f Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/master/common.h M src/master/main.c M src/master/master-settings.c Log Message: ----------- master: Don't unlink login sockets at startup if someone is listening to them. The original check there never worked, because null_fd was always set. Normally the master.pid file would prevent this happening, but if it didn't exist, the sockets would be unlinked and usually also created back. Commit: 2481c3013d13608e8ec9cd2d3914a0a61437d2ca https://github.com/dovecot/core/commit/2481c3013d13608e8ec9cd2d3914a0a61437d2ca Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib-program-client/program-client-local.c M src/lib/module-dir.c M src/master/common.h M src/master/main.c M src/master/service-process.c Log Message: ----------- global: use dev_null_fd instead of opening /dev/null Commit: 58bd9504a72311e5b8b6cd6c4ff1b20ef2ee6b9f https://github.com/dovecot/core/commit/58bd9504a72311e5b8b6cd6c4ff1b20ef2ee6b9f Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib/lib.c M src/lib/lib.h Log Message: ----------- lib: Add fd_close_maybe_stdio() The idea is that this should be used whenever closing fds that may be 0 or 1. If they are closed normally, the following code may end up using 0/1 fd for other purposes, which could cause problems. Commit: d01fa63f2b72cf57947248dd3f555d6fe507e240 https://github.com/dovecot/core/commit/d01fa63f2b72cf57947248dd3f555d6fe507e240 Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/imap-urlauth/imap-urlauth-client.c M src/imap-urlauth/imap-urlauth-worker.c M src/imap/imap-client.c M src/lib/connection.c M src/lmtp/client.c M src/pop3/pop3-client.c Log Message: ----------- global: Use fd_close_maybe_stdio() Commit: 3336e99e0fad2de64088206e33ded3704cb784bc https://github.com/dovecot/core/commit/3336e99e0fad2de64088206e33ded3704cb784bc Author: Aki Tuomi Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/imap/imap-state.c Log Message: ----------- imap: Add details why unhibernation failed This can help understanding why client failed to unhibernate. Compare: https://github.com/dovecot/core/compare/22a30b5dffac...3336e99e0fad From noreply at github.com Wed Nov 16 10:30:10 2016 From: noreply at github.com (GitHub) Date: Wed, 16 Nov 2016 02:30:10 -0800 Subject: [dovecot/core] 05475b: lib: Make sure stdin/stdout/stderr have fd at star... Message-ID: <582c353270291_574d3fd5a117514073190@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 05475b8318550618dd76d6ab4694e2110d0b5710 https://github.com/dovecot/core/commit/05475b8318550618dd76d6ab4694e2110d0b5710 Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib/lib.c M src/lib/lib.h Log Message: ----------- lib: Make sure stdin/stdout/stderr have fd at startup and keep /dev/null always open This guarantees we will always have a fd that can be used as /dev/null. It works even inside chroots. Commit: 253000d6d4805247116ee49922c9fd64add698e5 https://github.com/dovecot/core/commit/253000d6d4805247116ee49922c9fd64add698e5 Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib-master/master-service.c Log Message: ----------- lib-master: Revert redundant stdin/stdout/stderr fd checks This is now done by lib_init() in a bit nicer way. Reverts 08923d2c956ece3dc604d5842ba152c2bdb11fb9 Commit: be7c7c4e99a9bb8570cdd923d5d369125a6ca727 https://github.com/dovecot/core/commit/be7c7c4e99a9bb8570cdd923d5d369125a6ca727 Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/master/common.h M src/master/main.c M src/master/master-settings.c Log Message: ----------- master: Don't unlink login sockets at startup if someone is listening to them. The original check there never worked, because null_fd was always set. Normally the master.pid file would prevent this happening, but if it didn't exist, the sockets would be unlinked and usually also created back. Commit: 41ee23907b084da5baed459e35bccd5a33430419 https://github.com/dovecot/core/commit/41ee23907b084da5baed459e35bccd5a33430419 Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib-program-client/program-client-local.c M src/lib/module-dir.c M src/master/common.h M src/master/main.c M src/master/service-process.c Log Message: ----------- global: use dev_null_fd instead of opening /dev/null Commit: 1e766413c73d963cdd55c17afe8ec86b46dd8463 https://github.com/dovecot/core/commit/1e766413c73d963cdd55c17afe8ec86b46dd8463 Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib/lib.c M src/lib/lib.h Log Message: ----------- lib: Add fd_close_maybe_stdio() The idea is that this should be used whenever closing fds that may be 0 or 1. If they are closed normally, the following code may end up using 0/1 fd for other purposes, which could cause problems. Commit: 33a80622828063f5be6f743855d5273fabe8ae58 https://github.com/dovecot/core/commit/33a80622828063f5be6f743855d5273fabe8ae58 Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/imap-urlauth/imap-urlauth-client.c M src/imap-urlauth/imap-urlauth-worker.c M src/imap/imap-client.c M src/lib/connection.c M src/lmtp/client.c M src/pop3/pop3-client.c Log Message: ----------- global: Use fd_close_maybe_stdio() Commit: 6028ef7bd1a453212b815b608e1c7b1b21ebca49 https://github.com/dovecot/core/commit/6028ef7bd1a453212b815b608e1c7b1b21ebca49 Author: Aki Tuomi Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/imap/imap-state.c Log Message: ----------- imap: Add details why unhibernation failed This can help understanding why client failed to unhibernate. Compare: https://github.com/dovecot/core/compare/34742a4b92c1...6028ef7bd1a4 From noreply at github.com Wed Nov 16 12:00:11 2016 From: noreply at github.com (GitHub) Date: Wed, 16 Nov 2016 04:00:11 -0800 Subject: [dovecot/core] faee56: lib-index: Fix flushing NFS if minimum wanted tran... Message-ID: <582c4a4b550b9_18df3f9f42fe513445976@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: faee566824fe3567c8beacf097f9dcfc0d3761b7 https://github.com/dovecot/core/commit/faee566824fe3567c8beacf097f9dcfc0d3761b7 Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib-index/mail-transaction-log-view.c Log Message: ----------- lib-index: Fix flushing NFS if minimum wanted transaction log file is lost From noreply at github.com Wed Nov 16 12:00:13 2016 From: noreply at github.com (GitHub) Date: Wed, 16 Nov 2016 04:00:13 -0800 Subject: [dovecot/core] c4c48f: lib-index: Fix flushing NFS if minimum wanted tran... Message-ID: <582c4a4dd7a1_5f3b3fb82f32d134869d7@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: c4c48f8886fefe337402c19fab9ac96d1256af62 https://github.com/dovecot/core/commit/c4c48f8886fefe337402c19fab9ac96d1256af62 Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib-index/mail-transaction-log-view.c Log Message: ----------- lib-index: Fix flushing NFS if minimum wanted transaction log file is lost Commit: 1e781083fda64dbef816dad6249af03da14daa3e https://github.com/dovecot/core/commit/1e781083fda64dbef816dad6249af03da14daa3e Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M Makefile.am Log Message: ----------- Makefile: Add -I . to ACLOCAL_AMFLAGS Without this when aclocal is automatically run it doesn't generate a working configure. Compare: https://github.com/dovecot/core/compare/3336e99e0fad...1e781083fda6 From noreply at github.com Wed Nov 16 13:00:10 2016 From: noreply at github.com (GitHub) Date: Wed, 16 Nov 2016 05:00:10 -0800 Subject: [dovecot/core] 2ba5c3: imap: Use correct format specifier for highestmods... Message-ID: <582c585a98225_3d983fecbb78f13011697a@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 2ba5c38d7b9326822c3db8f4d5f4b8dc32578fd9 https://github.com/dovecot/core/commit/2ba5c38d7b9326822c3db8f4d5f4b8dc32578fd9 Author: Aki Tuomi Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/imap/imap-state.c Log Message: ----------- imap: Use correct format specifier for highestmodseq Commit: 7cb5a6d1f52abfe2e31f1404cce01ca63daacd17 https://github.com/dovecot/core/commit/7cb5a6d1f52abfe2e31f1404cce01ca63daacd17 Author: Aki Tuomi Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib-dns/Makefile.am A src/lib-dns/dns-util.c A src/lib-dns/dns-util.h Log Message: ----------- lib-dns: Add DNS specific matching algorithms RFC4343 and RFCRFC4592 compare and match algorithms Commit: a7f58d28d4ccceaf03e2032ec8e855e1ba965bfe https://github.com/dovecot/core/commit/a7f58d28d4ccceaf03e2032ec8e855e1ba965bfe Author: Aki Tuomi Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib-dns/Makefile.am A src/lib-dns/test-dns-util.c Log Message: ----------- lib-dns: Add tests for dns-util Commit: 6baee5cd05602df1c39e502c7784501e58b3241d https://github.com/dovecot/core/commit/6baee5cd05602df1c39e502c7784501e58b3241d Author: Aki Tuomi Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/config/Makefile.am M src/config/config-filter.c Log Message: ----------- config: Match local_name using dns-util This way it correctly handles wildcards. Compare: https://github.com/dovecot/core/compare/faee566824fe...6baee5cd0560 From noreply at github.com Wed Nov 16 13:00:15 2016 From: noreply at github.com (GitHub) Date: Wed, 16 Nov 2016 05:00:15 -0800 Subject: [dovecot/core] 9c7ff1: imap: Use correct format specifier for highestmods... Message-ID: <582c585fbd36_22d73ff7291351401000e@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 9c7ff1ce47ee6bd7c5114fb0435bc255c0f7fa19 https://github.com/dovecot/core/commit/9c7ff1ce47ee6bd7c5114fb0435bc255c0f7fa19 Author: Aki Tuomi Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/imap/imap-state.c Log Message: ----------- imap: Use correct format specifier for highestmodseq From noreply at github.com Wed Nov 16 15:30:09 2016 From: noreply at github.com (GitHub) Date: Wed, 16 Nov 2016 07:30:09 -0800 Subject: [dovecot/core] 7e3ef8: lib-storage: Fix handling LAYOUT=index losing mail... Message-ID: <582c7b81c3ad0_35053f8fa372f13813990a3@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 7e3ef84dfab4fa2981a55975090aaeb5e8a5ed5f https://github.com/dovecot/core/commit/7e3ef84dfab4fa2981a55975090aaeb5e8a5ed5f Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index.c Log Message: ----------- lib-storage: Fix handling LAYOUT=index losing mailbox names It lost all the mailbox names. Commit: b94bcc82e68712aadd0aa980acf486bfaf0e9cad https://github.com/dovecot/core/commit/b94bcc82e68712aadd0aa980acf486bfaf0e9cad Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-sync.c M src/lib-storage/list/mailbox-list-index.c M src/lib-storage/list/mailbox-list-index.h Log Message: ----------- lib-storage: If LAYOUT=index loses mailbox names, write the generated ones to index. Previously it just kept complaining and regenerating new names, without actually fixing up the situation. Commit: 48baf3ac10f069681c8558ea25cca826dca069a3 https://github.com/dovecot/core/commit/48baf3ac10f069681c8558ea25cca826dca069a3 Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index.c Log Message: ----------- lib-storage: Improve mailbox list index corruption errors Commit: 9130eda2eb97055030fd5bccebe43d8585d2bf0c https://github.com/dovecot/core/commit/9130eda2eb97055030fd5bccebe43d8585d2bf0c Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-sync.c M src/lib-storage/list/mailbox-list-index.c M src/lib-storage/list/mailbox-list-index.h Log Message: ----------- lib-storage: Fix invalid parents in LAYOUT=index Previously it just kept complaining without fixing the errors. Commit: bcfeddf8c91cbb1dcdcf6c54d6d137e08b534ff1 https://github.com/dovecot/core/commit/bcfeddf8c91cbb1dcdcf6c54d6d137e08b534ff1 Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index.c Log Message: ----------- lib-storage: Prevent parent loops in mailbox list index Commit: 606e388022ed2c9e94f912a5205626d11a9da6dc https://github.com/dovecot/core/commit/606e388022ed2c9e94f912a5205626d11a9da6dc Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-backend.c Log Message: ----------- lib-storage: Prevent renaming mailbox under itself. This resulted earlier in a loop, which broke the mailbox index. Note that IMAP already prevented this, so it could only be triggered by other tools, like doveadm. Commit: 97a5e150cacf7da9dd200e317b75460352038d65 https://github.com/dovecot/core/commit/97a5e150cacf7da9dd200e317b75460352038d65 Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib-storage/index/index-storage.c M src/lib-storage/list/mailbox-list-index-backend.c M src/lib-storage/mail-storage-private.h Log Message: ----------- LAYOUT=index: Update mailbox name to mailbox index's header when opening. This way if the mailbox list index gets lost, a recent mailbox name is still available. Commit: 8463c8976421c93f477613a0be95738d67b81149 https://github.com/dovecot/core/commit/8463c8976421c93f477613a0be95738d67b81149 Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/doveadm/doveadm-dump-index.c Log Message: ----------- doveadm dump: Add support for the new box-name index header. Commit: 635f41c84e23d51394ce1346adffd1ffaf1790b0 https://github.com/dovecot/core/commit/635f41c84e23d51394ce1346adffd1ffaf1790b0 Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib-storage/index/index-rebuild.c Log Message: ----------- lib-storage: Preserve box-name header when rebuilding index. Commit: 85cbe5d66e22bc1290a33902fa2638245450a2df https://github.com/dovecot/core/commit/85cbe5d66e22bc1290a33902fa2638245450a2df Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-backend.c M src/lib-storage/list/mailbox-list-index-sync.c M src/lib-storage/list/mailbox-list-index.c M src/lib-storage/list/mailbox-list-index.h Log Message: ----------- LAYOUT=index: Don't write corrupted mailbox names to box-name header. This way when opening a mailbox the box-name header isn't overwritten by a corrupted name. Keep track of the corrupted names with MAILBOX_LIST_INDEX_FLAG_CORRUPTED_NAME flag in list index records. The flag isn't removed until the mailbox is renamed. Commit: 540555c5b435203e1c26c8e7b924b2643ae07ae3 https://github.com/dovecot/core/commit/540555c5b435203e1c26c8e7b924b2643ae07ae3 Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-backend.c M src/lib-storage/mail-storage-private.h Log Message: ----------- lib-storage: Added struct mailbox.corrupted_mailbox_name This allows backends that are adding lost mailboxes to mailbox list index to indicate that they don't actually know the name of the mailbox, and the mailbox list index should try to figure it out and rename the mailbox to its proper name. Commit: 83d0c8152f694ae5b5d1798abda5728dc886102a https://github.com/dovecot/core/commit/83d0c8152f694ae5b5d1798abda5728dc886102a Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-backend.c Log Message: ----------- LAYOUT=index: Try to rename corrupted mailbox name during mailbox open. Compare: https://github.com/dovecot/core/compare/6baee5cd0560...83d0c8152f69 From noreply at github.com Wed Nov 16 16:00:16 2016 From: noreply at github.com (GitHub) Date: Wed, 16 Nov 2016 08:00:16 -0800 Subject: [dovecot/core] 82a170: configure: Removed AC_CONFIG_MACRO_DIR([m4]) for n... Message-ID: <582c829082b4c_55813fe811bf71401235b4@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 82a17046190489f3af41dc4a7b033e033f117355 https://github.com/dovecot/core/commit/82a17046190489f3af41dc4a7b033e033f117355 Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M configure.ac Log Message: ----------- configure: Removed AC_CONFIG_MACRO_DIR([m4]) for now Fixes: libtoolize: AC_CONFIG_MACRO_DIR([m4]) conflicts with ACLOCAL_AMFLAGS=-I .. From noreply at github.com Wed Nov 16 20:00:09 2016 From: noreply at github.com (GitHub) Date: Wed, 16 Nov 2016 12:00:09 -0800 Subject: [dovecot/core] aeef47: master: Fix compiling with systemd after /dev/null... Message-ID: <582cbac9f22db_33143fc31803d14c5537a@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: aeef47104f7f40bd7db8a7a3fb2cea4ba78c0360 https://github.com/dovecot/core/commit/aeef47104f7f40bd7db8a7a3fb2cea4ba78c0360 Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/master/service-listen.c Log Message: ----------- master: Fix compiling with systemd after /dev/null changes From noreply at github.com Wed Nov 16 20:00:13 2016 From: noreply at github.com (GitHub) Date: Wed, 16 Nov 2016 12:00:13 -0800 Subject: [dovecot/core] bb2fcd: master: Fix compiling with systemd after /dev/null... Message-ID: <582cbacd2efbc_3e523fe88560b12c118411@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: bb2fcd3c89ad2adfd721f8b797299497c8aa94ec https://github.com/dovecot/core/commit/bb2fcd3c89ad2adfd721f8b797299497c8aa94ec Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/master/service-listen.c Log Message: ----------- master: Fix compiling with systemd after /dev/null changes From noreply at github.com Wed Nov 16 22:00:08 2016 From: noreply at github.com (GitHub) Date: Wed, 16 Nov 2016 14:00:08 -0800 Subject: [dovecot/core] 0f242c: lib-storage: Fix compiler warnings about enum mism... Message-ID: <582cd6e862524_39f73ff2fe5291403263@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 0f242c946b153907d2e34bc9993942e6ca277bf8 https://github.com/dovecot/core/commit/0f242c946b153907d2e34bc9993942e6ca277bf8 Author: Timo Sirainen Date: 2016-11-16 (Wed, 16 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-backend.c M src/lib-storage/list/mailbox-list-index-sync.c Log Message: ----------- lib-storage: Fix compiler warnings about enum mismatches From noreply at github.com Thu Nov 17 01:00:11 2016 From: noreply at github.com (GitHub) Date: Wed, 16 Nov 2016 17:00:11 -0800 Subject: [dovecot/core] 08b935: imapc: Fix assert-crash when deleting mailbox trig... Message-ID: <582d011b56483_15343fd0412ef134406a2@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 08b9350b17bb0abd822dd1f11452df1476077747 https://github.com/dovecot/core/commit/08b9350b17bb0abd822dd1f11452df1476077747 Author: Timo Sirainen Date: 2016-11-17 (Thu, 17 Nov 2016) Changed paths: M src/lib-storage/index/imapc/imapc-storage.c Log Message: ----------- imapc: Fix assert-crash when deleting mailbox triggers mailbox_get_open_status(). For example vsize header updating triggers this. Fixes: Panic: file mail-storage.c: line 1683: unreached From noreply at github.com Fri Nov 18 01:00:09 2016 From: noreply at github.com (GitHub) Date: Thu, 17 Nov 2016 17:00:09 -0800 Subject: [dovecot/core] 08c0bf: lib: Add iostream-pump Message-ID: <582e5299355a8_18973f95f3b3513c40440@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 08c0bffa1c9ccb1ac67689093f3c99cd38cfd3a4 https://github.com/dovecot/core/commit/08c0bffa1c9ccb1ac67689093f3c99cd38cfd3a4 Author: Aki Tuomi Date: 2016-11-17 (Thu, 17 Nov 2016) Changed paths: M src/lib/Makefile.am A src/lib/iostream-pump.c A src/lib/iostream-pump.h Log Message: ----------- lib: Add iostream-pump Commit: 4d9181518769b1f78d8078f7fae899fd0b95907f https://github.com/dovecot/core/commit/4d9181518769b1f78d8078f7fae899fd0b95907f Author: Aki Tuomi Date: 2016-11-17 (Thu, 17 Nov 2016) Changed paths: M src/lib/Makefile.am A src/lib/test-iostream-pump.c M src/lib/test-lib.inc Log Message: ----------- lib: Add tests for iostream-pump Commit: 26e7bc65f13482709c0f6216650582e7705eeeff https://github.com/dovecot/core/commit/26e7bc65f13482709c0f6216650582e7705eeeff Author: Aki Tuomi Date: 2016-11-17 (Thu, 17 Nov 2016) Changed paths: M src/lib/Makefile.am A src/lib/iostream-proxy.c A src/lib/iostream-proxy.h Log Message: ----------- lib: Add iostream-proxy iostream-proxy proxies data between two pairs of istream/ostream. Commit: f7060b8499ed07205734cf7af94ad5405fa687b5 https://github.com/dovecot/core/commit/f7060b8499ed07205734cf7af94ad5405fa687b5 Author: Aki Tuomi Date: 2016-11-17 (Thu, 17 Nov 2016) Changed paths: M src/lib/Makefile.am A src/lib/test-iostream-proxy.c M src/lib/test-lib.inc Log Message: ----------- lib: Add test for iostream-proxy Commit: 57dd2621d4230bc2e06c69a4b9f8cf8f0ff2bc93 https://github.com/dovecot/core/commit/57dd2621d4230bc2e06c69a4b9f8cf8f0ff2bc93 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-index/mail-index-write.c M src/lib-index/mail-transaction-log-file.c Log Message: ----------- lib-index: Make sure an already-corrupted index/log isn't written Compare: https://github.com/dovecot/core/compare/08b9350b17bb...57dd2621d423 From noreply at github.com Fri Nov 18 10:00:08 2016 From: noreply at github.com (GitHub) Date: Fri, 18 Nov 2016 02:00:08 -0800 Subject: [dovecot/core] 0793a1: configure: Fix build with old OpenSSL without SSL_... Message-ID: <582ed128e97c1_7ea93f98ce2071401245f3@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 0793a1dbdfc369b60ad8aa16f4ee58cc1c238f5c https://github.com/dovecot/core/commit/0793a1dbdfc369b60ad8aa16f4ee58cc1c238f5c Author: Paul Howarth Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M m4/ssl.m4 M src/lib-ssl-iostream/iostream-openssl.c Log Message: ----------- configure: Fix build with old OpenSSL without SSL_clear_options SSL_clear_options was introduced in OpenSSL 0.9.8m but may be backported to older versions in "enterprise" OS releases, so a version check is insufficient here. It was originally implemented as a macro but is a function in more recent OpenSSL versions, so a test that works for both cases is needed. From noreply at github.com Fri Nov 18 12:00:10 2016 From: noreply at github.com (GitHub) Date: Fri, 18 Nov 2016 04:00:10 -0800 Subject: [dovecot/core] f09d03: lib-index: Assert if mail_index_transaction_sort_a... Message-ID: <582eed4a37c1f_25523fcc746291408078c@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: f09d0344609e8c410a18685fa20ee3998646c2d9 https://github.com/dovecot/core/commit/f09d0344609e8c410a18685fa20ee3998646c2d9 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-index/mail-index-transaction-sort-appends.c Log Message: ----------- lib-index: Assert if mail_index_transaction_sort_appends() sees any uid==0 Every mail must have an UID at this stage. Commit: a42d489d99bcf7d18cfd0352fdf0c9348cb224fc https://github.com/dovecot/core/commit/a42d489d99bcf7d18cfd0352fdf0c9348cb224fc Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-index/mail-index-transaction-finish.c M src/lib-index/mail-index-transaction-private.h M src/lib-index/test-mail-index-transaction-finish.c Log Message: ----------- lib-index: Added internal mail_index_transaction_finish_so_far() This can be called multiple times before mail_index_transaction_finish(). It's going to perform all the work of reordering mails and dropping unnecessary changes that can be done before changing sequences to UIDs. This will be needed for the following patch that implements mail_index_transaction_get_highest_modseq(). Commit: 9e6d83a3ef6abb393eeebca423cfd0d8cb08d430 https://github.com/dovecot/core/commit/9e6d83a3ef6abb393eeebca423cfd0d8cb08d430 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-index/mail-index-transaction-export.c M src/lib-index/mail-index-transaction-finish.c M src/lib-index/mail-index-transaction-private.h M src/lib-index/mail-index-transaction.c M src/lib-index/mail-index.h M src/lib-index/mail-transaction-log-file.c Log Message: ----------- lib-index: Added mail_index_transaction_get_highest_modseq() Commit: 045d5940e885be4d5d3ce96f2fde31ae799fa556 https://github.com/dovecot/core/commit/045d5940e885be4d5d3ce96f2fde31ae799fa556 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/index/index-mail-headers.c M src/lib-storage/mail-storage.c M src/lib-storage/mail.c Log Message: ----------- lib-storage: Add asserts to make sure mailbox_header_lookup_ctx is used correctly. Commit: aafbaa45a60ec50815e0c985690a828617013a8f https://github.com/dovecot/core/commit/aafbaa45a60ec50815e0c985690a828617013a8f Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/mail-namespace.c M src/lib-storage/mail-namespace.h Log Message: ----------- lib-storage: Add mail_namespace_alloc() This makes it easier to create new namespaces. Based on patch by Jeff Sipek Commit: 2c067d5cd0088123e59ff45bee9b059fa9c1ffb1 https://github.com/dovecot/core/commit/2c067d5cd0088123e59ff45bee9b059fa9c1ffb1 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/mail-namespace.c Log Message: ----------- lib-storage: Use mail_namespace_alloc() for mail_namespaces_init_location() Based on patch by Jeff Sipek Commit: 5b82f3b2f544cf891a390083f1bcf60409be20b8 https://github.com/dovecot/core/commit/5b82f3b2f544cf891a390083f1bcf60409be20b8 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/index/shared/shared-storage.c M src/lib-storage/mail-namespace.c M src/lib-storage/mail-namespace.h Log Message: ----------- lib-storage: Add struct mail_namespace.user_set Commit: 46e917c9fa05cbe7bddf805d3a9838b61e3960e1 https://github.com/dovecot/core/commit/46e917c9fa05cbe7bddf805d3a9838b61e3960e1 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/index/dbox-multi/mdbox-storage.c M src/lib-storage/index/imapc/imapc-storage.c M src/lib-storage/index/maildir/maildir-storage.c M src/lib-storage/index/mbox/mbox-storage.c M src/lib-storage/index/pop3c/pop3c-storage.c M src/lib-storage/mail-storage-settings.c M src/lib-storage/mail-storage-settings.h Log Message: ----------- lib-storage: Add mail_namespace_get_driver_settings() and use it. It obsoletes mail_storage_get_driver_settings(). Commit: 431fb3b0f8c6817da6235825250c91159bb182a3 https://github.com/dovecot/core/commit/431fb3b0f8c6817da6235825250c91159bb182a3 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/index/imapc/imapc-list.c Log Message: ----------- imapc: Use struct mail_namespace.user_set Commit: 16402358d7ad740e68ee9dd5a72ec02fb6593a71 https://github.com/dovecot/core/commit/16402358d7ad740e68ee9dd5a72ec02fb6593a71 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-settings/settings-parser.c M src/lib-settings/settings-parser.h Log Message: ----------- lib-settings: Avoid duplicating settings' values when not needed Commit: e5ce686a6f888ee039d5abe6e39c7efb92efc345 https://github.com/dovecot/core/commit/e5ce686a6f888ee039d5abe6e39c7efb92efc345 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-settings/settings-parser.c M src/lib-settings/settings-parser.h Log Message: ----------- lib-settings: Add settings_parse_keyvalue() Commit: 096e109f9f332bc758ca5e22ec64337379c5f231 https://github.com/dovecot/core/commit/096e109f9f332bc758ca5e22ec64337379c5f231 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/config/config-parser.c M src/doveadm/doveadm-dsync.c M src/lib-storage/mail-storage-service.c Log Message: ----------- global: Replace some settings_parse_line() calls with settings_parse_keyvalue() Commit: 30b849c26358317b4e25b19ced4b7deb55f59c0a https://github.com/dovecot/core/commit/30b849c26358317b4e25b19ced4b7deb55f59c0a Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/mail-storage-service.c M src/lib-storage/mail-storage-service.h Log Message: ----------- lib-storage: Add mail_storage_service_user_get_pool() Commit: b9da8540e665138b3cad0b637c08c0ab7d7a7eeb https://github.com/dovecot/core/commit/b9da8540e665138b3cad0b637c08c0ab7d7a7eeb Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-index/mail-index-sync.c Log Message: ----------- lib-index: Fix detecting whether caller synced everything in mailbox. When mailbox_index_sync_begin() was followed by _commit(), without _next()s in the middle actually syncing the mailbox, the tail_offset was updated to indicate that the mailbox was fully synced. Existing code didn't rely on this, so it probably didn't break anything. This code hasn't worked for a long time, because log_view is always read fully to the end in _sync_begin(). Commit: 990d55ce3fc461eeacce3ef830b1c5dde5c3f150 https://github.com/dovecot/core/commit/990d55ce3fc461eeacce3ef830b1c5dde5c3f150 Author: Josef 'Jeff' Sipek Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/index/index-mail-headers.c Log Message: ----------- lib-storage: fix index_mail_get_headers return value And make it more obvious that we're not setting the actual return value in index_mail_get_first_header. Commit: a5b64f1abb1cb0a9718d5bf7f0ae808072237259 https://github.com/dovecot/core/commit/a5b64f1abb1cb0a9718d5bf7f0ae808072237259 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib/connection.c M src/lib/connection.h Log Message: ----------- lib: Add connection.allow_empty_args_input This simplifies input_args() callbacks since they don't always have to check for args[0] == NULL. This is enabled by default, because none of the current users want it and it's somewhat unlikely there even will be those in future. Compare: https://github.com/dovecot/core/compare/0793a1dbdfc3...a5b64f1abb1c From noreply at github.com Fri Nov 18 12:00:15 2016 From: noreply at github.com (GitHub) Date: Fri, 18 Nov 2016 04:00:15 -0800 Subject: [dovecot/core] 044081: lib-dns: Add DNS specific matching algorithms Message-ID: <582eed4f56179_7b933fba219a713856556@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 04408131c54813ff8b7e7567d29c7f581c661caf https://github.com/dovecot/core/commit/04408131c54813ff8b7e7567d29c7f581c661caf Author: Aki Tuomi Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-dns/Makefile.am A src/lib-dns/dns-util.c A src/lib-dns/dns-util.h Log Message: ----------- lib-dns: Add DNS specific matching algorithms RFC4343 and RFCRFC4592 compare and match algorithms Commit: 41bee81223f49e83d922314ca93d841de831e931 https://github.com/dovecot/core/commit/41bee81223f49e83d922314ca93d841de831e931 Author: Aki Tuomi Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-dns/Makefile.am A src/lib-dns/test-dns-util.c Log Message: ----------- lib-dns: Add tests for dns-util Commit: 2e896b5e3d75319050ca0ff5a966afe4797c2e4d https://github.com/dovecot/core/commit/2e896b5e3d75319050ca0ff5a966afe4797c2e4d Author: Aki Tuomi Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/config/Makefile.am M src/config/config-filter.c Log Message: ----------- config: Match local_name using dns-util This way it correctly handles wildcards. Commit: d980af3f2fd3db0c240789bc4787f2e26c470031 https://github.com/dovecot/core/commit/d980af3f2fd3db0c240789bc4787f2e26c470031 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index.c Log Message: ----------- lib-storage: Fix handling LAYOUT=index losing mailbox names It lost all the mailbox names. Commit: 5cbd16c3dfbeeb485c00554c23405f0941d1f32c https://github.com/dovecot/core/commit/5cbd16c3dfbeeb485c00554c23405f0941d1f32c Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-sync.c M src/lib-storage/list/mailbox-list-index.c M src/lib-storage/list/mailbox-list-index.h Log Message: ----------- lib-storage: If LAYOUT=index loses mailbox names, write the generated ones to index. Previously it just kept complaining and regenerating new names, without actually fixing up the situation. Commit: 95be2fc4d032e52f5da1770b41f549f57c30bf40 https://github.com/dovecot/core/commit/95be2fc4d032e52f5da1770b41f549f57c30bf40 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index.c Log Message: ----------- lib-storage: Improve mailbox list index corruption errors Commit: dbe6c905e7050c2217f8e2cfc1b8a54a6d49610c https://github.com/dovecot/core/commit/dbe6c905e7050c2217f8e2cfc1b8a54a6d49610c Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-sync.c M src/lib-storage/list/mailbox-list-index.c M src/lib-storage/list/mailbox-list-index.h Log Message: ----------- lib-storage: Fix invalid parents in LAYOUT=index Previously it just kept complaining without fixing the errors. Commit: 4e42afdaf372871fb455d0009f2c5bf83049ba80 https://github.com/dovecot/core/commit/4e42afdaf372871fb455d0009f2c5bf83049ba80 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index.c Log Message: ----------- lib-storage: Prevent parent loops in mailbox list index Commit: d76ce1b2f3a9050e1e756f380f77d9accf7e4469 https://github.com/dovecot/core/commit/d76ce1b2f3a9050e1e756f380f77d9accf7e4469 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-backend.c Log Message: ----------- lib-storage: Prevent renaming mailbox under itself. This resulted earlier in a loop, which broke the mailbox index. Note that IMAP already prevented this, so it could only be triggered by other tools, like doveadm. Commit: 03917da0d245a2afbad5306a57adc073178315d9 https://github.com/dovecot/core/commit/03917da0d245a2afbad5306a57adc073178315d9 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/index/index-storage.c M src/lib-storage/list/mailbox-list-index-backend.c M src/lib-storage/mail-storage-private.h Log Message: ----------- LAYOUT=index: Update mailbox name to mailbox index's header when opening. This way if the mailbox list index gets lost, a recent mailbox name is still available. Commit: ad98f19c09a96ee3e439619c0a4d1d93dc2dce50 https://github.com/dovecot/core/commit/ad98f19c09a96ee3e439619c0a4d1d93dc2dce50 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/doveadm/doveadm-dump-index.c Log Message: ----------- doveadm dump: Add support for the new box-name index header. Commit: c4057d78f5bb8819b0fca730bcbd86653191873b https://github.com/dovecot/core/commit/c4057d78f5bb8819b0fca730bcbd86653191873b Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/index/index-rebuild.c Log Message: ----------- lib-storage: Preserve box-name header when rebuilding index. Commit: 0e6ec60d00d624caa8f66ecdff9e8f9edc91aad9 https://github.com/dovecot/core/commit/0e6ec60d00d624caa8f66ecdff9e8f9edc91aad9 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-backend.c M src/lib-storage/list/mailbox-list-index-sync.c M src/lib-storage/list/mailbox-list-index.c M src/lib-storage/list/mailbox-list-index.h Log Message: ----------- LAYOUT=index: Don't write corrupted mailbox names to box-name header. This way when opening a mailbox the box-name header isn't overwritten by a corrupted name. Keep track of the corrupted names with MAILBOX_LIST_INDEX_FLAG_CORRUPTED_NAME flag in list index records. The flag isn't removed until the mailbox is renamed. Commit: 1e32b21d3754a3bb825416e49953b3642380e984 https://github.com/dovecot/core/commit/1e32b21d3754a3bb825416e49953b3642380e984 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-backend.c M src/lib-storage/mail-storage-private.h Log Message: ----------- lib-storage: Added struct mailbox.corrupted_mailbox_name This allows backends that are adding lost mailboxes to mailbox list index to indicate that they don't actually know the name of the mailbox, and the mailbox list index should try to figure it out and rename the mailbox to its proper name. Commit: 7962988b0b4b1a1f240782ad8dcc845e713af59e https://github.com/dovecot/core/commit/7962988b0b4b1a1f240782ad8dcc845e713af59e Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-backend.c Log Message: ----------- LAYOUT=index: Try to rename corrupted mailbox name during mailbox open. Commit: d0f04acfa567286e5a8e9f7a1f17b8971fe8b8de https://github.com/dovecot/core/commit/d0f04acfa567286e5a8e9f7a1f17b8971fe8b8de Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-backend.c M src/lib-storage/list/mailbox-list-index-sync.c Log Message: ----------- lib-storage: Fix compiler warnings about enum mismatches Commit: 70f4b4fc6d802999c0a1f8860ae01c1c28d6fd6d https://github.com/dovecot/core/commit/70f4b4fc6d802999c0a1f8860ae01c1c28d6fd6d Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/index/imapc/imapc-storage.c Log Message: ----------- imapc: Fix assert-crash when deleting mailbox triggers mailbox_get_open_status(). For example vsize header updating triggers this. Fixes: Panic: file mail-storage.c: line 1683: unreached Commit: f8d52f69ce8210149f9a78bae8d490904681db79 https://github.com/dovecot/core/commit/f8d52f69ce8210149f9a78bae8d490904681db79 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-index/mail-index-write.c M src/lib-index/mail-transaction-log-file.c Log Message: ----------- lib-index: Make sure an already-corrupted index/log isn't written Commit: ed526ea61b0cefc48f0201560137d56e08bdfb1f https://github.com/dovecot/core/commit/ed526ea61b0cefc48f0201560137d56e08bdfb1f Author: Paul Howarth Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M configure.ac M src/lib-ssl-iostream/iostream-openssl.c Log Message: ----------- configure: Fix build with old OpenSSL without SSL_clear_options SSL_clear_options was introduced in OpenSSL 0.9.8m but may be backported to older versions in "enterprise" OS releases, so a version check is insufficient here. It was originally implemented as a macro but is a function in more recent OpenSSL versions, so a test that works for both cases is needed. Commit: 3d4a16d387c183ab42f3976c7e62db1ea8497138 https://github.com/dovecot/core/commit/3d4a16d387c183ab42f3976c7e62db1ea8497138 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-index/mail-index-transaction-sort-appends.c Log Message: ----------- lib-index: Assert if mail_index_transaction_sort_appends() sees any uid==0 Every mail must have an UID at this stage. Commit: 3ccf77afa814cc08736a684acfb0e95083d17c68 https://github.com/dovecot/core/commit/3ccf77afa814cc08736a684acfb0e95083d17c68 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-index/mail-index-transaction-finish.c M src/lib-index/mail-index-transaction-private.h M src/lib-index/test-mail-index-transaction-finish.c Log Message: ----------- lib-index: Added internal mail_index_transaction_finish_so_far() This can be called multiple times before mail_index_transaction_finish(). It's going to perform all the work of reordering mails and dropping unnecessary changes that can be done before changing sequences to UIDs. This will be needed for the following patch that implements mail_index_transaction_get_highest_modseq(). Commit: c04a8e72620641deafccd19f5e2107913a8ba67a https://github.com/dovecot/core/commit/c04a8e72620641deafccd19f5e2107913a8ba67a Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-index/mail-index-transaction-export.c M src/lib-index/mail-index-transaction-finish.c M src/lib-index/mail-index-transaction-private.h M src/lib-index/mail-index-transaction.c M src/lib-index/mail-index.h M src/lib-index/mail-transaction-log-file.c Log Message: ----------- lib-index: Added mail_index_transaction_get_highest_modseq() Commit: 2479d44bb93751cc6f7c7818b4085e7f11049be3 https://github.com/dovecot/core/commit/2479d44bb93751cc6f7c7818b4085e7f11049be3 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/index/index-mail-headers.c M src/lib-storage/mail-storage.c M src/lib-storage/mail.c Log Message: ----------- lib-storage: Add asserts to make sure mailbox_header_lookup_ctx is used correctly. Commit: d5fa1f29ead1e0f4955696388d7d446464b8d40a https://github.com/dovecot/core/commit/d5fa1f29ead1e0f4955696388d7d446464b8d40a Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/mail-namespace.c M src/lib-storage/mail-namespace.h Log Message: ----------- lib-storage: Add mail_namespace_alloc() This makes it easier to create new namespaces. Based on patch by Jeff Sipek Commit: d97ad2e7bfd2ee702d2ca66f9913e9c56294c843 https://github.com/dovecot/core/commit/d97ad2e7bfd2ee702d2ca66f9913e9c56294c843 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/mail-namespace.c Log Message: ----------- lib-storage: Use mail_namespace_alloc() for mail_namespaces_init_location() Based on patch by Jeff Sipek Commit: f242660029e442528a7a8726d6cfafd2da0827fc https://github.com/dovecot/core/commit/f242660029e442528a7a8726d6cfafd2da0827fc Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/index/shared/shared-storage.c M src/lib-storage/mail-namespace.c M src/lib-storage/mail-namespace.h Log Message: ----------- lib-storage: Add struct mail_namespace.user_set Commit: c0d3aa56067fdd379afae0c8b6bba83a6a234906 https://github.com/dovecot/core/commit/c0d3aa56067fdd379afae0c8b6bba83a6a234906 Author: Josef 'Jeff' Sipek Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/index/imapc/imapc-settings.h M src/lib-storage/index/imapc/imapc-storage.c Log Message: ----------- imapc: use serialized settings as unique_root_dir Without this, it is not possible to instantiate multiple imapc storages. Any attempts to will result in multiple namespaces sharing the same storage, regardless of if that was the intention. Commit: f0343cb7aba0591ba5aa0569d0eb8171e7837693 https://github.com/dovecot/core/commit/f0343cb7aba0591ba5aa0569d0eb8171e7837693 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/index/dbox-multi/mdbox-storage.c M src/lib-storage/index/imapc/imapc-storage.c M src/lib-storage/index/maildir/maildir-storage.c M src/lib-storage/index/mbox/mbox-storage.c M src/lib-storage/index/pop3c/pop3c-storage.c M src/lib-storage/mail-storage-settings.c M src/lib-storage/mail-storage-settings.h Log Message: ----------- lib-storage: Add mail_namespace_get_driver_settings() and use it. It obsoletes mail_storage_get_driver_settings(). Commit: fa42553e83c58644b0fea76584a589d2bf030bdd https://github.com/dovecot/core/commit/fa42553e83c58644b0fea76584a589d2bf030bdd Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/index/imapc/imapc-list.c Log Message: ----------- imapc: Use struct mail_namespace.user_set Commit: 758c7196531d8e8fc92ab593a66fcef0bd06f1fd https://github.com/dovecot/core/commit/758c7196531d8e8fc92ab593a66fcef0bd06f1fd Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-settings/settings-parser.c M src/lib-settings/settings-parser.h Log Message: ----------- lib-settings: Avoid duplicating settings' values when not needed Commit: 47505a2735079d393628f033cf842bb0e09e4c37 https://github.com/dovecot/core/commit/47505a2735079d393628f033cf842bb0e09e4c37 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-settings/settings-parser.c M src/lib-settings/settings-parser.h Log Message: ----------- lib-settings: Add settings_parse_keyvalue() Commit: f148562cb6cf3ee973404de49011c023d124ddde https://github.com/dovecot/core/commit/f148562cb6cf3ee973404de49011c023d124ddde Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/config/config-parser.c M src/doveadm/doveadm-dsync.c M src/lib-storage/mail-storage-service.c Log Message: ----------- global: Replace some settings_parse_line() calls with settings_parse_keyvalue() Commit: 853f5e3184ae54e84ddd6e6e2a12b1abbd6f6363 https://github.com/dovecot/core/commit/853f5e3184ae54e84ddd6e6e2a12b1abbd6f6363 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/mail-storage-service.c M src/lib-storage/mail-storage-service.h Log Message: ----------- lib-storage: Add mail_storage_service_user_get_pool() Commit: 2aa182ac91d179b94923eae31941f688fb345736 https://github.com/dovecot/core/commit/2aa182ac91d179b94923eae31941f688fb345736 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-index/mail-index-sync.c Log Message: ----------- lib-index: Fix detecting whether caller synced everything in mailbox. When mailbox_index_sync_begin() was followed by _commit(), without _next()s in the middle actually syncing the mailbox, the tail_offset was updated to indicate that the mailbox was fully synced. Existing code didn't rely on this, so it probably didn't break anything. This code hasn't worked for a long time, because log_view is always read fully to the end in _sync_begin(). Commit: 1d0ef5c88e113874c48660f84417d8bb69501021 https://github.com/dovecot/core/commit/1d0ef5c88e113874c48660f84417d8bb69501021 Author: Josef 'Jeff' Sipek Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/index/index-mail-headers.c Log Message: ----------- lib-storage: fix index_mail_get_headers return value And make it more obvious that we're not setting the actual return value in index_mail_get_first_header. Commit: a14d0006121d12996838fccfb4db21929e4c2c20 https://github.com/dovecot/core/commit/a14d0006121d12996838fccfb4db21929e4c2c20 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib/connection.c M src/lib/connection.h Log Message: ----------- lib: Add connection.allow_empty_args_input This simplifies input_args() callbacks since they don't always have to check for args[0] == NULL. This is enabled by default, because none of the current users want it and it's somewhat unlikely there even will be those in future. Compare: https://github.com/dovecot/core/compare/bb2fcd3c89ad...a14d0006121d From noreply at github.com Fri Nov 18 12:30:14 2016 From: noreply at github.com (GitHub) Date: Fri, 18 Nov 2016 04:30:14 -0800 Subject: [dovecot/core] 244b25: imapc: don't mix positional and designated initial... Message-ID: <582ef456f255f_2d0d3f842c1cb1388726@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 244b25c0e9f5403c0029bf4af763ad7b724126f8 https://github.com/dovecot/core/commit/244b25c0e9f5403c0029bf4af763ad7b724126f8 Author: Josef 'Jeff' Sipek Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/index/imapc/imapc-list.c Log Message: ----------- imapc: don't mix positional and designated initialization Commit: b44a93c1a27a8f1b2702105402dda807f51ad4d5 https://github.com/dovecot/core/commit/b44a93c1a27a8f1b2702105402dda807f51ad4d5 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/index/imapc/imapc-storage.c Log Message: ----------- imapc: %zu isn't standard, use PRIuSIZE_T instead. Commit: 588a47cd86f0bed43f0a6253217ee031ce372eb0 https://github.com/dovecot/core/commit/588a47cd86f0bed43f0a6253217ee031ce372eb0 Author: Josef 'Jeff' Sipek Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/mail-storage-private.h M src/lib-storage/mail-storage.c Log Message: ----------- lib-storage: treat empty root_dir as an empty string Commit: d80bf6c524b066eea17619bec2ee8fa983d50ebe https://github.com/dovecot/core/commit/d80bf6c524b066eea17619bec2ee8fa983d50ebe Author: Stephan Bosch Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/mail-storage.c Log Message: ----------- lib-storage: Fixed a boolean expression. Problem found with clang -Wstrict-bool. Compare: https://github.com/dovecot/core/compare/a14d0006121d...d80bf6c524b0 From noreply at github.com Fri Nov 18 12:30:08 2016 From: noreply at github.com (GitHub) Date: Fri, 18 Nov 2016 04:30:08 -0800 Subject: [dovecot/core] 2f26f7: imapc: %zu isn't standard, use PRIuSIZE_T instead. Message-ID: <582ef450e74d0_2daed3f885dc1713430724@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 2f26f75219804e775c44f6b45a201a941d5590c3 https://github.com/dovecot/core/commit/2f26f75219804e775c44f6b45a201a941d5590c3 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/index/imapc/imapc-storage.c Log Message: ----------- imapc: %zu isn't standard, use PRIuSIZE_T instead. From noreply at github.com Fri Nov 18 13:30:10 2016 From: noreply at github.com (GitHub) Date: Fri, 18 Nov 2016 05:30:10 -0800 Subject: [dovecot/core] 61cae2: lib-storage: Add support for storing "mail stubs" Message-ID: <582f02626bc9a_252f3ffa211e91401469e@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 61cae213dc69070c1cef266578057710e34e0d12 https://github.com/dovecot/core/commit/61cae213dc69070c1cef266578057710e34e0d12 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/mail-storage-private.h M src/lib-storage/mail-storage.c M src/lib-storage/mail-storage.h Log Message: ----------- lib-storage: Add support for storing "mail stubs" These allow treating a storage backend as a cache where the mail bodies don't necessarily exist. Commit: e42e27fcc497c7b4a5cc0b6ff304abca5ccfcb4f https://github.com/dovecot/core/commit/e42e27fcc497c7b4a5cc0b6ff304abca5ccfcb4f Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/index/dbox-common/dbox-save.c M src/lib-storage/index/dbox-single/sdbox-save.c Log Message: ----------- sdbox: Implement support for mail stubs Compare: https://github.com/dovecot/core/compare/2f26f7521980...e42e27fcc497 From noreply at github.com Fri Nov 18 13:30:15 2016 From: noreply at github.com (GitHub) Date: Fri, 18 Nov 2016 05:30:15 -0800 Subject: [dovecot/core] 66c5ed: lib-storage: Add support for storing "mail stubs" Message-ID: <582f02679695b_15713fc3bea7514088990@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 66c5edee90c92a4b276ea352dd9a11e41be57c39 https://github.com/dovecot/core/commit/66c5edee90c92a4b276ea352dd9a11e41be57c39 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/mail-storage-private.h M src/lib-storage/mail-storage.c M src/lib-storage/mail-storage.h Log Message: ----------- lib-storage: Add support for storing "mail stubs" These allow treating a storage backend as a cache where the mail bodies don't necessarily exist. Commit: 7fdf10860255866f2cac044e64d81cae96bc1815 https://github.com/dovecot/core/commit/7fdf10860255866f2cac044e64d81cae96bc1815 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/index/dbox-common/dbox-save.c M src/lib-storage/index/dbox-single/sdbox-save.c Log Message: ----------- sdbox: Implement support for mail stubs Compare: https://github.com/dovecot/core/compare/d80bf6c524b0...7fdf10860255 From noreply at github.com Fri Nov 18 14:00:08 2016 From: noreply at github.com (GitHub) Date: Fri, 18 Nov 2016 06:00:08 -0800 Subject: [dovecot/core] ac27e8: lib-storage: Fix checking stub_seq failure in mail... Message-ID: <582f096884b93_20d383fdb60a7913c53254@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: ac27e84055cbfdd794f25d8f66341f8e5217e43f https://github.com/dovecot/core/commit/ac27e84055cbfdd794f25d8f66341f8e5217e43f Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/mail-storage.c Log Message: ----------- lib-storage: Fix checking stub_seq failure in mailbox_save_set_uid() From noreply at github.com Fri Nov 18 14:00:13 2016 From: noreply at github.com (GitHub) Date: Fri, 18 Nov 2016 06:00:13 -0800 Subject: [dovecot/core] 23c7e6: lib-storage: Fix checking stub_seq failure in mail... Message-ID: <582f096d751d0_140d3fba5699712c7508c@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 23c7e63cd83299c13b7ae8b85e2eec821fdae8ed https://github.com/dovecot/core/commit/23c7e63cd83299c13b7ae8b85e2eec821fdae8ed Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-storage/mail-storage.c Log Message: ----------- lib-storage: Fix checking stub_seq failure in mailbox_save_set_uid() From noreply at github.com Fri Nov 18 14:30:08 2016 From: noreply at github.com (GitHub) Date: Fri, 18 Nov 2016 06:30:08 -0800 Subject: [dovecot/core] 6ade0d: lib-index: If mmap() fails, include the attempted ... Message-ID: <582f1070a8cc4_33993fa3d4039140106493@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 6ade0d76250bc7db405cd20f3e1b660f74c77bd4 https://github.com/dovecot/core/commit/6ade0d76250bc7db405cd20f3e1b660f74c77bd4 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-index/mail-cache.c M src/lib-index/mail-index-map-read.c M src/lib-index/mail-transaction-log-file.c Log Message: ----------- lib-index: If mmap() fails, include the attempted size in the error. Commit: 0fd7143c38d0dbb9f20184b3a248d4923310f104 https://github.com/dovecot/core/commit/0fd7143c38d0dbb9f20184b3a248d4923310f104 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-index/mail-index-map-read.c Log Message: ----------- lib-index: Compiler warning fix Compare: https://github.com/dovecot/core/compare/ac27e84055cb...0fd7143c38d0 From noreply at github.com Fri Nov 18 14:30:13 2016 From: noreply at github.com (GitHub) Date: Fri, 18 Nov 2016 06:30:13 -0800 Subject: [dovecot/core] 6db548: lib-index: If mmap() fails, include the attempted ... Message-ID: <582f1075a099f_607d3ff9daaad13869852@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 6db548abb294cb85b949ed6c0916b7a18168716d https://github.com/dovecot/core/commit/6db548abb294cb85b949ed6c0916b7a18168716d Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-index/mail-cache.c M src/lib-index/mail-index-map-read.c M src/lib-index/mail-transaction-log-file.c Log Message: ----------- lib-index: If mmap() fails, include the attempted size in the error. Commit: 00ecebf8645b6f31af262d5a39d130107c03ab86 https://github.com/dovecot/core/commit/00ecebf8645b6f31af262d5a39d130107c03ab86 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-index/mail-index-map-read.c Log Message: ----------- lib-index: Compiler warning fix Compare: https://github.com/dovecot/core/compare/23c7e63cd832...00ecebf8645b From noreply at github.com Fri Nov 18 15:00:10 2016 From: noreply at github.com (GitHub) Date: Fri, 18 Nov 2016 07:00:10 -0800 Subject: [dovecot/core] 8dfabf: lib-index: mail_transaction_log_find_file() - remo... Message-ID: <582f177aa9adb_6e603faa72cdb14c72020@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 8dfabfbc7715df1c9e2016f6a3f2db575265524b https://github.com/dovecot/core/commit/8dfabfbc7715df1c9e2016f6a3f2db575265524b Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-index/mail-transaction-log.c Log Message: ----------- lib-index: mail_transaction_log_find_file() - remove wrong optimization. When opening the index, it's possible that: process A: .log is opened with seq=1 process B: Rotates the .log and writes a new dovecot.index with log_file_seq=2 process A: dovecot.index is opened. mail_transaction_log_view_set() now wants to file log_file_seq=2 with mail_transaction_log_find_file(), but because open_count==0, the .log isn't refreshed. Commit: 6321d9d33937c7fc13a8ff04c220a9e377efeeb8 https://github.com/dovecot/core/commit/6321d9d33937c7fc13a8ff04c220a9e377efeeb8 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-index/mail-index-modseq.c M src/lib-index/mail-transaction-log-private.h M src/lib-index/mail-transaction-log-view.c M src/lib-index/mail-transaction-log.c M src/lib-index/test-mail-transaction-log-view.c Log Message: ----------- lib-index: Add more information to "Missing middle file" error. Compare: https://github.com/dovecot/core/compare/0fd7143c38d0...6321d9d33937 From noreply at github.com Fri Nov 18 15:30:15 2016 From: noreply at github.com (GitHub) Date: Fri, 18 Nov 2016 07:30:15 -0800 Subject: [dovecot/core] c0d1bf: lib-index: Improve errors - return reason in mail_... Message-ID: <582f1e8744cd3_5b413fc50abab1341813e@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: c0d1bfc45e224251cb549de8d8804861e8acb517 https://github.com/dovecot/core/commit/c0d1bfc45e224251cb549de8d8804861e8acb517 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-index/mail-transaction-log-file.c M src/lib-index/mail-transaction-log-private.h M src/lib-index/mail-transaction-log.c Log Message: ----------- lib-index: Improve errors - return reason in mail_transaction_log_file_open() Commit: 591f83c40ae8e889aded2b4a52d86e3c02948693 https://github.com/dovecot/core/commit/591f83c40ae8e889aded2b4a52d86e3c02948693 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-index/mail-transaction-log.c Log Message: ----------- lib-index: Improve errors - return reason in mail_transaction_log_refresh() Compare: https://github.com/dovecot/core/compare/6321d9d33937...591f83c40ae8 From noreply at github.com Fri Nov 18 15:30:20 2016 From: noreply at github.com (GitHub) Date: Fri, 18 Nov 2016 07:30:20 -0800 Subject: [dovecot/core] 7e290d: lib-index: mail_transaction_log_find_file() - remo... Message-ID: <582f1e8c8dac5_1ac73fef94791134736ef@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 7e290d2778c736b68af0a81d084cd9b10448d064 https://github.com/dovecot/core/commit/7e290d2778c736b68af0a81d084cd9b10448d064 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-index/mail-transaction-log.c Log Message: ----------- lib-index: mail_transaction_log_find_file() - remove wrong optimization. When opening the index, it's possible that: process A: .log is opened with seq=1 process B: Rotates the .log and writes a new dovecot.index with log_file_seq=2 process A: dovecot.index is opened. mail_transaction_log_view_set() now wants to file log_file_seq=2 with mail_transaction_log_find_file(), but because open_count==0, the .log isn't refreshed. Commit: 704657e1c492c729a7c9955f53c76ac2cedb9ed6 https://github.com/dovecot/core/commit/704657e1c492c729a7c9955f53c76ac2cedb9ed6 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-index/mail-index-modseq.c M src/lib-index/mail-transaction-log-private.h M src/lib-index/mail-transaction-log-view.c M src/lib-index/mail-transaction-log.c M src/lib-index/test-mail-transaction-log-view.c Log Message: ----------- lib-index: Add more information to "Missing middle file" error. Commit: 1b0b3b6ae749550fc0ecdf767fe1c6ff449c13e5 https://github.com/dovecot/core/commit/1b0b3b6ae749550fc0ecdf767fe1c6ff449c13e5 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-index/mail-transaction-log-file.c M src/lib-index/mail-transaction-log-private.h M src/lib-index/mail-transaction-log.c Log Message: ----------- lib-index: Improve errors - return reason in mail_transaction_log_file_open() Commit: b5138141c3837beb993cf2f81bcf90931244a472 https://github.com/dovecot/core/commit/b5138141c3837beb993cf2f81bcf90931244a472 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/lib-index/mail-transaction-log.c Log Message: ----------- lib-index: Improve errors - return reason in mail_transaction_log_refresh() Compare: https://github.com/dovecot/core/compare/00ecebf8645b...b5138141c383 From noreply at github.com Fri Nov 18 19:30:09 2016 From: noreply at github.com (GitHub) Date: Fri, 18 Nov 2016 11:30:09 -0800 Subject: [dovecot/core] 551fef: imap: Fix recent flags importing when un-hibernati... Message-ID: <582f56c1258aa_af63fe9a6fc713056061@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 551fef69c0633ae3c7738038e047a7c0762d9599 https://github.com/dovecot/core/commit/551fef69c0633ae3c7738038e047a7c0762d9599 Author: Timo Sirainen Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths: M src/imap/imap-state.c Log Message: ----------- imap: Fix recent flags importing when un-hibernating The initial RECENT counter that was sent didn't include pre-hibernation \Recent flags. \Recent flags were also added for mails that were already expunged, which could have caused recent counter to be wrong later on, and possibly assert-crash with: Panic: file index-status.c: line 130 (index_storage_get_open_status): assertion failed: (status_r->recent <= status_r->messages) From noreply at github.com Sat Nov 19 02:30:08 2016 From: noreply at github.com (GitHub) Date: Fri, 18 Nov 2016 18:30:08 -0800 Subject: [dovecot/core] 0c4a3c: fts: Fixed potential crash when indexing mails. Message-ID: <582fb930187cb_1ef9a3ff24f4e1138133471@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 0c4a3ccaab8f720b1d62e305810a5de4aa7e159f https://github.com/dovecot/core/commit/0c4a3ccaab8f720b1d62e305810a5de4aa7e159f Author: Timo Sirainen Date: 2016-11-19 (Sat, 19 Nov 2016) Changed paths: M src/plugins/fts/fts-parser.c Log Message: ----------- fts: Fixed potential crash when indexing mails. Normally it seems like compilers had built code that had added a NULL after the array, but there was no guarantee for that. From noreply at github.com Mon Nov 21 11:00:13 2016 From: noreply at github.com (GitHub) Date: Mon, 21 Nov 2016 03:00:13 -0800 Subject: [dovecot/core] 13fd9a: imap: Fix recent flags importing when un-hibernati... Message-ID: <5832d3bdd6bcf_46f23fd8e5557140991a2@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 13fd9a5374adefe5e73431ae9ec4d11f99ad40f1 https://github.com/dovecot/core/commit/13fd9a5374adefe5e73431ae9ec4d11f99ad40f1 Author: Timo Sirainen Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/imap/imap-state.c Log Message: ----------- imap: Fix recent flags importing when un-hibernating The initial RECENT counter that was sent didn't include pre-hibernation \Recent flags. \Recent flags were also added for mails that were already expunged, which could have caused recent counter to be wrong later on, and possibly assert-crash with: Panic: file index-status.c: line 130 (index_storage_get_open_status): assertion failed: (status_r->recent <= status_r->messages) Commit: 00776386fd52c8edc8a7fe7a49700061a62a08dc https://github.com/dovecot/core/commit/00776386fd52c8edc8a7fe7a49700061a62a08dc Author: Timo Sirainen Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/plugins/fts/fts-parser.c Log Message: ----------- fts: Fixed potential crash when indexing mails. Normally it seems like compilers had built code that had added a NULL after the array, but there was no guarantee for that. Compare: https://github.com/dovecot/core/compare/b5138141c383...00776386fd52 From noreply at github.com Mon Nov 21 12:00:13 2016 From: noreply at github.com (GitHub) Date: Mon, 21 Nov 2016 04:00:13 -0800 Subject: [dovecot/core] 9627b1: lib-index: Revert log flooding prevention / 3c014d... Message-ID: <5832e1cd25c92_250283fc438a6d13c17222@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 9627b1a2899f4992e54b68a9ceea5a7a88df86d4 https://github.com/dovecot/core/commit/9627b1a2899f4992e54b68a9ceea5a7a88df86d4 Author: Timo Sirainen Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/lib-index/mail-index-private.h M src/lib-index/mail-index.c Log Message: ----------- lib-index: Revert log flooding prevention / 3c014db6f This was intended only for mmap() errors. From noreply at github.com Mon Nov 21 12:00:12 2016 From: noreply at github.com (GitHub) Date: Mon, 21 Nov 2016 04:00:12 -0800 Subject: [dovecot/core] 95e402: lib-index: Revert log flooding prevention / 3c014d... Message-ID: <5832e1cc6b556_14b3fd2ab14d13456352@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 95e4021e3e2a733d27f48fe97912fc96df52005f https://github.com/dovecot/core/commit/95e4021e3e2a733d27f48fe97912fc96df52005f Author: Timo Sirainen Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/lib-index/mail-index-private.h M src/lib-index/mail-index.c Log Message: ----------- lib-index: Revert log flooding prevention / 3c014db6f This was intended only for mmap() errors. From noreply at github.com Mon Nov 21 21:00:11 2016 From: noreply at github.com (GitHub) Date: Mon, 21 Nov 2016 13:00:11 -0800 Subject: [dovecot/core] fc494f: dict-client: Code cleanup - handle tab-unescaping ... Message-ID: <5833605b2521_15b03fc1fd70313c62515@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: fc494f157828dee9bb9885dd3630e9b7b45cdb25 https://github.com/dovecot/core/commit/fc494f157828dee9bb9885dd3630e9b7b45cdb25 Author: Timo Sirainen Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/lib-dict/dict-client.c M src/lib-dict/dict-client.h Log Message: ----------- dict-client: Code cleanup - handle tab-unescaping before callbacks. Commit: 8e1491e4924e3f9fc474a99438b6297b8d1ce1f3 https://github.com/dovecot/core/commit/8e1491e4924e3f9fc474a99438b6297b8d1ce1f3 Author: Timo Sirainen Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/dict/dict-commands.c M src/dict/dict-connection.c M src/dict/dict-connection.h M src/lib-dict/dict-client.c M src/lib-dict/dict-client.h Log Message: ----------- dict-client: Add time spent in dict-server to "slow dict lookup" messages. This way you can see if the slowness was due to some communication problem between dict-client/server or internally in dict server. This change keeps backwards compatibility in the dict protocol for both client and server. Commit: 2525acc19ab4c8ce64c063a5be8e6b8d198a9fbe https://github.com/dovecot/core/commit/2525acc19ab4c8ce64c063a5be8e6b8d198a9fbe Author: Timo Sirainen Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/lib-dict/dict-client.c Log Message: ----------- dict-client: Add warn_slow_msecs setting This allows configuring the default 5 seconds "slow dict lookup" warning. Commit: d485968ffb1b2456452d79eeda33abeb1bdd5733 https://github.com/dovecot/core/commit/d485968ffb1b2456452d79eeda33abeb1bdd5733 Author: Timo Sirainen Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/lib-dict/dict-client.c Log Message: ----------- dict-client: Include reconnection-status in slow dict lookup messages. Commit: af298f9a4cc206f5d6c153504de6caa4807231ba https://github.com/dovecot/core/commit/af298f9a4cc206f5d6c153504de6caa4807231ba Author: Timo Sirainen Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/dict/dict-commands.c Log Message: ----------- dict: Moved iterate's corking to more correct location. Commands' input handling already corks ostream in connection.c. ostream's flush callback corks the ostream automatically. So the only place left for corking is in dict iterate callback. Commit: 1fb0136a1eef1990e24268e0916a998b36149e14 https://github.com/dovecot/core/commit/1fb0136a1eef1990e24268e0916a998b36149e14 Author: Timo Sirainen Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/dict/dict-commands.c Log Message: ----------- dict: Make sure iterate doesn't add to ostream when it's already full. Commit: 44c54229a117b8dab05eaff9c54ba61fbae9a39f https://github.com/dovecot/core/commit/44c54229a117b8dab05eaff9c54ba61fbae9a39f Author: Timo Sirainen Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/dict/dict-commands.c M src/dict/dict-connection.h M src/lib-dict/dict-client.c M src/lib-dict/dict-client.h Log Message: ----------- dict-client: Server can now send command replies in any order. This way one slow lookup doesn't block all the other ones. This change keeps backwards compatibility in the dict protocol for both client and server. Commit: 9e0b187933b52db68c1aefb913970eeba47b986e https://github.com/dovecot/core/commit/9e0b187933b52db68c1aefb913970eeba47b986e Author: Aki Tuomi Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/lib-index/mail-index.c M src/lib-index/mail-transaction-log-view.c Log Message: ----------- lib-index: Do not crash if log is missing Fixes sigfault when index and index.log files are corrupted. Commit: 12f0c4396d2d9c02b7d5e070aaf64fed5853e9bf https://github.com/dovecot/core/commit/12f0c4396d2d9c02b7d5e070aaf64fed5853e9bf Author: Aki Tuomi Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/lib-index/mail-index-map-read.c M src/lib-index/mail-index-private.h Log Message: ----------- lib-index: Limit mmap syscall errors in index to 1/s Commit: e9594e86dc601b72c1636f2b901dcfbf4ffaf47f https://github.com/dovecot/core/commit/e9594e86dc601b72c1636f2b901dcfbf4ffaf47f Author: Aki Tuomi Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/lib-index/mail-cache-private.h M src/lib-index/mail-cache.c Log Message: ----------- lib-index: Limit mmap errors in index cache to 1/s Commit: 52d2b356e3ddb4e59ee09c10d47add9d3280284b https://github.com/dovecot/core/commit/52d2b356e3ddb4e59ee09c10d47add9d3280284b Author: Aki Tuomi Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/lib-index/mail-transaction-log-file.c M src/lib-index/mail-transaction-log-private.h Log Message: ----------- lib-index: Limit mmap errors in txn log file to 1/s Compare: https://github.com/dovecot/core/compare/95e4021e3e2a...52d2b356e3dd From noreply at github.com Mon Nov 21 21:00:13 2016 From: noreply at github.com (GitHub) Date: Mon, 21 Nov 2016 13:00:13 -0800 Subject: [dovecot/core] e2d1cf: dict-client: Code cleanup - handle tab-unescaping ... Message-ID: <5833605d98e71_1bc53fae1f73f138775c6@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: e2d1cffbdfa086c4f06a37ecd247d01b7928b2cd https://github.com/dovecot/core/commit/e2d1cffbdfa086c4f06a37ecd247d01b7928b2cd Author: Timo Sirainen Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/lib-dict/dict-client.c M src/lib-dict/dict-client.h Log Message: ----------- dict-client: Code cleanup - handle tab-unescaping before callbacks. Commit: 0bfc9b7585f0867bac09b5425ff2629c58f9bbc5 https://github.com/dovecot/core/commit/0bfc9b7585f0867bac09b5425ff2629c58f9bbc5 Author: Timo Sirainen Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/dict/dict-commands.c M src/dict/dict-connection.c M src/dict/dict-connection.h M src/lib-dict/dict-client.c M src/lib-dict/dict-client.h Log Message: ----------- dict-client: Add time spent in dict-server to "slow dict lookup" messages. This way you can see if the slowness was due to some communication problem between dict-client/server or internally in dict server. This change keeps backwards compatibility in the dict protocol for both client and server. Commit: c2db9c89d15691c472d1f3ba8f6edb620bde1721 https://github.com/dovecot/core/commit/c2db9c89d15691c472d1f3ba8f6edb620bde1721 Author: Timo Sirainen Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/lib-dict/dict-client.c Log Message: ----------- dict-client: Add warn_slow_msecs setting This allows configuring the default 5 seconds "slow dict lookup" warning. Commit: d3b8b1e1593412ba806471cedf606524d1c32b6e https://github.com/dovecot/core/commit/d3b8b1e1593412ba806471cedf606524d1c32b6e Author: Timo Sirainen Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/lib-dict/dict-client.c Log Message: ----------- dict-client: Include reconnection-status in slow dict lookup messages. Commit: a9d14bb8ea285b0aa73bec3faeece5117cc1b59f https://github.com/dovecot/core/commit/a9d14bb8ea285b0aa73bec3faeece5117cc1b59f Author: Timo Sirainen Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/dict/dict-commands.c M src/dict/dict-connection.c Log Message: ----------- dict: Moved iterate's corking to more correct location. Commands' input handling already corks ostream in connection.c. Commit: 691f4f5c3b86c82996ee93bde1a3281ae04beafe https://github.com/dovecot/core/commit/691f4f5c3b86c82996ee93bde1a3281ae04beafe Author: Timo Sirainen Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/dict/dict-commands.c Log Message: ----------- dict: Make sure iterate doesn't add to ostream when it's already full. Commit: 4330fa04ae73ddaff6182d624ca7249cbd9767be https://github.com/dovecot/core/commit/4330fa04ae73ddaff6182d624ca7249cbd9767be Author: Timo Sirainen Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/dict/dict-commands.c M src/dict/dict-connection.h M src/lib-dict/dict-client.c M src/lib-dict/dict-client.h Log Message: ----------- dict-client: Server can now send command replies in any order. This way one slow lookup doesn't block all the other ones. This change keeps backwards compatibility in the dict protocol for both client and server. Commit: a48c485c2312ca58f24c73c6e7bb975f1072b8a5 https://github.com/dovecot/core/commit/a48c485c2312ca58f24c73c6e7bb975f1072b8a5 Author: Aki Tuomi Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/lib-index/mail-index.c M src/lib-index/mail-transaction-log-view.c Log Message: ----------- lib-index: Do not crash if log is missing Fixes sigfault when index and index.log files are corrupted. Commit: ae4d74667c64031ce02dbc8eac1e298610deda52 https://github.com/dovecot/core/commit/ae4d74667c64031ce02dbc8eac1e298610deda52 Author: Aki Tuomi Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/lib-index/mail-index-map-read.c M src/lib-index/mail-index-private.h Log Message: ----------- lib-index: Limit mmap syscall errors in index to 1/s Commit: 0c923387722fe47bc0f924d5f2fb6bf359e40251 https://github.com/dovecot/core/commit/0c923387722fe47bc0f924d5f2fb6bf359e40251 Author: Aki Tuomi Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/lib-index/mail-cache-private.h M src/lib-index/mail-cache.c Log Message: ----------- lib-index: Limit mmap errors in index cache to 1/s Commit: df2a53f64ad4af75741368f717d21e6543528250 https://github.com/dovecot/core/commit/df2a53f64ad4af75741368f717d21e6543528250 Author: Aki Tuomi Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/lib-index/mail-transaction-log-file.c M src/lib-index/mail-transaction-log-private.h Log Message: ----------- lib-index: Limit mmap errors in txn log file to 1/s Compare: https://github.com/dovecot/core/compare/9627b1a2899f...df2a53f64ad4 From noreply at github.com Mon Nov 21 22:00:08 2016 From: noreply at github.com (GitHub) Date: Mon, 21 Nov 2016 14:00:08 -0800 Subject: [dovecot/core] cacaa9: lib-dict: Add extra NULL-check to make static anal... Message-ID: <58336e68a9436_3ca73fb726e6f13c628cf@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: cacaa94d258a1f1dd5630e64771186b73813648c https://github.com/dovecot/core/commit/cacaa94d258a1f1dd5630e64771186b73813648c Author: Timo Sirainen Date: 2016-11-21 (Mon, 21 Nov 2016) Changed paths: M src/lib-dict/dict-client.c Log Message: ----------- lib-dict: Add extra NULL-check to make static analyzer happier str_array_length() already checked NULL internally though. From noreply at github.com Mon Nov 21 22:30:10 2016 From: noreply at github.com (GitHub) Date: Mon, 21 Nov 2016 14:30:10 -0800 Subject: [dovecot/core] 588a05: quota-clone: Code cleanup - moved recursion check ... Message-ID: <5833757211d2d_30d63f942907513c39516@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 588a0579058849aed9f7b59d8259e0c58d9fd23c https://github.com/dovecot/core/commit/588a0579058849aed9f7b59d8259e0c58d9fd23c Author: Timo Sirainen Date: 2016-11-22 (Tue, 22 Nov 2016) Changed paths: M src/plugins/quota-clone/quota-clone-plugin.c Log Message: ----------- quota-clone: Code cleanup - moved recursion check to quota_clone_flush() Commit: 5de0c65da362236080fa699af3da03e45e480ab8 https://github.com/dovecot/core/commit/5de0c65da362236080fa699af3da03e45e480ab8 Author: Timo Sirainen Date: 2016-11-22 (Tue, 22 Nov 2016) Changed paths: M src/plugins/quota-clone/quota-clone-plugin.c Log Message: ----------- quota-clone: Flush quota-clone 10s after quota update if it's not already done This way a long-running IMAP session can't keep the quota-clone desynced for a long time. Compare: https://github.com/dovecot/core/compare/cacaa94d258a...5de0c65da362 From noreply at github.com Tue Nov 22 09:30:14 2016 From: noreply at github.com (GitHub) Date: Tue, 22 Nov 2016 01:30:14 -0800 Subject: [dovecot/core] 954b21: lib-dict: Add extra NULL-check to make static anal... Message-ID: <583410268da04_15f8c3fa4db4df13825141@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 954b2106c12a3e24c66f8e94d0e945ceae9b7cc4 https://github.com/dovecot/core/commit/954b2106c12a3e24c66f8e94d0e945ceae9b7cc4 Author: Timo Sirainen Date: 2016-11-22 (Tue, 22 Nov 2016) Changed paths: M src/lib-dict/dict-client.c Log Message: ----------- lib-dict: Add extra NULL-check to make static analyzer happier str_array_length() already checked NULL internally though. Commit: ad10b85c8c14c41ba3e002adaac8edcf00f13fe3 https://github.com/dovecot/core/commit/ad10b85c8c14c41ba3e002adaac8edcf00f13fe3 Author: Timo Sirainen Date: 2016-11-22 (Tue, 22 Nov 2016) Changed paths: M src/plugins/quota-clone/quota-clone-plugin.c Log Message: ----------- quota-clone: Code cleanup - moved recursion check to quota_clone_flush() Commit: b8eed6456d1fa1d0be59d755287b2837aef06910 https://github.com/dovecot/core/commit/b8eed6456d1fa1d0be59d755287b2837aef06910 Author: Timo Sirainen Date: 2016-11-22 (Tue, 22 Nov 2016) Changed paths: M src/plugins/quota-clone/quota-clone-plugin.c Log Message: ----------- quota-clone: Flush quota-clone 10s after quota update if it's not already done This way a long-running IMAP session can't keep the quota-clone desynced for a long time. Commit: c647daf549b9ebbeef4e9ead75b91ad4ba5a6038 https://github.com/dovecot/core/commit/c647daf549b9ebbeef4e9ead75b91ad4ba5a6038 Author: Timo Sirainen Date: 2016-11-22 (Tue, 22 Nov 2016) Changed paths: M src/lib-dict/dict-client.c Log Message: ----------- dict-client: dict_lookup*() deleted the first byte of the result. Compare: https://github.com/dovecot/core/compare/df2a53f64ad4...c647daf549b9 From noreply at github.com Tue Nov 22 09:30:10 2016 From: noreply at github.com (GitHub) Date: Tue, 22 Nov 2016 01:30:10 -0800 Subject: [dovecot/core] 542d7a: dict-client: dict_lookup*() deleted the first byte... Message-ID: <58341022a5899_39a3fb4216e1134413af@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 542d7a4afa3d7d8686ebdba691ad02d1c2e99452 https://github.com/dovecot/core/commit/542d7a4afa3d7d8686ebdba691ad02d1c2e99452 Author: Timo Sirainen Date: 2016-11-22 (Tue, 22 Nov 2016) Changed paths: M src/lib-dict/dict-client.c Log Message: ----------- dict-client: dict_lookup*() deleted the first byte of the result. From noreply at github.com Tue Nov 22 13:00:08 2016 From: noreply at github.com (GitHub) Date: Tue, 22 Nov 2016 05:00:08 -0800 Subject: [dovecot/core] 9644b7: lib-index: Handle invalid headers as "corruption",... Message-ID: <58344158916ad_1ffd3fd1b11c713c6179e@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 9644b7914445f0fb1098038218bfcb7d135a8698 https://github.com/dovecot/core/commit/9644b7914445f0fb1098038218bfcb7d135a8698 Author: Timo Sirainen Date: 2016-11-22 (Tue, 22 Nov 2016) Changed paths: M src/lib-index/mail-index-map-hdr.c M src/lib-index/mail-index-map-read.c Log Message: ----------- lib-index: Handle invalid headers as "corruption", not "temporary error" This is especially required for "Header's corrupted flag is set" error, which won't get fixed otherwise. It's a bit more questionable if we should treat major version or CPU architecture change as corruption, but it's possible those only exist because of corruption. It's also very unlikely that either is really happening. Ideally there would be a hash that verifies whether the header is corrupted or not. From noreply at github.com Tue Nov 22 16:00:10 2016 From: noreply at github.com (GitHub) Date: Tue, 22 Nov 2016 08:00:10 -0800 Subject: [dovecot/core] edc654: lib-fts: Fix fts_tokenizer_delete_trailing_partial... Message-ID: <58346b8abdf37_f853fe13fda313436934@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: edc654a35c3368dfb529ba784aee41dff6f45149 https://github.com/dovecot/core/commit/edc654a35c3368dfb529ba784aee41dff6f45149 Author: Timo Sirainen Date: 2016-11-22 (Tue, 22 Nov 2016) Changed paths: M src/lib-fts/test-fts-tokenizer.c Log Message: ----------- lib-fts: Fix fts_tokenizer_delete_trailing_partial_char() unit test Commit: b1b0b2b543dc1a10015272fc970ad7534f84e0c5 https://github.com/dovecot/core/commit/b1b0b2b543dc1a10015272fc970ad7534f84e0c5 Author: Timo Sirainen Date: 2016-11-22 (Tue, 22 Nov 2016) Changed paths: M src/lib-fts/fts-tokenizer-address.c M src/lib-fts/test-fts-tokenizer.c Log Message: ----------- lib-fts: Make sure address tokenizer can't return empty tokens. This happened when address was a token that first looked like it could be a valid address, but then got truncated due to reaching maxlen, followed by truncating the UTF8-sequence and finally all the rest of the '-' or '.' chars that were valid at the beginning of the address are stripped away by fts_tokenizer_delete_trailing_invalid_char(), leaving nothing left. Fixes: Panic: file fts-tokenizer.c: line 206 (fts_tokenizer_next): assertion failed: (ret <= 0 || (*token_r)[0] != '\0') Compare: https://github.com/dovecot/core/compare/9644b7914445...b1b0b2b543dc From noreply at github.com Tue Nov 22 16:30:10 2016 From: noreply at github.com (GitHub) Date: Tue, 22 Nov 2016 08:30:10 -0800 Subject: [dovecot/core] 9d92ea: lib-fts: Add randomness test to test-fts-tokenizer Message-ID: <5834729228ca6_b223fbc640d71302821c@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 9d92ea347e1c098fa33ea517514dfdc0bb8995e2 https://github.com/dovecot/core/commit/9d92ea347e1c098fa33ea517514dfdc0bb8995e2 Author: Timo Sirainen Date: 2016-11-22 (Tue, 22 Nov 2016) Changed paths: M src/lib-fts/test-fts-tokenizer.c Log Message: ----------- lib-fts: Add randomness test to test-fts-tokenizer From noreply at github.com Tue Nov 22 18:30:11 2016 From: noreply at github.com (GitHub) Date: Tue, 22 Nov 2016 10:30:11 -0800 Subject: [dovecot/core] 08e9fd: lib-storage: require MAIL_STORAGE_CLASS_FLAG_STUBS... Message-ID: <58348eb38eecb_dc63fee7008f130946de@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 08e9fd42eb8007e1f9db62c088eef74f906114a5 https://github.com/dovecot/core/commit/08e9fd42eb8007e1f9db62c088eef74f906114a5 Author: Josef 'Jeff' Sipek Date: 2016-11-22 (Tue, 22 Nov 2016) Changed paths: M src/lib-storage/index/dbox-single/sdbox-storage.c M src/lib-storage/mail-storage-private.h M src/lib-storage/mail-storage.c Log Message: ----------- lib-storage: require MAIL_STORAGE_CLASS_FLAG_STUBS when caching If we are going to be using the storage for caching, we should check that the storage actually supports mail stubs. From noreply at github.com Wed Nov 23 12:00:08 2016 From: noreply at github.com (GitHub) Date: Wed, 23 Nov 2016 04:00:08 -0800 Subject: [dovecot/core] c3d3fa: auth: Fix auth-policy crash when username is NULL Message-ID: <583584c892d95_12043f868440d1304152e@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: c3d3faa4f72a676e183f34be960cff13a5a725ae https://github.com/dovecot/core/commit/c3d3faa4f72a676e183f34be960cff13a5a725ae Author: Aki Tuomi Date: 2016-11-23 (Wed, 23 Nov 2016) Changed paths: M src/auth/auth-policy.c Log Message: ----------- auth: Fix auth-policy crash when username is NULL If SASL request is invalid, or incomplete, and username is left NULL, handle it gracefully by adding just NUL byte in auth policy digest for username. From noreply at github.com Wed Nov 23 12:00:14 2016 From: noreply at github.com (GitHub) Date: Wed, 23 Nov 2016 04:00:14 -0800 Subject: [dovecot/core] 323d03: lib-index: Handle invalid headers as "corruption",... Message-ID: <583584ce22794_33883fe8c89e313096299@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 323d035fb645850fd12f67f1dbf31e1d741925f2 https://github.com/dovecot/core/commit/323d035fb645850fd12f67f1dbf31e1d741925f2 Author: Timo Sirainen Date: 2016-11-23 (Wed, 23 Nov 2016) Changed paths: M src/lib-index/mail-index-map-hdr.c M src/lib-index/mail-index-map-read.c Log Message: ----------- lib-index: Handle invalid headers as "corruption", not "temporary error" This is especially required for "Header's corrupted flag is set" error, which won't get fixed otherwise. It's a bit more questionable if we should treat major version or CPU architecture change as corruption, but it's possible those only exist because of corruption. It's also very unlikely that either is really happening. Ideally there would be a hash that verifies whether the header is corrupted or not. Commit: 3b27e2706d7b54da44955760a140f3117e742625 https://github.com/dovecot/core/commit/3b27e2706d7b54da44955760a140f3117e742625 Author: Timo Sirainen Date: 2016-11-23 (Wed, 23 Nov 2016) Changed paths: M src/lib-fts/test-fts-tokenizer.c Log Message: ----------- lib-fts: Fix fts_tokenizer_delete_trailing_partial_char() unit test Commit: 8c4b4b9c61f098dc8bf2707d605d9ecdc60fe03d https://github.com/dovecot/core/commit/8c4b4b9c61f098dc8bf2707d605d9ecdc60fe03d Author: Timo Sirainen Date: 2016-11-23 (Wed, 23 Nov 2016) Changed paths: M src/lib-fts/fts-tokenizer-address.c M src/lib-fts/test-fts-tokenizer.c Log Message: ----------- lib-fts: Make sure address tokenizer can't return empty tokens. This happened when address was a token that first looked like it could be a valid address, but then got truncated due to reaching maxlen, followed by truncating the UTF8-sequence and finally all the rest of the '-' or '.' chars that were valid at the beginning of the address are stripped away by fts_tokenizer_delete_trailing_invalid_char(), leaving nothing left. Fixes: Panic: file fts-tokenizer.c: line 206 (fts_tokenizer_next): assertion failed: (ret <= 0 || (*token_r)[0] != '\0') Commit: 988ff60eb9c405b84dafd1a56d35a014e24e9a77 https://github.com/dovecot/core/commit/988ff60eb9c405b84dafd1a56d35a014e24e9a77 Author: Timo Sirainen Date: 2016-11-23 (Wed, 23 Nov 2016) Changed paths: M src/lib-fts/test-fts-tokenizer.c Log Message: ----------- lib-fts: Add randomness test to test-fts-tokenizer Commit: 1df777483912319a01110df6f8f48d1e84ff92ad https://github.com/dovecot/core/commit/1df777483912319a01110df6f8f48d1e84ff92ad Author: Josef 'Jeff' Sipek Date: 2016-11-23 (Wed, 23 Nov 2016) Changed paths: M src/lib-storage/index/dbox-single/sdbox-storage.c M src/lib-storage/mail-storage-private.h M src/lib-storage/mail-storage.c Log Message: ----------- lib-storage: require MAIL_STORAGE_CLASS_FLAG_STUBS when caching If we are going to be using the storage for caching, we should check that the storage actually supports mail stubs. Commit: 1f2c35da2b96905bec6e45f88af0f33ee63789e6 https://github.com/dovecot/core/commit/1f2c35da2b96905bec6e45f88af0f33ee63789e6 Author: Aki Tuomi Date: 2016-11-23 (Wed, 23 Nov 2016) Changed paths: M src/auth/auth-policy.c Log Message: ----------- auth: Fix auth-policy crash when username is NULL If SASL request is invalid, or incomplete, and username is left NULL, handle it gracefully by adding just NUL byte in auth policy digest for username. Compare: https://github.com/dovecot/core/compare/c647daf549b9...1f2c35da2b96 From noreply at github.com Wed Nov 23 13:00:14 2016 From: noreply at github.com (GitHub) Date: Wed, 23 Nov 2016 05:00:14 -0800 Subject: [dovecot/core] 174242: sdbox: Don't log an error if stub is added twice Message-ID: <583592debdbad_2b273f899d69b13864932@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 174242a162d911a3bc7c0058ae606c169a3d7660 https://github.com/dovecot/core/commit/174242a162d911a3bc7c0058ae606c169a3d7660 Author: Timo Sirainen Date: 2016-11-23 (Wed, 23 Nov 2016) Changed paths: M src/lib-storage/index/dbox-single/sdbox-file.c M src/lib-storage/index/dbox-single/sdbox-file.h M src/lib-storage/index/dbox-single/sdbox-save.c Log Message: ----------- sdbox: Don't log an error if stub is added twice There's no locking for them, so it's fine if two processes add the same mail. The second one could be ignored, but it was a bit easier to just let it rename over the first one. From noreply at github.com Wed Nov 23 13:00:12 2016 From: noreply at github.com (GitHub) Date: Wed, 23 Nov 2016 05:00:12 -0800 Subject: [dovecot/core] 172b6e: sdbox: Don't log an error if stub is added twice Message-ID: <583592dc4140a_2c4f33f7fec8d9130839df@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 172b6edea36e425b0d0c35a854721ae63f57c289 https://github.com/dovecot/core/commit/172b6edea36e425b0d0c35a854721ae63f57c289 Author: Timo Sirainen Date: 2016-11-23 (Wed, 23 Nov 2016) Changed paths: M src/lib-storage/index/dbox-single/sdbox-file.c M src/lib-storage/index/dbox-single/sdbox-file.h M src/lib-storage/index/dbox-single/sdbox-save.c Log Message: ----------- sdbox: Don't log an error if stub is added twice There's no locking for them, so it's fine if two processes add the same mail. The second one could be ignored, but it was a bit easier to just let it rename over the first one. From noreply at github.com Wed Nov 23 14:30:09 2016 From: noreply at github.com (GitHub) Date: Wed, 23 Nov 2016 06:30:09 -0800 Subject: [dovecot/core] 99abb1: auth: Don't crash expanding %variables when userna... Message-ID: <5835a7f12f1fc_29a13fe42c83b134211d6@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 99abb1302ae693ccdfe0d57351fd42c67a8612fc https://github.com/dovecot/core/commit/99abb1302ae693ccdfe0d57351fd42c67a8612fc Author: Timo Sirainen Date: 2016-11-23 (Wed, 23 Nov 2016) Changed paths: M src/auth/auth-request-var-expand.c Log Message: ----------- auth: Don't crash expanding %variables when username isn't set. This continues the auth-policy fix in c3d3faa4f72a676e183f34be960cff13a5a725ae From noreply at github.com Wed Nov 23 14:30:16 2016 From: noreply at github.com (GitHub) Date: Wed, 23 Nov 2016 06:30:16 -0800 Subject: [dovecot/core] 2c3f37: auth: Don't crash expanding %variables when userna... Message-ID: <5835a7f866d2a_1da63faeaeeb113410203b7@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 2c3f37672277b1f73f84722802aaa0ab1ab3e413 https://github.com/dovecot/core/commit/2c3f37672277b1f73f84722802aaa0ab1ab3e413 Author: Timo Sirainen Date: 2016-11-23 (Wed, 23 Nov 2016) Changed paths: M src/auth/auth-request-var-expand.c Log Message: ----------- auth: Don't crash expanding %variables when username isn't set. This continues the auth-policy fix in c3d3faa4f72a676e183f34be960cff13a5a725ae From noreply at github.com Wed Nov 23 16:00:09 2016 From: noreply at github.com (GitHub) Date: Wed, 23 Nov 2016 08:00:09 -0800 Subject: [dovecot/core] 724c4a: imapc: Cleanup - change delayed_expunged_uids to s... Message-ID: <5835bd099ef48_17ba3fb43607114043725@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 724c4a962ea72d9c7ad719740f4351368f8eee51 https://github.com/dovecot/core/commit/724c4a962ea72d9c7ad719740f4351368f8eee51 Author: Timo Sirainen Date: 2016-11-23 (Wed, 23 Nov 2016) Changed paths: M src/lib-storage/index/imapc/imapc-mailbox.c M src/lib-storage/index/imapc/imapc-storage.h Log Message: ----------- imapc: Cleanup - change delayed_expunged_uids to seq_range. This simplifies the next commit. Commit: 22788c0ac1776a7d633ef3ba3841289d22abbe17 https://github.com/dovecot/core/commit/22788c0ac1776a7d633ef3ba3841289d22abbe17 Author: Timo Sirainen Date: 2016-11-23 (Wed, 23 Nov 2016) Changed paths: M src/lib-storage/index/imapc/imapc-sync.c Log Message: ----------- imapc: Fix assert that checks if mail is expunged locally. The EXPUNGE may have been sent while imapc_sync_index() was issuing remote imapc commands. It would end up being in delayed_expunged_uids, so the assert needs to check that too. Fixes: Panic: file imapc-sync.c: line 290 (imapc_initial_sync_check): assertion failed: (mail_index_is_expunged(view, lseq)) Compare: https://github.com/dovecot/core/compare/99abb1302ae6...22788c0ac177 From noreply at github.com Wed Nov 23 16:30:11 2016 From: noreply at github.com (GitHub) Date: Wed, 23 Nov 2016 08:30:11 -0800 Subject: [dovecot/core] baca12: imapc: Cleanup - change delayed_expunged_uids to s... Message-ID: <5835c413c1a55_2ca283faa557ef13c79339@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: baca122407664bff1164d8d16b473f3ed423799c https://github.com/dovecot/core/commit/baca122407664bff1164d8d16b473f3ed423799c Author: Timo Sirainen Date: 2016-11-23 (Wed, 23 Nov 2016) Changed paths: M src/lib-storage/index/imapc/imapc-mailbox.c M src/lib-storage/index/imapc/imapc-storage.h Log Message: ----------- imapc: Cleanup - change delayed_expunged_uids to seq_range. This simplifies the next commit. Commit: 5e21c15a7f53eccfe6da5f1bcb435d4050821aca https://github.com/dovecot/core/commit/5e21c15a7f53eccfe6da5f1bcb435d4050821aca Author: Timo Sirainen Date: 2016-11-23 (Wed, 23 Nov 2016) Changed paths: M src/lib-storage/index/imapc/imapc-sync.c Log Message: ----------- imapc: Fix assert that checks if mail is expunged locally. The EXPUNGE may have been sent while imapc_sync_index() was issuing remote imapc commands. It would end up being in delayed_expunged_uids, so the assert needs to check that too. Fixes: Panic: file imapc-sync.c: line 290 (imapc_initial_sync_check): assertion failed: (mail_index_is_expunged(view, lseq)) Compare: https://github.com/dovecot/core/compare/2c3f37672277...5e21c15a7f53 From noreply at github.com Wed Nov 23 17:00:09 2016 From: noreply at github.com (GitHub) Date: Wed, 23 Nov 2016 09:00:09 -0800 Subject: [dovecot/core] 215fec: lib-storage: Fix rotation of dovecot.list.index.lo... Message-ID: <5835cb1999589_3f033fc58a51513c810ad@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 215fecae37b6e6c8512e20a3830fbeef0e7a9b91 https://github.com/dovecot/core/commit/215fecae37b6e6c8512e20a3830fbeef0e7a9b91 Author: Timo Sirainen Date: 2016-11-23 (Wed, 23 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-status.c M src/lib-storage/list/mailbox-list-index-sync.c Log Message: ----------- lib-storage: Fix rotation of dovecot.list.index.log After b9da8540e665138b3cad0b637c08c0ab7d7a7eeb the tail offsets weren't being updated anymore when mail_index_sync_next() wasn't used to skip over all the data. Mailbox list index wasn't doing this, and so the log was never rotated since tail_offset was never equal to head_offset. From noreply at github.com Wed Nov 23 17:00:13 2016 From: noreply at github.com (GitHub) Date: Wed, 23 Nov 2016 09:00:13 -0800 Subject: [dovecot/core] 903a3e: lib-storage: Fix rotation of dovecot.list.index.lo... Message-ID: <5835cb1de50a2_28da3fec8ad3313056220@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 903a3efb99ea70b7fc087b1b6d3f138e02716535 https://github.com/dovecot/core/commit/903a3efb99ea70b7fc087b1b6d3f138e02716535 Author: Timo Sirainen Date: 2016-11-23 (Wed, 23 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-status.c M src/lib-storage/list/mailbox-list-index-sync.c Log Message: ----------- lib-storage: Fix rotation of dovecot.list.index.log After b9da8540e665138b3cad0b637c08c0ab7d7a7eeb the tail offsets weren't being updated anymore when mail_index_sync_next() wasn't used to skip over all the data. Mailbox list index wasn't doing this, and so the log was never rotated since tail_offset was never equal to head_offset. From noreply at github.com Thu Nov 24 18:30:09 2016 From: noreply at github.com (GitHub) Date: Thu, 24 Nov 2016 10:30:09 -0800 Subject: [dovecot/core] b78c41: dsync: Do not try replace remote folder GUID when ... Message-ID: <583731b13f427_77f73f858489d138516b3@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: b78c41586816833aee1de8de732e542aac7b940d https://github.com/dovecot/core/commit/b78c41586816833aee1de8de732e542aac7b940d Author: Aki Tuomi Date: 2016-11-24 (Thu, 24 Nov 2016) Changed paths: M src/doveadm/dsync/dsync-brain-mailbox-tree-sync.c Log Message: ----------- dsync: Do not try replace remote folder GUID when doing oneway sync Oneway sync tried to replace remote folder's GUID when running in one way mode. This causes trouble, e.g. when running with imapc, because you can't do this. From noreply at github.com Thu Nov 24 18:30:11 2016 From: noreply at github.com (GitHub) Date: Thu, 24 Nov 2016 10:30:11 -0800 Subject: [dovecot/core] 565ae3: dsync: Do not try replace remote folder GUID when ... Message-ID: <583731b3895be_12963fdb850171381064c@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 565ae33cb5568b5d1468728db28b1ecfe455b694 https://github.com/dovecot/core/commit/565ae33cb5568b5d1468728db28b1ecfe455b694 Author: Aki Tuomi Date: 2016-11-24 (Thu, 24 Nov 2016) Changed paths: M src/doveadm/dsync/dsync-brain-mailbox-tree-sync.c Log Message: ----------- dsync: Do not try replace remote folder GUID when doing oneway sync Oneway sync tried to replace remote folder's GUID when running in one way mode. This causes trouble, e.g. when running with imapc, because you can't do this. From noreply at github.com Thu Nov 24 21:30:08 2016 From: noreply at github.com (GitHub) Date: Thu, 24 Nov 2016 13:30:08 -0800 Subject: [dovecot/core] 55c880: lib-storage: Try harder to rename a corrupted mail... Message-ID: <58375be0ab0fe_30d13fb36e4a912c443e8@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 55c88023635062105849a2cbab78232f483b2c02 https://github.com/dovecot/core/commit/55c88023635062105849a2cbab78232f483b2c02 Author: Timo Sirainen Date: 2016-11-24 (Thu, 24 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-backend.c Log Message: ----------- lib-storage: Try harder to rename a corrupted mailbox name to its old name. If the old name exists, use it as a prefix for the new name. This is especially useful when restoring autocreated mailboxes. A new mailbox could have already been autocreated, but it's still useful to have the broken one renamed with the same prefix, so it'll be clear that these mailboxes should be merged. Commit: b66a207ddcfc72a634186ec7e9a82df28ffc1d4e https://github.com/dovecot/core/commit/b66a207ddcfc72a634186ec7e9a82df28ffc1d4e Author: Timo Sirainen Date: 2016-11-24 (Thu, 24 Nov 2016) Changed paths: M src/lib-index/mail-index-private.h M src/lib-index/mail-index.c M src/lib-index/mail-index.h M src/lib-index/mail-transaction-log-private.h M src/lib-index/mail-transaction-log.c Log Message: ----------- lib-index: Add mail_index_set_log_rotation() Commit: ec4beaa760f0c42bf40cc61eb091c85650edd87b https://github.com/dovecot/core/commit/ec4beaa760f0c42bf40cc61eb091c85650edd87b Author: Timo Sirainen Date: 2016-11-24 (Thu, 24 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index.c Log Message: ----------- lib-storage: Rotate dovecot.list.index.log* more often. The history in these files isn't as important as in mailbox indexes. Reduce disk space usage by rotating them more often and deleting the .log.2 more quickly. Commit: 80528a9510a2b2182466a77aa58b6e6f2bab310c https://github.com/dovecot/core/commit/80528a9510a2b2182466a77aa58b6e6f2bab310c Author: Timo Sirainen Date: 2016-11-24 (Thu, 24 Nov 2016) Changed paths: M src/lib-index/mail-transaction-log.c Log Message: ----------- lib-index: Compiler warning fix. Commit: 08b888317593761402ffb2635290de24b53d7980 https://github.com/dovecot/core/commit/08b888317593761402ffb2635290de24b53d7980 Author: Timo Sirainen Date: 2016-11-24 (Thu, 24 Nov 2016) Changed paths: M src/lib/macros.h Log Message: ----------- lib: Add ATTR_UNSIGNED_WRAPS for disabling clang -fsanitize=integer Commit: 2c488bf1ca9194cf36597959f1316b7e12102fd9 https://github.com/dovecot/core/commit/2c488bf1ca9194cf36597959f1316b7e12102fd9 Author: Timo Sirainen Date: 2016-11-24 (Thu, 24 Nov 2016) Changed paths: M src/lib-index/mail-index-map.c Log Message: ----------- lib-index: mail_index_map_register_ext(ext_offset=-1) now sets hdr_offset=-1 It shouldn't make any difference, but this is a less confusing value. Commit: 21484e16293b2fb12f026d2ad533fa32ebebf641 https://github.com/dovecot/core/commit/21484e16293b2fb12f026d2ad533fa32ebebf641 Author: Timo Sirainen Date: 2016-11-24 (Thu, 24 Nov 2016) Changed paths: M src/lib/md4.c M src/lib/md5.c M src/lib/sha1.c M src/lib/sha2.c Log Message: ----------- lib: Mark md4/md5/sha1/sha2 code with ATTR_UNSIGNED_WRAPS Commit: a05819736f348d0c5ac8b4966ac6b04c21e1a391 https://github.com/dovecot/core/commit/a05819736f348d0c5ac8b4966ac6b04c21e1a391 Author: Timo Sirainen Date: 2016-11-24 (Thu, 24 Nov 2016) Changed paths: M src/lib-mail/message-address.c M src/lib-mail/message-snippet.c M src/lib/sha3.c Log Message: ----------- global: Avoid loops unnecessarily decreasing below zero. Avoids complains from clang -fsanitize=integer Commit: fced91d6314b7c934650b6ee2c540abc520efd74 https://github.com/dovecot/core/commit/fced91d6314b7c934650b6ee2c540abc520efd74 Author: Timo Sirainen Date: 2016-11-24 (Thu, 24 Nov 2016) Changed paths: M src/indexer/master-connection.c M src/lib-mail/test-istream-header-filter.c M src/lib-storage/index/mbox/istream-raw-mbox.c Log Message: ----------- global: Avoid unnecessary unsigned integer wraps. Avoids complains from clang -fsanitize=integer Commit: 6d404348751c19ac37cfb42375abdd3c5f298e30 https://github.com/dovecot/core/commit/6d404348751c19ac37cfb42375abdd3c5f298e30 Author: Timo Sirainen Date: 2016-11-24 (Thu, 24 Nov 2016) Changed paths: M src/lib-dcrypt/test-stream.c M src/lib-index/mail-cache-lookup.c M src/lib-storage/index/dbox-multi/mdbox-storage.c M src/lib-storage/index/index-mailbox-size.c M src/lib/buffer.c M src/lib/istream.c Log Message: ----------- global: Code cleanup - avoid passing NULL to functions with non-null parameter Commit: a44866b012a59906a592a8847ca43230c020fe2b https://github.com/dovecot/core/commit/a44866b012a59906a592a8847ca43230c020fe2b Author: Timo Sirainen Date: 2016-11-24 (Thu, 24 Nov 2016) Changed paths: M src/lib/buffer.h M src/lib/test-buffer.c Log Message: ----------- lib: Clarify that buffer_write() zero-fills buffer when writing past its size Commit: e61d5a4bad247e62a257bb1ed6c483923d10c2a8 https://github.com/dovecot/core/commit/e61d5a4bad247e62a257bb1ed6c483923d10c2a8 Author: Timo Sirainen Date: 2016-11-24 (Thu, 24 Nov 2016) Changed paths: M src/lib-mail/mail-html2text.c M src/lib-mail/test-mail-html2text.c Log Message: ----------- lib-mail: Fix assert-crash in mail_html2text_more() with invalid input. parse_data() continues forward thinking that it might have valid input, until it has enough data and realizes that there's nothing valid. This triggers: Panic: file mail-html2text.c: line 312 (mail_html2text_more): assertion failed: (pos >= buf_orig_size) Commit: 0bbddb0182685d0bb12973d8263bdb66415ae37a https://github.com/dovecot/core/commit/0bbddb0182685d0bb12973d8263bdb66415ae37a Author: Timo Sirainen Date: 2016-11-24 (Thu, 24 Nov 2016) Changed paths: M src/lib-mail/test-mail-html2text.c Log Message: ----------- lib-mail: Add randomness test to test-mail-html2text Compare: https://github.com/dovecot/core/compare/b78c41586816...0bbddb018268 From noreply at github.com Thu Nov 24 22:30:10 2016 From: noreply at github.com (GitHub) Date: Thu, 24 Nov 2016 14:30:10 -0800 Subject: [dovecot/core] 7a7340: lib-index: Compiler warning fix Message-ID: <583769f2778ed_407d3f8f375a313c30079@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 7a73401fd07770bba714eefa71ba56f396ea4e6b https://github.com/dovecot/core/commit/7a73401fd07770bba714eefa71ba56f396ea4e6b Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-index/mail-transaction-log.c Log Message: ----------- lib-index: Compiler warning fix From noreply at github.com Fri Nov 25 10:30:08 2016 From: noreply at github.com (GitHub) Date: Fri, 25 Nov 2016 02:30:08 -0800 Subject: [dovecot/core] 25e461: lib-storage: Fail if no namespaces have list=yes Message-ID: <583812b0d4f12_2c5c3fc4f87e113c126573@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 25e4617fb7374331411baece15af67aeecacf922 https://github.com/dovecot/core/commit/25e4617fb7374331411baece15af67aeecacf922 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-storage/mail-namespace.c Log Message: ----------- lib-storage: Fail if no namespaces have list=yes The previous check allowed all namespaces to have list=children. This crashed later on in mail_namespaces_get_root_sep(), because it couldn't find any list=yes namespaces. From noreply at github.com Fri Nov 25 12:30:09 2016 From: noreply at github.com (GitHub) Date: Fri, 25 Nov 2016 04:30:09 -0800 Subject: [dovecot/core] 3c503f: lib-dcrypt: Add assert that vfs is initialized Message-ID: <58382ed1ae91_72fd3fad1792713470518@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 3c503fa10d3d0fe2abb1767caf217b0a770dc6aa https://github.com/dovecot/core/commit/3c503fa10d3d0fe2abb1767caf217b0a770dc6aa Author: Aki Tuomi Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-dcrypt/dcrypt.c Log Message: ----------- lib-dcrypt: Add assert that vfs is initialized From noreply at github.com Fri Nov 25 13:30:08 2016 From: noreply at github.com (GitHub) Date: Fri, 25 Nov 2016 05:30:08 -0800 Subject: [dovecot/core] 826f76: lib-index: fsck: Fix log_file_head|tail_offset pro... Message-ID: <58383ce0ac641_9513f90685a313c645be@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 826f767b6017e4572dcc1dcd4f7573a5df6cd767 https://github.com/dovecot/core/commit/826f767b6017e4572dcc1dcd4f7573a5df6cd767 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-index/mail-index-fsck.c Log Message: ----------- lib-index: fsck: Fix log_file_head|tail_offset properly Commit: ca2f3260811c4ccd0afb774d7e13a5bd64d0cc34 https://github.com/dovecot/core/commit/ca2f3260811c4ccd0afb774d7e13a5bd64d0cc34 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-index/mail-index-map-read.c Log Message: ----------- lib-index: If index open fails with fsck, retry opening once. The fsck should have fixed the log offsets and open should work. Commit: de258127e1fbd581329f09382e8e7eb9c9da58c5 https://github.com/dovecot/core/commit/de258127e1fbd581329f09382e8e7eb9c9da58c5 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-sync.c M src/lib-storage/list/mailbox-list-index.c M src/lib-storage/list/mailbox-list-index.h Log Message: ----------- lib-storage: Rename mailbox_list_index.corrupted to corrupted_names_or_parents Makes it clearer what exactly the flag means. Commit: 02d6628c1fea2990c67c60b111c8e68867160885 https://github.com/dovecot/core/commit/02d6628c1fea2990c67c60b111c8e68867160885 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-index/mail-index-fsck.c M src/lib-index/mail-index-sync-update.c M src/lib-index/mail-index.h Log Message: ----------- lib-index: fsck now adds MAIL_INDEX_HDR_FLAG_FSCKD to header. It can only be removed by an explicit header update. Commit: c5073d5b57145e9d2912ea69e44e25550bf274fe https://github.com/dovecot/core/commit/c5073d5b57145e9d2912ea69e44e25550bf274fe Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-index/mail-index-transaction-update.c M src/lib-index/mail-index.h Log Message: ----------- lib-index: Add mail_index_unset_fscked() This can be used to easily remove MAIL_INDEX_HDR_FLAG_FSCKD. It takes a transaction parameter instead of sync_ctx because some index rebuilds are done with a separate transaction while the sync_ctx is rolled back. Commit: 857c471c13ca215f4be9dd4b336b742b8d434e31 https://github.com/dovecot/core/commit/857c471c13ca215f4be9dd4b336b742b8d434e31 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-storage/fail-mail-storage.c M src/lib-storage/index/cydir/cydir-storage.c M src/lib-storage/index/dbox-multi/mdbox-deleted-storage.c M src/lib-storage/index/dbox-multi/mdbox-storage.c M src/lib-storage/index/dbox-single/sdbox-storage.c M src/lib-storage/index/imapc/imapc-storage.c M src/lib-storage/index/maildir/maildir-storage.c M src/lib-storage/index/mbox/mbox-storage.c M src/lib-storage/index/pop3c/pop3c-storage.c M src/lib-storage/index/raw/raw-storage.c M src/lib-storage/index/shared/shared-storage.c M src/lib-storage/mail-storage-private.h M src/plugins/virtual/virtual-storage.c Log Message: ----------- lib-storage: Add mail_storage.list_index_corrupted() The actual implementation is in the next commit. Commit: 22436f3cbb7a2c666519a7448cf2d4d20e48f352 https://github.com/dovecot/core/commit/22436f3cbb7a2c666519a7448cf2d4d20e48f352 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-notify.c M src/lib-storage/list/mailbox-list-index-sync.c M src/lib-storage/list/mailbox-list-index.c M src/lib-storage/list/mailbox-list-index.h Log Message: ----------- lib-storge: Call mail_storage.list_index_corrupted() when needed The callback is called whenever mailbox list index appears to be corrupted with LAYOUT=index. The storage is responsible for adding to the index any mailboxes that are missing. Commit: 3d758b4fad11dd138b88735dc237f1c6d800a95b https://github.com/dovecot/core/commit/3d758b4fad11dd138b88735dc237f1c6d800a95b Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-storage/index/dbox-single/sdbox-sync-rebuild.c M src/lib-storage/index/dbox-single/sdbox-sync.c Log Message: ----------- sdbox: Rebuild index after it's been fsck'd Commit: 96088ba9ef3b6c113a0a41f3778cd38f437ddc3d https://github.com/dovecot/core/commit/96088ba9ef3b6c113a0a41f3778cd38f437ddc3d Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-storage/index/dbox-multi/mdbox-map.c M src/lib-storage/index/dbox-multi/mdbox-map.h M src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c M src/lib-storage/index/dbox-multi/mdbox-sync.c Log Message: ----------- mdbox: Rebuild index after it's been fsck'd Commit: e8e00a579e12dcb57b0c4077fed2df3f4106ae5a https://github.com/dovecot/core/commit/e8e00a579e12dcb57b0c4077fed2df3f4106ae5a Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M doc/mkcert.sh Log Message: ----------- mkcert.sh: Use umask to create key file as 0600 Fixes a race condition between creation of the file and a later chmod. This script was mostly meant as an example though, and not really for production use. Especially because it generates self-signed certs. CVE-2016-4983 Compare: https://github.com/dovecot/core/compare/3c503fa10d3d...e8e00a579e12 From noreply at github.com Fri Nov 25 14:00:10 2016 From: noreply at github.com (GitHub) Date: Fri, 25 Nov 2016 06:00:10 -0800 Subject: [dovecot/core] 7a1c34: lib-storage: Fix error handling in mailbox_list_in... Message-ID: <583843eac42cd_c713ffd8fbcf13463561@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 7a1c347903803411b542fec7a45e2f03f35d5d1c https://github.com/dovecot/core/commit/7a1c347903803411b542fec7a45e2f03f35d5d1c Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index.c Log Message: ----------- lib-storage: Fix error handling in mailbox_list_index_refresh_force() Broken by recent changes. From noreply at github.com Fri Nov 25 14:00:14 2016 From: noreply at github.com (GitHub) Date: Fri, 25 Nov 2016 06:00:14 -0800 Subject: [dovecot/core] e6a3d0: lib-storage: Try harder to rename a corrupted mail... Message-ID: <583843ee5121f_37573fecb578d13810741@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: e6a3d022b64defe98480587ee24e23180c46344a https://github.com/dovecot/core/commit/e6a3d022b64defe98480587ee24e23180c46344a Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-backend.c Log Message: ----------- lib-storage: Try harder to rename a corrupted mailbox name to its old name. If the old name exists, use it as a prefix for the new name. This is especially useful when restoring autocreated mailboxes. A new mailbox could have already been autocreated, but it's still useful to have the broken one renamed with the same prefix, so it'll be clear that these mailboxes should be merged. Commit: 39815e86872d080ae096937bc6ed818594fbf6d2 https://github.com/dovecot/core/commit/39815e86872d080ae096937bc6ed818594fbf6d2 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-index/mail-index-private.h M src/lib-index/mail-index.c M src/lib-index/mail-index.h M src/lib-index/mail-transaction-log-private.h M src/lib-index/mail-transaction-log.c Log Message: ----------- lib-index: Add mail_index_set_log_rotation() Commit: 0882459e93d919d9608d555438c0e91ccc54467a https://github.com/dovecot/core/commit/0882459e93d919d9608d555438c0e91ccc54467a Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index.c Log Message: ----------- lib-storage: Rotate dovecot.list.index.log* more often. The history in these files isn't as important as in mailbox indexes. Reduce disk space usage by rotating them more often and deleting the .log.2 more quickly. Commit: 3e1407670fa423633cc690d1db9cce02ea1a48fa https://github.com/dovecot/core/commit/3e1407670fa423633cc690d1db9cce02ea1a48fa Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-index/mail-transaction-log.c Log Message: ----------- lib-index: Compiler warning fix. Commit: 1868f86ec81626563ef048decb5d545181b0617e https://github.com/dovecot/core/commit/1868f86ec81626563ef048decb5d545181b0617e Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib/macros.h Log Message: ----------- lib: Add ATTR_UNSIGNED_WRAPS for disabling clang -fsanitize=integer Commit: 7acacaedd738612b15400d11ef920d8c2ffa91cc https://github.com/dovecot/core/commit/7acacaedd738612b15400d11ef920d8c2ffa91cc Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-index/mail-index-map.c Log Message: ----------- lib-index: mail_index_map_register_ext(ext_offset=-1) now sets hdr_offset=-1 It shouldn't make any difference, but this is a less confusing value. Commit: 5791bc28bff63f4a2794ba05fb647f7368ea8943 https://github.com/dovecot/core/commit/5791bc28bff63f4a2794ba05fb647f7368ea8943 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib/md4.c M src/lib/md5.c M src/lib/sha1.c M src/lib/sha2.c Log Message: ----------- lib: Mark md4/md5/sha1/sha2 code with ATTR_UNSIGNED_WRAPS Commit: 1215cceac448a35ab5fb90c10341dca6500e0b36 https://github.com/dovecot/core/commit/1215cceac448a35ab5fb90c10341dca6500e0b36 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-mail/message-address.c M src/lib-mail/message-snippet.c M src/lib/sha3.c Log Message: ----------- global: Avoid loops unnecessarily decreasing below zero. Avoids complains from clang -fsanitize=integer Commit: 8dc068f46bfea9a00c69f648724a970fd597cb1f https://github.com/dovecot/core/commit/8dc068f46bfea9a00c69f648724a970fd597cb1f Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/indexer/master-connection.c M src/lib-mail/test-istream-header-filter.c M src/lib-storage/index/mbox/istream-raw-mbox.c Log Message: ----------- global: Avoid unnecessary unsigned integer wraps. Avoids complains from clang -fsanitize=integer Commit: 56c5e1c7add26c3e10d116e4839f853107dfd022 https://github.com/dovecot/core/commit/56c5e1c7add26c3e10d116e4839f853107dfd022 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-dcrypt/test-stream.c M src/lib-index/mail-cache-lookup.c M src/lib-storage/index/dbox-multi/mdbox-storage.c M src/lib-storage/index/index-mailbox-size.c M src/lib/buffer.c M src/lib/istream.c Log Message: ----------- global: Code cleanup - avoid passing NULL to functions with non-null parameter Commit: 62a17f66bc2c11fef596345d67735e0dd10f2ff2 https://github.com/dovecot/core/commit/62a17f66bc2c11fef596345d67735e0dd10f2ff2 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib/buffer.h M src/lib/test-buffer.c Log Message: ----------- lib: Clarify that buffer_write() zero-fills buffer when writing past its size Commit: 582003e3dd2ccc7846c4ee4a8eae054cb2a5339f https://github.com/dovecot/core/commit/582003e3dd2ccc7846c4ee4a8eae054cb2a5339f Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-mail/mail-html2text.c M src/lib-mail/test-mail-html2text.c Log Message: ----------- lib-mail: Fix assert-crash in mail_html2text_more() with invalid input. parse_data() continues forward thinking that it might have valid input, until it has enough data and realizes that there's nothing valid. This triggers: Panic: file mail-html2text.c: line 312 (mail_html2text_more): assertion failed: (pos >= buf_orig_size) Commit: 6bde01d39e20e8693329be2c95b841ae40200451 https://github.com/dovecot/core/commit/6bde01d39e20e8693329be2c95b841ae40200451 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-mail/test-mail-html2text.c Log Message: ----------- lib-mail: Add randomness test to test-mail-html2text Commit: 34722782166836b6b941b4bf07691225805007cb https://github.com/dovecot/core/commit/34722782166836b6b941b4bf07691225805007cb Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-index/mail-transaction-log.c Log Message: ----------- lib-index: Compiler warning fix Commit: 67bb90dd1c527e40d0fede2923bbea8834adcc67 https://github.com/dovecot/core/commit/67bb90dd1c527e40d0fede2923bbea8834adcc67 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-storage/mail-namespace.c Log Message: ----------- lib-storage: Fail if no namespaces have list=yes The previous check allowed all namespaces to have list=children. This crashed later on in mail_namespaces_get_root_sep(), because it couldn't find any list=yes namespaces. Commit: 25a1ca4ee3784c6b21a769d9921cca6a08ba1f1e https://github.com/dovecot/core/commit/25a1ca4ee3784c6b21a769d9921cca6a08ba1f1e Author: Aki Tuomi Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-dcrypt/dcrypt.c Log Message: ----------- lib-dcrypt: Add assert that vfs is initialized Commit: 582971057de6e37b02cf470dde5f7bba0c5dc162 https://github.com/dovecot/core/commit/582971057de6e37b02cf470dde5f7bba0c5dc162 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-index/mail-index-fsck.c Log Message: ----------- lib-index: fsck: Fix log_file_head|tail_offset properly Commit: a37771a18e3258791f4cad06669fae2ff228a2ac https://github.com/dovecot/core/commit/a37771a18e3258791f4cad06669fae2ff228a2ac Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-index/mail-index-map-read.c Log Message: ----------- lib-index: If index open fails with fsck, retry opening once. The fsck should have fixed the log offsets and open should work. Commit: 745c851f59ca66b4bd7e8b23c2ca413709c31ee2 https://github.com/dovecot/core/commit/745c851f59ca66b4bd7e8b23c2ca413709c31ee2 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-sync.c M src/lib-storage/list/mailbox-list-index.c M src/lib-storage/list/mailbox-list-index.h Log Message: ----------- lib-storage: Rename mailbox_list_index.corrupted to corrupted_names_or_parents Makes it clearer what exactly the flag means. Commit: ead5dced72859c1fb1579cf790a305b2ce697738 https://github.com/dovecot/core/commit/ead5dced72859c1fb1579cf790a305b2ce697738 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-index/mail-index-fsck.c M src/lib-index/mail-index-sync-update.c M src/lib-index/mail-index.h Log Message: ----------- lib-index: fsck now adds MAIL_INDEX_HDR_FLAG_FSCKD to header. It can only be removed by an explicit header update. Commit: 219dd30e1be110e390afe5a573b3276d24f958e8 https://github.com/dovecot/core/commit/219dd30e1be110e390afe5a573b3276d24f958e8 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-index/mail-index-transaction-update.c M src/lib-index/mail-index.h Log Message: ----------- lib-index: Add mail_index_unset_fscked() This can be used to easily remove MAIL_INDEX_HDR_FLAG_FSCKD. It takes a transaction parameter instead of sync_ctx because some index rebuilds are done with a separate transaction while the sync_ctx is rolled back. Commit: 243d0d9f14c7a89692fbad60b102397aa793ccf1 https://github.com/dovecot/core/commit/243d0d9f14c7a89692fbad60b102397aa793ccf1 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-storage/fail-mail-storage.c M src/lib-storage/index/cydir/cydir-storage.c M src/lib-storage/index/dbox-multi/mdbox-deleted-storage.c M src/lib-storage/index/dbox-multi/mdbox-storage.c M src/lib-storage/index/dbox-single/sdbox-storage.c M src/lib-storage/index/imapc/imapc-storage.c M src/lib-storage/index/maildir/maildir-storage.c M src/lib-storage/index/mbox/mbox-storage.c M src/lib-storage/index/pop3c/pop3c-storage.c M src/lib-storage/index/raw/raw-storage.c M src/lib-storage/index/shared/shared-storage.c M src/lib-storage/mail-storage-private.h M src/plugins/virtual/virtual-storage.c Log Message: ----------- lib-storage: Add mail_storage.list_index_corrupted() The actual implementation is in the next commit. Commit: a81c40fb46f6d447c1edc858be905e6626dae97a https://github.com/dovecot/core/commit/a81c40fb46f6d447c1edc858be905e6626dae97a Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index-notify.c M src/lib-storage/list/mailbox-list-index-sync.c M src/lib-storage/list/mailbox-list-index.c M src/lib-storage/list/mailbox-list-index.h Log Message: ----------- lib-storge: Call mail_storage.list_index_corrupted() when needed The callback is called whenever mailbox list index appears to be corrupted with LAYOUT=index. The storage is responsible for adding to the index any mailboxes that are missing. Commit: 265b58526784d4119678f15489d7b312185a2bd2 https://github.com/dovecot/core/commit/265b58526784d4119678f15489d7b312185a2bd2 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-storage/index/dbox-multi/mdbox-map.c M src/lib-storage/index/dbox-multi/mdbox-map.h M src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c M src/lib-storage/index/dbox-multi/mdbox-sync.c Log Message: ----------- mdbox: Rebuild index after it's been fsck'd Commit: 0805d0f892892230139787e0cb41da40339b914f https://github.com/dovecot/core/commit/0805d0f892892230139787e0cb41da40339b914f Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M doc/mkcert.sh Log Message: ----------- mkcert.sh: Use umask to create key file as 0600 Fixes a race condition between creation of the file and a later chmod. This script was mostly meant as an example though, and not really for production use. Especially because it generates self-signed certs. CVE-2016-4983 Commit: 162b8a3532b8ece53bd602828e5b05b775684af8 https://github.com/dovecot/core/commit/162b8a3532b8ece53bd602828e5b05b775684af8 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-storage/list/mailbox-list-index.c Log Message: ----------- lib-storage: Fix error handling in mailbox_list_index_refresh_force() Broken by recent changes. Compare: https://github.com/dovecot/core/compare/565ae33cb556...162b8a3532b8 From noreply at github.com Fri Nov 25 14:30:08 2016 From: noreply at github.com (GitHub) Date: Fri, 25 Nov 2016 06:30:08 -0800 Subject: [dovecot/core] 323c4e: lib-storage: Fix raw storage to sync mailboxes cor... Message-ID: <58384af0c618c_2e7f3f816e5e513050293@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 323c4e6d0c66310ea127184c9ecc60ad5e1f92b6 https://github.com/dovecot/core/commit/323c4e6d0c66310ea127184c9ecc60ad5e1f92b6 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-storage/index/raw/raw-sync.c Log Message: ----------- lib-storage: Fix raw storage to sync mailboxes correctly. Broken by b9da8540e665138b3cad0b637c08c0ab7d7a7eeb From noreply at github.com Fri Nov 25 14:30:13 2016 From: noreply at github.com (GitHub) Date: Fri, 25 Nov 2016 06:30:13 -0800 Subject: [dovecot/core] a38f1a: lib-storage: Fix raw storage to sync mailboxes cor... Message-ID: <58384af524f52_2c7c93fad00231134987e2@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: a38f1abbb872d7ba71ee3c1585a777f64e943392 https://github.com/dovecot/core/commit/a38f1abbb872d7ba71ee3c1585a777f64e943392 Author: Timo Sirainen Date: 2016-11-25 (Fri, 25 Nov 2016) Changed paths: M src/lib-storage/index/raw/raw-sync.c Log Message: ----------- lib-storage: Fix raw storage to sync mailboxes correctly. Broken by b9da8540e665138b3cad0b637c08c0ab7d7a7eeb From noreply at github.com Mon Nov 28 09:00:11 2016 From: noreply at github.com (GitHub) Date: Mon, 28 Nov 2016 01:00:11 -0800 Subject: [dovecot/core] a81d5c: global: Added missing copyright notices. Message-ID: <583bf21b1a48d_2f5c3fed7431512c33422@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: a81d5c3f5a4ad5d100b258d10d4c75f4a02ab1f6 https://github.com/dovecot/core/commit/a81d5c3f5a4ad5d100b258d10d4c75f4a02ab1f6 Author: Stephan Bosch Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M src/auth/auth-policy.c M src/auth/mech-plain-common.c M src/auth/mycrypt.c M src/auth/password-scheme-rpa.c M src/doveadm/doveadm-print-formatted.c M src/doveadm/doveadm-print-json.c M src/lib-dcrypt/dcrypt-gnutls.c M src/lib-dcrypt/dcrypt-openssl.c M src/lib-dcrypt/dcrypt.c M src/lib-dcrypt/istream-decrypt.c M src/lib-dcrypt/test-crypto.c M src/lib-dcrypt/test-stream.c M src/lib-dns/test-dns-util.c M src/lib-fts/fts-library.c M src/lib-fts/fts-tokenizer-common.c M src/lib-http/http-request.c M src/lib-http/http-response.c M src/lib/pkcs5.c Log Message: ----------- global: Added missing copyright notices. From noreply at github.com Mon Nov 28 09:30:10 2016 From: noreply at github.com (GitHub) Date: Mon, 28 Nov 2016 01:30:10 -0800 Subject: [dovecot/core] 1bb13a: lib-http: client: Fixed assert failure occurring w... Message-ID: <583bf92289eef_741a3f9fee59f13c923e8@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 1bb13a311bbecdb6aefb1ad6d988022b53ad5e71 https://github.com/dovecot/core/commit/1bb13a311bbecdb6aefb1ad6d988022b53ad5e71 Author: Stephan Bosch Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M src/lib-http/http-client-queue.c M src/lib-http/test-http-client-errors.c Log Message: ----------- lib-http: client: Fixed assert failure occurring when a new connection fails for a peer that has active connections. Fixes: Panic: file http-client-queue.c: line 481 (http_client_queue_connection_failure): assertion failed: (queue->cur_peer == NULL) Commit: 3f6149c3fd34f54ab33415bf7141e33fc9822e23 https://github.com/dovecot/core/commit/3f6149c3fd34f54ab33415bf7141e33fc9822e23 Author: Aki Tuomi Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M src/lib-dcrypt/dcrypt.c M src/lib-dcrypt/dcrypt.h Log Message: ----------- lib-dcrypt: Add module_dir setting This is needed for unit tests that require dcrypt, so that they can load backend without installing it first. Commit: b3a968f434cbb9e374ea3da0a7d493e20231a4ae https://github.com/dovecot/core/commit/b3a968f434cbb9e374ea3da0a7d493e20231a4ae Author: Aki Tuomi Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M src/lib-dcrypt/Makefile.am M src/lib-dcrypt/test-crypto.c M src/lib-dcrypt/test-stream.c Log Message: ----------- lib-dcrypt: Use module_dir setting Commit: 4c78d9e646c4a1158d7167806937c02d86cdfc25 https://github.com/dovecot/core/commit/4c78d9e646c4a1158d7167806937c02d86cdfc25 Author: Aki Tuomi Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M configure.ac M src/plugins/Makefile.am A src/plugins/mail-crypt/Makefile.am A src/plugins/mail-crypt/doveadm-mail-crypt.c A src/plugins/mail-crypt/fs-crypt-common.c A src/plugins/mail-crypt/fs-crypt-settings.c A src/plugins/mail-crypt/fs-crypt-settings.h A src/plugins/mail-crypt/fs-crypt.c A src/plugins/mail-crypt/fs-mail-crypt.c A src/plugins/mail-crypt/mail-crypt-acl-plugin.c A src/plugins/mail-crypt/mail-crypt-common.h A src/plugins/mail-crypt/mail-crypt-global-key.c A src/plugins/mail-crypt/mail-crypt-global-key.h A src/plugins/mail-crypt/mail-crypt-key.c A src/plugins/mail-crypt/mail-crypt-key.h A src/plugins/mail-crypt/mail-crypt-plugin.c A src/plugins/mail-crypt/mail-crypt-plugin.h A src/plugins/mail-crypt/mail-crypt-pluginenv.c A src/plugins/mail-crypt/mail-crypt-userenv.c A src/plugins/mail-crypt/test-mail-global-key.c A src/plugins/mail-crypt/test-mail-key.c Log Message: ----------- mail-crypt: Add mail-crypt plugin Commit: 62534baa3e717850e2cbc1a062851c7c7adc5464 https://github.com/dovecot/core/commit/62534baa3e717850e2cbc1a062851c7c7adc5464 Author: Aki Tuomi Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M .gitignore M doc/man/Makefile.am A doc/man/doveadm-mailbox-cryptokey.1.in M doc/man/doveadm-mailbox.1.in Log Message: ----------- mail-crypt: Add manpage Commit: 228765c4599e272bf8d4ef1e040b8e6830a6b1c1 https://github.com/dovecot/core/commit/228765c4599e272bf8d4ef1e040b8e6830a6b1c1 Author: Aki Tuomi Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M run-test-valgrind.supp Log Message: ----------- Add suppression for openssl leak Compare: https://github.com/dovecot/core/compare/a81d5c3f5a4a...228765c4599e From noreply at github.com Mon Nov 28 09:30:14 2016 From: noreply at github.com (GitHub) Date: Mon, 28 Nov 2016 01:30:14 -0800 Subject: [dovecot/core] 3dfbf3: lib-dcrypt: Add module_dir setting Message-ID: <583bf92652463_59123fbb7c69513c88860@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 3dfbf3b3760d498f718113dc04ccacf748e60d83 https://github.com/dovecot/core/commit/3dfbf3b3760d498f718113dc04ccacf748e60d83 Author: Aki Tuomi Date: 2016-11-27 (Sun, 27 Nov 2016) Changed paths: M src/lib-dcrypt/dcrypt.c M src/lib-dcrypt/dcrypt.h Log Message: ----------- lib-dcrypt: Add module_dir setting This is needed for unit tests that require dcrypt, so that they can load backend without installing it first. Commit: f581a8d198c6d15d152b3ce10cbe1af853bb9e7d https://github.com/dovecot/core/commit/f581a8d198c6d15d152b3ce10cbe1af853bb9e7d Author: Aki Tuomi Date: 2016-11-27 (Sun, 27 Nov 2016) Changed paths: M src/lib-dcrypt/Makefile.am M src/lib-dcrypt/test-crypto.c M src/lib-dcrypt/test-stream.c Log Message: ----------- lib-dcrypt: Use module_dir setting Commit: 8797af3bf185c1933f6b974dcbdffc39a98d53fb https://github.com/dovecot/core/commit/8797af3bf185c1933f6b974dcbdffc39a98d53fb Author: Aki Tuomi Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M configure.ac M src/plugins/Makefile.am A src/plugins/mail-crypt/Makefile.am A src/plugins/mail-crypt/doveadm-mail-crypt.c A src/plugins/mail-crypt/fs-crypt-common.c A src/plugins/mail-crypt/fs-crypt-settings.c A src/plugins/mail-crypt/fs-crypt-settings.h A src/plugins/mail-crypt/fs-crypt.c A src/plugins/mail-crypt/fs-mail-crypt.c A src/plugins/mail-crypt/mail-crypt-acl-plugin.c A src/plugins/mail-crypt/mail-crypt-common.h A src/plugins/mail-crypt/mail-crypt-global-key.c A src/plugins/mail-crypt/mail-crypt-global-key.h A src/plugins/mail-crypt/mail-crypt-key.c A src/plugins/mail-crypt/mail-crypt-key.h A src/plugins/mail-crypt/mail-crypt-plugin.c A src/plugins/mail-crypt/mail-crypt-plugin.h A src/plugins/mail-crypt/mail-crypt-pluginenv.c A src/plugins/mail-crypt/mail-crypt-userenv.c A src/plugins/mail-crypt/test-mail-global-key.c A src/plugins/mail-crypt/test-mail-key.c Log Message: ----------- mail-crypt: Add mail-crypt plugin Commit: c242e07d17365ba05ba3bbca8dd537bd7857d030 https://github.com/dovecot/core/commit/c242e07d17365ba05ba3bbca8dd537bd7857d030 Author: Aki Tuomi Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M .gitignore M doc/man/Makefile.am A doc/man/doveadm-mailbox-cryptokey.1.in M doc/man/doveadm-mailbox.1.in Log Message: ----------- mail-crypt: Add manpage Commit: 4c38e5e51c77a8544f4e1ae5e531029bc30b6f4c https://github.com/dovecot/core/commit/4c38e5e51c77a8544f4e1ae5e531029bc30b6f4c Author: Aki Tuomi Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M run-test-valgrind.supp Log Message: ----------- Add suppression for openssl leak Compare: https://github.com/dovecot/core/compare/a38f1abbb872...4c38e5e51c77 From noreply at github.com Mon Nov 28 11:00:12 2016 From: noreply at github.com (GitHub) Date: Mon, 28 Nov 2016 03:00:12 -0800 Subject: [dovecot/core] fb7cdf: mail-crypt: Commit transaction before lookup in te... Message-ID: <583c0e3c8af87_126c3f87cc7c313c342aa@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: fb7cdf736cbf9f918048be919058ccdbdd586e29 https://github.com/dovecot/core/commit/fb7cdf736cbf9f918048be919058ccdbdd586e29 Author: Aki Tuomi Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M src/plugins/mail-crypt/test-mail-key.c Log Message: ----------- mail-crypt: Commit transaction before lookup in test Key cannot be found if it's not committed before. From noreply at github.com Mon Nov 28 11:30:08 2016 From: noreply at github.com (GitHub) Date: Mon, 28 Nov 2016 03:30:08 -0800 Subject: [dovecot/core] 9018d0: lib-index: Fix assert-crash after "log file shrank... Message-ID: <583c154038298_c713ffd8fbcf1347692c@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 9018d05c381d859f4b856a5ea0cad3538092ba1c https://github.com/dovecot/core/commit/9018d05c381d859f4b856a5ea0cad3538092ba1c Author: Timo Sirainen Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M src/lib-index/mail-transaction-log-file.c Log Message: ----------- lib-index: Fix assert-crash after "log file shrank" error. Fixes: Panic: file buffer.c: line 316 (buffer_set_used_size): assertion failed: (used_size <= buf->alloc) From noreply at github.com Mon Nov 28 11:30:12 2016 From: noreply at github.com (GitHub) Date: Mon, 28 Nov 2016 03:30:12 -0800 Subject: [dovecot/core] daa3eb: lib-index: Fix assert-crash after "log file shrank... Message-ID: <583c154453ce9_35113fb4a510b14026065@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: daa3eb974db95e16c790b6d45aa0d0be78b60f3c https://github.com/dovecot/core/commit/daa3eb974db95e16c790b6d45aa0d0be78b60f3c Author: Timo Sirainen Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M src/lib-index/mail-transaction-log-file.c Log Message: ----------- lib-index: Fix assert-crash after "log file shrank" error. Fixes: Panic: file buffer.c: line 316 (buffer_set_used_size): assertion failed: (used_size <= buf->alloc) From noreply at github.com Mon Nov 28 12:00:09 2016 From: noreply at github.com (GitHub) Date: Mon, 28 Nov 2016 04:00:09 -0800 Subject: [dovecot/core] b56d46: acl-plugin: remove acl_defaults_from_inbox option Message-ID: <583c1c49448cb_2f2273fb98b2d113879341@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: b56d462fff46511b7efa0ccf254ba93d72322920 https://github.com/dovecot/core/commit/b56d462fff46511b7efa0ccf254ba93d72322920 Author: Martti Rannanj?rvi Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M src/plugins/acl/acl-backend.c Log Message: ----------- acl-plugin: remove acl_defaults_from_inbox option INBOX ACLs will be used by default from now on. From noreply at github.com Mon Nov 28 13:00:09 2016 From: noreply at github.com (GitHub) Date: Mon, 28 Nov 2016 05:00:09 -0800 Subject: [dovecot/core] 909764: acl: Fix compiler warning Message-ID: <583c2a592d14_74c23faa6031d130402f5@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 9097643138acfe54597f97549c8d9b4f4161aa07 https://github.com/dovecot/core/commit/9097643138acfe54597f97549c8d9b4f4161aa07 Author: Timo Sirainen Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M src/plugins/acl/acl-backend.c Log Message: ----------- acl: Fix compiler warning From noreply at github.com Mon Nov 28 16:30:10 2016 From: noreply at github.com (GitHub) Date: Mon, 28 Nov 2016 08:30:10 -0800 Subject: [dovecot/core] f9f307: lib-index: mail_transaction_log_file_sync(): Don't... Message-ID: <583c5b923af34_3a373fea0155d130845af@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: f9f30736bc6e4cf535085824e7e124506fe2dbbb https://github.com/dovecot/core/commit/f9f30736bc6e4cf535085824e7e124506fe2dbbb Author: Timo Sirainen Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M src/lib-index/mail-transaction-log-file.c Log Message: ----------- lib-index: mail_transaction_log_file_sync(): Don't mix I/O errors and corruption Commit: 704ae505d90554c0ac89a76bdb6beb65023618e5 https://github.com/dovecot/core/commit/704ae505d90554c0ac89a76bdb6beb65023618e5 Author: Aki Tuomi Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M m4/dovecot.m4 Log Message: ----------- dovecot.m4: Add NOUNDEF option to run-test.sh Using this environment variable will disable undefined value errors in valgrind. Commit: 85670e21578f822cae7aac9d11430b6358cf90f5 https://github.com/dovecot/core/commit/85670e21578f822cae7aac9d11430b6358cf90f5 Author: Aki Tuomi Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M m4/ssl.m4 Log Message: ----------- m4: Detect OpenSSL version 1.0.2 valgrind cannot work in all cases if openssl version is 1.0.2, so we need to know this to selectively disable valgrind. Commit: e6459e62bb5e9c1fd9baeca758860a99c6d60509 https://github.com/dovecot/core/commit/e6459e62bb5e9c1fd9baeca758860a99c6d60509 Author: Aki Tuomi Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M src/plugins/mail-crypt/Makefile.am Log Message: ----------- mail-crypt: Skip undef values if OpenSSL is <1.0.2 OpenSSL 1.0.1 and earlier generate undef warnings due to using stack as randomness source in a way that valgrind does not like, so we disable undef value checks for mail-crypt-plugin. Commit: 4b6d6a97c71d2e619643807395e78619a982e10d https://github.com/dovecot/core/commit/4b6d6a97c71d2e619643807395e78619a982e10d Author: Aki Tuomi Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M src/plugins/mail-crypt/mail-crypt-plugin.c Log Message: ----------- mail-crypt: Fail if key is not found and save_version less than 2 Fail if save version is set to 0 or 1, instead of trying to use undefined value for public key. Commit: a027af9acef6d8a6b367c98d70a218922cea649e https://github.com/dovecot/core/commit/a027af9acef6d8a6b367c98d70a218922cea649e Author: Aki Tuomi Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M src/plugins/mail-crypt/mail-crypt-acl-plugin.c Log Message: ----------- mail-crypt-acl: Use mailbox_get_last_error instead of error Commit: 179e0558e25673191ac7f1728fd7243fc17ec343 https://github.com/dovecot/core/commit/179e0558e25673191ac7f1728fd7243fc17ec343 Author: Aki Tuomi Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M src/plugins/mail-crypt/mail-crypt-key.c Log Message: ----------- mail-crypt: Do not attempt to cache freed keypair Commit: 7a8b59bce67058e44f3f9ef5b942ec03dc36ca15 https://github.com/dovecot/core/commit/7a8b59bce67058e44f3f9ef5b942ec03dc36ca15 Author: Aki Tuomi Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M src/plugins/mail-crypt/doveadm-mail-crypt.c Log Message: ----------- doveadm-mail-crypt: Skip existing keys properly When generating new keypairs, handle existing keys correctly when skipping them. Commit: bf2d54df4f5943ec0617aadb1900bb8f40b12150 https://github.com/dovecot/core/commit/bf2d54df4f5943ec0617aadb1900bb8f40b12150 Author: Aki Tuomi Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M src/plugins/mail-crypt/test-mail-key.c Log Message: ----------- mail-crypt: Add error handling for mailbox_open in tests Commit: 2223b7a4487cf641876f2713a0638133270fa1d2 https://github.com/dovecot/core/commit/2223b7a4487cf641876f2713a0638133270fa1d2 Author: Aki Tuomi Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths: M src/lib-dcrypt/istream-decrypt.c Log Message: ----------- lib-dcrypt: Add error handling for dcrypt_key_id_private Compare: https://github.com/dovecot/core/compare/9097643138ac...2223b7a4487c From noreply at github.com Tue Nov 29 12:00:07 2016 From: noreply at github.com (GitHub) Date: Tue, 29 Nov 2016 04:00:07 -0800 Subject: [dovecot/core] be5694: autogen: Use HTTPS for wiki Message-ID: <583d6dc7bc0b1_180d3fed52731138371aa@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: be569425db01f78e54ead0d622c5a648c75500b5 https://github.com/dovecot/core/commit/be569425db01f78e54ead0d622c5a648c75500b5 Author: Aki Tuomi Date: 2016-11-29 (Tue, 29 Nov 2016) Changed paths: M autogen.sh Log Message: ----------- autogen: Use HTTPS for wiki From noreply at github.com Tue Nov 29 13:00:09 2016 From: noreply at github.com (GitHub) Date: Tue, 29 Nov 2016 05:00:09 -0800 Subject: [dovecot/core] 156e2c: mail-crypt: Do not attempt to cache keys on failur... Message-ID: <583d7bd92bd72_78aa3fd34fb0b12c10589@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 156e2ce64bdacb1c5242f023a4b5e229d19510f9 https://github.com/dovecot/core/commit/156e2ce64bdacb1c5242f023a4b5e229d19510f9 Author: Aki Tuomi Date: 2016-11-29 (Tue, 29 Nov 2016) Changed paths: M src/plugins/mail-crypt/mail-crypt-key.c Log Message: ----------- mail-crypt: Do not attempt to cache keys on failure From noreply at github.com Tue Nov 29 13:00:12 2016 From: noreply at github.com (GitHub) Date: Tue, 29 Nov 2016 05:00:12 -0800 Subject: [dovecot/core] 2d4bf7: lib-index: mail_transaction_log_file_sync(): Don't... Message-ID: <583d7bdcc0d7a_1f6353fea0c5af13c1793@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 2d4bf7547754e325caf2ce0c10e8340ff754ec3d https://github.com/dovecot/core/commit/2d4bf7547754e325caf2ce0c10e8340ff754ec3d Author: Timo Sirainen Date: 2016-11-29 (Tue, 29 Nov 2016) Changed paths: M src/lib-index/mail-transaction-log-file.c Log Message: ----------- lib-index: mail_transaction_log_file_sync(): Don't mix I/O errors and corruption Commit: 33498b5c46c620941a3498cce0d2c98ca5775d74 https://github.com/dovecot/core/commit/33498b5c46c620941a3498cce0d2c98ca5775d74 Author: Aki Tuomi Date: 2016-11-29 (Tue, 29 Nov 2016) Changed paths: M dovecot.m4 Log Message: ----------- dovecot.m4: Add NOUNDEF option to run-test.sh Using this environment variable will disable undefined value errors in valgrind. Commit: a71d70b9862a74e097edf91232c5b57e33318dff https://github.com/dovecot/core/commit/a71d70b9862a74e097edf91232c5b57e33318dff Author: Aki Tuomi Date: 2016-11-29 (Tue, 29 Nov 2016) Changed paths: M configure.ac Log Message: ----------- m4: Detect OpenSSL version 1.0.2 valgrind cannot work in all cases if openssl version is 1.0.2, so we need to know this to selectively disable valgrind. Commit: 187826a29f379fd0cb1e473f1437e0fde63a3f23 https://github.com/dovecot/core/commit/187826a29f379fd0cb1e473f1437e0fde63a3f23 Author: Aki Tuomi Date: 2016-11-29 (Tue, 29 Nov 2016) Changed paths: M src/plugins/mail-crypt/Makefile.am Log Message: ----------- mail-crypt: Skip undef values if OpenSSL is <1.0.2 OpenSSL 1.0.1 and earlier generate undef warnings due to using stack as randomness source in a way that valgrind does not like, so we disable undef value checks for mail-crypt-plugin. Commit: 5f53b8474153ec10e043a6d99cc21a33f14ffe9c https://github.com/dovecot/core/commit/5f53b8474153ec10e043a6d99cc21a33f14ffe9c Author: Aki Tuomi Date: 2016-11-29 (Tue, 29 Nov 2016) Changed paths: M src/plugins/mail-crypt/mail-crypt-plugin.c Log Message: ----------- mail-crypt: Fail if key is not found and save_version less than 2 Fail if save version is set to 0 or 1, instead of trying to use undefined value for public key. Commit: d5f9cd958fa766ea86afe9c4af35f7bc9135f051 https://github.com/dovecot/core/commit/d5f9cd958fa766ea86afe9c4af35f7bc9135f051 Author: Aki Tuomi Date: 2016-11-29 (Tue, 29 Nov 2016) Changed paths: M src/plugins/mail-crypt/mail-crypt-key.c Log Message: ----------- mail-crypt: Do not attempt to cache freed keypair Commit: 34ee72725c71f6ef7d171cb9eaa677815962ae43 https://github.com/dovecot/core/commit/34ee72725c71f6ef7d171cb9eaa677815962ae43 Author: Aki Tuomi Date: 2016-11-29 (Tue, 29 Nov 2016) Changed paths: M src/plugins/mail-crypt/doveadm-mail-crypt.c Log Message: ----------- doveadm-mail-crypt: Skip existing keys properly When generating new keypairs, handle existing keys correctly when skipping them. Commit: e8ca3069148c7cfdb9c9697010fea0eda8733d85 https://github.com/dovecot/core/commit/e8ca3069148c7cfdb9c9697010fea0eda8733d85 Author: Aki Tuomi Date: 2016-11-29 (Tue, 29 Nov 2016) Changed paths: M src/plugins/mail-crypt/test-mail-key.c Log Message: ----------- mail-crypt: Add error handling for mailbox_open in tests Commit: beb9cf38b3fccef8e4318769760ce43e4b4c400b https://github.com/dovecot/core/commit/beb9cf38b3fccef8e4318769760ce43e4b4c400b Author: Aki Tuomi Date: 2016-11-29 (Tue, 29 Nov 2016) Changed paths: M src/lib-dcrypt/istream-decrypt.c Log Message: ----------- lib-dcrypt: Add error handling for dcrypt_key_id_private Commit: dcb58b054e61c0bd0752cae7ab2d598dd60a7373 https://github.com/dovecot/core/commit/dcb58b054e61c0bd0752cae7ab2d598dd60a7373 Author: Aki Tuomi Date: 2016-11-29 (Tue, 29 Nov 2016) Changed paths: M autogen.sh Log Message: ----------- autogen: Use HTTPS for wiki Commit: 55f91814d888bd9f4439a01a913a81598851a036 https://github.com/dovecot/core/commit/55f91814d888bd9f4439a01a913a81598851a036 Author: Aki Tuomi Date: 2016-11-29 (Tue, 29 Nov 2016) Changed paths: M src/plugins/mail-crypt/mail-crypt-key.c Log Message: ----------- mail-crypt: Do not attempt to cache keys on failure Compare: https://github.com/dovecot/core/compare/daa3eb974db9...55f91814d888 From noreply at github.com Tue Nov 29 21:00:13 2016 From: noreply at github.com (GitHub) Date: Tue, 29 Nov 2016 13:00:13 -0800 Subject: [dovecot/core] 134b50: lib: add tests for HMAC-SHA256 from RFC 4231 Message-ID: <583dec5d7a409_5ab53ff0cd7f713497087@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 134b5022c0549daef243e2c3220bd0238f396868 https://github.com/dovecot/core/commit/134b5022c0549daef243e2c3220bd0238f396868 Author: Martti Rannanj?rvi Date: 2016-11-29 (Tue, 29 Nov 2016) Changed paths: M src/lib/Makefile.am A src/lib/test-hmac.c M src/lib/test-lib.inc Log Message: ----------- lib: add tests for HMAC-SHA256 from RFC 4231 From noreply at github.com Tue Nov 29 22:50:46 2016 From: noreply at github.com (GitHub) Date: Tue, 29 Nov 2016 14:50:46 -0800 Subject: [dovecot/core] 3694f0: WIP: lib-imap: imap-bodystructure: Created body st... Message-ID: <583e0646b6667_312a3f821a44f134825f2@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/tags/dovecot-ee-2.2.26.1-10 Home: https://github.com/dovecot/core Commit: 3694f08bacc0c0e9f89f96d67e98ba343197485f https://github.com/dovecot/core/commit/3694f08bacc0c0e9f89f96d67e98ba343197485f Author: Stephan Bosch Date: 2016-10-31 (Mon, 31 Oct 2016) Changed paths: M src/lib-imap/imap-bodystructure.c M src/lib-imap/imap-bodystructure.h Log Message: ----------- WIP: lib-imap: imap-bodystructure: Created body structure parser that decodes all data and does not need a pre-existing message_part structure. Commit: b57b0f6b905c9fdd67a9bcb60533dc86a4b6b390 https://github.com/dovecot/core/commit/b57b0f6b905c9fdd67a9bcb60533dc86a4b6b390 Author: Stephan Bosch Date: 2016-10-31 (Mon, 31 Oct 2016) Changed paths: M src/lib-storage/Makefile.am M src/lib-storage/index/Makefile.am M src/lib-storage/index/imapc/imapc-search.c A src/lib-storage/index/index-search-mime.c M src/lib-storage/index/index-search-private.h M src/lib-storage/index/index-search.c M src/lib-storage/mail-search-args-cmdline.c M src/lib-storage/mail-search-args-imap.c A src/lib-storage/mail-search-mime-build.c A src/lib-storage/mail-search-mime-build.h A src/lib-storage/mail-search-mime-register.c A src/lib-storage/mail-search-mime-register.h A src/lib-storage/mail-search-mime.c A src/lib-storage/mail-search-mime.h M src/lib-storage/mail-search-register-imap.c M src/lib-storage/mail-search.c M src/lib-storage/mail-search.h M src/lib-storage/mail-storage.c Log Message: ----------- WIP: Implemented IMAP SEARCH=MIMEPART capability. Commit: 8feb0e164a537cf9eea8192e90eb2e0bf41a5285 https://github.com/dovecot/core/commit/8feb0e164a537cf9eea8192e90eb2e0bf41a5285 Author: Timo Sirainen Date: 2016-10-31 (Mon, 31 Oct 2016) Changed paths: M configure.ac Log Message: ----------- v2.2.26.1 released Compare: https://github.com/dovecot/core/compare/3694f08bacc0^...8feb0e164a53 From noreply at github.com Tue Nov 29 22:52:23 2016 From: noreply at github.com (GitHub) Date: Tue, 29 Nov 2016 14:52:23 -0800 Subject: [dovecot/core] 574558: v2.2.27.rc1 released Message-ID: <583e06a76b996_4a1e3ff6777dd130900c9@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/release-2.2.27 Home: https://github.com/dovecot/core Commit: 574558a357d5d1868d2ad00aadb9827c5a4b2da9 https://github.com/dovecot/core/commit/574558a357d5d1868d2ad00aadb9827c5a4b2da9 Author: Timo Sirainen Date: 2016-11-29 (Tue, 29 Nov 2016) Changed paths: M NEWS M configure.ac Log Message: ----------- v2.2.27.rc1 released Commit: 66a29cb2d28cf3b541586dbf93180e8b9bfb994a https://github.com/dovecot/core/commit/66a29cb2d28cf3b541586dbf93180e8b9bfb994a Author: Aki Tuomi Date: 2016-11-30 (Wed, 30 Nov 2016) Changed paths: M src/plugins/mail-crypt/mail-crypt-acl-plugin.c Log Message: ----------- mail-crypt: Do not try to read error from unset variable Commit: 81cbf87d0cceea7e2d79df04ebb5e97351305660 https://github.com/dovecot/core/commit/81cbf87d0cceea7e2d79df04ebb5e97351305660 Author: Aki Tuomi Date: 2016-11-30 (Wed, 30 Nov 2016) Changed paths: M src/plugins/mail-crypt/mail-crypt-key.c Log Message: ----------- mail-crypt: Remove dead assigment Compare: https://github.com/dovecot/core/compare/574558a357d5^...81cbf87d0cce From noreply at github.com Wed Nov 30 00:00:10 2016 From: noreply at github.com (GitHub) Date: Tue, 29 Nov 2016 16:00:10 -0800 Subject: [dovecot/core] ffe51a: lib: Add hmac helpers Message-ID: <583e168a4555e_4b0a3ff78ea8b130341ce@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: ffe51a1969f24d88bbfacb3ba2ec83d5b99ae774 https://github.com/dovecot/core/commit/ffe51a1969f24d88bbfacb3ba2ec83d5b99ae774 Author: Aki Tuomi Date: 2016-11-30 (Wed, 30 Nov 2016) Changed paths: M src/lib/hmac.c M src/lib/hmac.h Log Message: ----------- lib: Add hmac helpers These run hmac for given data with given parameters and returns stack allocated buffer. They are helpful when doing lots of HMACs, such as the AWS4 signing protocol. Commit: a62b4fb5f0b1577535fa20fc88f4d1ade72070a3 https://github.com/dovecot/core/commit/a62b4fb5f0b1577535fa20fc88f4d1ade72070a3 Author: Aki Tuomi Date: 2016-11-30 (Wed, 30 Nov 2016) Changed paths: M src/lib/test-hmac.c Log Message: ----------- lib: Add test for hmac helper Commit: ceb2c6d913e236aff5df81b8a9d7fc5f2d898528 https://github.com/dovecot/core/commit/ceb2c6d913e236aff5df81b8a9d7fc5f2d898528 Author: Aki Tuomi Date: 2016-11-30 (Wed, 30 Nov 2016) Changed paths: M src/plugins/mail-crypt/mail-crypt-key.c Log Message: ----------- mail-crypt: Remove dead assigment Compare: https://github.com/dovecot/core/compare/134b5022c054...ceb2c6d913e2 From noreply at github.com Wed Nov 30 00:00:13 2016 From: noreply at github.com (GitHub) Date: Tue, 29 Nov 2016 16:00:13 -0800 Subject: [dovecot/core] 736d51: mail-crypt: Do not try to read error from unset va... Message-ID: <583e168d2d688_2ac773feac3ad113029490@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: 736d5169af6ea4037ce8a2562a70a979ec2d79e6 https://github.com/dovecot/core/commit/736d5169af6ea4037ce8a2562a70a979ec2d79e6 Author: Aki Tuomi Date: 2016-11-30 (Wed, 30 Nov 2016) Changed paths: M src/plugins/mail-crypt/mail-crypt-acl-plugin.c Log Message: ----------- mail-crypt: Do not try to read error from unset variable Commit: 4f8d1dba56809b1b333b8b1d71a64ad0d378f934 https://github.com/dovecot/core/commit/4f8d1dba56809b1b333b8b1d71a64ad0d378f934 Author: Aki Tuomi Date: 2016-11-30 (Wed, 30 Nov 2016) Changed paths: M src/plugins/mail-crypt/mail-crypt-key.c Log Message: ----------- mail-crypt: Remove dead assigment Compare: https://github.com/dovecot/core/compare/55f91814d888...4f8d1dba5680 From noreply at github.com Wed Nov 30 11:00:09 2016 From: noreply at github.com (GitHub) Date: Wed, 30 Nov 2016 03:00:09 -0800 Subject: [dovecot/core] 0bd01b: lib-storage: If mailbox_create() fails, don't leav... Message-ID: <583eb1392c004_133dc3fa3d6e5513c37922@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 0bd01b003f9a6a78fb8af331c44b2e32036b6786 https://github.com/dovecot/core/commit/0bd01b003f9a6a78fb8af331c44b2e32036b6786 Author: Timo Sirainen Date: 2016-11-30 (Wed, 30 Nov 2016) Changed paths: M src/lib-storage/mail-storage.c Log Message: ----------- lib-storage: If mailbox_create() fails, don't leave box in partially opened state. For example with sdbox it may have opened the indexes, but not set mailbox's GUID. A following MAILBOX_METADATA_GUID would then assert-crash because GUID is empty. From noreply at github.com Wed Nov 30 11:30:09 2016 From: noreply at github.com (GitHub) Date: Wed, 30 Nov 2016 03:30:09 -0800 Subject: [dovecot/core] 0ad3de: man: Update doveadm director flush description Message-ID: <583eb84137876_7b413f911daed13c10149c@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: 0ad3dea8cb36fc8211b42c1aef9ed42c95fd3747 https://github.com/dovecot/core/commit/0ad3dea8cb36fc8211b42c1aef9ed42c95fd3747 Author: Timo Sirainen Date: 2016-11-30 (Wed, 30 Nov 2016) Changed paths: M doc/man/doveadm-director.1.in Log Message: ----------- man: Update doveadm director flush description From noreply at github.com Wed Nov 30 13:30:08 2016 From: noreply at github.com (GitHub) Date: Wed, 30 Nov 2016 05:30:08 -0800 Subject: [dovecot/core] d0d37a: lib-storage: Add struct mail_save_context.copy_src... Message-ID: <583ed460b8407_136f33fe1f3f231306577@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/dovecot/core Commit: d0d37a769d7e54646de025a43d2cb888478cb218 https://github.com/dovecot/core/commit/d0d37a769d7e54646de025a43d2cb888478cb218 Author: Timo Sirainen Date: 2016-11-30 (Wed, 30 Nov 2016) Changed paths: M src/lib-storage/mail-storage-private.h M src/lib-storage/mail-storage.c Log Message: ----------- lib-storage: Add struct mail_save_context.copy_src_mail Commit: 2ec4ab6f5a1172e86afc72c0f29f470d6fd2bd9a https://github.com/dovecot/core/commit/2ec4ab6f5a1172e86afc72c0f29f470d6fd2bd9a Author: Timo Sirainen Date: 2016-11-30 (Wed, 30 Nov 2016) Changed paths: M src/plugins/quota/quota-storage.c Log Message: ----------- quota: Don't skip quota checks when moving mails between different quota roots. Compare: https://github.com/dovecot/core/compare/0ad3dea8cb36...2ec4ab6f5a11 From noreply at github.com Wed Nov 30 15:00:17 2016 From: noreply at github.com (GitHub) Date: Wed, 30 Nov 2016 07:00:17 -0800 Subject: [dovecot/core] cf7aca: lib-storage: If mailbox_create() fails, don't leav... Message-ID: <583ee9811e9b0_7ca03f9e754c3134215e@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master-2.2 Home: https://github.com/dovecot/core Commit: cf7aca71dd42dd75c5701963cb2a2c655314ef99 https://github.com/dovecot/core/commit/cf7aca71dd42dd75c5701963cb2a2c655314ef99 Author: Timo Sirainen Date: 2016-11-30 (Wed, 30 Nov 2016) Changed paths: M src/lib-storage/mail-storage.c Log Message: ----------- lib-storage: If mailbox_create() fails, don't leave box in partially opened state. For example with sdbox it may have opened the indexes, but not set mailbox's GUID. A following MAILBOX_METADATA_GUID would then assert-crash because GUID is empty. Commit: 18c53479c9428ae73f6fbb9a6890bad79bea4f47 https://github.com/dovecot/core/commit/18c53479c9428ae73f6fbb9a6890bad79bea4f47 Author: Timo Sirainen Date: 2016-11-30 (Wed, 30 Nov 2016) Changed paths: M doc/man/doveadm-director.1.in Log Message: ----------- man: Update doveadm director flush description Commit: be6bbcf62f345e9c309d188e01eeda795180d897 https://github.com/dovecot/core/commit/be6bbcf62f345e9c309d188e01eeda795180d897 Author: Timo Sirainen Date: 2016-11-30 (Wed, 30 Nov 2016) Changed paths: M src/lib-storage/mail-storage-private.h M src/lib-storage/mail-storage.c Log Message: ----------- lib-storage: Add struct mail_save_context.copy_src_mail Commit: 3002d944bff83d7c7272c79f71d7904f375a2042 https://github.com/dovecot/core/commit/3002d944bff83d7c7272c79f71d7904f375a2042 Author: Timo Sirainen Date: 2016-11-30 (Wed, 30 Nov 2016) Changed paths: M src/plugins/quota/quota-storage.c Log Message: ----------- quota: Don't skip quota checks when moving mails between different quota roots. Compare: https://github.com/dovecot/core/compare/4f8d1dba5680...3002d944bff8