]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
13 years agodoveadm user: Avoid initializing the user as much as possible.
Timo Sirainen [Mon, 14 Jan 2013 10:56:09 +0000 (12:56 +0200)] 
doveadm user: Avoid initializing the user as much as possible.

13 years agoexample-config: Added mail_attribute_dict
Timo Sirainen [Mon, 14 Jan 2013 06:38:36 +0000 (08:38 +0200)] 
example-config: Added mail_attribute_dict

13 years agoSeveral fixes to handling "istream input line too long" conditions.
Timo Sirainen [Mon, 14 Jan 2013 06:01:47 +0000 (08:01 +0200)] 
Several fixes to handling "istream input line too long" conditions.

13 years agoi_stream_read_next_line() now sets stream_errno=ENOBUFS if input buffer gets full.
Timo Sirainen [Mon, 14 Jan 2013 05:57:39 +0000 (07:57 +0200)] 
i_stream_read_next_line() now sets stream_errno=ENOBUFS if input buffer gets full.
Previously the caller couldn't easily separate this condition from "more
data needed", potentially causing infinite loops.

13 years agodoveadm: Increased doveadm client's max command line length.
Timo Sirainen [Sun, 13 Jan 2013 17:15:37 +0000 (19:15 +0200)] 
doveadm: Increased doveadm client's max command line length.

13 years agolib-imap-storage: Removed broken optimization for seeking to partial offset.
Timo Sirainen [Fri, 11 Jan 2013 04:18:36 +0000 (06:18 +0200)] 
lib-imap-storage: Removed broken optimization for seeking to partial offset.
The optimization worked only when physical_start=0. It would have been
possible to fix it by finding the message_part where its header of body
offset is physical_start and only then start decreasing virtual_skip, but
probably too much complexity to be worth the trouble, especially since
clients rarely would benefit from this optimization.

13 years agolib-imap-storage: Added imap_msgpart_get_partial_size() missing from previous commit.
Timo Sirainen [Fri, 11 Jan 2013 01:59:50 +0000 (03:59 +0200)] 
lib-imap-storage: Added imap_msgpart_get_partial_size() missing from previous commit.

13 years agoimap: Improved unexpected FETCH error messages.
Timo Sirainen [Fri, 11 Jan 2013 01:58:54 +0000 (03:58 +0200)] 
imap: Improved unexpected FETCH error messages.

13 years agodsync: Added "remoteprefix:" destination, which is same as "remote:" except sends...
Timo Sirainen [Thu, 10 Jan 2013 12:20:07 +0000 (14:20 +0200)] 
dsync: Added "remoteprefix:" destination, which is same as "remote:" except sends "username\n" prefix.

13 years agodsync: Wait for remote command to finish before shutting down.
Timo Sirainen [Thu, 10 Jan 2013 12:00:10 +0000 (14:00 +0200)] 
dsync: Wait for remote command to finish before shutting down.
This makes sure that any error messages during deinit stage are logged. Also
non-zero exit codes are logged.

13 years agodsync server: Fixed crash at deinit
Timo Sirainen [Thu, 10 Jan 2013 11:56:59 +0000 (13:56 +0200)] 
dsync server: Fixed crash at deinit

13 years agodsync: Close mail streams earlier on failures to avoid assert-crashing
Timo Sirainen [Thu, 10 Jan 2013 10:12:50 +0000 (12:12 +0200)] 
dsync: Close mail streams earlier on failures to avoid assert-crashing

13 years agolib-storage: Maildir++ layout shouldn't disallow "cur", "new" or "tmp" mailbox names.
Timo Sirainen [Thu, 10 Jan 2013 09:52:27 +0000 (11:52 +0200)] 
lib-storage: Maildir++ layout shouldn't disallow "cur", "new" or "tmp" mailbox names.

13 years agolib-storage: Improved "Using permissions" debug message.
Timo Sirainen [Thu, 10 Jan 2013 08:23:44 +0000 (10:23 +0200)] 
lib-storage: Improved "Using permissions" debug message.

13 years agodsync: Added support back for dsync locking.
Timo Sirainen [Thu, 10 Jan 2013 08:21:27 +0000 (10:21 +0200)] 
dsync: Added support back for dsync locking.
Only the source directory is now locked to avoid deadlocks when both source
and destination are locked. This of course now means that both source and
destination is allowed to run dsync at the same time, which isn't ideal
either..

13 years agodsync: Attempt to preserve \Recent flag as well
Timo Sirainen [Thu, 10 Jan 2013 08:02:47 +0000 (10:02 +0200)] 
dsync: Attempt to preserve \Recent flag as well

13 years agodsync: Handle syncing mailboxes with same name but different GUIDs.
Timo Sirainen [Thu, 10 Jan 2013 07:33:19 +0000 (09:33 +0200)] 
dsync: Handle syncing mailboxes with same name but different GUIDs.

13 years agodsync: Removed unnecessary -n parameter from dsync-server.
Timo Sirainen [Thu, 10 Jan 2013 06:07:19 +0000 (08:07 +0200)] 
dsync: Removed unnecessary -n parameter from dsync-server.
The setting is sent within dsync protocol.

13 years agoreplicator: Use stateful dsyncing whenever possible.
Timo Sirainen [Thu, 10 Jan 2013 05:54:39 +0000 (07:54 +0200)] 
replicator: Use stateful dsyncing whenever possible.

13 years agoreplicator: doveadm connections weren't reset properly
Timo Sirainen [Thu, 10 Jan 2013 05:53:26 +0000 (07:53 +0200)] 
replicator: doveadm connections weren't reset properly

13 years agodsync: Fixed parsing state string.
Timo Sirainen [Thu, 10 Jan 2013 05:39:02 +0000 (07:39 +0200)] 
dsync: Fixed parsing state string.

13 years agomdbox: Crashfix for storage rebuild
Timo Sirainen [Thu, 10 Jan 2013 05:31:51 +0000 (07:31 +0200)] 
mdbox: Crashfix for storage rebuild

13 years agodsync: Fixed printing output state when running via doveadm-server.
Timo Sirainen [Thu, 10 Jan 2013 04:52:37 +0000 (06:52 +0200)] 
dsync: Fixed printing output state when running via doveadm-server.

13 years agodoveadm: Added assert.
Timo Sirainen [Thu, 10 Jan 2013 04:51:19 +0000 (06:51 +0200)] 
doveadm: Added assert.

13 years agodsync: Another fix to handling expunges from the end of mailbox.
Timo Sirainen [Wed, 9 Jan 2013 09:03:43 +0000 (11:03 +0200)] 
dsync: Another fix to handling expunges from the end of mailbox.

13 years agodsync: Mailbox syncing fix
Timo Sirainen [Wed, 9 Jan 2013 07:11:09 +0000 (09:11 +0200)] 
dsync: Mailbox syncing fix

13 years agodsync: Error handling fix.
Timo Sirainen [Wed, 9 Jan 2013 05:53:53 +0000 (07:53 +0200)] 
dsync: Error handling fix.

13 years agoMerged changes from v2.1 tree.
Timo Sirainen [Wed, 9 Jan 2013 05:02:28 +0000 (07:02 +0200)] 
Merged changes from v2.1 tree.

13 years agomdbox rebuild: Update to previous commit
Timo Sirainen [Wed, 9 Jan 2013 05:01:41 +0000 (07:01 +0200)] 
mdbox rebuild: Update to previous commit

13 years agomdbox rebuild: Don't always duplicate messages that have conflicting GUIDs.
Timo Sirainen [Wed, 9 Jan 2013 04:59:51 +0000 (06:59 +0200)] 
mdbox rebuild: Don't always duplicate messages that have conflicting GUIDs.

13 years agomdbox rebuild: Use mail size instead of record size when guessing if the mails are...
Timo Sirainen [Wed, 9 Jan 2013 04:57:34 +0000 (06:57 +0200)] 
mdbox rebuild: Use mail size instead of record size when guessing if the mails are the same.

13 years agodsync: Fixed handling UID renumbering when new mail was saved during dsync.
Timo Sirainen [Wed, 9 Jan 2013 03:43:09 +0000 (05:43 +0200)] 
dsync: Fixed handling UID renumbering when new mail was saved during dsync.

13 years agodsync: Don't wrongly log errors about missing message bodies.
Timo Sirainen [Wed, 9 Jan 2013 03:42:03 +0000 (05:42 +0200)] 
dsync: Don't wrongly log errors about missing message bodies.
Also added some debug logging related to it.

13 years agomdbox: Allow reflink-copying a mail when wanted GUID matches the current GUID.
Timo Sirainen [Wed, 9 Jan 2013 03:35:20 +0000 (05:35 +0200)] 
mdbox: Allow reflink-copying a mail when wanted GUID matches the current GUID.

13 years agolib-storage: dest_mail wasn't reset if previous save was aborted.
Timo Sirainen [Wed, 9 Jan 2013 03:33:32 +0000 (05:33 +0200)] 
lib-storage: dest_mail wasn't reset if previous save was aborted.
This could have happened only with dsync.

13 years agodbox: Give a name to the file's output stream (for improved error logging).
Timo Sirainen [Wed, 9 Jan 2013 03:30:06 +0000 (05:30 +0200)] 
dbox: Give a name to the file's output stream (for improved error logging).

13 years agoo_stream_send_istream(): Fixed copying within same file, when istream's size is unknown.
Timo Sirainen [Wed, 9 Jan 2013 03:28:58 +0000 (05:28 +0200)] 
o_stream_send_istream(): Fixed copying within same file, when istream's size is unknown.
This fixes copying a mail from mdbox's m.* file to the end of the same file.

13 years agolib-index: Comment update
Timo Sirainen [Wed, 9 Jan 2013 03:29:13 +0000 (05:29 +0200)] 
lib-index: Comment update

13 years agoMerged changes from v2.1 tree.
Timo Sirainen [Wed, 9 Jan 2013 03:38:13 +0000 (05:38 +0200)] 
Merged changes from v2.1 tree.

13 years agodsync: Make remote's stderr fd nonblocking to avoid hanging.
Timo Sirainen [Tue, 8 Jan 2013 14:24:20 +0000 (16:24 +0200)] 
dsync: Make remote's stderr fd nonblocking to avoid hanging.

13 years agodsync: Fixes to printing remote's stderr output.
Timo Sirainen [Tue, 8 Jan 2013 08:57:34 +0000 (10:57 +0200)] 
dsync: Fixes to printing remote's stderr output.

13 years agodsync: Print remote's stderr line-buffered.
Timo Sirainen [Tue, 8 Jan 2013 08:25:21 +0000 (10:25 +0200)] 
dsync: Print remote's stderr line-buffered.
Especially when debugging is enabled there can be a lot of output, which
makes this useful.

13 years agodsync: Fixes to handling output stream buffering.
Timo Sirainen [Tue, 8 Jan 2013 05:43:29 +0000 (07:43 +0200)] 
dsync: Fixes to handling output stream buffering.

13 years agoreplicator: Send only one sync command to doveadm-server per connection.
Timo Sirainen [Tue, 8 Jan 2013 05:42:38 +0000 (07:42 +0200)] 
replicator: Send only one sync command to doveadm-server per connection.
This fixes setuid()/setgid() problems when multiple UIDs are used.

13 years agodsync: Minor fix for talking with remote dsync.
Timo Sirainen [Tue, 8 Jan 2013 04:41:56 +0000 (06:41 +0200)] 
dsync: Minor fix for talking with remote dsync.

13 years agoDEBUG: buffer_verify_pool() crashed with empty buffer.
Timo Sirainen [Tue, 8 Jan 2013 03:37:43 +0000 (05:37 +0200)] 
DEBUG: buffer_verify_pool() crashed with empty buffer.

13 years agodsync: Crashfix for handling expunges from end of mailbox.
Timo Sirainen [Tue, 8 Jan 2013 03:23:06 +0000 (05:23 +0200)] 
dsync: Crashfix for handling expunges from end of mailbox.

13 years agodsync: Fixed syncing expunge for last mail in mailbox.
Timo Sirainen [Tue, 8 Jan 2013 03:19:37 +0000 (05:19 +0200)] 
dsync: Fixed syncing expunge for last mail in mailbox.

13 years agodsync: Avoid updating modseqs unnecessarily.
Timo Sirainen [Tue, 8 Jan 2013 02:58:08 +0000 (04:58 +0200)] 
dsync: Avoid updating modseqs unnecessarily.
lib-index perhaps should do this automatically as well.

13 years agodsync: Avoid infinite looping.
Timo Sirainen [Tue, 8 Jan 2013 02:33:01 +0000 (04:33 +0200)] 
dsync: Avoid infinite looping.

13 years agodsync: Assert-crashfix for handling keywords.
Timo Sirainen [Tue, 8 Jan 2013 02:00:04 +0000 (04:00 +0200)] 
dsync: Assert-crashfix for handling keywords.

13 years agoDEBUG: buffer_verify_pool() crashed with static sized buffers.
Timo Sirainen [Tue, 8 Jan 2013 01:44:14 +0000 (03:44 +0200)] 
DEBUG: buffer_verify_pool() crashed with static sized buffers.

13 years agolib-index: Fixed failing transaction log test.
Timo Sirainen [Tue, 8 Jan 2013 01:39:34 +0000 (03:39 +0200)] 
lib-index: Fixed failing transaction log test.

13 years agotest-imap-bodystructure: Fixed the test to pass with new imap-quote logic.
Timo Sirainen [Tue, 8 Jan 2013 01:31:36 +0000 (03:31 +0200)] 
test-imap-bodystructure: Fixed the test to pass with new imap-quote logic.

13 years agorun-test.sh didn't exit with failure code when the test failed
Timo Sirainen [Tue, 8 Jan 2013 01:25:55 +0000 (03:25 +0200)] 
run-test.sh didn't exit with failure code when the test failed

13 years agorun-test.sh didn't exit with failure code when the test failed
Timo Sirainen [Tue, 8 Jan 2013 01:25:55 +0000 (03:25 +0200)] 
run-test.sh didn't exit with failure code when the test failed

13 years agonet_connect_unix(): If path is too long, return ENAMETOOLONG if it's available.
Timo Sirainen [Tue, 8 Jan 2013 01:19:14 +0000 (03:19 +0200)] 
net_connect_unix(): If path is too long, return ENAMETOOLONG if it's available.

13 years agoMakefile: Removed test-http-client from "make check".
Timo Sirainen [Tue, 8 Jan 2013 01:03:21 +0000 (03:03 +0200)] 
Makefile: Removed test-http-client from "make check".
Not really a good idea to connect to remote servers (that might fail) during
a normal make check.

13 years agoAdded signature for changeset 86bccdf46d17
Timo Sirainen [Mon, 7 Jan 2013 10:25:01 +0000 (12:25 +0200)] 
Added signature for changeset 86bccdf46d17

13 years agoAdded tag 2.2.beta1 for changeset 86bccdf46d17
Timo Sirainen [Mon, 7 Jan 2013 10:24:58 +0000 (12:24 +0200)] 
Added tag 2.2.beta1 for changeset 86bccdf46d17

13 years agoReleased v2.2.beta1. 2.2.beta1
Timo Sirainen [Mon, 7 Jan 2013 10:24:58 +0000 (12:24 +0200)] 
Released v2.2.beta1.

13 years agolib-http: Various fixes
Timo Sirainen [Mon, 7 Jan 2013 10:24:29 +0000 (12:24 +0200)] 
lib-http: Various fixes
Patch by Stephan Bosch.

13 years agoAdded signature for changeset cf9d62fd0b14
Timo Sirainen [Mon, 7 Jan 2013 08:55:27 +0000 (10:55 +0200)] 
Added signature for changeset cf9d62fd0b14

13 years agoAdded tag 2.1.13 for changeset cf9d62fd0b14
Timo Sirainen [Mon, 7 Jan 2013 08:55:17 +0000 (10:55 +0200)] 
Added tag 2.1.13 for changeset cf9d62fd0b14

13 years agoReleased v2.1.13. 2.1.13
Timo Sirainen [Mon, 7 Jan 2013 08:55:17 +0000 (10:55 +0200)] 
Released v2.1.13.

13 years agoMerged changes from v2.1 tree.
Timo Sirainen [Fri, 4 Jan 2013 23:14:11 +0000 (01:14 +0200)] 
Merged changes from v2.1 tree.

13 years agoauth: Fixed handling usernames with the same name as userdb extra fields.
Timo Sirainen [Fri, 4 Jan 2013 22:50:04 +0000 (00:50 +0200)] 
auth: Fixed handling usernames with the same name as userdb extra fields.
This is a bit kludgy fix, but pretty much guaranteed not to break anything.
v2.2 has a cleaner fix, but it's a bit more invasive.

13 years agoauth: Don't keep username duplicated in userdb_reply string.
Timo Sirainen [Fri, 4 Jan 2013 22:37:26 +0000 (00:37 +0200)] 
auth: Don't keep username duplicated in userdb_reply string.
This fixes bugs where userdb_reply is accessed via auth_stream_*() functions
that remove/replace existing fields, which may have ended up
removing/replacing the username.

13 years agolazy_expunge: Allow expunging from lazy_expunge namespace via virtual mailbox.
Timo Sirainen [Fri, 4 Jan 2013 22:12:54 +0000 (00:12 +0200)] 
lazy_expunge: Allow expunging from lazy_expunge namespace via virtual mailbox.
(Instead of copying the message all over again to the lazy_expunge
namespace.)

13 years agoquota: Don't crash if shared namespace's owner doesn't have quota enabled (but you...
Timo Sirainen [Fri, 4 Jan 2013 21:59:42 +0000 (23:59 +0200)] 
quota: Don't crash if shared namespace's owner doesn't have quota enabled (but you have).

13 years agouni_utf8_*(): Treat overlong UTF8 sequences as invalid.
Timo Sirainen [Fri, 4 Jan 2013 21:24:26 +0000 (23:24 +0200)] 
uni_utf8_*(): Treat overlong UTF8 sequences as invalid.

13 years agoexample-config: Added a note about protocol/local/remote {} sections.
Timo Sirainen [Fri, 4 Jan 2013 19:39:07 +0000 (21:39 +0200)] 
example-config: Added a note about protocol/local/remote {} sections.

13 years agoconfigure: Use pkg-config with clucene if available.
Timo Sirainen [Fri, 4 Jan 2013 03:49:33 +0000 (05:49 +0200)] 
configure: Use pkg-config with clucene if available.

13 years agoacl: Treat empty plugin { acl } setting the same as if it didn't exist.
Timo Sirainen [Fri, 4 Jan 2013 03:29:25 +0000 (05:29 +0200)] 
acl: Treat empty plugin { acl } setting the same as if it didn't exist.
This allows using -o plugin/acl= to disable ACLs.

13 years agoDEBUG: Call buffer_verify_pool() on str_c*()
Timo Sirainen [Fri, 4 Jan 2013 01:50:35 +0000 (03:50 +0200)] 
DEBUG: Call buffer_verify_pool() on str_c*()

13 years agoAdded buffer_verify_pool()
Timo Sirainen [Fri, 4 Jan 2013 01:50:18 +0000 (03:50 +0200)] 
Added buffer_verify_pool()

13 years agolib-storage: Bypass virtual storage when copying mail to allow optimizations.
Timo Sirainen [Thu, 3 Jan 2013 23:43:59 +0000 (01:43 +0200)] 
lib-storage: Bypass virtual storage when copying mail to allow optimizations.
As a side effect this also causes all plugins to see the backend mail
instead of the virtual mail. This probably isn't bad in most situations, but
for those where it's unwanted mail_private.vmail can be used to access the
virtual mail. mail_log plugin does this to log the original virtual mailbox
name for copy operations.

13 years agodsync: Use private modseqs to support syncing private flags in shared mailboxes.
Timo Sirainen [Thu, 3 Jan 2013 23:13:05 +0000 (01:13 +0200)] 
dsync: Use private modseqs to support syncing private flags in shared mailboxes.

13 years agolib-storage: Added support for "private modseqs" for INDEXPVT index.
Timo Sirainen [Thu, 3 Jan 2013 23:12:24 +0000 (01:12 +0200)] 
lib-storage: Added support for "private modseqs" for INDEXPVT index.
Used by dsync (next commit).

13 years agodsync: Fixed parsing mailbox state from remote dsync.
Timo Sirainen [Thu, 3 Jan 2013 20:53:18 +0000 (22:53 +0200)] 
dsync: Fixed parsing mailbox state from remote dsync.

13 years agovirtual storage: get_first_header() always returned "doesn't exist", breaking SORT...
Timo Sirainen [Thu, 3 Jan 2013 05:30:54 +0000 (07:30 +0200)] 
virtual storage: get_first_header() always returned "doesn't exist", breaking SORT/THREAD.

13 years agoconfigure: Use -lrt for check_gettime() only if needed.
Timo Sirainen [Fri, 28 Dec 2012 15:02:18 +0000 (17:02 +0200)] 
configure: Use -lrt for check_gettime() only if needed.

13 years agolib-http: Compile fix for previous change.
Timo Sirainen [Wed, 19 Dec 2012 21:34:21 +0000 (23:34 +0200)] 
lib-http: Compile fix for previous change.

13 years agojson-parser: Fixed infinite looping in some situations.
Timo Sirainen [Wed, 19 Dec 2012 12:41:01 +0000 (14:41 +0200)] 
json-parser: Fixed infinite looping in some situations.

13 years agolib-http: Host entries were added to hash table using wrong hostname pointer.
Timo Sirainen [Wed, 19 Dec 2012 12:39:55 +0000 (14:39 +0200)] 
lib-http: Host entries were added to hash table using wrong hostname pointer.

13 years agoauth: When auto-loading auth mechanisms from plugins, generate the name better.
Timo Sirainen [Tue, 18 Dec 2012 16:56:59 +0000 (18:56 +0200)] 
auth: When auto-loading auth mechanisms from plugins, generate the name better.

13 years agolib-http: Fixed a crash when http_client_request_submit() failed immediately
Timo Sirainen [Tue, 18 Dec 2012 16:55:00 +0000 (18:55 +0200)] 
lib-http: Fixed a crash when http_client_request_submit() failed immediately

13 years agouri-util: Control characters weren't properly escaped.
Timo Sirainen [Tue, 18 Dec 2012 16:54:31 +0000 (18:54 +0200)] 
uri-util: Control characters weren't properly escaped.
e.g. "%0a" is correct, "% a" is not.

13 years agolib-storage: Fixed assert-crash when trying to fetch a binary section for empty message.
Timo Sirainen [Tue, 18 Dec 2012 08:44:28 +0000 (10:44 +0200)] 
lib-storage: Fixed assert-crash when trying to fetch a binary section for empty message.

13 years agolib-storage: Refresh private index before syncing to make sure we see latest changes.
Timo Sirainen [Sat, 15 Dec 2012 13:33:12 +0000 (15:33 +0200)] 
lib-storage: Refresh private index before syncing to make sure we see latest changes.

13 years agomaildir: Fixed a crash caused by previous mailbox_update() change
Timo Sirainen [Sat, 15 Dec 2012 12:37:20 +0000 (14:37 +0200)] 
maildir: Fixed a crash caused by previous mailbox_update() change

13 years agodsync: Minor (probably unnecessary) fix for i_stream_read() API usage.
Timo Sirainen [Sat, 15 Dec 2012 12:27:56 +0000 (14:27 +0200)] 
dsync: Minor (probably unnecessary) fix for i_stream_read() API usage.
Avoid the first read returning -2.

13 years agodsync: Fixed hang when sending mail stream to remote dsync.
Timo Sirainen [Sat, 15 Dec 2012 12:24:41 +0000 (14:24 +0200)] 
dsync: Fixed hang when sending mail stream to remote dsync.

13 years agodsync: Fixed remote syncing due to recent changes
Timo Sirainen [Sat, 15 Dec 2012 11:56:16 +0000 (13:56 +0200)] 
dsync: Fixed remote syncing due to recent changes

13 years agodsync: Set doveadm exit codes properly on errors.
Timo Sirainen [Sat, 15 Dec 2012 11:55:33 +0000 (13:55 +0200)] 
dsync: Set doveadm exit codes properly on errors.

13 years agoi_stream_close(): Set stream_errno to EPIPE instead of ENOENT.
Timo Sirainen [Sat, 15 Dec 2012 11:48:22 +0000 (13:48 +0200)] 
i_stream_close(): Set stream_errno to EPIPE instead of ENOENT.
ENOENT implies that this stream pointed to a file that never existed. EPIPE
isn't perfect either, but probably clearer than the alternatives.

13 years agoi_stream_next_line(): Don't reset stream_errno if stream is already closed.
Timo Sirainen [Sat, 15 Dec 2012 11:43:44 +0000 (13:43 +0200)] 
i_stream_next_line(): Don't reset stream_errno if stream is already closed.

13 years agodsync: Don't start reading a mailbox until we know we actually need to sync it.
Timo Sirainen [Sat, 15 Dec 2012 11:31:31 +0000 (13:31 +0200)] 
dsync: Don't start reading a mailbox until we know we actually need to sync it.

13 years agombox: Removed assert that caused dsync to crash.
Timo Sirainen [Sat, 15 Dec 2012 11:30:02 +0000 (13:30 +0200)] 
mbox: Removed assert that caused dsync to crash.
This is valid:

1. dsync opened an internal transaction and locked mbox
2. dsync opened an external transaction, which didn't lock mbox
3. dsync committed internal transaction
<assert crash fixed>
4. dsync locks mbox with external transaction

13 years agombox: Mailbox GUID generation re-opened the mailbox using wrong name, possibly crashing.
Timo Sirainen [Sat, 15 Dec 2012 11:28:04 +0000 (13:28 +0200)] 
mbox: Mailbox GUID generation re-opened the mailbox using wrong name, possibly crashing.