[dovecot/core] 2c875b: auth: Set correct context type when bypassing repo...
GitHub
noreply at github.com
Tue Feb 20 21:30:16 EET 2018
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 2c875b7fd8754c9a1bd811d1fd349c76c099e342
https://github.com/dovecot/core/commit/2c875b7fd8754c9a1bd811d1fd349c76c099e342
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-12 (Mon, 12 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: d117b74f3837c1dbca131ce7ebc3afbca254ba96
https://github.com/dovecot/core/commit/d117b74f3837c1dbca131ce7ebc3afbca254ba96
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-12 (Mon, 12 Feb 2018)
Changed paths:
M src/lib-program-client/test-program-client-local.c
Log Message:
-----------
lib-program-client: test-program-client-local: Properly deallocate all streams for big I/O test.
Commit: 745d7315548555cd2be1370e611a8fd8f9278e36
https://github.com/dovecot/core/commit/745d7315548555cd2be1370e611a8fd8f9278e36
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-12 (Mon, 12 Feb 2018)
Changed paths:
M m4/dovecot.m4
Log Message:
-----------
Add support for running valgrind tests with --trace-children=no.
Commit: 2e5c593f63d7d12fab07fb3055a7f95a11f3fb27
https://github.com/dovecot/core/commit/2e5c593f63d7d12fab07fb3055a7f95a11f3fb27
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-12 (Mon, 12 Feb 2018)
Changed paths:
M src/lib-program-client/Makefile.am
Log Message:
-----------
lib-program-client: Run local client tests with valgrind --trace-children=no.
Before, valgrind was omitted entirely.
Commit: 2e30827b830d892acfcc034360491c595ab7f6eb
https://github.com/dovecot/core/commit/2e30827b830d892acfcc034360491c595ab7f6eb
Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
Date: 2018-02-12 (Mon, 12 Feb 2018)
Changed paths:
M src/lib-program-client/program-client-local.c
Log Message:
-----------
lib-program-client: Remove extra drop_setuid_root flag copy
Commit: de0034cc6bb52585bc82289801435418a7ee7298
https://github.com/dovecot/core/commit/de0034cc6bb52585bc82289801435418a7ee7298
Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
Date: 2018-02-12 (Mon, 12 Feb 2018)
Changed paths:
M src/lib-storage/mail-storage-service.c
M src/lib/restrict-access.c
M src/lib/restrict-access.h
Log Message:
-----------
lib: Flip drop_setuid_root in restrict_access_settings
Commit: 816d20be0cf95fc4eb1a8aa716639e73b8ba525e
https://github.com/dovecot/core/commit/816d20be0cf95fc4eb1a8aa716639e73b8ba525e
Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
Date: 2018-02-12 (Mon, 12 Feb 2018)
Changed paths:
M src/anvil/main.c
M src/auth/main.c
M src/config/main.c
M src/dict/main.c
M src/director/main.c
M src/dns/dns-client.c
M src/doveadm/main.c
M src/imap-hibernate/main.c
M src/indexer/indexer-worker.c
M src/indexer/indexer.c
M src/ipc/main.c
M src/lib-program-client/program-client-local.c
M src/lib-storage/mail-storage-service.c
M src/lib/restrict-access.c
M src/lib/restrict-access.h
M src/lmtp/main.c
M src/log/main.c
M src/login-common/main.c
M src/master/service-process.c
M src/old-stats/main.c
M src/plugins/quota/quota-status.c
M src/replication/aggregator/aggregator.c
M src/replication/replicator/replicator.c
M src/stats/main.c
M src/util/rawlog.c
M src/util/script-login.c
M src/util/script.c
M src/util/tcpwrap.c
Log Message:
-----------
lib: Add restrict_access_flags enum to use with restrict_access[_by_env]()
Swap parameter locations in the functions to make sure plugins are
updated to use the new api.
Commit: 2047bbce87d1a1adc281a875814390bdc9532946
https://github.com/dovecot/core/commit/2047bbce87d1a1adc281a875814390bdc9532946
Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
Date: 2018-02-12 (Mon, 12 Feb 2018)
Changed paths:
M src/master/service-process.c
Log Message:
-----------
master: Flip disallow_root in drop_privileges()
Commit: 57316ab705807ac3a433e2ec9b8b6ff5d090c3d7
https://github.com/dovecot/core/commit/57316ab705807ac3a433e2ec9b8b6ff5d090c3d7
Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
Date: 2018-02-12 (Mon, 12 Feb 2018)
Changed paths:
M src/lib-storage/mail-storage-service.c
Log Message:
-----------
lib-storage: Flip disallow_root in service_drop_privileges()
Commit: e0dae5d76ea0a4aef849602750ce73dfae995bc8
https://github.com/dovecot/core/commit/e0dae5d76ea0a4aef849602750ce73dfae995bc8
Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
Date: 2018-02-12 (Mon, 12 Feb 2018)
Changed paths:
M src/imap-urlauth/imap-urlauth-worker.c
M src/imap/main.c
M src/indexer/indexer-worker.c
M src/lda/main.c
M src/lib-storage/mail-storage-service.c
M src/lib-storage/mail-storage-service.h
M src/lmtp/main.c
M src/plugins/quota/quota-status.c
M src/pop3/main.c
M src/submission/main.c
M src/util/script-login.c
Log Message:
-----------
global: Flip MAIL_STORAGE_SERVICE_FLAG_DISALLOW_ROOT to ..._ALLOW_ROOT
Commit: d600de916f8ad500adc3dc7c060308a2abcfe381
https://github.com/dovecot/core/commit/d600de916f8ad500adc3dc7c060308a2abcfe381
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-13 (Tue, 13 Feb 2018)
Changed paths:
M src/lib/ioloop.c
Log Message:
-----------
lib: Fix usec comparison in timeout_update_next
When tv_usec is exactly 1000000, call to kevent() will fail
because tv_sec does not get incremented.
Found by Adrian Gonzalez <adrianglz at globalpc.net>
Commit: 4fbf718a46e608d0f67180cae3e6773a39149e20
https://github.com/dovecot/core/commit/4fbf718a46e608d0f67180cae3e6773a39149e20
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-13 (Tue, 13 Feb 2018)
Changed paths:
M src/lib-index/mail-index-transaction-export.c
Log Message:
-----------
lib-index: Cleanup - return bool in log_append_keyword_updates()
Simplifies the next commit.
Commit: 6a0855a04d75bce3c0a2f68517d02f86ae72087f
https://github.com/dovecot/core/commit/6a0855a04d75bce3c0a2f68517d02f86ae72087f
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-13 (Tue, 13 Feb 2018)
Changed paths:
M src/lib-index/mail-index-transaction-export.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
Log Message:
-----------
lib-index: Add mail_index_transaction_commit_result.changes_mask
This can be used to determine what type of changes were committed in a
transaction.
Commit: 08495095af85423369e1419dc1a4bd8299a4022c
https://github.com/dovecot/core/commit/08495095af85423369e1419dc1a4bd8299a4022c
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-13 (Tue, 13 Feb 2018)
Changed paths:
M src/lib-storage/index/index-transaction.c
M src/lib-storage/index/maildir/maildir-mail.c
M src/lib-storage/mail-storage-private.h
Log Message:
-----------
lib-storage: Remove mailbox_transaction_context.nontransactional_changes
Nothing cares about them. It was only set for POP3 UIDL change with
Maildir. In theory dsync replication would want to replicate such a change,
but it doesn't actually support changing UIDLs for existing mails. Other
mailbox formats don't support it anyway.
Commit: 701a11e110c7a9857f908827612767fa0a9fdd37
https://github.com/dovecot/core/commit/701a11e110c7a9857f908827612767fa0a9fdd37
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-13 (Tue, 13 Feb 2018)
Changed paths:
M src/imap-urlauth/Makefile.am
M src/lib-imap-urlauth/Makefile.am
M src/lib-storage/mail-storage.h
M src/plugins/imap-quota/Makefile.am
M src/pop3/Makefile.am
Log Message:
-----------
lib-storage: Include mail-index.h from mail-storage.h
This makes it a bit more acceptable to use mail-index.h API, without having
to go through the lib-storage layer. This is also needed by the next patch
to avoid duplicating the same enum in both lib-index and lib-storage layer.
Commit: 8828d7a1e76b7d301bcd7385aa27c52512e855ce
https://github.com/dovecot/core/commit/8828d7a1e76b7d301bcd7385aa27c52512e855ce
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-13 (Tue, 13 Feb 2018)
Changed paths:
M src/lib-storage/index/index-transaction.c
M src/lib-storage/list/mailbox-list-index-status.c
M src/lib-storage/mail-storage.h
M src/plugins/replication/replication-plugin.c
Log Message:
-----------
lib-storage: Replace mail_transaction_commit_changes.changed with changes_mask
This allows better finding out what changed in the transaction.
Commit: 3a2098a987b81fe89b74a9a628e9ef164f053633
https://github.com/dovecot/core/commit/3a2098a987b81fe89b74a9a628e9ef164f053633
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-13 (Tue, 13 Feb 2018)
Changed paths:
M src/plugins/replication/replication-plugin.c
Log Message:
-----------
replication: Don't trigger replication on changes not visible to dsync
For example if there's a write to .cache file, it doesn't require
replication.
Commit: dfd522dbc9508e2b999bc431d9dc31260c9340f6
https://github.com/dovecot/core/commit/dfd522dbc9508e2b999bc431d9dc31260c9340f6
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-14 (Wed, 14 Feb 2018)
Changed paths:
M src/lib-smtp/smtp-server-reply.c
Log Message:
-----------
lib-smtp: server: Fix reporting of XCLIENT capability in EHLO response.
The trusted connection check logic was inverted.
Commit: 18b24aaee29db8f29bf45cae3b1b60c1f1a43758
https://github.com/dovecot/core/commit/18b24aaee29db8f29bf45cae3b1b60c1f1a43758
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-14 (Wed, 14 Feb 2018)
Changed paths:
M src/lib-imap-storage/imap-msgpart-url.c
Log Message:
-----------
lib-imap-storage: imap-msgpart-url: Perform the check for a proper messagepart URL in imap_msgpart_url_create().
Before, this was an assert in imap_msgpart_url_create(). The actual check was
performed only in imap_msgpart_url_parse(), meaning that
imap_msgpart_url_create() would fail with an assertion when provided with an
inappropriate URL.
This surfaced as a problem for the submission BURL command.
Commit: 2a33e0253aa28f156949d40584008a3a337d32e8
https://github.com/dovecot/core/commit/2a33e0253aa28f156949d40584008a3a337d32e8
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-14 (Wed, 14 Feb 2018)
Changed paths:
M src/lib-smtp/smtp-server-cmd-xclient.c
Log Message:
-----------
lib-smtp: server: Fix segfault occurring during XCLIENT when no extension fields are configured.
Commit: 8366c177e4901d851c94eb612633ffccaf5a9712
https://github.com/dovecot/core/commit/8366c177e4901d851c94eb612633ffccaf5a9712
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-14 (Wed, 14 Feb 2018)
Changed paths:
M src/lib-smtp/smtp-server-connection.c
Log Message:
-----------
lib-smtp: server: Fix segfault occurring when XCLIENT command is handled.
Occurs only when the application (in this case LMTP) has a
conn_proxy_data_updated() callback. The context parameter was the struct
smtp_server_connection object itself, rather than the application context. This
caused the connection object to be overwritten.
Commit: c68926bf1de7ecff6666c3caac3e516af2a70980
https://github.com/dovecot/core/commit/c68926bf1de7ecff6666c3caac3e516af2a70980
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-15 (Thu, 15 Feb 2018)
Changed paths:
M src/lib-http/http-client-connection.c
Log Message:
-----------
lib-http: client: Move connection to shared context's ioloop, rather than the current_ioloop.
This is an omission.
Commit: 086b73efd1a5812a64acc951366a499d325509a6
https://github.com/dovecot/core/commit/086b73efd1a5812a64acc951366a499d325509a6
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-15 (Thu, 15 Feb 2018)
Changed paths:
M src/lib/connection.c
M src/lib/connection.h
Log Message:
-----------
lib: connection: Record the ioloop the connection was last switched to.
Commit: 7d3a967fb4c22cd53807c9e492e476724664decd
https://github.com/dovecot/core/commit/7d3a967fb4c22cd53807c9e492e476724664decd
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-15 (Thu, 15 Feb 2018)
Changed paths:
M src/lib-http/http-client-connection.c
Log Message:
-----------
lib-http: client: Use conn->conn.ioloop rather than cctx->ioloop in connection.
This leads to somewhat simpler code, and makes having connections on different
ioloops easier in the future.
Commit: 419c83155744e62e690ae731b153c59314554826
https://github.com/dovecot/core/commit/419c83155744e62e690ae731b153c59314554826
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-15 (Thu, 15 Feb 2018)
Changed paths:
M src/lib-smtp/smtp-client-private.h
M src/lib-smtp/smtp-client.h
Log Message:
-----------
lib-smtp: client: Moved smtp_client_init_ssl_ctx() from smtp-client.h to smtp-client-private.h.
Commit: c85f67cfb8e1cef2de2b681debf4703d5818dc01
https://github.com/dovecot/core/commit/c85f67cfb8e1cef2de2b681debf4703d5818dc01
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-15 (Thu, 15 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: 16d3a9396730dae3d869dc8159f9c1287fc9f28e
https://github.com/dovecot/core/commit/16d3a9396730dae3d869dc8159f9c1287fc9f28e
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-15 (Thu, 15 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: 092762029d2fd162283c1df6a40ddc1019605798
https://github.com/dovecot/core/commit/092762029d2fd162283c1df6a40ddc1019605798
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-15 (Thu, 15 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: b2feec56441867a6ffa2e024f97ef9c591055de1
https://github.com/dovecot/core/commit/b2feec56441867a6ffa2e024f97ef9c591055de1
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-15 (Thu, 15 Feb 2018)
Changed paths:
M src/lib-smtp/smtp-client-connection.c
Log Message:
-----------
lib-smtp: client: Use the new connection_input_halt/resume() functions.
Commit: a103512f10310a976e5491d73a2d64c5f16768f7
https://github.com/dovecot/core/commit/a103512f10310a976e5491d73a2d64c5f16768f7
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-15 (Thu, 15 Feb 2018)
Changed paths:
M src/lib-smtp/smtp-server-connection.c
Log Message:
-----------
lib-smtp: server: Use the new connection_input_halt/resume() functions.
Commit: aaf5d12795e228ef7a26b68da9d161b065f107bc
https://github.com/dovecot/core/commit/aaf5d12795e228ef7a26b68da9d161b065f107bc
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-15 (Thu, 15 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: 1449300da8756ac1f708683d02137e4b2ee6327b
https://github.com/dovecot/core/commit/1449300da8756ac1f708683d02137e4b2ee6327b
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-15 (Thu, 15 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: bca3d380d02db7dc1f5a0c0c2929dbf61cfe4e0e
https://github.com/dovecot/core/commit/bca3d380d02db7dc1f5a0c0c2929dbf61cfe4e0e
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-15 (Thu, 15 Feb 2018)
Changed paths:
M src/lib-smtp/smtp-server-connection.c
Log Message:
-----------
lib-smtp: server: Recreate connection IO after streams change.
Commit: 47c89f8a25d625ccb8d6988149771bdb0c21ac53
https://github.com/dovecot/core/commit/47c89f8a25d625ccb8d6988149771bdb0c21ac53
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-15 (Thu, 15 Feb 2018)
Changed paths:
M src/lib-http/http-client-connection.c
Log Message:
-----------
lib-http: client: Recreate connection IO after streams change.
Commit: ef45e8bfe4a04f3485e1ddae9a8df5b54f5f6cf0
https://github.com/dovecot/core/commit/ef45e8bfe4a04f3485e1ddae9a8df5b54f5f6cf0
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-15 (Thu, 15 Feb 2018)
Changed paths:
M src/lib-http/http-server-connection.c
Log Message:
-----------
lib-http: server: Recreate connection IO after streams change.
Commit: a814eff9aada6c78d39fa09682a78d950993f381
https://github.com/dovecot/core/commit/a814eff9aada6c78d39fa09682a78d950993f381
Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
Date: 2018-02-15 (Thu, 15 Feb 2018)
Changed paths:
M src/lib-master/master-service-settings.c
Log Message:
-----------
lib-master: Don't dup errors to service->set_pool in master_service_settings_read
Use t_strdup() instead.
Commit: 5cccb4af850bb3ba81e73a8fb4f6881c3e1d4046
https://github.com/dovecot/core/commit/5cccb4af850bb3ba81e73a8fb4f6881c3e1d4046
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-15 (Thu, 15 Feb 2018)
Changed paths:
M src/lib-mail/message-parser.h
Log Message:
-----------
lib-mail: message-parser: Fixed Clang 6.0 compiler warning.
Warning was:
index-mail.c:1182:3: warning: arithmetic on a null pointer treated as a cast
from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
message_parser_parse_body(data->parser_ctx,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/lib-mail/message-parser.h:95:28: note: expanded from macro
'message_parser_parse_body'
(void *)((char *)context + CALLBACK_TYPECHECK(callback, \
~~~~~~~~~~~~~~~ ^
Commit: 2fe26ac22288a416f65ea85d9d6c1c4d83f0ffa2
https://github.com/dovecot/core/commit/2fe26ac22288a416f65ea85d9d6c1c4d83f0ffa2
Author: Hideo Yoshizane <hideo.yoshizane at open-xchange.com>
Date: 2018-02-16 (Fri, 16 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: b56679429b82dfea1ceecc40efea50dd8e4e0ac5
https://github.com/dovecot/core/commit/b56679429b82dfea1ceecc40efea50dd8e4e0ac5
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-16 (Fri, 16 Feb 2018)
Changed paths:
M src/lib/ostream.h
Log Message:
-----------
lib: Add o_stream_uncork_flush() to both uncork and flush
Commit: 400d8aabe7366b6e28b5a341258923f2676efedb
https://github.com/dovecot/core/commit/400d8aabe7366b6e28b5a341258923f2676efedb
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-16 (Fri, 16 Feb 2018)
Changed paths:
M src/lib/randgen.c
Log Message:
-----------
lib: Fix compiler warning when arc4random_buf() is used for random_fill()
Commit: a73052375a6696e47dbb0bd492974cece1b5fde7
https://github.com/dovecot/core/commit/a73052375a6696e47dbb0bd492974cece1b5fde7
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-16 (Fri, 16 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: 700f5298a28c60d19936c3c20a6e4ff7d588fd9c
https://github.com/dovecot/core/commit/700f5298a28c60d19936c3c20a6e4ff7d588fd9c
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-16 (Fri, 16 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: 1b38fca665bd2fc32dc2836aa8f51e9987390518
https://github.com/dovecot/core/commit/1b38fca665bd2fc32dc2836aa8f51e9987390518
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-16 (Fri, 16 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: 1fc112d7f357b9c120856d46662423a2d28cbdbb
https://github.com/dovecot/core/commit/1fc112d7f357b9c120856d46662423a2d28cbdbb
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-16 (Fri, 16 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: 02c6a06e5f7f2d3ab79482ac32ab5095c5b0b458
https://github.com/dovecot/core/commit/02c6a06e5f7f2d3ab79482ac32ab5095c5b0b458
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-16 (Fri, 16 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: 8c2d916c7cd0c7c85fba4eb41bcc031d1424cb2d
https://github.com/dovecot/core/commit/8c2d916c7cd0c7c85fba4eb41bcc031d1424cb2d
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-16 (Fri, 16 Feb 2018)
Changed paths:
M src/lib-smtp/smtp-server-cmd-mail.c
Log Message:
-----------
lib-smtp: server: Remove inappropriate assert from MAIL command.
When the MAIL command is next to reply, it is possible to have RCPT commands
that are still pending.
Commit: 5c7683699c29f91b860b2264a9cc60f078feae8b
https://github.com/dovecot/core/commit/5c7683699c29f91b860b2264a9cc60f078feae8b
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-16 (Fri, 16 Feb 2018)
Changed paths:
M src/lib-smtp/smtp-server-connection.c
M src/lib-smtp/smtp-server-reply.c
Log Message:
-----------
lib-smtp: server: Use the stream_errno to evaluate output stream errors.
Code was using global errno.
Commit: 1e3de3981ee5b13f59d84c6f9cd3722ae3084852
https://github.com/dovecot/core/commit/1e3de3981ee5b13f59d84c6f9cd3722ae3084852
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-smtp/smtp-server-connection.c
M src/lib-smtp/smtp-server-private.h
Log Message:
-----------
lib-smtp: server: Handle output stream errors in a separate function.
Commit: 95a139b8f929e4e8aeec8d19ccc9b7587bda37e9
https://github.com/dovecot/core/commit/95a139b8f929e4e8aeec8d19ccc9b7587bda37e9
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-smtp/smtp-server-cmd-starttls.c
Log Message:
-----------
lib-smtp: server: STARTTLS command: Properly handle output stream flush error.
Commit: be6741282be725d76462110e1d7024956e2a100b
https://github.com/dovecot/core/commit/be6741282be725d76462110e1d7024956e2a100b
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-smtp/smtp-server-connection.c
Log Message:
-----------
lib-smtp: server: Flush and check output for errors after uncorking.
Otherwise, a disconnection event may be missed.
Commit: 0f445eb69b203f86d5c7d71365ad28fa9eb23fde
https://github.com/dovecot/core/commit/0f445eb69b203f86d5c7d71365ad28fa9eb23fde
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-smtp/smtp-server-private.h
Log Message:
-----------
lib-smtp: server: Remove undefined smtp_server_reply_send_more() from smtp-server-private.h.
Commit: 2f07c9a5d854404dad3380c5968b409e03fb4108
https://github.com/dovecot/core/commit/2f07c9a5d854404dad3380c5968b409e03fb4108
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-smtp/smtp-server-connection.c
M src/lib-smtp/smtp-server-private.h
M src/lib-smtp/smtp-server-reply.c
Log Message:
-----------
lib-smtp: server: Perform output stream error handling in one place.
Commit: a02b8d9eed3636518cc5ffce8d1045f9808f24e4
https://github.com/dovecot/core/commit/a02b8d9eed3636518cc5ffce8d1045f9808f24e4
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-smtp/smtp-client-connection.c
M src/lib-smtp/smtp-client-private.h
Log Message:
-----------
lib-smtp: client: Handle output stream errors in a separate function.
Commit: 326301f0d478de2d0dd4bf40dda7099ef015ee3e
https://github.com/dovecot/core/commit/326301f0d478de2d0dd4bf40dda7099ef015ee3e
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-smtp/smtp-client-connection.c
Log Message:
-----------
lib-smtp: client: Flush and check output for errors after uncorking.
Otherwise, a disconnection event may be missed.
Commit: 52cb7a947c02678218c5e4d859e03aa35d54cda9
https://github.com/dovecot/core/commit/52cb7a947c02678218c5e4d859e03aa35d54cda9
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-smtp/smtp-client-command.c
M src/lib-smtp/smtp-client-connection.c
M src/lib-smtp/smtp-client-private.h
Log Message:
-----------
lib-smtp: client: Perform output stream error handling in one place.
Commit: ce19176ce2fcb6db22d2d2f650d16fcc3e53a868
https://github.com/dovecot/core/commit/ce19176ce2fcb6db22d2d2f650d16fcc3e53a868
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-smtp/smtp-client-connection.c
Log Message:
-----------
lib-smtp: client: Uncork and flush the output stream explicitly after sending commands.
This allows detecting any output stream errors.
Commit: e4b70fb422bf53ddf017948de26b5ea5a1a262fb
https://github.com/dovecot/core/commit/e4b70fb422bf53ddf017948de26b5ea5a1a262fb
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-http/http-server-connection.c
M src/lib-http/http-server-private.h
Log Message:
-----------
lib-http: server: Handle output stream errors in a separate function.
Commit: e3666a5d68ed3276dc770ab4bfe93e78707321cf
https://github.com/dovecot/core/commit/e3666a5d68ed3276dc770ab4bfe93e78707321cf
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-http/http-server-response.c
Log Message:
-----------
lib-http: server: Flush and check output for errors after uncorking.
Otherwise, a disconnection event may be missed.
Commit: 3cda61e4ccaa1192528776d315f7ed5534315cb0
https://github.com/dovecot/core/commit/3cda61e4ccaa1192528776d315f7ed5534315cb0
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-http/http-server-connection.c
M src/lib-http/http-server-private.h
M src/lib-http/http-server-response.c
Log Message:
-----------
lib-http: server: Perform output stream error handling in one place.
Commit: 2d5e28978d36e359fde863d31180f792e6af3917
https://github.com/dovecot/core/commit/2d5e28978d36e359fde863d31180f792e6af3917
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-http/http-server-response.c
Log Message:
-----------
lib-http: server: Make sure output is used only when valid in http_server_response_send_real().
This avoids the need to hold a reference to it.
Commit: e8f4337671e2ade7e9dee46b95af0c8abc70f654
https://github.com/dovecot/core/commit/e8f4337671e2ade7e9dee46b95af0c8abc70f654
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-http/http-server-response.c
Log Message:
-----------
lib-http: server: Simplified return code handling in http_server_response_send_real().
Commit: 0753b82010b1ae517d3cec8988a2cffcfbc0dc5b
https://github.com/dovecot/core/commit/0753b82010b1ae517d3cec8988a2cffcfbc0dc5b
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-http/http-client-request.c
Log Message:
-----------
lib-http: client: Flush and check output for errors after uncorking.
Otherwise, a disconnection event may be missed.
Commit: 753c65234187ca52423e7384796a8b0a2d531591
https://github.com/dovecot/core/commit/753c65234187ca52423e7384796a8b0a2d531591
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-http/http-client-connection.c
M src/lib-http/http-client-private.h
Log Message:
-----------
lib-http: client: Handle output stream errors in a separate function.
Commit: 7691bf6c1c6060fcd1e8d823bf1f80ebd6a784f5
https://github.com/dovecot/core/commit/7691bf6c1c6060fcd1e8d823bf1f80ebd6a784f5
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-http/http-client-connection.c
M src/lib-http/http-client-private.h
Log Message:
-----------
lib-http: client: Make http_client_connection_lost() available outside http-client-connection.c.
Commit: 5bde522a449024c667c58dc8b6f398cbb3060185
https://github.com/dovecot/core/commit/5bde522a449024c667c58dc8b6f398cbb3060185
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
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: client: Perform output stream error handling in one place.
Commit: 6cb2469058cfad0eb69d84ca33dfb82aedaabcf4
https://github.com/dovecot/core/commit/6cb2469058cfad0eb69d84ca33dfb82aedaabcf4
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-http/http-client-connection.c
Log Message:
-----------
lib-http: client: Hold reference to the connection while sending the next request.
Subsequent changes may cause the connection to be destroyed while sending.
Commit: 82bff47d0746603fd6befd397fa8a9b730eaf143
https://github.com/dovecot/core/commit/82bff47d0746603fd6befd397fa8a9b730eaf143
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-http/http-client-connection.c
Log Message:
-----------
lib-http: client: Continue sending request payload in a separate function.
Commit: c80afa7573a9ca38b5ea789f9b0c21e8633efd2b
https://github.com/dovecot/core/commit/c80afa7573a9ca38b5ea789f9b0c21e8633efd2b
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-http/http-client-connection.c
Log Message:
-----------
lib-http: client: Hold reference to the connection while continuing request payload.
Subsequent changes may cause the connection to be destroyed while sending.
Commit: daf2f019f8fb7f96c323c8f0eb397393b9694cb3
https://github.com/dovecot/core/commit/daf2f019f8fb7f96c323c8f0eb397393b9694cb3
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-http/http-client-connection.c
Log Message:
-----------
lib-http: client: Uncork and flush the output stream explicitly after continuing request payload.
This allows detecting any output stream errors.
Commit: 94281d6c41af860e16bb66e18a69dd2984e87181
https://github.com/dovecot/core/commit/94281d6c41af860e16bb66e18a69dd2984e87181
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-http/http-client-request.c
Log Message:
-----------
lib-http: client: Make sure output is used only when valid in http_client_request_send_real().
Commit: 7707704ce6c324e707266958b9434bb6bd3da3f9
https://github.com/dovecot/core/commit/7707704ce6c324e707266958b9434bb6bd3da3f9
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2018-02-17 (Sat, 17 Feb 2018)
Changed paths:
M src/lib-http/http-client-request.c
Log Message:
-----------
lib-http: client: Simplified return code handling in http_client_request_send_real().
Commit: acbcc2709244e470e9bd8b58917f40b2e57d9cb7
https://github.com/dovecot/core/commit/acbcc2709244e470e9bd8b58917f40b2e57d9cb7
Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
Date: 2018-02-17 (Sat, 17 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: 5addf4e0ac50a99af25a1b1ef3def67f6d1595de
https://github.com/dovecot/core/commit/5addf4e0ac50a99af25a1b1ef3def67f6d1595de
Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
Date: 2018-02-17 (Sat, 17 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: f45f472bcb3664232bf21a1ae07ebb0efc3e3b53
https://github.com/dovecot/core/commit/f45f472bcb3664232bf21a1ae07ebb0efc3e3b53
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-17 (Sat, 17 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: d26d7420190a29d2782a09ea20704fbf5c34e70c
https://github.com/dovecot/core/commit/d26d7420190a29d2782a09ea20704fbf5c34e70c
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: 280f1a0ab139ee29ea6d5be63775283465892e16
https://github.com/dovecot/core/commit/280f1a0ab139ee29ea6d5be63775283465892e16
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: cfb3e01ade529871a5cda30b9a4153c8827dfef3
https://github.com/dovecot/core/commit/cfb3e01ade529871a5cda30b9a4153c8827dfef3
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
Log Message:
-----------
lib-ssl-iostream: Use SSL_CTX_set_ecdh_auto macro
This macro is same for 1.0.2 and 1.1.0 and libressl.
Commit: 9733a2040a482a566ac08a8e3f49354a5156d024
https://github.com/dovecot/core/commit/9733a2040a482a566ac08a8e3f49354a5156d024
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/doveadm/doveadm-dump-index.c
Log Message:
-----------
doveadm dump: Show body.snippet in human-readable form
Commit: eb34def8809d7509cfdcc1ce60a353c2585ec9e9
https://github.com/dovecot/core/commit/eb34def8809d7509cfdcc1ce60a353c2585ec9e9
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2018-02-19 (Mon, 19 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: 2c4349f25ae850ffff0543bdbbbd7806b9af3c80
https://github.com/dovecot/core/commit/2c4349f25ae850ffff0543bdbbbd7806b9af3c80
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-19 (Mon, 19 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: e78c6f8ecf4927dd579df8bcfd600b96e3f3a2f0
https://github.com/dovecot/core/commit/e78c6f8ecf4927dd579df8bcfd600b96e3f3a2f0
Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/lib-storage/index/index-mail-headers.c
Log Message:
-----------
lib-storage: Generate snippet while saving new mails
Commit: 98a0236638af7bd170457c0005e0446ac5e361b7
https://github.com/dovecot/core/commit/98a0236638af7bd170457c0005e0446ac5e361b7
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: ccfccd9aaeb1e85d1796b845c72c3953f4867693
https://github.com/dovecot/core/commit/ccfccd9aaeb1e85d1796b845c72c3953f4867693
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: c125b40d5971ca421d18730370ed9cd46826a66b
https://github.com/dovecot/core/commit/c125b40d5971ca421d18730370ed9cd46826a66b
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: 36e5cd9ab4c86cf9da0762fa327cd5be04397676
https://github.com/dovecot/core/commit/36e5cd9ab4c86cf9da0762fa327cd5be04397676
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/lib/connection.c
Log Message:
-----------
lib: connection - only switch created iostreams
Fixes imap-hibernate: Fatal: master: service(imap-hibernate):
child killed with signal 11 (core dumps disabled)
Broken in 086b73efd1a5812a64acc951366a499d325509a6
Commit: 5d60e31a1dc47494192d92bd9b7300ed7fdc82ee
https://github.com/dovecot/core/commit/5d60e31a1dc47494192d92bd9b7300ed7fdc82ee
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths:
M src/imap-hibernate/imap-hibernate-client.c
M src/imap/imap-master-client.c
Log Message:
-----------
global: Use unix_socket capability in connection.c
This is more reliably way to correctly create input stream
with unix socket capability for passing fd's around
Commit: 0116003edce8cad684715b1b37cf57e3674cf2cb
https://github.com/dovecot/core/commit/0116003edce8cad684715b1b37cf57e3674cf2cb
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-20 (Tue, 20 Feb 2018)
Changed paths:
M src/lib-storage/index/shared/shared-storage.c
Log Message:
-----------
lib-storage: shared driver - Remove copying the child storage's class_flags
The shared storage root itself doesn't have any storage, so it shouldn't
need to copy the child storage's class_flags either.
This fixes a crash when shared namespace was created with mdbox storage, and
another mdbox namespace was created afterwards. This had
MAIL_STORAGE_CLASS_FLAG_UNIQUE_ROOT set, but its unique_root_dir is NULL,
which caused a crash in mail_storage_match_class().
Commit: 41482f3838e68e7f818f5dfd10523161cf805f0e
https://github.com/dovecot/core/commit/41482f3838e68e7f818f5dfd10523161cf805f0e
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-02-20 (Tue, 20 Feb 2018)
Changed paths:
M src/lib-storage/mail-storage.c
Log Message:
-----------
lib-storage: Assert unique_root_dir is set with MAIL_STORAGE_CLASS_FLAG_UNIQUE_ROOT
Compare: https://github.com/dovecot/core/compare/d7952621661d...41482f3838e6
More information about the dovecot-cvs
mailing list