]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
12 years agoMemory leak fixes.
Timo Sirainen [Thu, 13 Jun 2013 00:26:22 +0000 (03:26 +0300)] 
Memory leak fixes.

12 years agozlib: Enable only for storages that support MAIL_STORAGE_CLASS_FLAG_BINARY_DATA
Timo Sirainen [Wed, 12 Jun 2013 20:01:26 +0000 (23:01 +0300)] 
zlib: Enable only for storages that support MAIL_STORAGE_CLASS_FLAG_BINARY_DATA

12 years agolib-storage: Added MAIL_STORAGE_CLASS_FLAG_BINARY_DATA flag for classes.
Timo Sirainen [Wed, 12 Jun 2013 19:58:42 +0000 (22:58 +0300)] 
lib-storage: Added MAIL_STORAGE_CLASS_FLAG_BINARY_DATA flag for classes.

12 years agopop3-migration: struct mailbox must be freed before mail_storage is destroyed.
Timo Sirainen [Wed, 12 Jun 2013 19:45:43 +0000 (22:45 +0300)] 
pop3-migration: struct mailbox must be freed before mail_storage is destroyed.
Fixes a memory leak where the user wasn't destroyed at all because the
mailbox still caused the user to be referenced.

12 years agolib-dict: Error handling fixes to asynchronous transactions.
Timo Sirainen [Wed, 12 Jun 2013 19:03:07 +0000 (22:03 +0300)] 
lib-dict: Error handling fixes to asynchronous transactions.

12 years agoMoved "INBOX can't be deleted" check from lib-storage to IMAP-specific code.
Timo Sirainen [Wed, 12 Jun 2013 18:41:09 +0000 (21:41 +0300)] 
Moved "INBOX can't be deleted" check from lib-storage to IMAP-specific code.
Especially "doveadm backup" should be able to delete the INBOX if needed.

12 years agolib-storage: Don't crash if backend doesn't have subscriptions file.
Timo Sirainen [Wed, 12 Jun 2013 18:25:09 +0000 (21:25 +0300)] 
lib-storage: Don't crash if backend doesn't have subscriptions file.

12 years agopop3c: Don't assert-crash if we can't do DNS lookup.
Timo Sirainen [Wed, 12 Jun 2013 18:16:06 +0000 (21:16 +0300)] 
pop3c: Don't assert-crash if we can't do DNS lookup.

12 years agopop3c: Return Date: header's date also as received and saved date.
Timo Sirainen [Wed, 12 Jun 2013 13:43:41 +0000 (16:43 +0300)] 
pop3c: Return Date: header's date also as received and saved date.
Mainly to get dsync to not fail.

12 years agopop3c: Allow mailbox_update() for Dovecot's internal fields.
Timo Sirainen [Wed, 12 Jun 2013 13:29:17 +0000 (16:29 +0300)] 
pop3c: Allow mailbox_update() for Dovecot's internal fields.

12 years agopop3c: Don't assert-crash when trying to list subscriptions.
Timo Sirainen [Wed, 12 Jun 2013 13:27:47 +0000 (16:27 +0300)] 
pop3c: Don't assert-crash when trying to list subscriptions.

12 years agopop3c: Give GUID to the INBOX to avoid crashes with dsync.
Timo Sirainen [Wed, 12 Jun 2013 13:20:19 +0000 (16:20 +0300)] 
pop3c: Give GUID to the INBOX to avoid crashes with dsync.

12 years agozlib plugin: Removed explicit checks for maildir/sdbox/mdbox.
Timo Sirainen [Wed, 12 Jun 2013 01:44:11 +0000 (04:44 +0300)] 
zlib plugin: Removed explicit checks for maildir/sdbox/mdbox.

12 years agoman: Recent change accidentally changed LGPLv2.1 -> LGPLv2.2, reverted.
Timo Sirainen [Sun, 9 Jun 2013 18:06:49 +0000 (21:06 +0300)] 
man: Recent change accidentally changed LGPLv2.1 -> LGPLv2.2, reverted.

12 years agoacl: Crashfix
Timo Sirainen [Sun, 9 Jun 2013 11:56:36 +0000 (14:56 +0300)] 
acl: Crashfix

12 years agolib-storage: Fixed crashes caused by recent "multiple storages per namespace" change.
Timo Sirainen [Sun, 9 Jun 2013 11:53:31 +0000 (14:53 +0300)] 
lib-storage: Fixed crashes caused by recent "multiple storages per namespace" change.

12 years agoimap/pop3-login: Use libsasl for authenticating to remote IMAP/POP3 server.
Timo Sirainen [Sun, 9 Jun 2013 03:03:34 +0000 (06:03 +0300)] 
imap/pop3-login: Use libsasl for authenticating to remote IMAP/POP3 server.
Also passdb lookup can return "proxy_mech" extra field to specify which SASL
mechanism to use.

12 years agoAdded initial libsasl for implementing client side SASL library.
Timo Sirainen [Sun, 9 Jun 2013 03:02:14 +0000 (06:02 +0300)] 
Added initial libsasl for implementing client side SASL library.
Initially supports PLAIN and LOGIN mechanisms.

12 years agofts-lucene: Support normalize setting also without snowball. Added no_snowball setting.
Timo Sirainen [Sun, 9 Jun 2013 00:10:43 +0000 (03:10 +0300)] 
fts-lucene: Support normalize setting also without snowball. Added no_snowball setting.
Snowball seems to be converting / breaking words down rather annoyingly.

12 years agoman pages: Updated v2.1 -> v2.2
Timo Sirainen [Sat, 8 Jun 2013 23:49:48 +0000 (02:49 +0300)] 
man pages: Updated v2.1 -> v2.2

12 years agolib-http: Added soft_connect_timeout_msecs setting to connect to multiple IPs in...
Timo Sirainen [Sat, 8 Jun 2013 23:46:50 +0000 (02:46 +0300)] 
lib-http: Added soft_connect_timeout_msecs setting to connect to multiple IPs in parallel.
Based on patch by Stephan Bosch.

12 years agolib-http: If connect to peer failed, don't recreate a new connection to handle pendin...
Timo Sirainen [Sat, 8 Jun 2013 23:08:24 +0000 (02:08 +0300)] 
lib-http: If connect to peer failed, don't recreate a new connection to handle pending requests.
The new connection would very likely fail as well. Another peer for the host
should pick up the requests.

12 years agolib-storage: Added mailbox { driver } setting to specify which storage to use.
Timo Sirainen [Sat, 8 Jun 2013 21:48:14 +0000 (00:48 +0300)] 
lib-storage: Added mailbox { driver } setting to specify which storage to use.

12 years agolib-storage: Added support for multiple storages per namespace.
Timo Sirainen [Sat, 8 Jun 2013 21:46:06 +0000 (00:46 +0300)] 
lib-storage: Added support for multiple storages per namespace.

12 years agoimapc: imapc_storage no longer requires imapc_mailbox_list.
Timo Sirainen [Sat, 8 Jun 2013 21:42:36 +0000 (00:42 +0300)] 
imapc: imapc_storage no longer requires imapc_mailbox_list.

12 years agoauth: If worker request has been queued for 60 secs, abort it.
Timo Sirainen [Sat, 8 Jun 2013 21:06:42 +0000 (00:06 +0300)] 
auth: If worker request has been queued for 60 secs, abort it.

12 years agoauth: Don't crash in non-plaintext auth if master user login is tried without master...
Timo Sirainen [Fri, 7 Jun 2013 19:06:24 +0000 (22:06 +0300)] 
auth: Don't crash in non-plaintext auth if master user login is tried without master passdbs.

12 years agoimap-login: If PLAIN mechanism is disabled, advertise LOGINDISABLED always.
Timo Sirainen [Fri, 7 Jun 2013 17:12:15 +0000 (20:12 +0300)] 
imap-login: If PLAIN mechanism is disabled, advertise LOGINDISABLED always.

12 years agovar_expand(): Fixed initializing variable to %N
Timo Sirainen [Thu, 6 Jun 2013 13:43:01 +0000 (16:43 +0300)] 
var_expand(): Fixed initializing variable to %N

12 years agovar_expand*(): Added small unit tests for %H and %N
Timo Sirainen [Thu, 6 Jun 2013 09:42:34 +0000 (12:42 +0300)] 
var_expand*(): Added small unit tests for %H and %N

12 years agovar_expand*(): Fixed %N to work the same with little and big endian CPUs.
Timo Sirainen [Thu, 6 Jun 2013 09:36:30 +0000 (12:36 +0300)] 
var_expand*(): Fixed %N to work the same with little and big endian CPUs.
Also use 64bit integer to do the MOD from, which should give somewhat better
value distribution than with 32bit.

12 years agolib-imap-client: When switching ioloops, do it also for the DNS lookup.
Timo Sirainen [Thu, 6 Jun 2013 09:24:27 +0000 (12:24 +0300)] 
lib-imap-client: When switching ioloops, do it also for the DNS lookup.

12 years agolib-imap-client: Make sure DNS lookups get aborted at disconnect.
Timo Sirainen [Thu, 6 Jun 2013 09:21:14 +0000 (12:21 +0300)] 
lib-imap-client: Make sure DNS lookups get aborted at disconnect.

12 years agolib-imap-client: Don't start another DNS lookup if there's already one ongoing.
Timo Sirainen [Thu, 6 Jun 2013 09:20:54 +0000 (12:20 +0300)] 
lib-imap-client: Don't start another DNS lookup if there's already one ongoing.

12 years agoAvoid using mail_namespace.storage directly.
Timo Sirainen [Thu, 6 Jun 2013 08:40:27 +0000 (11:40 +0300)] 
Avoid using mail_namespace.storage directly.

12 years agolib-storage: Renamed mailbox_list_get_closest_storage() to ..._get_default_storage()
Timo Sirainen [Thu, 6 Jun 2013 08:16:05 +0000 (11:16 +0300)] 
lib-storage: Renamed mailbox_list_get_closest_storage() to ..._get_default_storage()
This function wasn't previously used by anyone.

12 years agoimapc: Minor code cleanup
Timo Sirainen [Thu, 6 Jun 2013 07:55:27 +0000 (10:55 +0300)] 
imapc: Minor code cleanup

12 years agoimapc: If imapc isn't the inbox=yes namespace, do the login and initial LIST in backg...
Timo Sirainen [Thu, 6 Jun 2013 07:52:14 +0000 (10:52 +0300)] 
imapc: If imapc isn't the inbox=yes namespace, do the login and initial LIST in background.

12 years agolib-imap-client: When server sends BYE before disconnection, log it as the reason.
Timo Sirainen [Thu, 6 Jun 2013 06:47:39 +0000 (09:47 +0300)] 
lib-imap-client: When server sends BYE before disconnection, log it as the reason.

12 years agoimapc: When deleting a mailbox, unselect the current one just in case they're the...
Timo Sirainen [Thu, 6 Jun 2013 05:57:13 +0000 (08:57 +0300)] 
imapc: When deleting a mailbox, unselect the current one just in case they're the same.

12 years agolib-imap-client: Added support for UNSELECT capability.
Timo Sirainen [Thu, 6 Jun 2013 05:56:19 +0000 (08:56 +0300)] 
lib-imap-client: Added support for UNSELECT capability.

12 years agolib-imap-client: If SELECT/EXAMINE fails, set the connection as not being selected.
Timo Sirainen [Thu, 6 Jun 2013 05:56:07 +0000 (08:56 +0300)] 
lib-imap-client: If SELECT/EXAMINE fails, set the connection as not being selected.

12 years agoimapc: Index dirs were being wrongly deleted when imapc_list_prefix was set.
Timo Sirainen [Thu, 6 Jun 2013 03:55:34 +0000 (06:55 +0300)] 
imapc: Index dirs were being wrongly deleted when imapc_list_prefix was set.

12 years agolib-http: Treat connect() timeouts as retryable errors.
Timo Sirainen [Thu, 6 Jun 2013 03:32:58 +0000 (06:32 +0300)] 
lib-http: Treat connect() timeouts as retryable errors.

12 years agolib-http: Fixed previous patch setting connection connected only after SSL handshake.
Timo Sirainen [Thu, 6 Jun 2013 02:58:16 +0000 (05:58 +0300)] 
lib-http: Fixed previous patch setting connection connected only after SSL handshake.
This just caused crashes. The main point was anyway to include the SSL
handshake as part of the connect_timeout_msecs. Apparently the easiest way
is to set it immediately connected and delay removing the timeout.

12 years agodsync: Set broken_char to a control char, so invalid mailbox names are handled properly.
Timo Sirainen [Wed, 5 Jun 2013 15:21:55 +0000 (18:21 +0300)] 
dsync: Set broken_char to a control char, so invalid mailbox names are handled properly.
The dsync will now fail if there are invalid mailbox names (e.g. valid UTF8
when they should have been mUTF7), instead of simply printing "mailbox
doesn't exist" error and exiting with 0.

12 years agolib-storage: mailbox_list_settings.broken_char wasn't escaping 8bit chars correctly.
Timo Sirainen [Wed, 5 Jun 2013 15:15:22 +0000 (18:15 +0300)] 
lib-storage: mailbox_list_settings.broken_char wasn't escaping 8bit chars correctly.

12 years agolib-imap: Make sure imap_utf7_to_utf8() doesn't access invalid input string out of...
Timo Sirainen [Wed, 5 Jun 2013 14:49:46 +0000 (17:49 +0300)] 
lib-imap: Make sure imap_utf7_to_utf8() doesn't access invalid input string out of bounds.

12 years agolib-imap: Added imap_utf7_is_valid()
Timo Sirainen [Wed, 5 Jun 2013 14:48:48 +0000 (17:48 +0300)] 
lib-imap: Added imap_utf7_is_valid()

12 years agodsync: If unexpected changes happened during sync, log a warning and exit with code 2.
Timo Sirainen [Wed, 5 Jun 2013 14:14:49 +0000 (17:14 +0300)] 
dsync: If unexpected changes happened during sync, log a warning and exit with code 2.
This was done by v2.1 dsync, but the code got temporarily lost in v2.2.

12 years agolib-http: After peer has received 100 response, don't add ambiguity timeout anymore.
Timo Sirainen [Wed, 5 Jun 2013 13:40:01 +0000 (16:40 +0300)] 
lib-http: After peer has received 100 response, don't add ambiguity timeout anymore.
The server should be sending the 100 responses then, and long delays
shouldn't be confused with them being missing.

12 years agolib-http: When receiving 1xx response while waiting for 100, don't restart timeout.
Timo Sirainen [Wed, 5 Jun 2013 13:28:16 +0000 (16:28 +0300)] 
lib-http: When receiving 1xx response while waiting for 100, don't restart timeout.
The 100 response is missing only from HTTP/1.0 requests, which also didn't
allow any 1xx responses. So if a 1xx response is returned, a 100 response is
definitely also coming.

12 years agolib-http: Added connect and request timeout settings.
Timo Sirainen [Wed, 5 Jun 2013 13:19:38 +0000 (16:19 +0300)] 
lib-http: Added connect and request timeout settings.

12 years agolib-http: Mark the HTTP connection connected only after SSL handshake is finished.
Timo Sirainen [Wed, 5 Jun 2013 12:43:42 +0000 (15:43 +0300)] 
lib-http: Mark the HTTP connection connected only after SSL handshake is finished.

12 years agolib-http: Don't create a new HTTP connection when there is already one connecting.
Timo Sirainen [Wed, 5 Jun 2013 12:08:59 +0000 (15:08 +0300)] 
lib-http: Don't create a new HTTP connection when there is already one connecting.

12 years agolda/lmtp: If mail delivery fails with tempfail, don't fallback to saving to INBOX.
Timo Sirainen [Sat, 1 Jun 2013 14:17:47 +0000 (17:17 +0300)] 
lda/lmtp: If mail delivery fails with tempfail, don't fallback to saving to INBOX.

12 years agolib-index: Avoid memcpy()ing data over itself.
Timo Sirainen [Sat, 1 Jun 2013 14:11:55 +0000 (17:11 +0300)] 
lib-index: Avoid memcpy()ing data over itself.

12 years agolib-fs: If fs_default_copy() fails, close the copy stream immediately.
Timo Sirainen [Sat, 1 Jun 2013 14:08:19 +0000 (17:08 +0300)] 
lib-fs: If fs_default_copy() fails, close the copy stream immediately.
The stream's origin may already be freed by the time the fs_file_close() is
trying to close the stream.

12 years agolmtp: Give the DATA input stream a name, so the raw mailbox gets a name and doesn...
Timo Sirainen [Sat, 1 Jun 2013 12:33:58 +0000 (15:33 +0300)] 
lmtp: Give the DATA input stream a name, so the raw mailbox gets a name and doesn't fail.

12 years agoimapc: If imapc_list_prefix is set, don't skip it in filesystem paths.
Timo Sirainen [Sat, 1 Jun 2013 01:17:40 +0000 (04:17 +0300)] 
imapc: If imapc_list_prefix is set, don't skip it in filesystem paths.
Most importantly this fixes the index path when accessing the
imapc_list_prefix mailbox itself (so the indexes won't be in the mail root
dir, where they don't get deleted when mailbox is deleted).

12 years agolib-storage: If mailbox autocreate fails with "already exists", ignore the error.
Timo Sirainen [Sat, 1 Jun 2013 01:06:48 +0000 (04:06 +0300)] 
lib-storage: If mailbox autocreate fails with "already exists", ignore the error.
This check was supposed to have been already there, but it was checking for
the wrong error.

12 years agoimapc: Return correct mailbox list flags for the imapc prefix mailbox itself.
Timo Sirainen [Sat, 1 Jun 2013 00:48:07 +0000 (03:48 +0300)] 
imapc: Return correct mailbox list flags for the imapc prefix mailbox itself.

12 years agoimapc: Allow accessing the imapc_list_prefix itself.
Timo Sirainen [Sat, 1 Jun 2013 00:37:21 +0000 (03:37 +0300)] 
imapc: Allow accessing the imapc_list_prefix itself.

12 years agoimapc: Fixed mailbox deletion.
Timo Sirainen [Sat, 1 Jun 2013 00:20:15 +0000 (03:20 +0300)] 
imapc: Fixed mailbox deletion.

12 years agoimapc: Don't assert-crash when trying to access imapc_list_prefix itself.
Timo Sirainen [Sat, 1 Jun 2013 00:06:54 +0000 (03:06 +0300)] 
imapc: Don't assert-crash when trying to access imapc_list_prefix itself.

12 years agolib-imap-client: Ask CAPABILITY again after STARTTLS
Timo Sirainen [Fri, 31 May 2013 23:56:57 +0000 (02:56 +0300)] 
lib-imap-client: Ask CAPABILITY again after STARTTLS

12 years agolib-storage: Empty mailbox name isn't valid.
Timo Sirainen [Fri, 31 May 2013 23:56:25 +0000 (02:56 +0300)] 
lib-storage: Empty mailbox name isn't valid.

12 years agoMake sure errno is preserved in non-delayed signal handlers.
Timo Sirainen [Fri, 31 May 2013 23:25:54 +0000 (02:25 +0300)] 
Make sure errno is preserved in non-delayed signal handlers.
The current code didn't have any signal handlers that modified errno, so
this doesn't fix any bugs.

12 years agoimapc: Changed imapc_user setting's default to empty.
Timo Sirainen [Fri, 31 May 2013 14:36:45 +0000 (17:36 +0300)] 
imapc: Changed imapc_user setting's default to empty.

12 years agoimapc: Empty imapc_user expands to namespace's owner, or with public namespaces to...
Timo Sirainen [Fri, 31 May 2013 14:36:19 +0000 (17:36 +0300)] 
imapc: Empty imapc_user expands to namespace's owner, or with public namespaces to user itself.
The main idea is that with shared namespaces it now expands to the shared
username, allowing shared mailbox access via imapc.

12 years agolib-imap-client: Connect and command timeouts are now configurable.
Timo Sirainen [Fri, 31 May 2013 14:05:13 +0000 (17:05 +0300)] 
lib-imap-client: Connect and command timeouts are now configurable.
Also use the same connect timeout for the DNS lookup's timeout.

12 years agoimap: URLFETCH's URL callback would prematurely uncork the output stream when called...
Stephan Bosch [Thu, 30 May 2013 23:29:49 +0000 (02:29 +0300)] 
imap: URLFETCH's URL callback would prematurely uncork the output stream when called for a local URL.

12 years agoimap: URLFETCH's tagged reply wasn't sent while TCP corked.
Timo Sirainen [Thu, 30 May 2013 19:44:54 +0000 (22:44 +0300)] 
imap: URLFETCH's tagged reply wasn't sent while TCP corked.

12 years agoauth: Fixed error handling for proxy host dns_lookup()
Timo Sirainen [Thu, 30 May 2013 19:27:57 +0000 (22:27 +0300)] 
auth: Fixed error handling for proxy host dns_lookup()

12 years agoReverted previous wrong commit.
Timo Sirainen [Thu, 30 May 2013 19:27:23 +0000 (22:27 +0300)] 
Reverted previous wrong commit.

12 years agoauth: Fixed error handling for proxy host dns_lookup()
Timo Sirainen [Thu, 30 May 2013 19:26:14 +0000 (22:26 +0300)] 
auth: Fixed error handling for proxy host dns_lookup()

12 years agolayout=index: Allow mailbox create/delete/rename during mailbox list iteration.
Timo Sirainen [Thu, 30 May 2013 18:45:13 +0000 (21:45 +0300)] 
layout=index: Allow mailbox create/delete/rename during mailbox list iteration.

12 years agolib-index: Fixed a broken assert.
Timo Sirainen [Thu, 30 May 2013 16:03:05 +0000 (19:03 +0300)] 
lib-index: Fixed a broken assert.

12 years agolib-imap-urlauth: Added API for using the fetch interface with an already parsed...
Stephan Bosch [Thu, 30 May 2013 15:04:58 +0000 (18:04 +0300)] 
lib-imap-urlauth: Added API for using the fetch interface with an already parsed IMAP URL object.

12 years agoimap: Fixed segfault in URLFETCH command.
Stephan Bosch [Thu, 30 May 2013 15:04:52 +0000 (18:04 +0300)] 
imap: Fixed segfault in URLFETCH command.
Command would be cleaned up while requests were still pending, causing a
segfault once a request finished. Added API determining whether the URLAUTH
fetch interface still has pending requests.

12 years agolib-imap-urlauth: Fixed handling of URLAUTH service connection resume after pending...
Stephan Bosch [Thu, 30 May 2013 15:04:17 +0000 (18:04 +0300)] 
lib-imap-urlauth: Fixed handling of URLAUTH service connection resume after pending local request.
This was erroneously removed in an earlier commit.

12 years agolib-imap-urlauth: Fixed pending_request counter difference between locally and remote...
Stephan Bosch [Thu, 30 May 2013 15:04:10 +0000 (18:04 +0300)] 
lib-imap-urlauth: Fixed pending_request counter difference between locally and remotely fetched URLAUTHs.

12 years agolib-imap-urlauth: Fixed URLAUTH fetch reference counting for when requests are aborte...
Stephan Bosch [Thu, 30 May 2013 15:03:53 +0000 (18:03 +0300)] 
lib-imap-urlauth: Fixed URLAUTH fetch reference counting for when requests are aborted at deinit.

12 years agolib-imap-urlauth: Fixed URLAUTH connection resume after error.
Stephan Bosch [Thu, 30 May 2013 15:03:46 +0000 (18:03 +0300)] 
lib-imap-urlauth: Fixed URLAUTH connection resume after error.

12 years agolib-imap-urlauth: Made sure callbacks from URLAUTH service connection are executed...
Stephan Bosch [Thu, 30 May 2013 15:03:38 +0000 (18:03 +0300)] 
lib-imap-urlauth: Made sure callbacks from URLAUTH service connection are executed only once.

12 years agovar_expand(): Added %N, which is the same as %H except based on MD5.
Timo Sirainen [Thu, 30 May 2013 14:45:27 +0000 (17:45 +0300)] 
var_expand(): Added %N, which is the same as %H except based on MD5.
This gives a better distribution of values than %H.

12 years agolib-imap: imap_append_string_for_humans() returned broken output for whitespace-only...
Timo Sirainen [Wed, 29 May 2013 13:40:50 +0000 (16:40 +0300)] 
lib-imap: imap_append_string_for_humans() returned broken output for whitespace-only input.
This returned broken IMAP ENVELOPEs, especially for subjects that contained
only whitespace. Since the broken output returned a huge literal, it
basically caused the IMAP client to hang.

12 years agolib-settings: Support also "seconds" and "minutes" (instead of just secs/mins)
Timo Sirainen [Wed, 29 May 2013 09:44:15 +0000 (12:44 +0300)] 
lib-settings: Support also "seconds" and "minutes" (instead of just secs/mins)

12 years agodsync: Fixed dsync handshaking since recent change.
Timo Sirainen [Wed, 29 May 2013 09:33:17 +0000 (12:33 +0300)] 
dsync: Fixed dsync handshaking since recent change.

12 years agolib-index: Fixed mail_cache_lookup_headers() when fields were still in memory buffer.
Timo Sirainen [Wed, 29 May 2013 00:47:38 +0000 (03:47 +0300)] 
lib-index: Fixed mail_cache_lookup_headers() when fields were still in memory buffer.

12 years agolib-storage: If INDEX=MEMORY, return index root dir as nonexistent instead of as "".
Timo Sirainen [Wed, 29 May 2013 00:27:09 +0000 (03:27 +0300)] 
lib-storage: If INDEX=MEMORY, return index root dir as nonexistent instead of as "".

12 years agolib-storage: Reverted previous change after all.
Timo Sirainen [Wed, 29 May 2013 00:26:41 +0000 (03:26 +0300)] 
lib-storage: Reverted previous change after all.

12 years agolib-storage: Don't try to mkdir() empty directory with INDEX=MEMORY
Timo Sirainen [Wed, 29 May 2013 00:23:40 +0000 (03:23 +0300)] 
lib-storage: Don't try to mkdir() empty directory with INDEX=MEMORY

12 years agoFixed compiling with gcc v3.3 and older.
Timo Sirainen [Wed, 29 May 2013 00:18:04 +0000 (03:18 +0300)] 
Fixed compiling with gcc v3.3 and older.
Perhaps the check needs to be also for somewhat newer versions?..

12 years agoauth ldap: If ldap debug_level>0, log how long initialization took.
Timo Sirainen [Tue, 28 May 2013 15:18:45 +0000 (18:18 +0300)] 
auth ldap: If ldap debug_level>0, log how long initialization took.

12 years agoauth: Keep auth_request referenced during DNS lookup.
Timo Sirainen [Tue, 28 May 2013 14:30:42 +0000 (17:30 +0300)] 
auth: Keep auth_request referenced during DNS lookup.
If the underlying auth connection gets closed, there's nothing else
referencing the auth_request.

12 years agodoveadm-server: Pass local/remote_ip/port to passdb lookups so proxy_maybe works.
Timo Sirainen [Tue, 28 May 2013 14:10:03 +0000 (17:10 +0300)] 
doveadm-server: Pass local/remote_ip/port to passdb lookups so proxy_maybe works.

12 years agoauth: Fixed caching empty userdb result.
Timo Sirainen [Tue, 28 May 2013 13:30:38 +0000 (16:30 +0300)] 
auth: Fixed caching empty userdb result.

12 years agoauth: If blocking userdb returns no fields, don't crash when trying to cache the...
Timo Sirainen [Tue, 28 May 2013 13:30:19 +0000 (16:30 +0300)] 
auth: If blocking userdb returns no fields, don't crash when trying to cache the result.

12 years agolib-fs: Added fs_get_root_driver()
Timo Sirainen [Mon, 27 May 2013 22:03:58 +0000 (01:03 +0300)] 
lib-fs: Added fs_get_root_driver()