]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
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()

12 years agodbox: Don't cache pop3.uidl|order unless index header indicates there are those.
Timo Sirainen [Mon, 27 May 2013 18:03:14 +0000 (21:03 +0300)] 
dbox: Don't cache pop3.uidl|order unless index header indicates there are those.
They exist only when doing a migration, so it's pretty wasteful storing
"doesn't exist" for all other installations.

12 years agolib-index: Added mail_index_ext_resize_hdr()
Timo Sirainen [Mon, 27 May 2013 17:45:08 +0000 (20:45 +0300)] 
lib-index: Added mail_index_ext_resize_hdr()

12 years agolib-index: Fixed resizing header when old&new sizes were the same when aligned.
Timo Sirainen [Mon, 27 May 2013 17:44:56 +0000 (20:44 +0300)] 
lib-index: Fixed resizing header when old&new sizes were the same when aligned.

12 years agolib-index: Create ext-intro records using the latest sizes, not initial sizes.
Timo Sirainen [Mon, 27 May 2013 17:44:05 +0000 (20:44 +0300)] 
lib-index: Create ext-intro records using the latest sizes, not initial sizes.

12 years agodbox: Return cached pop3.order=0 as empty string instead to fix sorting problems.
Timo Sirainen [Mon, 27 May 2013 17:18:35 +0000 (20:18 +0300)] 
dbox: Return cached pop3.order=0 as empty string instead to fix sorting problems.

12 years agodsync: Added -x parameter to exclude mailboxes from sync.
Timo Sirainen [Sun, 26 May 2013 18:57:36 +0000 (21:57 +0300)] 
dsync: Added -x parameter to exclude mailboxes from sync.
Multiple -x parameters can be added. Giving \flag as parameter means that
the mailbox with the given SPECIAL-USE \flag is skipped. For example:

doveadm sync -x '\All' -x '\Flagged' -x '\Important' mdbox:~/mdbox

12 years agoimapc: Fixed assert-crash when copying messages.
Timo Sirainen [Sun, 26 May 2013 18:44:50 +0000 (21:44 +0300)] 
imapc: Fixed assert-crash when copying messages.

12 years agodsync: Small code cleanup.
Timo Sirainen [Sun, 26 May 2013 18:20:47 +0000 (21:20 +0300)] 
dsync: Small code cleanup.

12 years agoimapc: Pass through SPECIAL-USE LIST flags if imapc is in INBOX namespace.
Timo Sirainen [Sun, 26 May 2013 18:07:09 +0000 (21:07 +0300)] 
imapc: Pass through SPECIAL-USE LIST flags if imapc is in INBOX namespace.

12 years agodbox: Added support for POP3 message order.
Timo Sirainen [Sun, 26 May 2013 16:14:21 +0000 (19:14 +0300)] 
dbox: Added support for POP3 message order.

12 years agolib-index: mail_cache_lookup*() can now return fields recently added with mail_cache_...
Timo Sirainen [Sun, 26 May 2013 16:04:00 +0000 (19:04 +0300)] 
lib-index: mail_cache_lookup*() can now return fields recently added with mail_cache_add()
Previously it was returning them if they had already been written to
dovecot.index.cache, but not if they were still in the in-memory buffer.
This avoids caching/parsing the same field multiple times when messages
aren't accessed in ascending order (e.g. when sorting messages).

12 years agolib-http: Added ssl_cert|key|key_password settings to be passed to ssl-iostream.
Timo Sirainen [Thu, 23 May 2013 14:36:54 +0000 (17:36 +0300)] 
lib-http: Added ssl_cert|key|key_password settings to be passed to ssl-iostream.
These are used for sending client's SSL certificate.

12 years ago*-login: If ssl=required, don't list any SASL mechanisms before STARTTLS.
Timo Sirainen [Wed, 22 May 2013 12:59:38 +0000 (15:59 +0300)] 
*-login: If ssl=required, don't list any SASL mechanisms before STARTTLS.

12 years ago*-login: ssl=required should imply disable_plaintext_auth=yes
Timo Sirainen [Wed, 22 May 2013 12:57:13 +0000 (15:57 +0300)] 
*-login: ssl=required should imply disable_plaintext_auth=yes

12 years agolib-storage: Optimize SEARCH_MODSEQ query if it's higher than HIGHESTMODSEQ.
Timo Sirainen [Wed, 22 May 2013 12:44:05 +0000 (15:44 +0300)] 
lib-storage: Optimize SEARCH_MODSEQ query if it's higher than HIGHESTMODSEQ.

12 years agodsync: Fixed unsubscribing from mailbox within same session as the mailbox's deletion.
Timo Sirainen [Wed, 22 May 2013 12:16:22 +0000 (15:16 +0300)] 
dsync: Fixed unsubscribing from mailbox within same session as the mailbox's deletion.

12 years agodsync: Don't notify replicator process about successful dsync if the dsync failed.
Timo Sirainen [Wed, 22 May 2013 11:56:41 +0000 (14:56 +0300)] 
dsync: Don't notify replicator process about successful dsync if the dsync failed.

12 years ago*-login: If auth failed with a specified reason, the reason wasn't actually shown...
Timo Sirainen [Tue, 21 May 2013 19:57:06 +0000 (22:57 +0300)] 
*-login: If auth failed with a specified reason, the reason wasn't actually shown to client.

12 years agolib-imap-urlauth: Fixed deinitialization of the URLAUTH fetch handler.
Stephan Bosch [Tue, 21 May 2013 19:55:23 +0000 (22:55 +0300)] 
lib-imap-urlauth: Fixed deinitialization of the URLAUTH fetch handler.
Added reference counting to make sure callbacks will not deinitialize the
handler prematurely.