]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
11 years agolib-http: Fixed request hang on connect() timeout.
Timo Sirainen [Fri, 22 Nov 2013 22:00:43 +0000 (00:00 +0200)] 
lib-http: Fixed request hang on connect() timeout.

11 years agolib-storage: Don't do filesystem permission lookups if storage has no mailbox root...
Timo Sirainen [Fri, 22 Nov 2013 21:52:37 +0000 (23:52 +0200)] 
lib-storage: Don't do filesystem permission lookups if storage has no mailbox root dir.

11 years agodns: Don't idle-disconnect clients
Timo Sirainen [Fri, 22 Nov 2013 21:31:36 +0000 (23:31 +0200)] 
dns: Don't idle-disconnect clients
It's the job for the clients.

11 years agolib-dns: Fixed handling write() failure to dns-lookup server process.
Timo Sirainen [Fri, 22 Nov 2013 21:15:07 +0000 (23:15 +0200)] 
lib-dns: Fixed handling write() failure to dns-lookup server process.

11 years agohttp: Implemented delayed requests scheduling.
Stephan Bosch [Fri, 22 Nov 2013 20:12:08 +0000 (22:12 +0200)] 
http: Implemented delayed requests scheduling.
Requests can now be (re)submitted with a delay. The request is not sent
until the delay time expires. This facilitates handling the Retry-After
header in responses. This can either be performed automatically if the
indicated delay is not too long or explicitly by the code using lib-http.

11 years agohttp: Preparse Retry-After header if response status is 503 or 3xx.
Stephan Bosch [Fri, 22 Nov 2013 20:08:44 +0000 (22:08 +0200)] 
http: Preparse Retry-After header if response status is 503 or 3xx.

11 years agohttp-client: Improved handing of delayed request errors.
Stephan Bosch [Fri, 22 Nov 2013 20:08:20 +0000 (22:08 +0200)] 
http-client: Improved handing of delayed request errors.
Originally each request would have its own zero timeout, but now only one
timeout is put in the host object.

11 years agohttp-client: Changed struct http_client_host_port into a struct http_client_queue...
Stephan Bosch [Fri, 22 Nov 2013 20:07:41 +0000 (22:07 +0200)] 
http-client: Changed struct http_client_host_port into a struct http_client_queue object.
Peer and request objects now reference the queue object directly rather
than the host object. This way, there is no need to find the matching
host:port in the host anymore. This makes the queueing structure more
intuitive and more efficient. This is a first step towards support for
connecting to HTTP services through unix sockets or directing requests at
specific hosts (so not from the URL). This patch also fixes a potential
timeout leak (to_connect) in http_client_host_port (now http_client_queue)
and makes sure it is moved during switch_ioloop(). Finally it updates the
structure comment at the top of http-client.c.

11 years agoiostream-rawlog: Timestamp prefix is now optional.
Timo Sirainen [Fri, 22 Nov 2013 20:05:52 +0000 (22:05 +0200)] 
iostream-rawlog: Timestamp prefix is now optional.

11 years agoAdded mail-filter plugin.
Timo Sirainen [Fri, 22 Nov 2013 17:39:13 +0000 (19:39 +0200)] 
Added mail-filter plugin.

11 years agodoveadm acl debug: Improved output
Timo Sirainen [Fri, 22 Nov 2013 17:32:06 +0000 (19:32 +0200)] 
doveadm acl debug: Improved output

11 years agoostream: Don't mark the stream closed too early after all.
Timo Sirainen [Fri, 22 Nov 2013 11:47:36 +0000 (13:47 +0200)] 
ostream: Don't mark the stream closed too early after all.
Use another flag instead to avoid losing the last data written to the stream
before closing.

11 years agolib-storage: Improved EACCES error messages for some stat() calls
Timo Sirainen [Thu, 21 Nov 2013 21:02:33 +0000 (23:02 +0200)] 
lib-storage: Improved EACCES error messages for some stat() calls

11 years agodoveadm: Added "fs metadata" command
Timo Sirainen [Wed, 20 Nov 2013 21:29:13 +0000 (23:29 +0200)] 
doveadm: Added "fs metadata" command

11 years agodsync: Fix to 128bit GUID syncing
Timo Sirainen [Wed, 20 Nov 2013 20:20:06 +0000 (22:20 +0200)] 
dsync: Fix to 128bit GUID syncing

11 years agodsync: have_only_guid128 was never actually being set.
Timo Sirainen [Wed, 20 Nov 2013 19:25:19 +0000 (21:25 +0200)] 
dsync: have_only_guid128 was never actually being set.

11 years agolib-storage: mail_get_headers*() returned only the first header from cache.
Timo Sirainen [Wed, 20 Nov 2013 13:07:26 +0000 (15:07 +0200)] 
lib-storage: mail_get_headers*() returned only the first header from cache.

11 years agolib-storage: mail_get_*header*() still didn't handle cached values correctly.
Timo Sirainen [Wed, 20 Nov 2013 12:50:53 +0000 (14:50 +0200)] 
lib-storage: mail_get_*header*() still didn't handle cached values correctly.
If header ends with ":", the ":" shouldn't be returned as part of the value.

11 years agolib-storage: mail_get_*header*() were unnecessarily looking up the headers twice.
Timo Sirainen [Wed, 20 Nov 2013 12:38:55 +0000 (14:38 +0200)] 
lib-storage: mail_get_*header*() were unnecessarily looking up the headers twice.

11 years agolib-storage: mail_get_*header*() didn't remove leading whitespace for headers from...
Timo Sirainen [Wed, 20 Nov 2013 12:37:44 +0000 (14:37 +0200)] 
lib-storage: mail_get_*header*() didn't remove leading whitespace for headers from cache.
But it was removed when the headers were found by parsing the full header.

11 years agoAdded signature for changeset 095a777edc26
Timo Sirainen [Tue, 19 Nov 2013 21:18:11 +0000 (23:18 +0200)] 
Added signature for changeset 095a777edc26

11 years agoAdded tag 2.2.8 for changeset 095a777edc26
Timo Sirainen [Tue, 19 Nov 2013 21:18:01 +0000 (23:18 +0200)] 
Added tag 2.2.8 for changeset 095a777edc26

11 years agoReleased v2.2.8. 2.2.8
Timo Sirainen [Tue, 19 Nov 2013 21:18:01 +0000 (23:18 +0200)] 
Released v2.2.8.

11 years agoauth: Fixed potential crash.
Timo Sirainen [Tue, 19 Nov 2013 21:17:07 +0000 (23:17 +0200)] 
auth: Fixed potential crash.

11 years agolmtp: Make sure output is flushed before disconnection.
Timo Sirainen [Tue, 19 Nov 2013 15:21:21 +0000 (17:21 +0200)] 
lmtp: Make sure output is flushed before disconnection.

11 years agolib-storage: Error handling fix for layout=index when mailbox creation fails.
Timo Sirainen [Tue, 19 Nov 2013 14:13:12 +0000 (16:13 +0200)] 
lib-storage: Error handling fix for layout=index when mailbox creation fails.

11 years agodoveadm user: Fixed now printing with a non-default formatter
Timo Sirainen [Mon, 18 Nov 2013 14:26:31 +0000 (16:26 +0200)] 
doveadm user: Fixed now printing with a non-default formatter

11 years agodoveadm user: Fixed printing multiple users
Timo Sirainen [Mon, 18 Nov 2013 14:23:42 +0000 (16:23 +0200)] 
doveadm user: Fixed printing multiple users

11 years agodoveadm auth/user: Fixes to auth_socket_path handling.
Timo Sirainen [Mon, 18 Nov 2013 14:18:53 +0000 (16:18 +0200)] 
doveadm auth/user: Fixes to auth_socket_path handling.
doveadm user (without -u parameter) was ignoring "-a" parameter entirely.
Others weren't using auth_socket_path setting.

11 years agolib-storage: Added mail_storage_service_set_auth_conn()
Timo Sirainen [Mon, 18 Nov 2013 14:15:38 +0000 (16:15 +0200)] 
lib-storage: Added mail_storage_service_set_auth_conn()

11 years agodoveadm user: Fixed looking up multiple users when they had different UIDs
Timo Sirainen [Mon, 18 Nov 2013 13:46:46 +0000 (15:46 +0200)] 
doveadm user: Fixed looking up multiple users when they had different UIDs

11 years agoman: Added doveadm-batch.1.
Pascal Volk [Sun, 17 Nov 2013 16:58:20 +0000 (16:58 +0000)] 
man: Added doveadm-batch.1.

11 years agodsync: Support syncing storages with 128bit GUIDs <-> string GUIDs.
Timo Sirainen [Sun, 17 Nov 2013 15:59:05 +0000 (17:59 +0200)] 
dsync: Support syncing storages with 128bit GUIDs <-> string GUIDs.

11 years agolib-storage: Fixed memory leak in mail_add_temp_wanted_fields()
Timo Sirainen [Sun, 17 Nov 2013 15:15:42 +0000 (17:15 +0200)] 
lib-storage: Fixed memory leak in mail_add_temp_wanted_fields()

11 years agoimapc: Merge identical FETCH commands together (only updating UID range)
Timo Sirainen [Sun, 17 Nov 2013 14:59:33 +0000 (16:59 +0200)] 
imapc: Merge identical FETCH commands together (only updating UID range)

11 years agodsync: Tell search that we want to fetch mail streams so prefetching works.
Timo Sirainen [Sun, 17 Nov 2013 14:58:42 +0000 (16:58 +0200)] 
dsync: Tell search that we want to fetch mail streams so prefetching works.

11 years agodsync: Set wanted_fields/headers for the whole search request when possible.
Timo Sirainen [Sun, 17 Nov 2013 14:11:31 +0000 (16:11 +0200)] 
dsync: Set wanted_fields/headers for the whole search request when possible.

11 years agoimapc: Avoid sending unnecessary IDLEs that are immediately aborted.
Timo Sirainen [Sun, 17 Nov 2013 13:13:58 +0000 (15:13 +0200)] 
imapc: Avoid sending unnecessary IDLEs that are immediately aborted.

11 years agolib-imap-client: Don't reset timeout while waiting for IDLE DONE reply.
Timo Sirainen [Sun, 17 Nov 2013 13:03:31 +0000 (15:03 +0200)] 
lib-imap-client: Don't reset timeout while waiting for IDLE DONE reply.

11 years agolib-imap-client: Make sure command timeout is used also for IDLE DONE.
Timo Sirainen [Sun, 17 Nov 2013 12:04:22 +0000 (14:04 +0200)] 
lib-imap-client: Make sure command timeout is used also for IDLE DONE.

11 years agoAdded io_loop_add/remove_switch_callback() to call a callback when ioloop is changed.
Timo Sirainen [Sat, 16 Nov 2013 23:04:50 +0000 (01:04 +0200)] 
Added io_loop_add/remove_switch_callback() to call a callback when ioloop is changed.

11 years agolib-imap-client: Don't send NOOP if we're still waiting for a command reply.
Timo Sirainen [Sat, 16 Nov 2013 23:01:50 +0000 (01:01 +0200)] 
lib-imap-client: Don't send NOOP if we're still waiting for a command reply.

11 years agolib-imap-client: Make sure command timeout is always set.
Timo Sirainen [Sat, 16 Nov 2013 22:59:39 +0000 (00:59 +0200)] 
lib-imap-client: Make sure command timeout is always set.

11 years agoimapc: Fixes to imapc_feature fetch-headers
Timo Sirainen [Sat, 16 Nov 2013 22:41:23 +0000 (00:41 +0200)] 
imapc: Fixes to imapc_feature fetch-headers

11 years agolib-index: Recent change broke cache transactions for more than 1 mail.
Timo Sirainen [Sat, 16 Nov 2013 19:58:31 +0000 (21:58 +0200)] 
lib-index: Recent change broke cache transactions for more than 1 mail.

11 years agoUse io_loop_set_current() instead of directly setting it.
Timo Sirainen [Sat, 16 Nov 2013 19:20:31 +0000 (21:20 +0200)] 
Use io_loop_set_current() instead of directly setting it.

11 years agodsync: Give hints to lib-storage about what fields we're going to fetch.
Timo Sirainen [Sat, 16 Nov 2013 19:17:56 +0000 (21:17 +0200)] 
dsync: Give hints to lib-storage about what fields we're going to fetch.

11 years agoimapc: When sending FETCH, always request also missing wanted_fields.
Timo Sirainen [Sat, 16 Nov 2013 18:10:27 +0000 (20:10 +0200)] 
imapc: When sending FETCH, always request also missing wanted_fields.
This avoids sending multiple FETCH commands when prefetch hadn't already
fetched everything.

11 years agoimapc: Avoid FETCH INTERNALDATE for getting save_date when we already know received_date.
Timo Sirainen [Sat, 16 Nov 2013 18:09:19 +0000 (20:09 +0200)] 
imapc: Avoid FETCH INTERNALDATE for getting save_date when we already know received_date.

11 years agoimapc: Don't send FETCHes for data that is already in cache.
Timo Sirainen [Sat, 16 Nov 2013 18:06:34 +0000 (20:06 +0200)] 
imapc: Don't send FETCHes for data that is already in cache.

11 years agoimapc: Crashfix for previous change
Timo Sirainen [Sat, 16 Nov 2013 17:41:07 +0000 (19:41 +0200)] 
imapc: Crashfix for previous change

11 years agoimapc: Added imapc_feature fetch-header.
Timo Sirainen [Sat, 16 Nov 2013 17:36:40 +0000 (19:36 +0200)] 
imapc: Added imapc_feature fetch-header.
It uses FETCH BODY.PEEK[HEADER.FIELDS (...)] whenever possible instead of
fetching the entire header.

11 years agolib-storage: API comment update
Timo Sirainen [Sat, 16 Nov 2013 17:35:10 +0000 (19:35 +0200)] 
lib-storage: API comment update

11 years agolib-index: Support a small in-memory cache even with INDEX=MEMORY
Timo Sirainen [Sat, 16 Nov 2013 17:34:57 +0000 (19:34 +0200)] 
lib-index: Support a small in-memory cache even with INDEX=MEMORY

11 years agolib-index: mail_cache_lookup*() can now finds also the latest mail_cache_add()ed...
Timo Sirainen [Sat, 16 Nov 2013 17:20:10 +0000 (19:20 +0200)] 
lib-index: mail_cache_lookup*() can now finds also the latest mail_cache_add()ed data.

11 years agoauth: Don't crash if passwd-file is used for authentication but it has no passwords.
Timo Sirainen [Sat, 16 Nov 2013 15:46:10 +0000 (17:46 +0200)] 
auth: Don't crash if passwd-file is used for authentication but it has no passwords.

11 years agoman: Added description for command `doveadm copy`.
Pascal Volk [Sat, 16 Nov 2013 14:06:32 +0000 (14:06 +0000)] 
man: Added description for command `doveadm copy`.

11 years agomail_attachment_*: Fixed "stream doesn't support seeking backwards" panic
Timo Sirainen [Fri, 8 Nov 2013 15:48:54 +0000 (17:48 +0200)] 
mail_attachment_*: Fixed "stream doesn't support seeking backwards" panic
Caused by recent changes.

11 years agolib-fs: Don't crash if istream-fs-file is closed without never being read.
Timo Sirainen [Fri, 8 Nov 2013 15:44:25 +0000 (17:44 +0200)] 
lib-fs: Don't crash if istream-fs-file is closed without never being read.

11 years agomdbox_deleted: Index was synced with wrong flags.
Timo Sirainen [Fri, 8 Nov 2013 15:40:13 +0000 (16:40 +0100)] 
mdbox_deleted: Index was synced with wrong flags.

11 years agolib-storage: Give name to attachments-connector istream.
Timo Sirainen [Fri, 8 Nov 2013 15:39:52 +0000 (16:39 +0100)] 
lib-storage: Give name to attachments-connector istream.

11 years agozlib: Give a name to zlib istreams
Timo Sirainen [Fri, 8 Nov 2013 15:12:32 +0000 (16:12 +0100)] 
zlib: Give a name to zlib istreams

11 years agodoveadm mailbox create: Added back -s parameter that was recently accidentally removed.
Timo Sirainen [Fri, 8 Nov 2013 13:44:57 +0000 (14:44 +0100)] 
doveadm mailbox create: Added back -s parameter that was recently accidentally removed.

11 years agolib-storage: Moved more of dbox attachments code to generic code.
Timo Sirainen [Wed, 6 Nov 2013 21:00:58 +0000 (23:00 +0200)] 
lib-storage: Moved more of dbox attachments code to generic code.

11 years agodbox: Use lib-fs API also for reading the attachments.
Timo Sirainen [Wed, 6 Nov 2013 19:10:22 +0000 (21:10 +0200)] 
dbox: Use lib-fs API also for reading the attachments.

11 years agolib-storage: Added mailbox_list_init_fs() to easily initialize fs.
Timo Sirainen [Wed, 6 Nov 2013 19:08:42 +0000 (21:08 +0200)] 
lib-storage: Added mailbox_list_init_fs() to easily initialize fs.
Use it for dbox's attachment_fs.

11 years agolib-fs: Added istream-fs-file to lazily read from fs_file.
Timo Sirainen [Wed, 6 Nov 2013 19:06:15 +0000 (21:06 +0200)] 
lib-fs: Added istream-fs-file to lazily read from fs_file.

11 years agoistream: Added i_stream_init_parent() to lazily initialize the parent stream.
Timo Sirainen [Wed, 6 Nov 2013 19:05:51 +0000 (21:05 +0200)] 
istream: Added i_stream_init_parent() to lazily initialize the parent stream.

11 years agolib-http: Use [io]_stream_get_error() instead of just errno strings.
Timo Sirainen [Wed, 6 Nov 2013 17:03:10 +0000 (19:03 +0200)] 
lib-http: Use [io]_stream_get_error() instead of just errno strings.

11 years agodsync: Use i_stream_get_error() instead of just errno in stream error messages.
Timo Sirainen [Wed, 6 Nov 2013 15:13:53 +0000 (17:13 +0200)] 
dsync: Use i_stream_get_error() instead of just errno in stream error messages.

11 years agoreplicator: Database should be exported (not imported!) every 15 mins.
Timo Sirainen [Wed, 6 Nov 2013 14:33:37 +0000 (16:33 +0200)] 
replicator: Database should be exported (not imported!) every 15 mins.

11 years agomdbox: Fixed race condition when mailbox GUID was looked up before mailbox create...
Timo Sirainen [Wed, 6 Nov 2013 13:30:15 +0000 (15:30 +0200)] 
mdbox: Fixed race condition when mailbox GUID was looked up before mailbox create was finished.

11 years agolib-imap-storage: Fixed leaking istream on error conditions.
Timo Sirainen [Wed, 6 Nov 2013 11:00:13 +0000 (13:00 +0200)] 
lib-imap-storage: Fixed leaking istream on error conditions.
Caught by Tomasz PotÄ™ga

11 years agoimap: Fixed potential crash if client disconnected during APPEND.
Timo Sirainen [Wed, 6 Nov 2013 10:53:58 +0000 (12:53 +0200)] 
imap: Fixed potential crash if client disconnected during APPEND.

11 years agolib-mail: Fixed infinite loop in message-parser if message ends with --boundary+CR
Timo Sirainen [Tue, 5 Nov 2013 18:11:11 +0000 (20:11 +0200)] 
lib-mail: Fixed infinite loop in message-parser if message ends with --boundary+CR
Thanks to Tomasz Potega for finding this.

11 years agolib-storage: Added FULLDIRNAME=name to mail_location.
Timo Sirainen [Tue, 5 Nov 2013 11:12:25 +0000 (13:12 +0200)] 
lib-storage: Added FULLDIRNAME=name to mail_location.
The difference to DIRNAME is that the name is used also for index and
control directories.

11 years agossl-params: Compiler warning fix when building without OpenSSL
Timo Sirainen [Mon, 4 Nov 2013 07:47:17 +0000 (09:47 +0200)] 
ssl-params: Compiler warning fix when building without OpenSSL

11 years agoostream: Mark stream closed before handling its callback to avoid infinite loops.
Timo Sirainen [Sun, 3 Nov 2013 21:27:15 +0000 (23:27 +0200)] 
ostream: Mark stream closed before handling its callback to avoid infinite loops.
The callback could call o_stream_copy_error_from_parent(), which in turn
would try to close the same ostream again.

11 years agoAdded signature for changeset b5b118701aa8
Timo Sirainen [Sun, 3 Nov 2013 20:04:53 +0000 (22:04 +0200)] 
Added signature for changeset b5b118701aa8

11 years agoAdded tag 2.2.7 for changeset b5b118701aa8
Timo Sirainen [Sun, 3 Nov 2013 20:04:50 +0000 (22:04 +0200)] 
Added tag 2.2.7 for changeset b5b118701aa8

11 years agoReleased v2.2.7. 2.2.7
Timo Sirainen [Sun, 3 Nov 2013 20:04:50 +0000 (22:04 +0200)] 
Released v2.2.7.

11 years agoMake static analyzer happier
Timo Sirainen [Sun, 3 Nov 2013 19:48:24 +0000 (21:48 +0200)] 
Make static analyzer happier

11 years agoMake static analyzer happier.
Timo Sirainen [Sun, 3 Nov 2013 19:47:46 +0000 (21:47 +0200)] 
Make static analyzer happier.

11 years agoauth-worker: Potential crashfix at deinit
Timo Sirainen [Sun, 3 Nov 2013 19:45:37 +0000 (21:45 +0200)] 
auth-worker: Potential crashfix at deinit

11 years agoauth: Crashfix to "doveadm auth cache flush" when auth cache was disabled
Timo Sirainen [Sun, 3 Nov 2013 19:44:06 +0000 (21:44 +0200)] 
auth: Crashfix to "doveadm auth cache flush" when auth cache was disabled

11 years agoauth: Potential crashfix
Timo Sirainen [Sun, 3 Nov 2013 19:42:47 +0000 (21:42 +0200)] 
auth: Potential crashfix

11 years agoCall lib_atexit() callbacks before destroying the lib-master ioloop.
Timo Sirainen [Sun, 3 Nov 2013 18:56:25 +0000 (20:56 +0200)] 
Call lib_atexit() callbacks before destroying the lib-master ioloop.

11 years agolib-imap: imap_arg_get_atom() should also treat NIL as valid atom.
Timo Sirainen [Sat, 2 Nov 2013 23:12:24 +0000 (01:12 +0200)] 
lib-imap: imap_arg_get_atom() should also treat NIL as valid atom.

11 years agolib-storage: Fixed parsing NILs in search parameters.
Timo Sirainen [Sat, 2 Nov 2013 20:57:27 +0000 (22:57 +0200)] 
lib-storage: Fixed parsing NILs in search parameters.

11 years agolib-imap: Fixed NIL astring to not lose its case-sensitivity.
Timo Sirainen [Sat, 2 Nov 2013 20:42:32 +0000 (22:42 +0200)] 
lib-imap: Fixed NIL astring to not lose its case-sensitivity.

11 years agolib-imap: When writing "NIL" as astring, write it always as a "quoted".
Timo Sirainen [Sat, 2 Nov 2013 20:32:23 +0000 (22:32 +0200)] 
lib-imap: When writing "NIL" as astring, write it always as a "quoted".

11 years agoimap: Fixed GETMETADATA NIL to treat it as "NIL"
Timo Sirainen [Sat, 2 Nov 2013 20:31:14 +0000 (22:31 +0200)] 
imap: Fixed GETMETADATA NIL to treat it as "NIL"

11 years agolib-imap: NIL as astring is the same as "NIL"
Timo Sirainen [Sat, 2 Nov 2013 20:30:42 +0000 (22:30 +0200)] 
lib-imap: NIL as astring is the same as "NIL"
This is a bit klugdy but works as long as all callers use
imap_arg_get_astring() instead of trying to handle it themselves.

11 years agoimap: Added initial support for METADATA extension.
Timo Sirainen [Sat, 2 Nov 2013 19:29:39 +0000 (21:29 +0200)] 
imap: Added initial support for METADATA extension.
For now this is enabled only when imap_metadata=yes setting is used. The
setting will go away once the feature is complete. Also mail_attribute_dict
must be set.

TODO:
 - Metadata doesn't work for public namespaces. There should probably be a
   mail_attribute_public_dict setting for that.
 - There isn't any kind of quota or other limits
 - After ENABLE METADATA start sending untagged METADATA entries to clients
 - /shared/admin should probably return postmaster_address URL
 - Check if we handle ACLs correctly
 - RFC says that it SHOULD be possible to set METADATA entries to \NoSelect
   mailboxes. We probably will never allow this though.

11 years agolib-imap: Added IMAP_PARSE_FLAG_STOP_AT_LIST for stopping after '('
Timo Sirainen [Sat, 2 Nov 2013 18:09:28 +0000 (20:09 +0200)] 
lib-imap: Added IMAP_PARSE_FLAG_STOP_AT_LIST for stopping after '('

11 years agolib-imap: IMAP protocol parser was parsing NIL case-sensitively.
Timo Sirainen [Sat, 2 Nov 2013 18:05:08 +0000 (20:05 +0200)] 
lib-imap: IMAP protocol parser was parsing NIL case-sensitively.
Luckily no commands currently actually use NILs.

11 years agossl-params: Don't fail completely if 512 bit DH parameters generation fails.
Timo Sirainen [Sat, 2 Nov 2013 13:30:47 +0000 (15:30 +0200)] 
ssl-params: Don't fail completely if 512 bit DH parameters generation fails.

11 years agossl-params: Added ssl_dh_parameters_length & removed ssl_parameters_regenerate setting.
Timo Sirainen [Sat, 2 Nov 2013 13:27:28 +0000 (15:27 +0200)] 
ssl-params: Added ssl_dh_parameters_length & removed ssl_parameters_regenerate setting.
ssl_parameters_regenerate was based on some text from GNUTLS documentation a
long time ago, but there's really not much point in doing it.

Ideally we should also support "openssl dhparam" input files, but for now
there's the ssl_dh_parameters_length setting that can be used to specify the
wanted DH parameters length. If the current ssl-parameters.dat has a
different length, it's regenerated.

We should probably at some point support also built-in DH parameters which
are returned while the ssl-params runs.

11 years agossl-params: Fixed closing listener fds for regeneration process.
Timo Sirainen [Sat, 2 Nov 2013 13:18:15 +0000 (15:18 +0200)] 
ssl-params: Fixed closing listener fds for regeneration process.

11 years agodsync: Don't track too new changes from transaction log.
Timo Sirainen [Sat, 2 Nov 2013 12:19:23 +0000 (14:19 +0200)] 
dsync: Don't track too new changes from transaction log.
This mattered only during race conditions while there were changes being
done to the mailbox during syncing.