]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
10 years agodoveadm: Code cleanups to prepare server code for non-mail commands.
Timo Sirainen [Tue, 11 Nov 2014 22:20:40 +0000 (00:20 +0200)] 
doveadm: Code cleanups to prepare server code for non-mail commands.

10 years agolib: Compiler warning fix in 32bit systems to previous change
Timo Sirainen [Tue, 11 Nov 2014 03:06:09 +0000 (05:06 +0200)] 
lib: Compiler warning fix in 32bit systems to previous change

10 years agolib: file_wait/try_lock() treats EINTR differently now for timeouts and for actual...
Timo Sirainen [Tue, 11 Nov 2014 01:13:16 +0000 (03:13 +0200)] 
lib: file_wait/try_lock() treats EINTR differently now for timeouts and for actual signals.

10 years agolib-storage: Mailbox list index now detects duplicate mailbox names.
Timo Sirainen [Fri, 31 Oct 2014 02:27:27 +0000 (04:27 +0200)] 
lib-storage: Mailbox list index now detects duplicate mailbox names.
With LAYOUT=index the duplicates are renamed.

10 years agodoveadm: Removed duplicate subcommands from list of commands.
Timo Sirainen [Wed, 5 Nov 2014 11:00:14 +0000 (13:00 +0200)] 
doveadm: Removed duplicate subcommands from list of commands.
For example don't show "mailbox ..|metadata|metadata|metadata|.."

10 years agoimap: If GETMETADATA with wildcards can't open some mailbox, don't assert-crash.
Timo Sirainen [Tue, 4 Nov 2014 12:49:44 +0000 (14:49 +0200)] 
imap: If GETMETADATA with wildcards can't open some mailbox, don't assert-crash.
Just send an untagged NO for the mailbox.

10 years agossl-params: Use lib-ssl-iostream's ssl_iostream_generate_params() instead of OpenSSL...
Timo Sirainen [Sat, 1 Nov 2014 00:05:31 +0000 (17:05 -0700)] 
ssl-params: Use lib-ssl-iostream's ssl_iostream_generate_params() instead of OpenSSL directly

10 years agolib-ssl-iostream: Added dh_length parameter to ssl_iostream_generate_params()
Timo Sirainen [Sat, 1 Nov 2014 00:04:58 +0000 (17:04 -0700)] 
lib-ssl-iostream: Added dh_length parameter to ssl_iostream_generate_params()
This is an API change, but nobody was actually using this function.

10 years agolib-ssl-iostream: Support non-1024bit DH parameters in ssl-parameters.dat.
Timo Sirainen [Fri, 31 Oct 2014 23:54:07 +0000 (16:54 -0700)] 
lib-ssl-iostream: Support non-1024bit DH parameters in ssl-parameters.dat.

10 years agolib-ssl-iostream: Destroy SSL module later in the atexit-callbacks.
Timo Sirainen [Thu, 30 Oct 2014 20:02:52 +0000 (22:02 +0200)] 
lib-ssl-iostream: Destroy SSL module later in the atexit-callbacks.

10 years agolib: Added lib_atexit_priority()
Timo Sirainen [Thu, 30 Oct 2014 20:00:14 +0000 (22:00 +0200)] 
lib: Added lib_atexit_priority()

10 years ago*-login: Also increase MASTER_AUTH_MAX_DATA_SIZE and add a check to make sure it...
Timo Sirainen [Thu, 30 Oct 2014 02:41:11 +0000 (04:41 +0200)] 
*-login: Also increase MASTER_AUTH_MAX_DATA_SIZE and add a check to make sure it's large enough.

10 years ago*-login: And actually make the previous changes work.
Timo Sirainen [Thu, 30 Oct 2014 02:36:50 +0000 (04:36 +0200)] 
*-login: And actually make the previous changes work.

10 years agoimap-login: Added "x-session-ext-id" parameter for ID command.
Timo Sirainen [Thu, 30 Oct 2014 01:33:46 +0000 (18:33 -0700)] 
imap-login: Added "x-session-ext-id" parameter for ID command.
It's exactly the same as "x-session-id", but this one can be safely used by
external software without having to worry about causing error messages in
older versions about too long session-id.

10 years agolib-master: Removed fixed length limit for session-id.
Timo Sirainen [Thu, 30 Oct 2014 01:32:36 +0000 (18:32 -0700)] 
lib-master: Removed fixed length limit for session-id.

10 years agolib: connection_switch_ioloop() should switch also input stream's ioloop.
Timo Sirainen [Wed, 29 Oct 2014 18:46:50 +0000 (11:46 -0700)] 
lib: connection_switch_ioloop() should switch also input stream's ioloop.

10 years agolmtp: Added support for STARTTLS command.
Timo Sirainen [Wed, 29 Oct 2014 16:58:01 +0000 (09:58 -0700)] 
lmtp: Added support for STARTTLS command.

10 years agolib-http: Make sure we don't access already freed client connection in payload-destro...
Timo Sirainen [Wed, 29 Oct 2014 00:15:31 +0000 (17:15 -0700)] 
lib-http: Make sure we don't access already freed client connection in payload-destroyed callback.

10 years agolib: io_remove() should finish closing the io before unreferencing its istream.
Timo Sirainen [Wed, 29 Oct 2014 00:07:21 +0000 (17:07 -0700)] 
lib: io_remove() should finish closing the io before unreferencing its istream.
This is because the istream unreferencing may close the fd.

10 years agolib-http: client: Fixed assertion failure in http_client_queue_fail().
Stephan Bosch [Tue, 28 Oct 2014 23:12:09 +0000 (16:12 -0700)] 
lib-http: client: Fixed assertion failure in http_client_queue_fail().
Don't explicitly clear the request array after looping through all
requests, since new requests may be added during the loop, not only
removed.

10 years agolib: istream-timeout logs how long the stream was open if parent read fails with...
Timo Sirainen [Tue, 28 Oct 2014 04:48:29 +0000 (21:48 -0700)] 
lib: istream-timeout logs how long the stream was open if parent read fails with ECONNRESET/EPIPE.

10 years agolib-http: If there's an error reading chunked http stream, set the error to the istream.
Timo Sirainen [Tue, 28 Oct 2014 04:43:10 +0000 (21:43 -0700)] 
lib-http: If there's an error reading chunked http stream, set the error to the istream.
Previously the error string was set, but it was never read by anything.

10 years agodsync: Fixed notifying replicator (-U parameter) if it didn't answer instantly.
Timo Sirainen [Tue, 28 Oct 2014 03:45:59 +0000 (05:45 +0200)] 
dsync: Fixed notifying replicator (-U parameter) if it didn't answer instantly.

10 years agolib: Make sure ostream.last_failed_errno is always set when stream_errno is set.
Timo Sirainen [Mon, 27 Oct 2014 21:29:39 +0000 (23:29 +0200)] 
lib: Make sure ostream.last_failed_errno is always set when stream_errno is set.

10 years agolib: o_stream_uncork() could also cause write errors. Make sure last_failed_errno...
Timo Sirainen [Mon, 27 Oct 2014 21:26:10 +0000 (23:26 +0200)] 
lib: o_stream_uncork() could also cause write errors. Make sure last_failed_errno is updated.
This caused some write errors not to be detected, such as in code like:

o_stream_cork()
o_stream_nsend(..)
o_stream_uncork()
if (o_stream_nfinish() < 0) {
  // error not detected because last_failed_errno was 0
}

10 years agolib-index: Remove assert that can never happen.
Teemu Huovila [Mon, 27 Oct 2014 20:05:27 +0000 (22:05 +0200)] 
lib-index: Remove assert that can never happen.

10 years agomaster: Don't send broken BYE notifications to log process.
Timo Sirainen [Mon, 27 Oct 2014 18:24:34 +0000 (20:24 +0200)] 
master: Don't send broken BYE notifications to log process.

10 years agolog: Don't crash if master sends a negative service_fd number.
Timo Sirainen [Mon, 27 Oct 2014 18:14:47 +0000 (20:14 +0200)] 
log: Don't crash if master sends a negative service_fd number.

10 years agomaster: Added an assert to catch duplicate fork() PIDs.
Timo Sirainen [Mon, 27 Oct 2014 18:10:19 +0000 (20:10 +0200)] 
master: Added an assert to catch duplicate fork() PIDs.
This really shouldn't be happening, but apparently it does sometimes. This
should make it easier to debug.

10 years agolib-storage: Recent change broke deleting mailboxes with LAYOUT=index
Timo Sirainen [Mon, 27 Oct 2014 15:05:52 +0000 (17:05 +0200)] 
lib-storage: Recent change broke deleting mailboxes with LAYOUT=index

10 years agolib-http: server: Fixed a hang occurring sometimes when response is sent for a reques...
Stephan Bosch [Sun, 26 Oct 2014 16:43:57 +0000 (18:43 +0200)] 
lib-http: server: Fixed a hang occurring sometimes when response is sent for a request that had payload.
Forgot to always trigger sending response when processing request payload
finishes.

10 years agolib-http: client: Removed asssert in http_client_connection_is_ready().
Stephan Bosch [Sun, 26 Oct 2014 16:43:57 +0000 (18:43 +0200)] 
lib-http: client: Removed asssert in http_client_connection_is_ready().
There is no reason why the input stream couldn't be full.

10 years agolib-http: client: The asserts recently added to http_connection_check_idle() are...
Stephan Bosch [Sun, 26 Oct 2014 16:43:57 +0000 (18:43 +0200)] 
lib-http: client: The asserts recently added to http_connection_check_idle() are bogus.

10 years agofs-posix: fs_copy() no longer fails if destination exists and FS_OPEN_MODE_REPLACE...
Timo Sirainen [Sat, 25 Oct 2014 23:03:22 +0000 (02:03 +0300)] 
fs-posix: fs_copy() no longer fails if destination exists and FS_OPEN_MODE_REPLACE is used

10 years agolib-http server: If i/ostream fails, don't return wrong "stream input size changed...
Timo Sirainen [Sat, 25 Oct 2014 22:59:05 +0000 (01:59 +0300)] 
lib-http server: If i/ostream fails, don't return wrong "stream input size changed" error.
Also handle the real case in a bit nicer way.

10 years agoman: Global options includes: Added back the newline at end of files.
Pascal Volk [Sat, 25 Oct 2014 22:18:07 +0000 (22:18 +0000)] 
man: Global options includes: Added back the newline at end of files.

They were accidentally removed in the previous commit.

10 years agoman: Global options includes: Added description of `-o setting=value'.
Pascal Volk [Sat, 25 Oct 2014 21:24:06 +0000 (21:24 +0000)] 
man: Global options includes: Added description of `-o setting=value'.

10 years agolib: If i_stream_seek() works by reading forward and read() fails, don't override...
Timo Sirainen [Sat, 25 Oct 2014 22:00:36 +0000 (01:00 +0300)] 
lib: If i_stream_seek() works by reading forward and read() fails, don't override the error message.

10 years agomaster: Don't start new processes while shutting down.
Timo Sirainen [Sat, 25 Oct 2014 21:08:05 +0000 (00:08 +0300)] 
master: Don't start new processes while shutting down.

10 years agodsync: Added debug logging for attribute importing
Timo Sirainen [Sat, 25 Oct 2014 19:53:35 +0000 (22:53 +0300)] 
dsync: Added debug logging for attribute importing

10 years agoAdded signature for changeset e8b793f2c409
Timo Sirainen [Sat, 25 Oct 2014 03:57:25 +0000 (06:57 +0300)] 
Added signature for changeset e8b793f2c409

10 years agoAdded tag 2.2.15 for changeset e8b793f2c409
Timo Sirainen [Sat, 25 Oct 2014 03:57:11 +0000 (06:57 +0300)] 
Added tag 2.2.15 for changeset e8b793f2c409

10 years agoReleased v2.2.15. 2.2.15
Timo Sirainen [Sat, 25 Oct 2014 03:57:11 +0000 (06:57 +0300)] 
Released v2.2.15.

10 years agolmtp: Use mail_log_prefix while mails are being delivered.
Timo Sirainen [Sat, 25 Oct 2014 03:40:03 +0000 (06:40 +0300)] 
lmtp: Use mail_log_prefix while mails are being delivered.

10 years agolmtp: Added missing session_id to mail_user
Timo Sirainen [Sat, 25 Oct 2014 03:37:35 +0000 (06:37 +0300)] 
lmtp: Added missing session_id to mail_user

10 years agolib-storage: LAYOUT=index now first creates the backend mailbox and only then adds...
Timo Sirainen [Sat, 25 Oct 2014 03:19:41 +0000 (06:19 +0300)] 
lib-storage: LAYOUT=index now first creates the backend mailbox and only then adds it to list index.
This avoids any race conditions with mailbox creation and opening it.

10 years agolib-storage: Don't update mailbox list index status fields when deleting a mailbox.
Timo Sirainen [Sat, 25 Oct 2014 03:18:45 +0000 (06:18 +0300)] 
lib-storage: Don't update mailbox list index status fields when deleting a mailbox.

10 years agolib-storage: When mailbox is deleted, reset its cached paths.
Timo Sirainen [Sat, 25 Oct 2014 03:18:06 +0000 (06:18 +0300)] 
lib-storage: When mailbox is deleted, reset its cached paths.
If mailbox is still later on recreated, the paths may have changed.

10 years agolib-storage: Fully unreference indexes when deleting mailboxes.
Timo Sirainen [Sat, 25 Oct 2014 03:16:47 +0000 (06:16 +0300)] 
lib-storage: Fully unreference indexes when deleting mailboxes.

10 years agolib-index: Don't assert-crash if expunge event handling finds that everything is...
Timo Sirainen [Fri, 24 Oct 2014 23:56:42 +0000 (02:56 +0300)] 
lib-index: Don't assert-crash if expunge event handling finds that everything is already expunged.

10 years agoquota: Fixed including the right system quota.h with NetBSD
Timo Sirainen [Fri, 24 Oct 2014 23:53:55 +0000 (02:53 +0300)] 
quota: Fixed including the right system quota.h with NetBSD
Patch by Manuel Bouyer.

I guess the quota.h could be renamed to something at some point..

10 years agoquota: Fixed NetBSD quota
Timo Sirainen [Fri, 24 Oct 2014 23:52:50 +0000 (02:52 +0300)] 
quota: Fixed NetBSD quota
I guess it's because quota is refreshed only at quota_open() time.
Based on patch by Manuel Bouyer

10 years agoauth: Some unsuccessful passdb lookups weren't returned as failures to passdb lookups.
Timo Sirainen [Fri, 24 Oct 2014 23:42:47 +0000 (02:42 +0300)] 
auth: Some unsuccessful passdb lookups weren't returned as failures to passdb lookups.
These lookups were only being done internally, so it usually didn't matter.
Also this only affected things like allow_nets checking and some non-common
passdb { result_* } settings.

10 years agoauth: allow_nets=local matches now connections without any IP address
Timo Sirainen [Fri, 24 Oct 2014 23:39:00 +0000 (02:39 +0300)] 
auth: allow_nets=local matches now connections without any IP address

10 years agovirtual plugin: Fixed assert-crash when backend mailbox was auto-closed while it...
Timo Sirainen [Fri, 24 Oct 2014 23:13:36 +0000 (02:13 +0300)] 
virtual plugin: Fixed assert-crash when backend mailbox was auto-closed while it had pending expunges.

10 years agolib-http: client: Handle situation in which server sends response before request...
Stephan Bosch [Fri, 24 Oct 2014 22:38:43 +0000 (01:38 +0300)] 
lib-http: client: Handle situation in which server sends response before request payload is fully sent.

10 years agolib-http: client: Fixed handling of requests aborted while still sending payload...
Stephan Bosch [Fri, 24 Oct 2014 22:38:42 +0000 (01:38 +0300)] 
lib-http: client: Fixed handling of requests aborted while still sending payload to server.

10 years agolib-http: client: Fixed conflict between request abort and request delayed error.
Stephan Bosch [Fri, 24 Oct 2014 22:38:42 +0000 (01:38 +0300)] 
lib-http: client: Fixed conflict between request abort and request delayed error.

10 years agolib-http: client: Fixed cleanup of remaining waiting requests at connection destroy.
Stephan Bosch [Fri, 24 Oct 2014 22:38:42 +0000 (01:38 +0300)] 
lib-http: client: Fixed cleanup of remaining waiting requests at connection destroy.
Forgot to dereference the requests for the reference that the connection
itself holds for each waiting request.

10 years agolib-http: client: Aborted requests were not counted as finished in the connection...
Stephan Bosch [Fri, 24 Oct 2014 22:38:42 +0000 (01:38 +0300)] 
lib-http: client: Aborted requests were not counted as finished in the connection's response receive loop.
This caused a hang.

10 years agolib-fs: Improved error logging
Timo Sirainen [Fri, 24 Oct 2014 20:00:56 +0000 (23:00 +0300)] 
lib-fs: Improved error logging

10 years agoUse i_stream_get_error() wherever possible instead of %m
Timo Sirainen [Fri, 24 Oct 2014 19:18:29 +0000 (22:18 +0300)] 
Use i_stream_get_error() wherever possible instead of %m

10 years agolib-storage: Added data stack frames for most calls.
Timo Sirainen [Fri, 24 Oct 2014 19:11:50 +0000 (22:11 +0300)] 
lib-storage: Added data stack frames for most calls.
So neither the callers nor the implementations need to worry about those so
much.

10 years agolib: Added "istream-seekable: " error message prefixes.
Timo Sirainen [Fri, 24 Oct 2014 19:10:25 +0000 (22:10 +0300)] 
lib: Added "istream-seekable: " error message prefixes.

10 years agodsync: Added some debugging output for mailbox trees.
Timo Sirainen [Fri, 24 Oct 2014 01:24:40 +0000 (04:24 +0300)] 
dsync: Added some debugging output for mailbox trees.

10 years agodsync: Removed in/out state from debugging.
Timo Sirainen [Fri, 24 Oct 2014 00:58:35 +0000 (03:58 +0300)] 
dsync: Removed in/out state from debugging.
This was initially added for debugging hangs, but those haven't existed for
a long time now. Maybe we should eventually make debug categories
configurable, but for now nobody wants to see these messages.

10 years agologin proxy: If proxy_timeout is set, try to reconnect until the timeout is reached.
Timo Sirainen [Fri, 24 Oct 2014 00:54:21 +0000 (03:54 +0300)] 
login proxy: If proxy_timeout is set, try to reconnect until the timeout is reached.
This allows quickly restarting/upgrading backend servers without returning
login failures.

10 years agodoveadm: Added metadata set/unset/get/list commands.
Timo Sirainen [Thu, 23 Oct 2014 03:38:20 +0000 (06:38 +0300)] 
doveadm: Added metadata set/unset/get/list commands.

10 years agodoveadm fetch: Use doveadm_print_istream()
Timo Sirainen [Thu, 23 Oct 2014 03:37:48 +0000 (06:37 +0300)] 
doveadm fetch: Use doveadm_print_istream()

10 years agodoveadm: Added doveadm_print_istream() for easily printing istreams.
Timo Sirainen [Thu, 23 Oct 2014 03:37:30 +0000 (06:37 +0300)] 
doveadm: Added doveadm_print_istream() for easily printing istreams.

10 years agolib-http: client: Fixed proxied client connect timeout.
Stephan Bosch [Thu, 23 Oct 2014 02:55:51 +0000 (05:55 +0300)] 
lib-http: client: Fixed proxied client connect timeout.
Timeout didn't cause requests to be aborted with error.

10 years agolib-http: client: Implemented maximum for connection backoff time.
Stephan Bosch [Thu, 23 Oct 2014 02:55:51 +0000 (05:55 +0300)] 
lib-http: client: Implemented maximum for connection backoff time.
Without a maximum, the backoff time grows exponentially to enormous values,
because it isn't reset until the connection succeeds. This causes recovery
from connection failures to become very slow. Current maximum is one
minute.

10 years agolib-http: client: Assertion in http_client_queue_fail() was wrong.
Stephan Bosch [Thu, 23 Oct 2014 02:55:51 +0000 (05:55 +0300)] 
lib-http: client: Assertion in http_client_queue_fail() was wrong.
It is not guaranteed that all queue lists are empty, because new requests
can be submitted from the callbacks. Changed this into a proper invariant
check, which asserts tbat the number of requests in sub-queues add up to
the total number in the main queue.

10 years agolib-http: client: Clear req->conn when request is finished.
Stephan Bosch [Thu, 23 Oct 2014 02:55:51 +0000 (05:55 +0300)] 
lib-http: client: Clear req->conn when request is finished.
This prevents a spurious assert failure.

10 years agolib-index: Detect broken log_file_tail_offset updates without assert-crashing.
Timo Sirainen [Thu, 23 Oct 2014 02:04:37 +0000 (05:04 +0300)] 
lib-index: Detect broken log_file_tail_offset updates without assert-crashing.

10 years agodsync: Fixed assert-crash / memory leak on error handling path.
Timo Sirainen [Thu, 23 Oct 2014 01:16:48 +0000 (04:16 +0300)] 
dsync: Fixed assert-crash / memory leak on error handling path.

10 years agolib-storage: Make sure mailbox names are valid UTF-8 with LAYOUT=index
Timo Sirainen [Thu, 23 Oct 2014 00:10:12 +0000 (03:10 +0300)] 
lib-storage: Make sure mailbox names are valid UTF-8 with LAYOUT=index

10 years agoreplication plugin: Use low priority for mail copying operations.
Timo Sirainen [Wed, 22 Oct 2014 21:15:23 +0000 (14:15 -0700)] 
replication plugin: Use low priority for mail copying operations.

10 years agolib: Added unit tests for guid_128_*()
Timo Sirainen [Wed, 22 Oct 2014 02:40:44 +0000 (05:40 +0300)] 
lib: Added unit tests for guid_128_*()

10 years agolib: Added guid_128_copy()
Timo Sirainen [Tue, 21 Oct 2014 23:59:22 +0000 (02:59 +0300)] 
lib: Added guid_128_copy()

10 years agolib-http: client: If peer is unlinked from queue and no other links remain, close...
Stephan Bosch [Tue, 21 Oct 2014 20:34:50 +0000 (23:34 +0300)] 
lib-http: client: If peer is unlinked from queue and no other links remain, close any pending connections.
Those pending connections would no longer serve any purpose.

10 years agolib-storage: LAYOUT=index no longer keeps list index locked while creating mailbox.
Timo Sirainen [Tue, 21 Oct 2014 02:46:22 +0000 (05:46 +0300)] 
lib-storage: LAYOUT=index no longer keeps list index locked while creating mailbox.
Mailbox opening can be slow and complicated and could even try to lock the
list index again. So it's a bit more racy now, but all mailbox formats can
already handle races with mailbox creation.

10 years agolib-storage: Partially reverted previous change. Added mailbox_list_index_sync_delete...
Timo Sirainen [Tue, 21 Oct 2014 02:44:09 +0000 (05:44 +0300)] 
lib-storage: Partially reverted previous change. Added mailbox_list_index_sync_delete() instead.

10 years agolib-storage: Added mailbox_list_index_delete_entry()
Timo Sirainen [Tue, 21 Oct 2014 00:58:56 +0000 (03:58 +0300)] 
lib-storage: Added mailbox_list_index_delete_entry()

10 years agolib: test-buffer was randomly crashing with SIGFPE
Timo Sirainen [Mon, 20 Oct 2014 23:48:20 +0000 (02:48 +0300)] 
lib: test-buffer was randomly crashing with SIGFPE

10 years agolib-http: client: Created list of all submitted requests.
Stephan Bosch [Mon, 20 Oct 2014 15:54:27 +0000 (08:54 -0700)] 
lib-http: client: Created list of all submitted requests.
Currently only needed to improve debugging of hanging requests.

10 years agolib-http: client: Fixed behavior of connection backoff timer when multiple IPs are...
Stephan Bosch [Mon, 20 Oct 2014 15:54:27 +0000 (08:54 -0700)] 
lib-http: client: Fixed behavior of connection backoff timer when multiple IPs are returned for hostname.
Peer backoff data was lost because peer was destroyed quickly. Now the peer
object is retained during the backoff period, so that new connection
attempts adhere to the backoff period.

10 years agolib-http: client: Connection erroneously indicated that it was ready while SSL handsh...
Stephan Bosch [Mon, 20 Oct 2014 15:54:27 +0000 (08:54 -0700)] 
lib-http: client: Connection erroneously indicated that it was ready while SSL handshake was not yet completed.

10 years agolib-http: client: Fixed behavior for max_connect_attempts with fewer IPs than attempts.
Stephan Bosch [Mon, 20 Oct 2014 15:54:27 +0000 (08:54 -0700)] 
lib-http: client: Fixed behavior for max_connect_attempts with fewer IPs than attempts.
This was broken by earlier 'fix'.

10 years agolib-http: client: Fixed handling of connection timeouts.
Stephan Bosch [Mon, 20 Oct 2014 15:54:26 +0000 (08:54 -0700)] 
lib-http: client: Fixed handling of connection timeouts.
A timeout caused an assert failure, because the connection status was
altered before the peer_connection_failure handler was called.

10 years agoman: Reworked some formatting requests.
Pascal Volk [Sun, 19 Oct 2014 19:29:34 +0000 (19:29 +0000)] 
man: Reworked some formatting requests.

On some systems, for example SunOS 5.10, the example commands were cut off.

10 years agoimap, pop3, lmtp: If client gets disconnected due to iostream error, log the full...
Timo Sirainen [Sun, 19 Oct 2014 18:24:12 +0000 (11:24 -0700)] 
imap, pop3, lmtp: If client gets disconnected due to iostream error, log the full error.

10 years agodoveadm fetch: If istream reading fails, log a better error message.
Timo Sirainen [Fri, 17 Oct 2014 23:13:30 +0000 (02:13 +0300)] 
doveadm fetch: If istream reading fails, log a better error message.

10 years agolib-storage: When logging about corrupted cached message size, log the filename also.
Timo Sirainen [Fri, 17 Oct 2014 23:12:47 +0000 (02:12 +0300)] 
lib-storage: When logging about corrupted cached message size, log the filename also.

10 years agolib-storage: If we detect a broken cached message size, log more information about it.
Timo Sirainen [Fri, 17 Oct 2014 22:55:02 +0000 (01:55 +0300)] 
lib-storage: If we detect a broken cached message size, log more information about it.
Also try to include one of the cached headers in the message, which could
allow detecting if the cached data pointed to a completely different
message.

10 years agolib-lda: And fixed the earlier commit.
Timo Sirainen [Fri, 17 Oct 2014 17:02:54 +0000 (10:02 -0700)] 
lib-lda: And fixed the earlier commit.

10 years agolib-lda: duplicate_flush() now unlocks the duplicate database even if nothing had...
Timo Sirainen [Fri, 17 Oct 2014 16:59:21 +0000 (09:59 -0700)] 
lib-lda: duplicate_flush() now unlocks the duplicate database even if nothing had changed.

10 years agolib-storage: LAYOUT=index doesn't reserve '~' as internal separator anymore.
Timo Sirainen [Thu, 16 Oct 2014 15:19:03 +0000 (08:19 -0700)] 
lib-storage: LAYOUT=index doesn't reserve '~' as internal separator anymore.
The index doesn't reserve any character as hierarchy separator, so the
internal separator can change at any time. Use the namespace's configured
hierarchy separator as the internal separator to avoid reserving any
characters. If namespace separator isn't configured, fallback to the
original '~' so this change shouldn't break anything.

10 years agodoveconf: Changed _doveconf_comment symbol suffix to _doveconf_banner
Timo Sirainen [Thu, 16 Oct 2014 14:25:17 +0000 (07:25 -0700)] 
doveconf: Changed _doveconf_comment symbol suffix to _doveconf_banner
That describes its behavior better.

10 years agodoveconf: Allow settings plugins to print comments to the output header.
Timo Sirainen [Wed, 15 Oct 2014 14:37:05 +0000 (07:37 -0700)] 
doveconf: Allow settings plugins to print comments to the output header.
If plugin contains <plugin name>_doveconf_comment string, it's written as
part of the doveconf output. The idea mainly being that the major plugins
(such as Pigeonhole) could print their version number there to avoid having
to ask for it separately.