[dovecot/core] 1efd9b: mdbox: Fix rebuilding when dovecot.map.index is mi...
GitHub
noreply at github.com
Wed Feb 28 23:26:57 EET 2018
Branch: refs/heads/release-2.2.34
Home: https://github.com/dovecot/core
Commit: 1efd9bfd2c0d5a69b1863b6ca6269e0bfdb7f685
https://github.com/dovecot/core/commit/1efd9bfd2c0d5a69b1863b6ca6269e0bfdb7f685
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-01-29 (Mon, 29 Jan 2018)
Changed paths:
M src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c
Log Message:
-----------
mdbox: Fix rebuilding when dovecot.map.index is missing map/ref extension
The rebuild kept just repeatedly failing with:
Error: mdbox map .../dovecot.map.index corrupted: missing map extension
Commit: 385b93d2ba73c6ebb864d1466742108e38dc35b1
https://github.com/dovecot/core/commit/385b93d2ba73c6ebb864d1466742108e38dc35b1
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-01-29 (Mon, 29 Jan 2018)
Changed paths:
M src/lib-index/mail-cache-fields.c
Log Message:
-----------
lib-index: Fix adding forced cache decisions to existing cache files
If a field already existed in the cache file, the cache decision from the
file was always used. This caused force-decisions to be ignored.
Commit: b06fbe581bf32c91e080b2435f226cf1eaee028e
https://github.com/dovecot/core/commit/b06fbe581bf32c91e080b2435f226cf1eaee028e
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-01-29 (Mon, 29 Jan 2018)
Changed paths:
M src/lib-index/mail-cache-fields.c
Log Message:
-----------
lib-index: Fix removal of forced cache decisions from existing cache files
The forced-flags are written to the cache file when the file is created.
They were also read back, and the force-flag was preserved even when the
configuration was removed.
Commit: 99bf83cfe7e122ae2acfa3e937c4d057b30bf1ce
https://github.com/dovecot/core/commit/99bf83cfe7e122ae2acfa3e937c4d057b30bf1ce
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-01-29 (Mon, 29 Jan 2018)
Changed paths:
M src/lib-index/mail-cache-fields.c
Log Message:
-----------
lib-index: Finish fixing removal of forced cache decisions from existing cache files
6ef2504d020461b0f480766c41596595a4300023 didn't fix it for already known
fields.
Commit: e62a5cbacd136dd80026da2a4acfab05549a34e7
https://github.com/dovecot/core/commit/e62a5cbacd136dd80026da2a4acfab05549a34e7
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-01-29 (Mon, 29 Jan 2018)
Changed paths:
M src/lib-index/mail-cache-fields.c
Log Message:
-----------
lib-index: Code cleanup for reading caching decisions
No functional changes.
Commit: 863cd3e8687a50cb05284fbeb93124c25bd28448
https://github.com/dovecot/core/commit/863cd3e8687a50cb05284fbeb93124c25bd28448
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-01-29 (Mon, 29 Jan 2018)
Changed paths:
M src/lib-index/mail-cache-fields.c
Log Message:
-----------
lib-index: Write forced cache decision changes immediately to cache file
When mail_always/never_cache_fields doesn't match the current caching
decisions in the cache file, write the updated decisions to the file.
Commit: c1398e63c8a46a69283e9fcfb70b16b6a8853f95
https://github.com/dovecot/core/commit/c1398e63c8a46a69283e9fcfb70b16b6a8853f95
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-01-30 (Tue, 30 Jan 2018)
Changed paths:
M src/plugins/mail-crypt/mail-crypt-pluginenv.c
Log Message:
-----------
mail-crypt: Do not free global keys if no error has occured
Commit: a008617e811673064fd657acf517dc4a12493d29
https://github.com/dovecot/core/commit/a008617e811673064fd657acf517dc4a12493d29
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-01-30 (Tue, 30 Jan 2018)
Changed paths:
M src/lib-auth/auth-client-request.c
Log Message:
-----------
lib-auth: Fix memory leak in auth_client_request_abort()
This caused memory leaks when authentication was aborted. For example
with IMAP:
a AUTHENTICATE PLAIN
*
Broken by 9137c55411aa39d41c1e705ddc34d5bd26c65021
Commit: 891aa17915b5d73efa900bd04564c0a365774538
https://github.com/dovecot/core/commit/891aa17915b5d73efa900bd04564c0a365774538
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-01-30 (Tue, 30 Jan 2018)
Changed paths:
M src/lib-auth/auth-client-request.c
M src/lib-auth/auth-server-connection.c
M src/lib-auth/auth-server-connection.h
Log Message:
-----------
lib-auth: Remove request after abort
Otherwise the request will still stay in hash table
and get dereferenced when all requests are aborted
causing an attempt to access free'd memory.
Found by Apollon Oikonomopoulos <apoikos at debian.org>
Broken in 1a29ed2f96da1be22fa5a4d96c7583aa81b8b060
Commit: ce9f50b5a47a026730e851b6ad6726b4177335a7
https://github.com/dovecot/core/commit/ce9f50b5a47a026730e851b6ad6726b4177335a7
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-01-30 (Tue, 30 Jan 2018)
Changed paths:
M src/lib-storage/index/imapc/imapc-sync.c
Log Message:
-----------
imapc: Fix deleting mailbox
Broken by f8f30bd27e41e1041a8de0b97f35d7d75e0a412e
Commit: c2ece29906877a82e6b78dac45cab0722b1b0c90
https://github.com/dovecot/core/commit/c2ece29906877a82e6b78dac45cab0722b1b0c90
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-01-30 (Tue, 30 Jan 2018)
Changed paths:
M src/log/main.c
Log Message:
-----------
log: Fix log reopening on SIGUSR1
Commit: faf2b7658511e6f89d186096c51f4c51614b9a20
https://github.com/dovecot/core/commit/faf2b7658511e6f89d186096c51f4c51614b9a20
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-01-30 (Tue, 30 Jan 2018)
Changed paths:
M src/lib-mail/message-part-data.c
M src/lib-mail/message-part-data.h
Log Message:
-----------
lib-mail: Add message_part_has_attachment
Commit: ae2b505b78a088232bc6e9e3cbdb9cfc4af79c8a
https://github.com/dovecot/core/commit/ae2b505b78a088232bc6e9e3cbdb9cfc4af79c8a
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-01-30 (Tue, 30 Jan 2018)
Changed paths:
M src/lib-storage/mail-storage-settings.c
M src/lib-storage/mail-storage-settings.h
Log Message:
-----------
lib-storage: Add attachment detection settings
Commit: 4395a3d9af63c7c678ba32a5877acb2d898e356c
https://github.com/dovecot/core/commit/4395a3d9af63c7c678ba32a5877acb2d898e356c
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-01-30 (Tue, 30 Jan 2018)
Changed paths:
M src/lib-storage/mail-storage-private.h
M src/lib-storage/mail-storage.c
M src/lib-storage/mail-storage.h
M src/lib-storage/mail.c
Log Message:
-----------
lib-storage: Set keyword based on attachment presence when saving
If attachment is detected, use $HasAttachment, if not
use $HasNoAttachment
Commit: 8bb2fab47fbd192ffb7e2ca9cb6df1b8ea2fe62d
https://github.com/dovecot/core/commit/8bb2fab47fbd192ffb7e2ca9cb6df1b8ea2fe62d
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-01-31 (Wed, 31 Jan 2018)
Changed paths:
M src/lib-program-client/program-client-remote.c
M src/lib-program-client/program-client.c
Log Message:
-----------
lib-program-client: Use reliable means of checking for input stream EOF.
Commit: 3e27443270d9a2a446f0a38e6f115a90faeeb856
https://github.com/dovecot/core/commit/3e27443270d9a2a446f0a38e6f115a90faeeb856
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-01-31 (Wed, 31 Jan 2018)
Changed paths:
M src/lib-program-client/program-client-remote.c
Log Message:
-----------
lib-program-client: remote: Don't change exit_code in program_client_remote_disconnect() when program_input is already NULL.
When the program_input is NULL, the stream is finished, meaning that the
exit_code is set based on the return code. There can be a program_input for
remote streams, even when the program produces no output.
Commit: 0a10fa64d468ca237f4657326f8900a1a301d645
https://github.com/dovecot/core/commit/0a10fa64d468ca237f4657326f8900a1a301d645
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-01-31 (Wed, 31 Jan 2018)
Changed paths:
M src/lib-program-client/test-program-client-local.c
Log Message:
-----------
lib-program-client: local: Add test for big data I/O.
Commit: 939d5fccfcd42330b23c2bbf188aa9e513a369d8
https://github.com/dovecot/core/commit/939d5fccfcd42330b23c2bbf188aa9e513a369d8
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-05 (Mon, 05 Feb 2018)
Changed paths:
M src/auth/passdb-blocking.c
M src/auth/passdb-blocking.h
Log Message:
-----------
auth: passdb-blocking - Expose passdb_blocking_auth_worker_reply_parse
Enables sharing code with passdb cache
Commit: 0c25fed77f39a797e6ff52f57fbdd836ffd2d32f
https://github.com/dovecot/core/commit/0c25fed77f39a797e6ff52f57fbdd836ffd2d32f
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-05 (Mon, 05 Feb 2018)
Changed paths:
M src/auth/auth-worker-client.c
M src/auth/auth-worker-client.h
Log Message:
-----------
auth-worker: Add auth_worker_auth_request_new
Replaces worker_auth_request_new, moves in
check for username and service. Simplifies code.
Commit: 43342092e2f6acace84920947252fc32a5e5401b
https://github.com/dovecot/core/commit/43342092e2f6acace84920947252fc32a5e5401b
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-05 (Mon, 05 Feb 2018)
Changed paths:
M src/auth/auth-request.h
M src/auth/auth-worker-client.c
Log Message:
-----------
auth-worker: Support PASSW request
This will attempt to verify given credentials.
Commit: ec7b1fc580fa5731f067f4a4125d782938a26ba0
https://github.com/dovecot/core/commit/ec7b1fc580fa5731f067f4a4125d782938a26ba0
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-05 (Mon, 05 Feb 2018)
Changed paths:
M src/auth/auth-request.c
M src/auth/auth-request.h
Log Message:
-----------
auth: Expose auth_request_verify_plain_callback_finish
Commit: ee8bec7d37525b32405d199f0691db1d051eeaf4
https://github.com/dovecot/core/commit/ee8bec7d37525b32405d199f0691db1d051eeaf4
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-05 (Mon, 05 Feb 2018)
Changed paths:
M src/auth/auth-request.c
M src/auth/auth-settings.c
M src/auth/auth-settings.h
M src/auth/passdb-cache.c
Log Message:
-----------
auth: passdb-cache - Verify credentials with worker when enabled
Commit: d36fec3ba9c46b04455933fa3b7c1288c36cc4d6
https://github.com/dovecot/core/commit/d36fec3ba9c46b04455933fa3b7c1288c36cc4d6
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-05 (Mon, 05 Feb 2018)
Changed paths:
M src/lib-index/mail-cache-private.h
Log Message:
-----------
lib-index: Update comments for mail_cache_decision_*()
Commit: fedde67c73ac48ea0aaf1db345a93b37c85227d8
https://github.com/dovecot/core/commit/fedde67c73ac48ea0aaf1db345a93b37c85227d8
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-05 (Mon, 05 Feb 2018)
Changed paths:
M src/lib-storage/index/index-mail.c
Log Message:
-----------
lib-storage: Add comment to how mail_cache_field_can/want_add() is used
Commit: 9f11e3be0d381f41fb896de30be080b50012e002
https://github.com/dovecot/core/commit/9f11e3be0d381f41fb896de30be080b50012e002
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-05 (Mon, 05 Feb 2018)
Changed paths:
M src/lib-storage/index/index-mail.c
Log Message:
-----------
lib-storage: Fix adding body.snippet to cache
Unless body.snippet was in mail_always_cache_fields, it didn't get added to
the cache file.
Commit: b30d6bcb37400a831a8bc0e12bec5987c25e2477
https://github.com/dovecot/core/commit/b30d6bcb37400a831a8bc0e12bec5987c25e2477
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-05 (Mon, 05 Feb 2018)
Changed paths:
M src/lib/var-expand.c
Log Message:
-----------
lib: Support nested keys in var_get_key_range_full
Fixes problems with %{if...}
failed: if: requires four or five parameters, got 1
Commit: c26fd9f1c65fa6fa2e9bba78b9110cbdeddbf25e
https://github.com/dovecot/core/commit/c26fd9f1c65fa6fa2e9bba78b9110cbdeddbf25e
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-05 (Mon, 05 Feb 2018)
Changed paths:
M src/lib/var-expand.c
Log Message:
-----------
lib: var-expand - handle \{ and \} correctly
Do not treat these as embedded braces
Commit: fac8b31a1e3074450bd1abcc0f860224775cdb12
https://github.com/dovecot/core/commit/fac8b31a1e3074450bd1abcc0f860224775cdb12
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-05 (Mon, 05 Feb 2018)
Changed paths:
M src/lib/test-var-expand.c
Log Message:
-----------
lib: test-var-expand - Ensure var_get_key_range_full handles nested ifs correctly
Commit: 24ccf57287238bf45069fc18743b859213531ef2
https://github.com/dovecot/core/commit/24ccf57287238bf45069fc18743b859213531ef2
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2018-02-05 (Mon, 05 Feb 2018)
Changed paths:
M src/imap/imap-client.c
Log Message:
-----------
imap: Iterate over ns settings when deciding to add SPECIAL-USE capability
To determine whether we should add the SPECIAL-USE capability to the
OK response to LOGIN, we have to iterate over namespace and mailbox
*settings* since the namespaces haven't been set up yet.
Commit: 202f94516c7956bd248d1067b7c9abf44ec14cdb
https://github.com/dovecot/core/commit/202f94516c7956bd248d1067b7c9abf44ec14cdb
Author: Sergey Kitov <sergey.kitov at open-xchange.com>
Date: 2018-02-06 (Tue, 06 Feb 2018)
Changed paths:
M src/lib-imap-client/imapc-connection.c
Log Message:
-----------
lib-imap-client: continue imapc operation on parsing errors.
Commit: 6fe3c049509967d62d076090d4b8b1bc92e03fe4
https://github.com/dovecot/core/commit/6fe3c049509967d62d076090d4b8b1bc92e03fe4
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-06 (Tue, 06 Feb 2018)
Changed paths:
M src/lib/test-var-expand.c
M src/lib/var-expand.c
M src/lib/var-expand.h
Log Message:
-----------
lib: var-expand - Add table size and merge utility functions
Commit: 2f697ddc015ac3882ac5daba0c3b5fbb72e7cd76
https://github.com/dovecot/core/commit/2f697ddc015ac3882ac5daba0c3b5fbb72e7cd76
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-06 (Tue, 06 Feb 2018)
Changed paths:
M src/imap/imap-client.c
Log Message:
-----------
imap: Include mail user variables in logout format
Commit: 98560e4f26a2f6446b41f4a7c8f7d6a8b276ff76
https://github.com/dovecot/core/commit/98560e4f26a2f6446b41f4a7c8f7d6a8b276ff76
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-06 (Tue, 06 Feb 2018)
Changed paths:
M src/pop3/pop3-client.c
Log Message:
-----------
pop3: Include mail user variables in logout format
Commit: 1e45ebe8cda56d6c2c4e9bdfd489d93ff291ec73
https://github.com/dovecot/core/commit/1e45ebe8cda56d6c2c4e9bdfd489d93ff291ec73
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-06 (Tue, 06 Feb 2018)
Changed paths:
M src/imap/imap-client.c
M src/pop3/pop3-client.c
Log Message:
-----------
imap,pop3: Properly terminate logout tab.
Fixes Fatal: master: service(imap): child killed with signal 11
Broken in e0a42caee5a04d29cfa95ae7719aeaa708001255 and
1ecc087ee90439787de7df9b9a60e0d35b5dda07
Commit: 37a886345f3b7c2d4390f85905e0efdcda6a0ba9
https://github.com/dovecot/core/commit/37a886345f3b7c2d4390f85905e0efdcda6a0ba9
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-07 (Wed, 07 Feb 2018)
Changed paths:
M src/lib/test-time-util.c
Log Message:
-----------
lib: test-time-util: Put all test data for timeval_cmp() test in a single struct array.
Commit: 367c3c77fc7cf993f99dda83cfd97a8dca3a2b7c
https://github.com/dovecot/core/commit/367c3c77fc7cf993f99dda83cfd97a8dca3a2b7c
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-07 (Wed, 07 Feb 2018)
Changed paths:
M src/lib/test-time-util.c
M src/lib/time-util.c
Log Message:
-----------
lib: time-util: Fix timeval_cmp_margin() to correctly handle a margin crossing the second boundary.
The timeval_cmp_margin() function incorrectly assumed that the margin is
irrelevent when the tv_sec values are different.
Commit: b737907bc019caa5b95a29afd3515f8063b18c69
https://github.com/dovecot/core/commit/b737907bc019caa5b95a29afd3515f8063b18c69
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-07 (Wed, 07 Feb 2018)
Changed paths:
M src/lib-http/http-client-queue.c
Log Message:
-----------
lib-http: queue: Update the correct timout while dropping a request from the delay queue.
The absolute request timeout rather than the delay timeout was updated for the
removal of the request from the delay queue.
Commit: 879555b83a28f3e7910f1ab0e91ce6b1f87a12bd
https://github.com/dovecot/core/commit/879555b83a28f3e7910f1ab0e91ce6b1f87a12bd
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-07 (Wed, 07 Feb 2018)
Changed paths:
M src/plugins/fts/fts-search-args.c
Log Message:
-----------
fts: Fix searching SEARCH_HEADER_ADDRESS/COMPRESS_LWSP
These are "non-language" headers that are being searched, so they need to be
searched using data language.
Commit: 07737a6479f4c40980eb0bcb0c97a3505faf9226
https://github.com/dovecot/core/commit/07737a6479f4c40980eb0bcb0c97a3505faf9226
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-07 (Wed, 07 Feb 2018)
Changed paths:
M src/plugins/fts/fts-user.c
Log Message:
-----------
fts: Fix searching headers with TEXT/BODY
TEXT is searching headers and BODY is searching MIME headers. Those headers
were indexed with data language, so search must also include data language
when looking up words. We'll just include the data language for all
searches now, so it should always work correctly.
Commit: f2ef508ca182094ad19df45d3ac51c5c14114b04
https://github.com/dovecot/core/commit/f2ef508ca182094ad19df45d3ac51c5c14114b04
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-08 (Thu, 08 Feb 2018)
Changed paths:
M src/lib-ssl-iostream/iostream-openssl.c
Log Message:
-----------
lib-ssl-iostream: openssl: Make verbose logging robust against i_debug() writing to stream itself.
In dsync, i_debug() is overridden to write to the SSL stream itself through a
multiplexed data stream. So, during the i_debug() call all kinds of things can
happen to the persisted error string in the stream, which caused problems.
Commit: db979219df832330d1177786e49441f5e2f28ebf
https://github.com/dovecot/core/commit/db979219df832330d1177786e49441f5e2f28ebf
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-08 (Thu, 08 Feb 2018)
Changed paths:
M src/doveadm/doveadm-dsync.c
Log Message:
-----------
doveadm: dsync: Switch ioloop for input/output streams while making TCP connection.
This task is performed in a sub-ioloop, and when returning from that ioloop, the
output stream would sometimes still have an object on the sub-ioloop that was
just destroyed.
Commit: bd213698b6db461839ac326663a05c6e26b33e5a
https://github.com/dovecot/core/commit/bd213698b6db461839ac326663a05c6e26b33e5a
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-09 (Fri, 09 Feb 2018)
Changed paths:
M src/lib-sql/driver-cassandra.c
Log Message:
-----------
cassandra: Fix setting timestamp for transaction queries with v3 protocol
It was working for prepared statements, but not for non-prepared statements.
Commit: c690a8c7cb89c98be7e468bb6459318235a59d98
https://github.com/dovecot/core/commit/c690a8c7cb89c98be7e468bb6459318235a59d98
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-09 (Fri, 09 Feb 2018)
Changed paths:
M src/lib-sql/driver-cassandra.c
Log Message:
-----------
cassandra: Make sure timestamp is always logged (if set) with debug_queries=y
It wasn't logged in some code paths.
Commit: 1aed9cf060234ba1635ff28cae6852182797faa4
https://github.com/dovecot/core/commit/1aed9cf060234ba1635ff28cae6852182797faa4
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-09 (Fri, 09 Feb 2018)
Changed paths:
M src/plugins/fts/fts-storage.c
Log Message:
-----------
fts: Don't reindex FTS mails if .cache file is deleted
This means that if fts is enabled, "doveadm index" no longer adds mails
to dovecot.index.cache if it's deleted. However, it was rarely used for
that purpose. More likely due to a corrupted cache file all the mails were
unnecessarily being opened and reindexed.
Commit: 8933d76abe835058d867fec10205a2970739837c
https://github.com/dovecot/core/commit/8933d76abe835058d867fec10205a2970739837c
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-09 (Fri, 09 Feb 2018)
Changed paths:
M src/lib-fs/fs-posix.c
Log Message:
-----------
fs-posix: Fix iterating directories when readdir() returns DT_UNKNOWN
Files were iterated correctly, but directories weren't. This mainly broke
directory iteration with NFS when nordirplus mount option was used.
Commit: 2916c8a9e8945d73e1de76ed06441508361aa587
https://github.com/dovecot/core/commit/2916c8a9e8945d73e1de76ed06441508361aa587
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-09 (Fri, 09 Feb 2018)
Changed paths:
M src/lib-storage/list/mailbox-list-index-backend.c
M src/lib-storage/list/mailbox-list-index-status.c
M src/lib-storage/list/mailbox-list-index-storage.h
M src/lib-storage/list/mailbox-list-index.c
M src/lib-storage/list/mailbox-list-index.h
Log Message:
-----------
LAYOUT=index: Fix updating STATUS changes in mailbox list index
Mailbox list index backend code was overriding sync_init and sync_deinit
methods, which STATUS handling had already already overridden. They both
used the same super struct, so STATUS's sync_* were never called.
Commit: 48bdb5a23f965ae918bee85ebb5359ff9b23f2ef
https://github.com/dovecot/core/commit/48bdb5a23f965ae918bee85ebb5359ff9b23f2ef
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-09 (Fri, 09 Feb 2018)
Changed paths:
M src/lib-storage/list/mailbox-list-index-backend.c
Log Message:
-----------
LAYOUT=index: Fix crash in doveadm force-resync if storage doesn't implement list_index_corrupted()
Broken by recent changes.
Commit: d2dd72d013fd1eac8df4d78408add28c8d160749
https://github.com/dovecot/core/commit/d2dd72d013fd1eac8df4d78408add28c8d160749
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-09 (Fri, 09 Feb 2018)
Changed paths:
M src/lib/file-lock.c
M src/lib/file-lock.h
Log Message:
-----------
lib: Add file_lock_from_dotlock()
The dotlock creation requires various settings, so the file-lock.h API can't
easily be used to create it. But once created, it's simpler to keep all lock
types in the same struct file_lock, which can be unlocked/freed once
finished.
Commit: 369f9d5f8d3c6d73fd8ddcb0aef97e21bb8f38df
https://github.com/dovecot/core/commit/369f9d5f8d3c6d73fd8ddcb0aef97e21bb8f38df
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-09 (Fri, 09 Feb 2018)
Changed paths:
M src/lib-storage/mail-storage-private.h
M src/lib-storage/mail-storage.c
Log Message:
-----------
lib-storage: Add mail_storage_lock_create()
This is split off of mailbox_lock_file_create().
Commit: 0deb2257bf36a148b6c587a7a00c48eb3acc6a8d
https://github.com/dovecot/core/commit/0deb2257bf36a148b6c587a7a00c48eb3acc6a8d
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-09 (Fri, 09 Feb 2018)
Changed paths:
M src/lib-storage/mail-user.c
Log Message:
-----------
lib-storage: Change mail_user_lock_file_create() to use mail_storage_lock_create()
Commit: 4074b75efff5cf06548e79f4fe7a28a84e68608e
https://github.com/dovecot/core/commit/4074b75efff5cf06548e79f4fe7a28a84e68608e
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-09 (Fri, 09 Feb 2018)
Changed paths:
M src/lib-storage/mail-storage-private.h
M src/lib-storage/mail-storage.c
M src/lib-storage/mail-user.c
Log Message:
-----------
lib-storage: mail_storage_lock_create() - add support for dotlocks
Commit: 14ab87187fef536d4c6dd439a9fedb6878853ae3
https://github.com/dovecot/core/commit/14ab87187fef536d4c6dd439a9fedb6878853ae3
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-09 (Fri, 09 Feb 2018)
Changed paths:
M src/lib-storage/mail-storage.c
Log Message:
-----------
lib-storage: mailbox_rename() - Use source storage for errors
It was documented to use source storage for errors, but some of the errors
were set to destination storage.
Commit: a5a86524ad7c0d679d910b7ffb0605884fd95ed1
https://github.com/dovecot/core/commit/a5a86524ad7c0d679d910b7ffb0605884fd95ed1
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-09 (Fri, 09 Feb 2018)
Changed paths:
M src/lib-storage/mail-storage.c
Log Message:
-----------
lib-storage: mailbox_delete() - Fix cleanup in error handling
If removing index deletion mark failed, box->deleting wasn't set to FALSE
and the mailbox was left opened.
Commit: 1441e302ffa3cd3e808e5439acb6eed303729202
https://github.com/dovecot/core/commit/1441e302ffa3cd3e808e5439acb6eed303729202
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-09 (Fri, 09 Feb 2018)
Changed paths:
M src/lib-storage/mailbox-list-private.h
M src/lib-storage/mailbox-list.c
Log Message:
-----------
lib-storage: Add mailbox_list_[un]lock()
Commit: 7374e141a3ec8c057730617260cdc4142206816c
https://github.com/dovecot/core/commit/7374e141a3ec8c057730617260cdc4142206816c
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-09 (Fri, 09 Feb 2018)
Changed paths:
M src/lib-storage/mail-storage.c
Log Message:
-----------
lib-storage: Lock mailbox_list for mailbox create/delete/rename
This is only required for mailbox creation to fix a race condition with
LAYOUT=index: If INBOX doesn't exist it will rescan the mailboxes to
find out if there are any missing ones. If INBOX creation isn't locked,
it's possible that the first process hasn't finished creating INBOX
before the second process find it and attempts to open it.
The delete and rename locking are probably useful to guard against race
conditions when clients intentionally issues create/delete/rename commands
concurrently.
Commit: 292cdade3c21f61ad312aceb8fb18d71b12a63fb
https://github.com/dovecot/core/commit/292cdade3c21f61ad312aceb8fb18d71b12a63fb
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-09 (Fri, 09 Feb 2018)
Changed paths:
M src/lib-index/mail-cache-private.h
M src/lib-index/mail-cache.c
Log Message:
-----------
lib-index: Fix assert-crash with lock_method=dotlock
The dotlock wasn't deleted in all code paths. Fix this by simplifying
the unlocking to be done the same way with and without dotlock.
Fixes:
Panic: file mail-cache.c: line 624 (mail_cache_lock_file): assertion failed: (cache->dotlock == NULL)
Commit: 89366c32e376018e946d9d63efda2c7d9a4b7a13
https://github.com/dovecot/core/commit/89366c32e376018e946d9d63efda2c7d9a4b7a13
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-12 (Mon, 12 Feb 2018)
Changed paths:
M src/lib/restrict-access.h
Log Message:
-----------
lib: Clarify restrict_access_allow_coredumps
Commit: 25fcd8444493f71cfc64418ad7bb3e2034b564b7
https://github.com/dovecot/core/commit/25fcd8444493f71cfc64418ad7bb3e2034b564b7
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-12 (Mon, 12 Feb 2018)
Changed paths:
M src/lib/restrict-access.c
M src/lib/restrict-access.h
Log Message:
-----------
lib: Add restrict_access_get/set_dumpable
Commit: 64f0370236668f746be35621633dd2bbe98c14e2
https://github.com/dovecot/core/commit/64f0370236668f746be35621633dd2bbe98c14e2
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-12 (Mon, 12 Feb 2018)
Changed paths:
M src/plugins/stats/mail-stats-fill.c
Log Message:
-----------
old-stats: Set process dumpable during stats gathering
/proc/self/io is not accessible otherwise
Commit: 28be759e4d65e53a8127b898d7fa94f578cb2f73
https://github.com/dovecot/core/commit/28be759e4d65e53a8127b898d7fa94f578cb2f73
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-14 (Wed, 14 Feb 2018)
Changed paths:
M src/lib-storage/index/index-transaction.c
M src/lib-storage/mail-storage.c
Log Message:
-----------
lib-storage: Set mailbox_transaction_context.flags earlier
Set it in index_transaction_init() so plugins' transaction_begin() methods
see it after calling super.transaction_begin().
Commit: 3fcdc8d673dcf7d7f45a7995c9018c92d1ee9b10
https://github.com/dovecot/core/commit/3fcdc8d673dcf7d7f45a7995c9018c92d1ee9b10
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-14 (Wed, 14 Feb 2018)
Changed paths:
M src/plugins/replication/replication-plugin.c
Log Message:
-----------
replication: Don't send notification for changes done by dsync transactions
Commit: 7d6ced71d87ae8e1a68833d0246522c0582643f5
https://github.com/dovecot/core/commit/7d6ced71d87ae8e1a68833d0246522c0582643f5
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-15 (Thu, 15 Feb 2018)
Changed paths:
M src/doveadm/client-connection-http.c
M src/doveadm/client-connection-private.h
M src/doveadm/client-connection.c
M src/doveadm/client-connection.h
Log Message:
-----------
doveadm-server: http: Fixed crash occurring when disconnecting a client at server deinit.
Commit: 0f6b8a8eaf05c6aee395179c202e4e8ee2e48594
https://github.com/dovecot/core/commit/0f6b8a8eaf05c6aee395179c202e4e8ee2e48594
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-15 (Thu, 15 Feb 2018)
Changed paths:
M src/doveadm/client-connection-http.c
Log Message:
-----------
doveadm-server: http: Fixed lingering connections after the request is sent.
Turns out conn->http_client is already NULL while doveadm_http_server_connection_destroy() is called.
This is because http_server_connection_unref() sets it to NULL;
Fixed by removing useless HTTP connection reference.
Commit: f28e0d47f1c17ef3f720e83284b6cb6665c66d8b
https://github.com/dovecot/core/commit/f28e0d47f1c17ef3f720e83284b6cb6665c66d8b
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-15 (Thu, 15 Feb 2018)
Changed paths:
M src/auth/auth-settings.c
Log Message:
-----------
auth: Use rip instead of real_rip in policy server attributes
real_rip contains proxy IP, not client IP
Commit: 84f177fa6ce8dcec6836e3572c48f5a877814d21
https://github.com/dovecot/core/commit/84f177fa6ce8dcec6836e3572c48f5a877814d21
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-15 (Thu, 15 Feb 2018)
Changed paths:
M src/auth/auth-policy.c
M src/auth/auth-settings.c
Log Message:
-----------
auth: Use correct username is auth policy requests
When doing master authentication as first, use
the username of the user, not master user, for policy lookup.
Commit: 01ee6590000132cb3fd5a39d8d064f7f0c840645
https://github.com/dovecot/core/commit/01ee6590000132cb3fd5a39d8d064f7f0c840645
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-15 (Thu, 15 Feb 2018)
Changed paths:
M src/auth/auth-request-handler.c
M src/auth/auth-request.c
M src/auth/auth-settings.c
M src/auth/auth-settings.h
Log Message:
-----------
auth: Add policy check configuration options
Allows disabling before/after auth checks, or reporting.
Commit: 1171a7e961834d7d85072ceb8f6e718538e15b09
https://github.com/dovecot/core/commit/1171a7e961834d7d85072ceb8f6e718538e15b09
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-15 (Thu, 15 Feb 2018)
Changed paths:
M src/auth/auth-request.c
Log Message:
-----------
auth: Set correct context type when bypassing reporting in auth_success
Broken in 41ff6e6a4a085786d4c15a58c7c50a28e2110c3f
Commit: 30dc856f7b97b75b0e0d69f5003d5d99a13249b4
https://github.com/dovecot/core/commit/30dc856f7b97b75b0e0d69f5003d5d99a13249b4
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-16 (Fri, 16 Feb 2018)
Changed paths:
M src/lib-mail/rfc822-parser.c
Log Message:
-----------
lib-mail: rfc822-parser - Add asserts to make sure parser state is correct
Commit: 8d65e2345e1dbedb00b662ee0abd05be2e7e6b7e
https://github.com/dovecot/core/commit/8d65e2345e1dbedb00b662ee0abd05be2e7e6b7e
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-16 (Fri, 16 Feb 2018)
Changed paths:
M src/lib-mail/test-message-address.c
Log Message:
-----------
lib-mail: test-message-address - Add TEST_MESSAGE_ADDRESS_FLAG_SKIP_LIST flag
This commit just adds the flag and sets it to 0 for all existing tests.
Commit: b72d864b8c34cb21076214c0b28101baec530141
https://github.com/dovecot/core/commit/b72d864b8c34cb21076214c0b28101baec530141
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-16 (Fri, 16 Feb 2018)
Changed paths:
M src/lib-mail/message-address.c
M src/lib-mail/test-message-address.c
Log Message:
-----------
lib-mail: Fix out-of-bounds read when parsing an invalid email address
The included unit test doesn't fail, but running it with valgrind shows
"Invalid read of size 1" error.
Broken in d6737a17a27402e7a262f7ba8a2ed588d576f23c
Discovered by Aleksandar Nikolic of Cisco Talos
Commit: e9b86842441a668b30796bff7d60828614570a1b
https://github.com/dovecot/core/commit/e9b86842441a668b30796bff7d60828614570a1b
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-16 (Fri, 16 Feb 2018)
Changed paths:
M src/lib-mail/message-address.c
M src/lib-mail/message-date.c
M src/lib-mail/message-part-data.c
M src/lib-mail/rfc2231-parser.c
M src/lib-mail/rfc822-parser.c
Log Message:
-----------
lib-mail: Make sure parsers don't accidentally go much beyond end pointer
Commit: f5cd17a27f0b666567747f8c921ebe1026970f11
https://github.com/dovecot/core/commit/f5cd17a27f0b666567747f8c921ebe1026970f11
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-16 (Fri, 16 Feb 2018)
Changed paths:
M src/lib-mail/rfc822-parser.h
Log Message:
-----------
lib-mail: Add rfc822_parser_deinit()
It's not a strict requirement to call this, but it assert-crashes if the
state isn't valid.
Commit: 18a7a161c8dae6f630770a3cbab7374a0c3dd732
https://github.com/dovecot/core/commit/18a7a161c8dae6f630770a3cbab7374a0c3dd732
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-16 (Fri, 16 Feb 2018)
Changed paths:
M src/lib-mail/message-address.c
M src/lib-mail/message-id.c
M src/lib-mail/message-parser.c
Log Message:
-----------
lib-mail: Refactor code to make the next commit smaller
Commit: 0ed696987e5e5d44e971da2a10f6275b276ece34
https://github.com/dovecot/core/commit/0ed696987e5e5d44e971da2a10f6275b276ece34
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-16 (Fri, 16 Feb 2018)
Changed paths:
M src/lib-mail/istream-attachment-extractor.c
M src/lib-mail/message-address.c
M src/lib-mail/message-date.c
M src/lib-mail/message-decoder.c
M src/lib-mail/message-id.c
M src/lib-mail/message-parser.c
M src/lib-mail/message-part-data.c
M src/lib-mail/message-search.c
M src/lib-mail/test-rfc2231-parser.c
M src/lib-mail/test-rfc822-parser.c
M src/plugins/fts/fts-build-mail.c
M src/plugins/fts/fts-parser-script.c
Log Message:
-----------
global: Call rfc822_parser_deinit() wherever possible
Commit: 59fcdd2663ef294d45c973bf6616436def3a538f
https://github.com/dovecot/core/commit/59fcdd2663ef294d45c973bf6616436def3a538f
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/lib-charset/Makefile.am
A src/lib-charset/charset-utf8-only.c
M src/lib-charset/charset-utf8.c
Log Message:
-----------
lib-charset: Move non-iconv UTF-8 only translation code to its own file
Commit: 0b88a2355ac7b555f7671eb2e62509c701ec394a
https://github.com/dovecot/core/commit/0b88a2355ac7b555f7671eb2e62509c701ec394a
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/lib-charset/Makefile.am
M src/lib-charset/charset-iconv.c
M src/lib-charset/charset-utf8-only.c
A src/lib-charset/charset-utf8-private.h
M src/lib-charset/charset-utf8.c
Log Message:
-----------
lib-charset: Allow plugins to replace charset_* functions
They just need to point charset_utf8_vfuncs to their own implementation.
Commit: 42b1236fa6ea60c17137ce661166363945ff93b5
https://github.com/dovecot/core/commit/42b1236fa6ea60c17137ce661166363945ff93b5
Author: Hideo Yoshizane <hideo.yoshizane at open-xchange.com>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M configure.ac
M src/plugins/Makefile.am
A src/plugins/charset-alias/Makefile.am
A src/plugins/charset-alias/charset-alias-plugin.c
A src/plugins/charset-alias/charset-alias-plugin.h
Log Message:
-----------
charset-alias-plugin
Commit: da6940c8d45446bf1c9c330953b5c2a9c59ec3f7
https://github.com/dovecot/core/commit/da6940c8d45446bf1c9c330953b5c2a9c59ec3f7
Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/plugins/Makefile.am
M src/plugins/charset-alias/Makefile.am
M src/plugins/charset-alias/charset-alias-plugin.c
M src/plugins/charset-alias/charset-alias-plugin.h
Log Message:
-----------
charset-alias: Cleanup whitespace
Remove \r from end of lines and remove trailing whitespace.
Commit: 2811e39cd9bfbb99bd209d2b52f9cf67f539d142
https://github.com/dovecot/core/commit/2811e39cd9bfbb99bd209d2b52f9cf67f539d142
Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/plugins/charset-alias/charset-alias-plugin.c
Log Message:
-----------
charset-alias: Fix keyvalues iteration
charset-alias-plugin.c:113:27: error: comparison between pointer and zero
character constant [-Werror=pointer-compare]
for (i = 0; keyvalues[i] != '\0'; i++) {
^~
charset-alias-plugin.c:113:14: note: did you mean to dereference the pointer?
for (i = 0; keyvalues[i] != '\0'; i++) {
Commit: 2199987e275b6df1cb5efa63c16c663d13e318b4
https://github.com/dovecot/core/commit/2199987e275b6df1cb5efa63c16c663d13e318b4
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/imap/imap-fetch-body.c
Log Message:
-----------
imap: Add parenthesis to FETCH SNIPPET (FUZZY text) response
Otherwise it violates the RFC 3501 text about FETCH responses.
Commit: 3a8489de671ebf2caabd19c083d00d16a7696ea2
https://github.com/dovecot/core/commit/3a8489de671ebf2caabd19c083d00d16a7696ea2
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/imap/imap-fetch-body.c
Log Message:
-----------
imap: Don't enforce sending SNIPPET reply as literal
Also change it to use "cur_str" since the reply is never very long.
Commit: 9ac2679ad81da8c22c108332486c406bc1aef736
https://github.com/dovecot/core/commit/9ac2679ad81da8c22c108332486c406bc1aef736
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/imap/imap-fetch-body.c
Log Message:
-----------
imap: Fix FETCH SNIPPET
1) _BUFFERED flag wasn't set, which caused a missing space before the "SNIPPET".
2) It caused \Seen flag to be added to the mail
Commit: 447d812a68c1a1e832c51aac15fd38676a9c8a56
https://github.com/dovecot/core/commit/447d812a68c1a1e832c51aac15fd38676a9c8a56
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/imap/imap-fetch-body.c
Log Message:
-----------
imap: If snippet is not available return NIL
Commit: de9101d2bff398bcadaae9ffc8d18b4e7c2ff288
https://github.com/dovecot/core/commit/de9101d2bff398bcadaae9ffc8d18b4e7c2ff288
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/lib-ssl-iostream/iostream-openssl-context.c
M src/login-common/ssl-proxy-openssl.c
Log Message:
-----------
login-common,lib-ssl-iostream: Use SSL_CTX_set_ecdh_auto
This macro is same for 1.0.2 and 1.1.0 and libressl.
Commit: 22311315b9f780211329c1522eb5aaa4faaa9391
https://github.com/dovecot/core/commit/22311315b9f780211329c1522eb5aaa4faaa9391
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/Makefile.am
Log Message:
-----------
lib-dns: Move before lib-master
Commit: f3504763c27c2661716c0d1dbd3e0fc662107a21
https://github.com/dovecot/core/commit/f3504763c27c2661716c0d1dbd3e0fc662107a21
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/config/config-filter.c
M src/config/config-filter.h
Log Message:
-----------
config: Add config_filter_get_all
Returns all filters
Commit: 02da33a59fddd51cc3b8d95989de95574b7332f1
https://github.com/dovecot/core/commit/02da33a59fddd51cc3b8d95989de95574b7332f1
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/config/config-connection.c
Log Message:
-----------
config: Add command to request all filters
Commit: 390592e6af07e02064ebdbb1bbcf06528887370f
https://github.com/dovecot/core/commit/390592e6af07e02064ebdbb1bbcf06528887370f
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/lib-master/Makefile.am
M src/lib-master/master-service-settings-cache.c
M src/lib-master/master-service-settings-cache.h
M src/lib-master/master-service-settings.c
M src/lib-master/master-service-settings.h
M src/lib-master/test-master-service-settings-cache.c
Log Message:
-----------
lib-master: Support validating config filters against requests
Validation will sanitize the input request and drop any fields
that have no filter in config. E.g. if you have a local block
with name, and nothing else, then lip/rip will be dropped
from the request.
Commit: bc27538d084e01a7a1aca3330e27aebfc0e311eb
https://github.com/dovecot/core/commit/bc27538d084e01a7a1aca3330e27aebfc0e311eb
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/login-common/login-settings.c
Log Message:
-----------
login-common: Enable config filtering by local name
Prevents servername misuse.
Commit: 0574f3cdd839223b2e6592a93c0a37266591518f
https://github.com/dovecot/core/commit/0574f3cdd839223b2e6592a93c0a37266591518f
Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/login-common/ssl-proxy-openssl.c
Log Message:
-----------
login-common: Explicitly ignore SSL_CTX_set_ecdh_auto() return value
This is to fix a compiler warning.
Commit: da1e4db89ab7b46714e1fd83f2501f911d418f7b
https://github.com/dovecot/core/commit/da1e4db89ab7b46714e1fd83f2501f911d418f7b
Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M configure.ac
Log Message:
-----------
configure.ac: Add SSL_CTX_set_min_proto_version detection
Commit: ad6906b234d394ea3267cf90eb0e729c9efdce09
https://github.com/dovecot/core/commit/ad6906b234d394ea3267cf90eb0e729c9efdce09
Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/lib-ssl-iostream/Makefile.am
M src/lib-ssl-iostream/iostream-openssl-common.c
M src/lib-ssl-iostream/iostream-openssl.h
A src/lib-ssl-iostream/test-ssl-iostream.c
Log Message:
-----------
lib-ssl-iostream: Add ssl_protocols_to_min_protocol()
This detects minimum SSL protocol version from the ssl_protocols
setting.
Commit: 84f7a074776c3b6bac7ef6ec9eb20c2cfc16d15d
https://github.com/dovecot/core/commit/84f7a074776c3b6bac7ef6ec9eb20c2cfc16d15d
Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/lib-ssl-iostream/iostream-openssl-context.c
M src/lib-ssl-iostream/iostream-openssl.c
M src/login-common/ssl-proxy-openssl.c
Log Message:
-----------
lib-ssl-iostream,login-common: Use SSL_CTX_set_min_proto_version
Use SSL_CTX_set_min_proto_version to set the minimum ssl protocol
version where available.
Commit: 761e6b938963c3fbe0c17703d87fea33a41fc332
https://github.com/dovecot/core/commit/761e6b938963c3fbe0c17703d87fea33a41fc332
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/lib-storage/list/mailbox-list-index.c
Log Message:
-----------
lib-storage: mailbox_list_index_handle_corruption() - Move actual handling to its own function
Commit: 559a54ed72660c91d88101e34d757eea902f438e
https://github.com/dovecot/core/commit/559a54ed72660c91d88101e34d757eea902f438e
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/lib-storage/list/mailbox-list-index.c
Log Message:
-----------
lib-storage: mailbox_list_index_handle_corruption() - Lock mailbox list while rebuilding
This guards against simultaneous mailbox create/delete/rename.
Commit: d2683be2fda4e476fb613cd1661e876c8aa5db0a
https://github.com/dovecot/core/commit/d2683be2fda4e476fb613cd1661e876c8aa5db0a
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/lib-storage/list/mailbox-list-index.c
Log Message:
-----------
lib-storage: Unless LAYOUT=index, don't rebuild list index on missing INBOX
Commit: 6dee51c89d2b5ef102f1a1a05f879e1f295dc9fe
https://github.com/dovecot/core/commit/6dee51c89d2b5ef102f1a1a05f879e1f295dc9fe
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/imap/main.c
Log Message:
-----------
imap: When running standalone, delay initializing namespaces until PREAUTH is sent
Most importantly this makes the code paths similar for standalone and
non-standalone clients, which is needed by the following commits.
Commit: 2a2bf4b7711ff5e912f67c582941021279f9233a
https://github.com/dovecot/core/commit/2a2bf4b7711ff5e912f67c582941021279f9233a
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/imap/imap-client.c
M src/imap/imap-client.h
M src/imap/imap-master-client.c
M src/imap/main.c
Log Message:
-----------
imap: Add client_create_finish() to finish namespace creation.
Commit: 1aec726585792d8dde41ab5631b858f0010381ed
https://github.com/dovecot/core/commit/1aec726585792d8dde41ab5631b858f0010381ed
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/imap/imap-client.c
Log Message:
-----------
imap: Don't set storage callbacks before namespaces are created
This fixes sending untagged OK/NO notifications from storage (e.g. lock
waits/override notifications). It was broken by
e031d9aaae59a9f79710dc1138b76b69272615a3
Commit: 0dadd5dd4b6da62d8bcd525ee88d08ee3b2a5f11
https://github.com/dovecot/core/commit/0dadd5dd4b6da62d8bcd525ee88d08ee3b2a5f11
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-20 (Tue, 20 Feb 2018)
Changed paths:
M src/doveadm/doveadm-dump-index.c
Log Message:
-----------
doveadm dump: Show body.snippet in human-readable form
Commit: 9305a56ccb71a4362e152bf598d0667498481f1a
https://github.com/dovecot/core/commit/9305a56ccb71a4362e152bf598d0667498481f1a
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2018-02-20 (Tue, 20 Feb 2018)
Changed paths:
M src/lib-storage/index/index-mail.c
Log Message:
-----------
lib-storage: move snippet generation to mail-save-finish
This is necessary because some storage backends (most notably sdbox) do
not allow getting the mail stream before the mail is fully written out.
(See written_to_disk in sdbox-file.h.)
If we could avoid getting the stream to generate a snippet we could
leave this where it is.
Commit: 7ac7490782a89bbba153dd763f259d64f2e63b8a
https://github.com/dovecot/core/commit/7ac7490782a89bbba153dd763f259d64f2e63b8a
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-20 (Tue, 20 Feb 2018)
Changed paths:
M src/lib-storage/index/index-mail.c
M src/lib-storage/index/index-mail.h
Log Message:
-----------
lib-storage: Make index_mail_want_cache() global
Commit: eb1869b02b43cdfed575a8c478177ff5386496e7
https://github.com/dovecot/core/commit/eb1869b02b43cdfed575a8c478177ff5386496e7
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2018-02-20 (Tue, 20 Feb 2018)
Changed paths:
M src/lib-storage/index/index-mail-headers.c
Log Message:
-----------
lib-storage: Generate snippet while saving new mails
Commit: fb9d37d48ee6640ddceba582bf00afc0ddd37945
https://github.com/dovecot/core/commit/fb9d37d48ee6640ddceba582bf00afc0ddd37945
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-22 (Thu, 22 Feb 2018)
Changed paths:
M src/doveadm/client-connection.c
Log Message:
-----------
doveadm-server: Fix potential hangs with SSL connections
Commit: 2486b2ef6254219a5827bc9d1c00dd0bb8103a10
https://github.com/dovecot/core/commit/2486b2ef6254219a5827bc9d1c00dd0bb8103a10
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-22 (Thu, 22 Feb 2018)
Changed paths:
M src/lib-imap-client/imapc-connection.c
Log Message:
-----------
lib-imap-client: Fix IO after enabling SSL
io_add_istream() needs to be used with the SSL istream, otherwise it can
cause hangs.
Commit: 4b9866602f33f3fa65b5a213785901ecb5494e04
https://github.com/dovecot/core/commit/4b9866602f33f3fa65b5a213785901ecb5494e04
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-22 (Thu, 22 Feb 2018)
Changed paths:
M src/doveadm/server-connection.c
Log Message:
-----------
doveadm: client: Set IO only after enabling SSL
io_add_istream() needs to be used with the SSL istream, otherwise it can
cause hangs.
Commit: 4e086510ec4d213aa1826eea89205f14a9208eeb
https://github.com/dovecot/core/commit/4e086510ec4d213aa1826eea89205f14a9208eeb
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-22 (Thu, 22 Feb 2018)
Changed paths:
M src/lib/connection.c
M src/lib/connection.h
Log Message:
-----------
lib: Add connection_streams_changed()
Originally by Stephan Bosch
Commit: 6683bbd60dee9df1716ea7fd725dc725d592e7cf
https://github.com/dovecot/core/commit/6683bbd60dee9df1716ea7fd725dc725d592e7cf
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-22 (Thu, 22 Feb 2018)
Changed paths:
M src/lib/istream-private.h
M src/lib/istream.c
Log Message:
-----------
lib: Add i_stream_get_root_io() and use it to deduplicate code
Commit: 01b3674345c3abf87f221a38609267c83f8fe3e0
https://github.com/dovecot/core/commit/01b3674345c3abf87f221a38609267c83f8fe3e0
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-22 (Thu, 22 Feb 2018)
Changed paths:
M src/lib/connection.c
M src/lib/connection.h
Log Message:
-----------
lib: connection: Add connection_input_halt() and connection_input_resume().
These are convenience functions that remove and add conn->io respectively.
Commit: 3dfd5e1e6a5e7d08276b8c56e83f80cf6222eaf7
https://github.com/dovecot/core/commit/3dfd5e1e6a5e7d08276b8c56e83f80cf6222eaf7
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-22 (Thu, 22 Feb 2018)
Changed paths:
M src/lib-ssl-iostream/ostream-openssl.c
Log Message:
-----------
lib-ssl-iostream: ostream-openssl: Create local variable for sstream->ssl_io->plain_output in o_stream_ssl_flush().
Commit: 883e5b6d5cacf3d78de9182a66f2b93923cd3057
https://github.com/dovecot/core/commit/883e5b6d5cacf3d78de9182a66f2b93923cd3057
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-22 (Thu, 22 Feb 2018)
Changed paths:
M src/lib-ssl-iostream/ostream-openssl.c
Log Message:
-----------
lib-ssl-iostream: ostream-openssl: Fix behavior of o_stream_flush() so that 1 is only returned when buffer is empty.
Commit: 49b6941c77caf7ce0fd9c0a424d0cdfdd9474656
https://github.com/dovecot/core/commit/49b6941c77caf7ce0fd9c0a424d0cdfdd9474656
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-22 (Thu, 22 Feb 2018)
Changed paths:
M src/lib-http/http-client-connection.c
Log Message:
-----------
lib-http: client: Use the new connection_input_halt/resume() functions.
Commit: 912c247e8383cdd31dfbe17877bedd0ac553ec57
https://github.com/dovecot/core/commit/912c247e8383cdd31dfbe17877bedd0ac553ec57
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-22 (Thu, 22 Feb 2018)
Changed paths:
M src/lib-http/http-server-connection.c
Log Message:
-----------
lib-http: server: Use the new connection_input_halt/resume() functions.
Commit: 0a6d19a24de73ebbfcf5607f2ddf822905ea861c
https://github.com/dovecot/core/commit/0a6d19a24de73ebbfcf5607f2ddf822905ea861c
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-22 (Thu, 22 Feb 2018)
Changed paths:
M src/lib-http/http-client-connection.c
Log Message:
-----------
lib-http: client: Recreate connection IO after streams change.
Commit: 866f79ecf1cc78955152f781bff941478471a60e
https://github.com/dovecot/core/commit/866f79ecf1cc78955152f781bff941478471a60e
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-22 (Thu, 22 Feb 2018)
Changed paths:
M src/lib-http/http-server-connection.c
Log Message:
-----------
lib-http: server: Recreate connection IO after streams change.
Commit: 00016646cc32a3fa1cf54c22ed7388ed06bbc0f1
https://github.com/dovecot/core/commit/00016646cc32a3fa1cf54c22ed7388ed06bbc0f1
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-26 (Mon, 26 Feb 2018)
Changed paths:
M src/lib-master/master-service-settings-cache.c
Log Message:
-----------
lib-master: Fix dns_match_wildcard result value check
It returns 0, not TRUE.
Commit: 1f1e60184b9525475978aae3b447585a5ecacd3a
https://github.com/dovecot/core/commit/1f1e60184b9525475978aae3b447585a5ecacd3a
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-27 (Tue, 27 Feb 2018)
Changed paths:
M src/plugins/notify/notify-plugin.c
Log Message:
-----------
notify: Ignore flag and keywords update during saving
They are part of the saving event
Commit: 5a6be914f5c4e1231cb723f96a5d6700577af874
https://github.com/dovecot/core/commit/5a6be914f5c4e1231cb723f96a5d6700577af874
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-28 (Wed, 28 Feb 2018)
Changed paths:
M src/doveadm/doveadm-dsync.c
Log Message:
-----------
doveadm sync/backup: Don't override BROKENCHAR if it's already set
This allows migrating invalid mailbox names by specifying BROKENCHAR.
Previously it would always try to use \003 control character, which isn't
valid character in mailbox names so the mailbox creation would fail.
Commit: 9539096149aee25da3645385c0141241e7f8184f
https://github.com/dovecot/core/commit/9539096149aee25da3645385c0141241e7f8184f
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-28 (Wed, 28 Feb 2018)
Changed paths:
M doc/example-config/conf.d/10-mail.conf
Log Message:
-----------
example-config: Add mail_attachment_detection_options
Commit: 751a126ed8def43df2101d26e031e3c28ab813dc
https://github.com/dovecot/core/commit/751a126ed8def43df2101d26e031e3c28ab813dc
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-28 (Wed, 28 Feb 2018)
Changed paths:
M NEWS
M configure.ac
Log Message:
-----------
Released v2.2.34.
Commit: 874deae45e83323047b88a0f3642dce7f331af50
https://github.com/dovecot/core/commit/874deae45e83323047b88a0f3642dce7f331af50
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-28 (Wed, 28 Feb 2018)
Changed paths:
M NEWS
Log Message:
-----------
NEWS: Fix v2.2.34 release date
Compare: https://github.com/dovecot/core/compare/1efd9bfd2c0d^...874deae45e83
More information about the dovecot-cvs
mailing list