[dovecot/core] 67d2a4: dict-file: Don't leak a lock on temp file creation...
GitHub
noreply at github.com
Thu Oct 13 11:00:16 UTC 2016
Branch: refs/heads/master-2.2
Home: https://github.com/dovecot/core
Commit: 67d2a4590e1a8ee95baefb6c070279d17a852a21
https://github.com/dovecot/core/commit/67d2a4590e1a8ee95baefb6c070279d17a852a21
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-dict/dict-file.c
Log Message:
-----------
dict-file: Don't leak a lock on temp file creation failure.
Commit: 429441cacf798351f06755c5bef9ed848d090693
https://github.com/dovecot/core/commit/429441cacf798351f06755c5bef9ed848d090693
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/plugins/fts-squat/squat-uidlist.c
Log Message:
-----------
fts-squat: Fixed memory leak on corrupted uidlist handling
Commit: 41f4efecd7ee37664b5c8877a76c0a5531990b27
https://github.com/dovecot/core/commit/41f4efecd7ee37664b5c8877a76c0a5531990b27
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/doveadm/doveadm-print.c
Log Message:
-----------
doveadm: Don't allow doveadm_print_header(title==NULL) anymore.
It's not used anywhere, and if it was used it would have crashed with at
least "tab" backend.
Commit: a8fce6af6ad65be8f72c4759879927e8dc79e263
https://github.com/dovecot/core/commit/a8fce6af6ad65be8f72c4759879927e8dc79e263
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-ssl-iostream/iostream-openssl.c
M src/lib-ssl-iostream/iostream-openssl.h
M src/lib-ssl-iostream/iostream-ssl-private.h
M src/lib-ssl-iostream/iostream-ssl.c
Log Message:
-----------
lib-ssl-iostream: Use more standard _init() & _deinit() to initialize SSL plugin
This is mainly to make it easier for test programs to link to the plugin
directly.
Commit: 2d3cb95d21537b205e8afb8605eabc8a6429decf
https://github.com/dovecot/core/commit/2d3cb95d21537b205e8afb8605eabc8a6429decf
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-http/Makefile.am
M src/lib-http/test-http-client.c
Log Message:
-----------
lib-http: Link test-http-client libssl_iostream_openssl.so directly.
This way it can be run without having to do make install first.
Commit: 7cf115f85b430a31e453d303f685bcfc3c63b958
https://github.com/dovecot/core/commit/7cf115f85b430a31e453d303f685bcfc3c63b958
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-http/test-http-client.c
M src/lib-ssl-iostream/iostream-openssl.c
M src/lib-ssl-iostream/iostream-openssl.h
M src/lib-ssl-iostream/iostream-ssl.c
Log Message:
-----------
lib-ssl-iostream: Fixed OpenSSL module to be actually initialized.
Commit: 2d3f0550089ab215fda4865c1fa1ba6da6b4d76f
https://github.com/dovecot/core/commit/2d3f0550089ab215fda4865c1fa1ba6da6b4d76f
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-ssl-iostream/iostream-ssl.c
Log Message:
-----------
lib-ssl-iostream: The final fix to make the SSL plugin loading not fail..
Commit: bf4a2429e449dbd9fe45693a7aba6ce4a5cf9992
https://github.com/dovecot/core/commit/bf4a2429e449dbd9fe45693a7aba6ce4a5cf9992
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib/ostream-failure-at.c
Log Message:
-----------
lib: Fixed ostream-failure-at with blocking parent stream.
Blocking ostream returns either a full success or a full failure. It can't
return that only n/m bytes were written.
Fixes assert:
Panic: file ostream.c: line 255 (o_stream_sendv_int): assertion failed: (!stream->blocking)
Commit: 0b7991ead55a57109e4ca760878a3697f77f729f
https://github.com/dovecot/core/commit/0b7991ead55a57109e4ca760878a3697f77f729f
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-dict/dict-client.c
Log Message:
-----------
dict-client: Remove timeout when there are only background commands.
Normally the timeout wasn't added in the first place, but it was if a
non-background command was added first and it was followed by a background
command.
Commit: d8dfef4c4af2e377d8bb62a7a1fce24cc06f34a9
https://github.com/dovecot/core/commit/d8dfef4c4af2e377d8bb62a7a1fce24cc06f34a9
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-dict/dict-client.c
Log Message:
-----------
dict-client: Don't return "Dict server timeout" too early.
This could have happened when many dict commands were being run without
the timeout being reset in the middle.
Commit: b0f62923a93d1fbc74ef3d6697e871668d0cb499
https://github.com/dovecot/core/commit/b0f62923a93d1fbc74ef3d6697e871668d0cb499
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-dict/dict-client.c
Log Message:
-----------
dict-client: Fixed lock and ioloop wait timings in log messages.
Previously it was logging the total amount of time spent on lock waits or on
ioloop during the existence of the entire process, rather than how much time
the command itself was spending on those. This wasn't very useful.
Now it also tries to separate the time spent on the main ioloop and in
dict_wait().
Commit: 0f1db26f33469d38eef7ec13523c022467e7aa5f
https://github.com/dovecot/core/commit/0f1db26f33469d38eef7ec13523c022467e7aa5f
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/master/service-listen.c
Log Message:
-----------
master: Removed hardcoded listen() backlog limit.
If it's already too large, the kernel will truncate it automatically. So
there shouldn't be any reason for us to explicitly limit it.
Commit: 88b127ba81d0f122b8406f72ab656cf6e59a0b86
https://github.com/dovecot/core/commit/88b127ba81d0f122b8406f72ab656cf6e59a0b86
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-storage/mail-storage.c
Log Message:
-----------
lib-storage: If mailbox_move() fails, reset mail_save_context.moving==FALSE
Commit: c94368100582f7aff217ccfaa1ffd73f7057f0c6
https://github.com/dovecot/core/commit/c94368100582f7aff217ccfaa1ffd73f7057f0c6
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-storage/mail-copy.c
M src/lib-storage/mail-storage-private.h
M src/lib-storage/mail-storage.c
Log Message:
-----------
lib-storage: Don't reset mail_save_context.saving too early.
If mailbox_save_using_mail() ended up in mail_storage_copy(), saving was set
to FALSE before the copy() method was finished running. This caused e.g.
notify plugin to think that this was a copy event instead of a save event.
Added comments and asserts to clarify how the logic should work between
all the different copying/moving/saving flags.
Commit: de7259607e781068d6d5bf0f932fa42f5c56db21
https://github.com/dovecot/core/commit/de7259607e781068d6d5bf0f932fa42f5c56db21
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-storage/mail-user.c
Log Message:
-----------
lib-storage: mail_user_dup() should duplicate also userdb_fields.
Commit: 97ad7d594fb78ff9f4d615dd73c491eb0e11cdd4
https://github.com/dovecot/core/commit/97ad7d594fb78ff9f4d615dd73c491eb0e11cdd4
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/director/director-host.c
Log Message:
-----------
director: Ignore duplicates in director_servers setting.
Commit: 3def8e553c987012d4030e9ee5aa3eb8a2142e5e
https://github.com/dovecot/core/commit/3def8e553c987012d4030e9ee5aa3eb8a2142e5e
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-test/test-common.c
Log Message:
-----------
lib-test: Allow test_istream_set_*() for test-istream's children.
It will internally find the test_istream from parents. This simplifies the
testing code so that it doesn't have to keep track of both the test_istream
and the final istream.
Commit: 364ce1d69baf69b2cf3524d4f7599570e77bacbd
https://github.com/dovecot/core/commit/364ce1d69baf69b2cf3524d4f7599570e77bacbd
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-test/Makefile.am
M src/lib-test/test-common.c
A src/lib-test/test-istream.c
Log Message:
-----------
lib-test: Moved test_istream code to its own test-istream.c file.
Commit: 70193d88f80ca220abecb0d1d1ec5d1ed726f9ff
https://github.com/dovecot/core/commit/70193d88f80ca220abecb0d1d1ec5d1ed726f9ff
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-test/Makefile.am
M src/lib-test/test-common.h
A src/lib-test/test-ostream.c
Log Message:
-----------
lib-test: Added test_ostream for testing nonblocking ostreams.
Commit: bf24499eb380512cd3aec3b8ae86d94f0684cbf7
https://github.com/dovecot/core/commit/bf24499eb380512cd3aec3b8ae86d94f0684cbf7
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib/ioloop-notify-inotify.c
M src/lib/ioloop-notify-kqueue.c
M src/lib/ioloop-notify-none.c
M src/lib/ioloop-private.h
M src/lib/ioloop.c
M src/lib/ioloop.h
Log Message:
-----------
io: Add source filename
This will make debugging alot easier
when you can see what the filename is as well.
Commit: 35fa25c7989c44c9bb49a0552880f4bff0a5ed6c
https://github.com/dovecot/core/commit/35fa25c7989c44c9bb49a0552880f4bff0a5ed6c
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-test/test-ostream.c
Log Message:
-----------
lib-test: Fix illegal memory access in test-ostream
Commit: 42beb171fad3d233891dfeb6d79b353e09d9c84d
https://github.com/dovecot/core/commit/42beb171fad3d233891dfeb6d79b353e09d9c84d
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-test/test-ostream.c
Log Message:
-----------
lib-test: Fix memory leak in test-ostream
Commit: 5b6dc4c53617362baf8713815621bebbeb38c8cc
https://github.com/dovecot/core/commit/5b6dc4c53617362baf8713815621bebbeb38c8cc
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib/uri-util.c
Log Message:
-----------
lib: uri-util: Always fully check the syntax of percent encoding while parsing URI components.
Commit: 4cdd921730bf70061380a0db4049e2ff3a4a02ae
https://github.com/dovecot/core/commit/4cdd921730bf70061380a0db4049e2ff3a4a02ae
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-http/http-url.c
Log Message:
-----------
lib-http: uri: Removed unnecessary checking of percent encoding of query and fragment parts.
This is now always performed in lib/uri-util.
Commit: e32754a21898fc02cd544d532c493c2c59d5ef28
https://github.com/dovecot/core/commit/e32754a21898fc02cd544d532c493c2c59d5ef28
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/imap/imap-sync.c
Log Message:
-----------
imap: If mailbox is inconsistent after syncing, don't try to sync message counts.
This fixes (e.g. after doveadm force-resync):
Panic: Message count decreased
Commit: c4a8f06a8cb03233d36e4c831be0f9f0c2a9046f
https://github.com/dovecot/core/commit/c4a8f06a8cb03233d36e4c831be0f9f0c2a9046f
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-storage/index/index-sync.c
Log Message:
-----------
lib-storage: Make sure mailbox_sync*() fails if view is inconsistent afterwards.
Commit: c7b935161f8d1be28208a51be59fce4e78c3f20a
https://github.com/dovecot/core/commit/c7b935161f8d1be28208a51be59fce4e78c3f20a
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-index/mail-index-view-sync.c
Log Message:
-----------
lib-index: Fixed potential assert-crash when view syncing sees a reset marker.
It should never try to use main index map at that point, because
view_sync_have_expunges() looks changes only before the reset marker.
Fixes:
Error: Index .../dovecot.index lost messages without expunging (36 -> 27)
Commit: 9bce4ed3844a7b5622b2e2a1d995e3dc75c2af41
https://github.com/dovecot/core/commit/9bce4ed3844a7b5622b2e2a1d995e3dc75c2af41
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-index/mail-index-view-sync.c
Log Message:
-----------
lib-index: When finding a view is reset, don't attempt any further syncing.
This could cause various errors to be logged, such as:
Error: Append with UID 7103, but next_uid = 7242
Commit: d8907e9b7b0319b02d217b89ee0ac1a8b4cf9b41
https://github.com/dovecot/core/commit/d8907e9b7b0319b02d217b89ee0ac1a8b4cf9b41
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-index/mail-index-view-sync.c
Log Message:
-----------
lib-index: If view syncing sees index is reset, always mark the view as inconsistent.
Not only when the mailbox has messages, because that could still mess up
assumptions about UIDs. A somewhat better check could have been to do this
only when next_uid>1 (= there have been messages at some point in this
mailbox), but it's safer to just always mark the view as inconsistent.
Commit: f2dc727b40ee2aa256c4f41ec1d038b413a794dc
https://github.com/dovecot/core/commit/f2dc727b40ee2aa256c4f41ec1d038b413a794dc
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-storage/mail-autoexpunge.c
Log Message:
-----------
lib-storage: autoexpunge mailboxes with wildcards didn't work with namespace prefix.
Commit: 66bd5a6c84f779fe21c2f01750376bc879682408
https://github.com/dovecot/core/commit/66bd5a6c84f779fe21c2f01750376bc879682408
Author: Phil Carmody <phil at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/plugins/fts/fts-storage.c
Log Message:
-----------
plugins/fts - make storage errors more informative
There are 3 different ways to fail ending a transaction (one
of which is itself just a record that something now unknown
previously failed). Identify which one in the logs.
Signed-off-by: Phil Carmody <phil at dovecot.fi>
Commit: b816c98d4020af7bc15711c630521ccec5f25b3a
https://github.com/dovecot/core/commit/b816c98d4020af7bc15711c630521ccec5f25b3a
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib/net.c
Log Message:
-----------
lib: If connect() fails with EADDRNOTAVAIL, retry it 4 more times.
This is needed on busy systems. Nicely explained in:
https://idea.popcount.org/2014-04-03-bind-before-connect/
Commit: 367aa5edb05b8debad532cce636cce8048eaf8e1
https://github.com/dovecot/core/commit/367aa5edb05b8debad532cce636cce8048eaf8e1
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-storage/mail-storage.c
Log Message:
-----------
lib-storage: Fixed assert-crash in mailbox_save_cancel()
Broken by 05150df8f. Fixes:
Panic: file mail-storage.c: line 2137 (mailbox_save_context_reset): assertion failed: (ctx->saving)
Commit: 851a128fe59e369ff44a9435240fa9cd4a92d891
https://github.com/dovecot/core/commit/851a128fe59e369ff44a9435240fa9cd4a92d891
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-index/Makefile.am
A src/lib-index/test-mail-index-modseq.c
Log Message:
-----------
lib-index: Added test-mail-index-modseq unit test
Commit: 463fc801475fb7d710915a8fa7c9e0cc76ff6f5a
https://github.com/dovecot/core/commit/463fc801475fb7d710915a8fa7c9e0cc76ff6f5a
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-imap-client/imapc-client.c
M src/lib-imap-client/imapc-client.h
M src/lib-imap-client/imapc-connection.c
M src/lib-storage/index/imapc/imapc-settings.c
M src/lib-storage/index/imapc/imapc-settings.h
M src/lib-storage/index/imapc/imapc-storage.c
Log Message:
-----------
imapc: Added imapc_max_line_length to limit maximum memory usage.
The default is still unlimited, but this should be set to something smaller
for untrusted servers.
Commit: 5cb85a03d0b345c06b8e3f9eceb73ca4284f0bce
https://github.com/dovecot/core/commit/5cb85a03d0b345c06b8e3f9eceb73ca4284f0bce
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/log/log-connection.c
Log Message:
-----------
log: Minor error logging and comment improvement.
Commit: 6a1110d8757bb72fd90f4fe0857fd3aeaf8920ff
https://github.com/dovecot/core/commit/6a1110d8757bb72fd90f4fe0857fd3aeaf8920ff
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/doveadm/client-connection-http.c
M src/doveadm/doveadm-mail-save.c
M src/doveadm/doveadm-mail.c
M src/doveadm/dsync/dsync-mail.c
M src/imap/cmd-append.c
M src/lib-compression/istream-bzlib.c
M src/lib-compression/istream-lz4.c
M src/lib-compression/istream-lzma.c
M src/lib-compression/istream-zlib.c
M src/lib-dict-extra/dict-fs.c
M src/lib-http/http-client-connection.c
M src/lib-mail/istream-attachment-extractor.c
M src/lib-storage/index/index-attachment.c
M src/lib-storage/index/mbox/mbox-save.c
M src/lib-storage/mail-copy.c
M src/lib/istream-seekable.c
Log Message:
-----------
global: Make sure i_stream_read() calls handle 0 and -2 return values correctly.
Commit: f71958552f74bb0f71fc5e0735d8bfa93aed5592
https://github.com/dovecot/core/commit/f71958552f74bb0f71fc5e0735d8bfa93aed5592
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-compression/istream-bzlib.c
M src/lib-compression/istream-lz4.c
M src/lib-compression/istream-lzma.c
M src/lib-compression/istream-zlib.c
Log Message:
-----------
lib-compression: Fixed compler warnings and wrongly triggering asserts.
Broken by 7f74811b7.
Commit: 4e02ed7954b39828f429cf645acf537c7ffc2c0e
https://github.com/dovecot/core/commit/4e02ed7954b39828f429cf645acf537c7ffc2c0e
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M doc/man/doveadm-sync.1.in
M src/doveadm/doveadm-dsync.c
Log Message:
-----------
doveadm-sync: Document start date
Commit: 69031c6abb8f016fdfee4ca3019c73f6412b2759
https://github.com/dovecot/core/commit/69031c6abb8f016fdfee4ca3019c73f6412b2759
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/doveadm/doveadm-dsync.c
M src/doveadm/dsync/dsync-brain-mailbox.c
M src/doveadm/dsync/dsync-brain-private.h
M src/doveadm/dsync/dsync-brain.c
M src/doveadm/dsync/dsync-brain.h
M src/doveadm/dsync/dsync-ibc-pipe.c
M src/doveadm/dsync/dsync-ibc-stream.c
M src/doveadm/dsync/dsync-ibc.h
M src/doveadm/dsync/dsync-mail.h
M src/doveadm/dsync/dsync-mailbox-import.c
M src/doveadm/dsync/dsync-mailbox-import.h
Log Message:
-----------
doveadm-sync: Add end-date support
Commit: ba9270a399797f45c74b526ce6c49ecdaad37181
https://github.com/dovecot/core/commit/ba9270a399797f45c74b526ce6c49ecdaad37181
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M doc/man/doveadm-sync.1.in
Log Message:
-----------
doveadm-sync: Document end-date flag
Commit: 4236767f671c5c7b9c5e6509cd394a6eb05cbb1b
https://github.com/dovecot/core/commit/4236767f671c5c7b9c5e6509cd394a6eb05cbb1b
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lmtp/commands.c
Log Message:
-----------
lmtp: Handle lmtp_user_concurrency_limit before lmtp_rcpt_check_quota
The quota lookup is more expensive, so it shouldn't be done unnecessarily.
Commit: be7f2032d1fc34e24d2e1d2532b91543f8f2cb78
https://github.com/dovecot/core/commit/be7f2032d1fc34e24d2e1d2532b91543f8f2cb78
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-sql/driver-cassandra.c
Log Message:
-----------
cassandra: Added latency_aware_routing connect-parameter.
There's currently no way to change the default settings for it.
Commit: 3b5562aeb6796e33bd8c17ba59f364b38c71d366
https://github.com/dovecot/core/commit/3b5562aeb6796e33bd8c17ba59f364b38c71d366
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/imap-hibernate/imap-client.c
M src/imap-hibernate/imap-client.h
M src/imap-hibernate/imap-hibernate-client.c
M src/imap/imap-client-hibernate.c
M src/imap/imap-master-client.c
M src/imap/imap-state.c
M src/imap/imap-state.h
Log Message:
-----------
imap-hibernate: Properly fix hibernation
The previous fix did not properly fix hibernation
as the clients still dropped out of hibernate.
Also the tag used was no longer following. This
change will track tag changes and keeps the
hibernation process going on until the user enters
something else than DONE\r\ntag IDLE\r\n in same
packet.
Commit: 0e72564d0d5af972740ff73ab4952eb06785529b
https://github.com/dovecot/core/commit/0e72564d0d5af972740ff73ab4952eb06785529b
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-storage/mail-storage-service.c
M src/lib-storage/mail-storage-service.h
M src/lib-storage/mail-user.c
M src/lib-storage/mail-user.h
Log Message:
-----------
lib-storage: Added mail_user.session_create_time and .session_restored
Commit: dcddd3ed88b4989bcf105afb50aca5b812234356
https://github.com/dovecot/core/commit/dcddd3ed88b4989bcf105afb50aca5b812234356
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/imap-hibernate/imap-client.c
M src/imap-hibernate/imap-client.h
M src/imap-hibernate/imap-hibernate-client.c
M src/imap/imap-client-hibernate.c
M src/imap/imap-master-client.c
Log Message:
-----------
imap-hibernate: Preserve mail_user.session_create_time through hibernation
Commit: ec769b57dc94f7954799af6e5fd0e5b4b309cb28
https://github.com/dovecot/core/commit/ec769b57dc94f7954799af6e5fd0e5b4b309cb28
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/plugins/quota/quota.c
Log Message:
-----------
quota: Don't execute quota_over_script if userdb lookup was over 10 secs ago
Commit: 2a736c0c3172230fc8f91f344e938b1eed062e24
https://github.com/dovecot/core/commit/2a736c0c3172230fc8f91f344e938b1eed062e24
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/plugins/last-login/last-login-plugin.c
Log Message:
-----------
last-login: Don't execute last_login on IMAP unhibernation.
Commit: 27c3fd81fb5aeabbc9d13f57a4871ab9e923d37e
https://github.com/dovecot/core/commit/27c3fd81fb5aeabbc9d13f57a4871ab9e923d37e
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/login-common/client-common-auth.c
M src/login-common/client-common.h
M src/login-common/login-common.h
M src/login-common/main.c
Log Message:
-----------
*-login: Store user_* passdb fields to client->alt_usernames.
Commit: c82b58c8abde455fb55bc1ac309071106e1b530e
https://github.com/dovecot/core/commit/c82b58c8abde455fb55bc1ac309071106e1b530e
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/doveadm/doveadm-proxy.c
M src/login-common/login-proxy.c
Log Message:
-----------
doveadm proxy list: Show all user_* fields in output.
Commit: 124bfaead989fa1ccafb1112c4fccdf73af3da6f
https://github.com/dovecot/core/commit/124bfaead989fa1ccafb1112c4fccdf73af3da6f
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/doveadm/doveadm-proxy.c
M src/login-common/login-proxy.c
Log Message:
-----------
doveadm proxy kick: Added -f <passdb field> parameter.
This works for all the user_* passdb fields.
Commit: e07044df54448c45bdbcf8b4c1e08d75ae176239
https://github.com/dovecot/core/commit/e07044df54448c45bdbcf8b4c1e08d75ae176239
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/doveadm/doveadm-proxy.c
Log Message:
-----------
doveadm proxy kick: Support multiple user parameters.
Commit: 51701893c21b4f13e150f3ac1a60da16d7b21e83
https://github.com/dovecot/core/commit/51701893c21b4f13e150f3ac1a60da16d7b21e83
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/director/director.c
Log Message:
-----------
director: Escape username when handling USER-KICK.
This could have caused problems if username parameter contained TABs or LFs,
which of course shouldn't normally happen.
Commit: 242005b278dcfc26602553c4c38b1b7e81b54354
https://github.com/dovecot/core/commit/242005b278dcfc26602553c4c38b1b7e81b54354
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/doveadm/doveadm-director.c
Log Message:
-----------
doveadm director kick: Escape username properly.
This only mattered if the username contained \001, TAB or LF characters,
which isn't normal.
Commit: 5bdbda01bddc60e5628afd76730504d0acf1c407
https://github.com/dovecot/core/commit/5bdbda01bddc60e5628afd76730504d0acf1c407
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/director/director-connection.c
M src/director/director.c
M src/director/director.h
M src/doveadm/doveadm-director.c
Log Message:
-----------
doveadm director kick: Added -f <passdb field> parameter.
This works for all the user_* passdb fields.
Commit: aae459582c1853debb12a225207e5b1dd1726310
https://github.com/dovecot/core/commit/aae459582c1853debb12a225207e5b1dd1726310
Author: Matwey V. Kornilov <matwey.kornilov at gmail.com>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/auth/db-ldap.c
Log Message:
-----------
auth: Introduce db_ldap_bind_sasl() function
Do refactoring in db_ldap_connect() before fixing the SASL bind issue in the next commit.
Commit: 79d9a65e8f515327429db250e5fed1354035ea4d
https://github.com/dovecot/core/commit/79d9a65e8f515327429db250e5fed1354035ea4d
Author: Matwey V. Kornilov <matwey.kornilov at gmail.com>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/auth/db-ldap.c
Log Message:
-----------
auth: Fix default SASL bind for LDAP
User may configure Dovecot to use SASL bind as default bind method. This can
be the case when ldapi:/// (or ldaps:///) with SASL EXTERNAL is used.
Currently, Dovecot returns LDAP connection to wrong bind state after first
successful auth bind, LDAP simple bind always used to rebind. This may broke
setup when ACL in LDAP configured not to allow search/bind for such simple
bind.
Commit: 4d51949a6b1486b9b10fc5e23052453ffc7da9cb
https://github.com/dovecot/core/commit/4d51949a6b1486b9b10fc5e23052453ffc7da9cb
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-program-client/test-program-client-local.c
Log Message:
-----------
lib-program-client: Fixed running test-program-client-local as root.
uid/gid == -1 isn't treated as "don't change" in here.
Commit: 8cf999a2bdf13784c3b939c997657b40b7818d66
https://github.com/dovecot/core/commit/8cf999a2bdf13784c3b939c997657b40b7818d66
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-fs/istream-fs-stats.c
Log Message:
-----------
lib-fs: Renamed internal i_stream_mail_read() to i_stream_fs_stats_read()
Just to make backtraces look clearer. Originally forgot to change this
after copy&pasting code from istream-mail.c
Commit: 2c2d64ed30ba0770539d52fdd86e0155addbc3bc
https://github.com/dovecot/core/commit/2c2d64ed30ba0770539d52fdd86e0155addbc3bc
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-fs/fs-metawrap.c
M src/lib-fs/test-fs-metawrap.c
Log Message:
-----------
fs-metawrap: Don't assert-crash when trying to write an empty file.
Fixes:
Panic: file fs-metawrap.c: line 401 (fs_metawrap_write_stream_finish): assertion failed: (file->super_output->offset > 0 || file->super_output->stream_errno != 0)
Commit: 282de4e528a22ea4da38f9b69a919fd5bac6ced5
https://github.com/dovecot/core/commit/282de4e528a22ea4da38f9b69a919fd5bac6ced5
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-program-client/program-client.c
Log Message:
-----------
lib-program-client: Fixed program_client_run() that succeeds rapidly.
program_client_run_async() could have called the callback with result=0
before io_loop_run(). This happened with local client.
Fixes in test-program-client-local:
Panic: BUG: No IOs or timeouts set. Not waiting for infinity.
Commit: d29c70425fbbbc6613583be8762008e49aca53c9
https://github.com/dovecot/core/commit/d29c70425fbbbc6613583be8762008e49aca53c9
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/lib-program-client/test-program-client-local.c
Log Message:
-----------
lib-program-client: Fixed potential panic in test-program-client-local
If the run finished before io_loop_run(), it would panic with:
Panic: BUG: No IOs or timeouts set. Not waiting for infinity.
Commit: f7eed93e33209f45436301a6c93e0b0660f0265b
https://github.com/dovecot/core/commit/f7eed93e33209f45436301a6c93e0b0660f0265b
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/auth/auth-request.c
M src/auth/auth-request.h
Log Message:
-----------
auth: Don't re-insert userdb results from auth cache data back to cache.
This was also breaking TTLs for the cached userdb results, because each
re-insert reset the TTL.
Commit: 6a012765c15d835c1e0558fdd9419742959276a5
https://github.com/dovecot/core/commit/6a012765c15d835c1e0558fdd9419742959276a5
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M src/auth/auth-request.c
M src/auth/auth-worker-client.c
Log Message:
-----------
auth: Pass userdb fields to worker
If this is not done, then those userdb handlers
that need access to userdb variables for e.g.
interpolation, cannot access them.
Compare: https://github.com/dovecot/core/compare/a98be204a4af...6a012765c15d
More information about the dovecot-cvs
mailing list