]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Thu, 11 Apr 2013 16:06:25 +0000 (19:06 +0300)]
lib-storage: mailbox_list_index=yes was broken by previous change.
Reverted the previous change and fixed it the right way.
Timo Sirainen [Thu, 11 Apr 2013 15:50:25 +0000 (18:50 +0300)]
Removed ambiguous mail_user.admin flag. dsync shouldn't sync mailboxes without +r ACL.
Timo Sirainen [Thu, 11 Apr 2013 14:35:31 +0000 (17:35 +0300)]
doveadm: Don't use MAILBOX_LIST_ITER_RAW_LIST when listing mailboxes.
That skips ACLs and mailbox list. There's really no good reason to use that
by default.
Timo Sirainen [Thu, 11 Apr 2013 13:54:53 +0000 (16:54 +0300)]
lib-storage: mailbox_list_index=yes wasn't working with ACLs.
Timo Sirainen [Thu, 11 Apr 2013 13:19:35 +0000 (16:19 +0300)]
lib-storage: mail_update_pvt_modseq() shouldn't crash if there is no private index.
Timo Sirainen [Thu, 11 Apr 2013 10:38:16 +0000 (13:38 +0300)]
net_getunixcred(): Fix to previous NetBSD<5 support: return pid as -1.
Timo Sirainen [Thu, 11 Apr 2013 10:15:39 +0000 (13:15 +0300)]
net_getunixcred() support for NetBSD <v5.0. Fixed also building with other NetBSDs.
Patch by Emmanuel Dreyfus
Timo Sirainen [Thu, 11 Apr 2013 10:13:14 +0000 (13:13 +0300)]
Fixed getmntinfo() usage with NetBSD.
Patch by Emmanuel Dreyfus
Timo Sirainen [Wed, 10 Apr 2013 19:31:53 +0000 (22:31 +0300)]
Added signature for changeset
d7f29af73468
Timo Sirainen [Wed, 10 Apr 2013 19:31:41 +0000 (22:31 +0300)]
Added tag 2.2.rc7 for changeset
d7f29af73468
Timo Sirainen [Wed, 10 Apr 2013 19:31:41 +0000 (22:31 +0300)]
Released v2.2.rc7.
Timo Sirainen [Wed, 10 Apr 2013 19:11:33 +0000 (22:11 +0300)]
imapc: If APPEND to selected mailbox doesn't send EXISTS, try if NOOP sends it.
This makes Dovecot behave better with Courier.
Timo Sirainen [Wed, 10 Apr 2013 19:05:36 +0000 (22:05 +0300)]
iostream-ssl: Don't hang if ostream's max buffer size is set to 0.
Timo Sirainen [Wed, 10 Apr 2013 18:18:07 +0000 (21:18 +0300)]
lib-fs: Added fs_file_close() to explicitly close all streams that the file has open.
Timo Sirainen [Wed, 10 Apr 2013 15:48:54 +0000 (18:48 +0300)]
lib-index: Fixed failing unit test
Timo Sirainen [Wed, 10 Apr 2013 15:00:12 +0000 (18:00 +0300)]
lib-http: Don't double-free request memory when aborting them.
Timo Sirainen [Wed, 10 Apr 2013 14:53:24 +0000 (17:53 +0300)]
lib-http: http_client_deinit() calls any pending delayed failure callbacks.
Timo Sirainen [Wed, 10 Apr 2013 13:50:34 +0000 (16:50 +0300)]
lib-index: Assert-crashfix on some rare situations.
mail_index_modseq_get_next_log_offset() might have returned e.g. (seq=4,
offset=40) to point to the beginning of a next file. The view itself could
still have been pointing to seq=3 end of file. Now calling
mail_transaction_log_view_set() with these two positions (that are basically
the same) should result in an empty view instead of assert crash.
Timo Sirainen [Wed, 10 Apr 2013 11:52:17 +0000 (14:52 +0300)]
lib-fs: Add data stack frames to most API calls, so the backends/callers don't need to.
Timo Sirainen [Wed, 10 Apr 2013 11:51:37 +0000 (14:51 +0300)]
lib-http: Added data stack frame to avoid unnecessary data stack wasting.
Timo Sirainen [Wed, 10 Apr 2013 11:17:41 +0000 (14:17 +0300)]
lib-storage: Fixed mailbox list index crashes with shared mailboxes.
Timo Sirainen [Wed, 10 Apr 2013 11:13:51 +0000 (14:13 +0300)]
lib-storage: Added mail_namespaces_added hook.
Timo Sirainen [Wed, 10 Apr 2013 11:00:47 +0000 (14:00 +0300)]
lib-storage: Make sure index root dir is created when mailbox list index is created.
Timo Sirainen [Wed, 10 Apr 2013 10:40:57 +0000 (13:40 +0300)]
dsync: Don't fail the sync if attribute couldn't be set.
It's probably a system configuration mismatch where some/all attributes
don't work in one system but do on another. This might or might not be a
problem, so it deserves an error message, but probably doesn't deserve
failing entirely.
Timo Sirainen [Tue, 9 Apr 2013 21:14:09 +0000 (00:14 +0300)]
lib-storage: Fixed crash with mailbox_list_index=yes and out-of-date index.
Timo Sirainen [Tue, 9 Apr 2013 20:54:52 +0000 (23:54 +0300)]
istream-seekable: Fixed handling "buffer full" i_stream_read() result from underlying streams.
Timo Sirainen [Tue, 9 Apr 2013 11:17:56 +0000 (14:17 +0300)]
dsync: Fixed assert-crash caused by previous change
Timo Sirainen [Mon, 8 Apr 2013 15:14:32 +0000 (18:14 +0300)]
dsync: Commit large transactions every 100 new messages.
This way if the dsync crashes or transaction fails in the middle, the next
run can finish faster. Also the rollbacking finishes faster.
Timo Sirainen [Mon, 8 Apr 2013 14:10:14 +0000 (17:10 +0300)]
dsync: If saving mails fail, stop trying to save more of them and flooding logs.
Timo Sirainen [Mon, 8 Apr 2013 12:33:23 +0000 (15:33 +0300)]
dsync: -U parameter never updated replicator's full_sync state.
Timo Sirainen [Mon, 8 Apr 2013 12:13:39 +0000 (15:13 +0300)]
quota: dsync shouldn't trigger quota warnings
They would probably just be duplicates that were already triggered by the
other replica.
Timo Sirainen [Mon, 8 Apr 2013 11:53:31 +0000 (14:53 +0300)]
dsync: If dsync fails due to lock timeout, give a better error message.
Timo Sirainen [Mon, 8 Apr 2013 11:49:07 +0000 (14:49 +0300)]
lib-master: Ignore mountpoints with type cgroup.
Timo Sirainen [Mon, 8 Apr 2013 11:43:09 +0000 (14:43 +0300)]
doveadm replicator: Fixed showing over 1h old timestamps.
Timo Sirainen [Mon, 8 Apr 2013 11:38:30 +0000 (14:38 +0300)]
replicator: doveadm commands and user list export may have skipped some users.
The users were exported from the queue, but they are temporarily removed
from there while the user is being replicated. The users always exist in the
hash table though.
Timo Sirainen [Mon, 8 Apr 2013 10:25:18 +0000 (13:25 +0300)]
checkpasword: Don't set AUTH_PASSWORD environment.
Timo Sirainen [Mon, 8 Apr 2013 10:09:52 +0000 (13:09 +0300)]
restrict_process_count(): Don't die if process count can't be changed.
SELinux has hard limits and doesn't allow root to increase them. The admin
should fix the error one way or another, but it's not a total failure just
leaving it.
Timo Sirainen [Mon, 8 Apr 2013 10:03:12 +0000 (13:03 +0300)]
lib-http: If remote SSL cert is invalid, treat it as non-retryable error.
Timo Sirainen [Mon, 8 Apr 2013 10:02:27 +0000 (13:02 +0300)]
lib-ssl-iostream: Added ssl_iostream_has_handshake_failed()
Timo Sirainen [Sun, 7 Apr 2013 23:06:29 +0000 (02:06 +0300)]
Added signature for changeset
ae4341d0e83b
Timo Sirainen [Sun, 7 Apr 2013 23:06:25 +0000 (02:06 +0300)]
Added tag 2.2.rc6 for changeset
ae4341d0e83b
Timo Sirainen [Sun, 7 Apr 2013 23:06:25 +0000 (02:06 +0300)]
Released v2.2.rc6.
Timo Sirainen [Sun, 7 Apr 2013 22:56:25 +0000 (01:56 +0300)]
dsync: Fixed crashes with dsync-server -U parameter
Timo Sirainen [Sun, 7 Apr 2013 21:18:56 +0000 (00:18 +0300)]
fs-posix: Set file's fd to -1 after closing it
Timo Sirainen [Sun, 7 Apr 2013 20:56:01 +0000 (23:56 +0300)]
istream-qp-decoder: Fixed assert-crashes caused by recent forced-CRLF q-p change.
Timo Sirainen [Sun, 7 Apr 2013 20:26:52 +0000 (23:26 +0300)]
lib-fs: posix fs backend now closes the fd after reads are finished.
This allows keeping more fs_file structs open than there are available fds.
Timo Sirainen [Sun, 7 Apr 2013 20:17:37 +0000 (23:17 +0300)]
istream API change: Added support for multiple destroy callbacks.
Timo Sirainen [Sun, 7 Apr 2013 19:55:42 +0000 (22:55 +0300)]
ostream-metawrap: ..and compile fix to previous commit.
Timo Sirainen [Sun, 7 Apr 2013 19:54:48 +0000 (22:54 +0300)]
ostream-metawrap: Copy parent ostream's errors.
Timo Sirainen [Sun, 7 Apr 2013 17:32:37 +0000 (20:32 +0300)]
example-config: Added ssl_client_ca_file
Timo Sirainen [Sun, 7 Apr 2013 17:28:31 +0000 (20:28 +0300)]
Added ssl_client_ca_file to specify the CA certs as a file instead of as a dir.
This is required for Redhat-based systems where there isn't a CA directory
like in Debian/Ubuntu.
Timo Sirainen [Sun, 7 Apr 2013 17:06:42 +0000 (20:06 +0300)]
doveadm fs: Enable fs debug if doveadm -D parameter is given.
Timo Sirainen [Sun, 7 Apr 2013 17:06:28 +0000 (20:06 +0300)]
lib-fs: Added debug setting.
Timo Sirainen [Sun, 7 Apr 2013 16:50:29 +0000 (19:50 +0300)]
Moved lib-fs/fs-test to "doveadm fs" command.
Timo Sirainen [Sun, 7 Apr 2013 15:50:31 +0000 (18:50 +0300)]
lib-storage: mailbox list index didn't get its permissions from the root dir.
Timo Sirainen [Sun, 7 Apr 2013 15:49:32 +0000 (18:49 +0300)]
lib-storage: dovecot.mailbox.log should have used file permissions, not dir
Although this didn't actually make any difference since 0666 mask was used.
Timo Sirainen [Sun, 7 Apr 2013 15:33:21 +0000 (18:33 +0300)]
example-config: Added mailbox_list_index.
Timo Sirainen [Sun, 7 Apr 2013 15:01:52 +0000 (18:01 +0300)]
Added "doveadm replicator remove" command to remove users from replicator queue.
Timo Sirainen [Sun, 7 Apr 2013 14:47:16 +0000 (17:47 +0300)]
dsync: Fixed -U to send the notification on the remote server, not local.
Timo Sirainen [Sun, 7 Apr 2013 13:36:00 +0000 (16:36 +0300)]
lib-storage: If transaction commit fails, don't try to access garbage memory.
Timo Sirainen [Sun, 7 Apr 2013 12:36:35 +0000 (15:36 +0300)]
dsync: Fixed talking to earlier dsync without mailbox attribute support.
Most importantly it can now be used as an example how to add more features
to dsync.
Timo Sirainen [Sun, 7 Apr 2013 12:10:36 +0000 (15:10 +0300)]
connection_disconnect(): Explicitly close input/output stream.
This makes sure that if the ostream has some data pending and is still
referenced, the io_remove() won't be called after fd is already closed.
Timo Sirainen [Sun, 7 Apr 2013 12:03:36 +0000 (15:03 +0300)]
test-http-client: Allow invalid SSL certs in tests.
Timo Sirainen [Sun, 7 Apr 2013 12:02:46 +0000 (15:02 +0300)]
lib-http: ssl_crypto_device and ssl_allow_invalid_cert settings were ignored.
Timo Sirainen [Sun, 7 Apr 2013 11:56:19 +0000 (14:56 +0300)]
lib-http: Fixed receiving 100-continue reply after we already timed out waiting for it.
Timo Sirainen [Sun, 7 Apr 2013 11:46:45 +0000 (14:46 +0300)]
replicator: Have remote dsync notify the replicator that the user was just synced.
This way the replicators are roughly in sync.
Timo Sirainen [Sat, 6 Apr 2013 18:01:41 +0000 (21:01 +0300)]
replicator: Don't create replicator-doveadm socket by default.
Also removed the service replicator { process_min_avail=1 } requirement.
This new way allows replicator to give a flag to dsync so it will try to
notify the replicator process when user gets synced, which can be silently
ignored even if it fails (replica server doesn't need to have replicator
or even Dovecot itself running).
Timo Sirainen [Sat, 6 Apr 2013 17:44:38 +0000 (20:44 +0300)]
lib-index: Added missing NUL separator to attribute-update transaction log record.
Timo Sirainen [Fri, 5 Apr 2013 18:57:11 +0000 (21:57 +0300)]
fs-metawrap: Fixed fs_copy_finish_async() wrapping
Timo Sirainen [Fri, 5 Apr 2013 18:03:20 +0000 (21:03 +0300)]
Added signature for changeset
9446df6da5a8
Timo Sirainen [Fri, 5 Apr 2013 18:03:16 +0000 (21:03 +0300)]
Added tag 2.2.rc5 for changeset
9446df6da5a8
Timo Sirainen [Fri, 5 Apr 2013 18:03:16 +0000 (21:03 +0300)]
Released v2.2.rc5.
Timo Sirainen [Fri, 5 Apr 2013 16:27:41 +0000 (19:27 +0300)]
example-config: Added ssl_client_ca_dir setting.
Timo Sirainen [Fri, 5 Apr 2013 16:03:05 +0000 (19:03 +0300)]
lib-http: Fixed moving delayed request error timeouts between ioloops.
Timo Sirainen [Fri, 5 Apr 2013 13:37:45 +0000 (16:37 +0300)]
lib-index: Add timestamps and value lengths to attribute change records in transaction log.
The timestamps will be useful for dsync, and value lengths will be useful
for metadata quota.
Timo Sirainen [Fri, 5 Apr 2013 12:44:32 +0000 (15:44 +0300)]
imap: Fixed RESETKEY command to not return failure when it actually succeeded.
Timo Sirainen [Fri, 5 Apr 2013 12:17:30 +0000 (15:17 +0300)]
Make static analyzer happier.
Timo Sirainen [Fri, 5 Apr 2013 11:05:54 +0000 (14:05 +0300)]
doveadm batch: Fixed handling subcommand parameters and errors.
Timo Sirainen [Fri, 5 Apr 2013 10:19:17 +0000 (13:19 +0300)]
quota-status: Unknown recipients caused a crash.
Timo Sirainen [Fri, 5 Apr 2013 09:26:57 +0000 (12:26 +0300)]
layout=index: Don't crash on mailbox_update() if the mailbox path couldn't be found.
Timo Sirainen [Fri, 5 Apr 2013 09:25:29 +0000 (12:25 +0300)]
dsync: Fixes to location parameter handling.
Timo Sirainen [Thu, 4 Apr 2013 21:24:39 +0000 (00:24 +0300)]
Added signature for changeset
92c88eca562d
Timo Sirainen [Thu, 4 Apr 2013 21:24:36 +0000 (00:24 +0300)]
Added tag 2.2.rc4 for changeset
92c88eca562d
Timo Sirainen [Thu, 4 Apr 2013 21:24:36 +0000 (00:24 +0300)]
Released v2.2.rc4.
Timo Sirainen [Thu, 4 Apr 2013 21:13:16 +0000 (00:13 +0300)]
Merged changes from v2.1 tree.
Timo Sirainen [Thu, 4 Apr 2013 21:08:40 +0000 (00:08 +0300)]
Added signature for changeset
582108c190f8
Timo Sirainen [Thu, 4 Apr 2013 21:08:37 +0000 (00:08 +0300)]
Added tag 2.1.16 for changeset
582108c190f8
Timo Sirainen [Thu, 4 Apr 2013 21:08:36 +0000 (00:08 +0300)]
Released v2.1.16.
Timo Sirainen [Thu, 4 Apr 2013 20:58:47 +0000 (23:58 +0300)]
quota-status: Removed duplicate "action=" text from overquota messages.
Timo Sirainen [Thu, 4 Apr 2013 20:56:55 +0000 (23:56 +0300)]
quota-status: Added quota_status_(success|nouser|overquota) settings.
Timo Sirainen [Thu, 4 Apr 2013 20:35:27 +0000 (23:35 +0300)]
replicator: If replicator is unconfigured, fail at startup.
Timo Sirainen [Thu, 4 Apr 2013 20:35:08 +0000 (23:35 +0300)]
lib-master: Added master_service_get_process_min_avail()
Timo Sirainen [Thu, 4 Apr 2013 20:03:47 +0000 (23:03 +0300)]
dsync: Mailbox name fixing didn't work when namespace prefixes were used.
Timo Sirainen [Thu, 4 Apr 2013 20:03:30 +0000 (23:03 +0300)]
imapc: Don't assert-crash when ACL plugin tries to lookup "" mailbox.
Timo Sirainen [Thu, 4 Apr 2013 20:03:06 +0000 (23:03 +0300)]
imapc: Give an early error message if imapc_list_prefix ends with separator.
Timo Sirainen [Thu, 4 Apr 2013 19:49:38 +0000 (22:49 +0300)]
lib-storage: Crashfixes for handling shared mailboxes for nonexistent users.
Timo Sirainen [Thu, 4 Apr 2013 19:09:02 +0000 (22:09 +0300)]
istream-chain: Final fixes to handling merged streams.
Timo Sirainen [Thu, 4 Apr 2013 18:46:59 +0000 (21:46 +0300)]
istream-chain: More fixes to handling merged streams.
Timo Sirainen [Thu, 4 Apr 2013 18:23:49 +0000 (21:23 +0300)]
istream-chain: Fixed memory leak.
Timo Sirainen [Thu, 4 Apr 2013 18:18:59 +0000 (21:18 +0300)]
lib-imap-urlauth: Don't memcpy() data over itself.