]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Mon, 6 May 2013 20:59:41 +0000 (23:59 +0300)]
lib-index: Previous commit sometimes broke scanning transaction log view.
If min_file_seq+offset pointed to the end of the previous file that no
longer existed, we didn't just skip over it.
Timo Sirainen [Mon, 6 May 2013 17:21:27 +0000 (20:21 +0300)]
imap: URLFETCH sometimes failed thinking it didn't receive all of the message data.
Timo Sirainen [Mon, 6 May 2013 17:20:43 +0000 (20:20 +0300)]
imap: URLFETCH leaked istream on failures.
Timo Sirainen [Mon, 6 May 2013 17:15:58 +0000 (20:15 +0300)]
imap: Fixed URLFETCH assert-crashes due to output_cmd_lock not being cleared.
Timo Sirainen [Mon, 6 May 2013 16:51:07 +0000 (19:51 +0300)]
imap: Don't eat away the next command if CATENATE fails.
Timo Sirainen [Mon, 6 May 2013 16:49:55 +0000 (19:49 +0300)]
imap: Fixed assert-crash on invalid APPEND parameters.
Timo Sirainen [Mon, 6 May 2013 16:49:18 +0000 (19:49 +0300)]
imap: Don't hang in APPEND when giving it invalid parameters.
Timo Sirainen [Mon, 6 May 2013 16:48:32 +0000 (19:48 +0300)]
lib-imap: imap_parser_read_args() shouldn't append multiple EOLs when calling multiple times.
Timo Sirainen [Mon, 6 May 2013 15:35:36 +0000 (18:35 +0300)]
lib-imap-urlauth: Don't try to access garbage memory on error handling paths.
Timo Sirainen [Mon, 6 May 2013 14:30:07 +0000 (17:30 +0300)]
doveadm: If search query attempts to access nonexistent mailbox, just ignore it.
Most importantly running a query for multiple users wouldn't be an error if
the mailbox existed only for some users. It's probably cleaner to then
always just ignore the nonexistent mailboxes.
Timo Sirainen [Mon, 6 May 2013 14:27:36 +0000 (17:27 +0300)]
doveadm_mail_iter_init(): Removed unnecessarily returning transaction.
If it's needed in future just add a new doveadm_mail_iter_get_transaction().
Timo Sirainen [Mon, 6 May 2013 13:43:29 +0000 (16:43 +0300)]
lib-index: The previous assert-crashfix didn't actually fix the problem.
Timo Sirainen [Mon, 6 May 2013 12:17:49 +0000 (15:17 +0300)]
maildir++: Fixed mail_shared_explicit_inbox=no
Timo Sirainen [Mon, 6 May 2013 12:04:57 +0000 (15:04 +0300)]
namespace { prefix="" list=no } should never be listed.
Timo Sirainen [Mon, 6 May 2013 11:59:27 +0000 (14:59 +0300)]
acl: Optionally get default ACL's for private/shared namespaces from user's INBOX.
This probably should be the default always, but better not break anyone's
existing setup until v2.3.0. So for now there's a setting for this:
plugin { acl_defaults_from_inbox = yes }
Timo Sirainen [Mon, 6 May 2013 11:58:55 +0000 (14:58 +0300)]
acl: Mailbox creation ignored ACLs (due to API changes in v2.2).
The created mailbox couldn't have been accessed however.
Timo Sirainen [Fri, 3 May 2013 14:17:15 +0000 (17:17 +0300)]
quota-status: Return 554 instead of 552 on quota failures.
This is because RFC 5321/2821 recommends that 552 is treated the same as 452.
Timo Sirainen [Thu, 2 May 2013 15:32:47 +0000 (18:32 +0300)]
lib-imap-urlauth: Don't try to access garbage memory on error handling path.
Timo Sirainen [Thu, 2 May 2013 15:29:50 +0000 (18:29 +0300)]
imap-urlauth-worker: Fixed a crash (by removing unnecessary code)
Timo Sirainen [Thu, 2 May 2013 15:18:26 +0000 (18:18 +0300)]
imap: Don't allow empty CATENATE () list.
Timo Sirainen [Thu, 2 May 2013 15:11:56 +0000 (18:11 +0300)]
imap: Fixed using literals for URLs in CATENATE.
Timo Sirainen [Thu, 2 May 2013 13:20:02 +0000 (16:20 +0300)]
example-config: Typofix
Timo Sirainen [Tue, 23 Apr 2013 18:32:24 +0000 (21:32 +0300)]
stats plugin: Don't try to send notifications to already dead stats process.
Timo Sirainen [Tue, 23 Apr 2013 18:31:52 +0000 (21:31 +0300)]
lib-master: Added master_service_is_master_stopped()
Timo Sirainen [Tue, 23 Apr 2013 18:08:31 +0000 (21:08 +0300)]
hash_table_clear(): Added a comment about API usage.
Timo Sirainen [Tue, 23 Apr 2013 18:06:34 +0000 (21:06 +0300)]
maildir: Crashfix after dovecot-keywords file was re-read.
Timo Sirainen [Tue, 23 Apr 2013 18:06:00 +0000 (21:06 +0300)]
lib-storage: Fixed crash with mailbox_list_index=yes after re-reading index.
Timo Sirainen [Tue, 23 Apr 2013 17:53:53 +0000 (20:53 +0300)]
istream-[b]zlib: Don't break if parent stream gets seeked in the middle of reads.
Timo Sirainen [Tue, 23 Apr 2013 17:51:34 +0000 (20:51 +0300)]
dbox: Close file's fd only after its istream is destroyed.
For example zlib plugin keeps the stream open as a cache even after the
dbox_file has been destroyed.
Timo Sirainen [Tue, 23 Apr 2013 14:21:46 +0000 (17:21 +0300)]
istream-seekable: Don't crash when seeking forwards past the data we haven't read yet.
Timo Sirainen [Tue, 23 Apr 2013 13:20:48 +0000 (16:20 +0300)]
lib-http: Makefile fix
Timo Sirainen [Tue, 23 Apr 2013 10:47:46 +0000 (13:47 +0300)]
fts-solr: Don't crash if fts_solr setting is invalid.
Timo Sirainen [Tue, 23 Apr 2013 10:33:12 +0000 (13:33 +0300)]
master: Fixed warning log message.
Timo Sirainen [Tue, 23 Apr 2013 10:28:17 +0000 (13:28 +0300)]
OpenBSD compile fix: include sys/socket.h when checking for struct sockpeercred.
Timo Sirainen [Mon, 22 Apr 2013 18:51:01 +0000 (21:51 +0300)]
stats plugin: Use nonblocking open() for stats fifo.
This fixes hangs in it. Alternative would be to use alarm().
Timo Sirainen [Mon, 22 Apr 2013 15:45:04 +0000 (18:45 +0300)]
zlib: Keep the last read mail cached uncompressed in a temp file.
This fixes performance problems with partial IMAP FETCH commands.
Timo Sirainen [Sat, 20 Apr 2013 18:57:47 +0000 (21:57 +0300)]
lib-storage: Avoid wasting data stack during searches.
Timo Sirainen [Sat, 20 Apr 2013 18:02:30 +0000 (21:02 +0300)]
Fixed a memory leak.
Timo Sirainen [Sat, 20 Apr 2013 17:58:06 +0000 (20:58 +0300)]
stats plugin: Fixed memory leak.
Timo Sirainen [Fri, 19 Apr 2013 11:29:23 +0000 (14:29 +0300)]
Compiling fix for Sun compilers.
I wish gcc/clang warned about these as well, as sometimes they indicate bugs.
Timo Sirainen [Thu, 18 Apr 2013 21:38:05 +0000 (00:38 +0300)]
Added signature for changeset
6fcf060b50f1
Timo Sirainen [Thu, 18 Apr 2013 21:38:00 +0000 (00:38 +0300)]
Added tag 2.2.1 for changeset
6fcf060b50f1
Timo Sirainen [Thu, 18 Apr 2013 21:38:00 +0000 (00:38 +0300)]
Released v2.2.1.
Timo Sirainen [Thu, 18 Apr 2013 15:49:55 +0000 (18:49 +0300)]
layout=index: Fixed listing subscriptions.
Timo Sirainen [Thu, 18 Apr 2013 14:54:29 +0000 (17:54 +0300)]
lib-storage: Set virtual/physical size in dest_mail when copying, if possible.
Ideally lib-index would be fixed so this wouldn't be necessary. The
lib-index way of fixing it would also be useful for more than just quota
plugin.
Timo Sirainen [Thu, 18 Apr 2013 14:48:38 +0000 (17:48 +0300)]
lib-storage: mailbox_copy() didn't always copy all the cached fields to destination.
If the destination mailbox's cache file wasn't already opened, the default
cache decisions were used.
Stephan Bosch [Wed, 17 Apr 2013 15:47:36 +0000 (18:47 +0300)]
liblib: Added DLLIST2_INSERT_AFTER_FULL()
For inserting a new element in a doubly-linked list after an existing
element.
Stephan Bosch [Wed, 17 Apr 2013 15:44:52 +0000 (18:44 +0300)]
lib-imap-urlauth: Fixed connection error handling to abort all pending requests.
Timo Sirainen [Wed, 17 Apr 2013 13:19:42 +0000 (16:19 +0300)]
lib-storage: mailbox_save_finish() internally does one final mailbox_save_continue()
Timo Sirainen [Wed, 17 Apr 2013 13:08:26 +0000 (16:08 +0300)]
doveadm fs: Set base_dir.
Timo Sirainen [Tue, 16 Apr 2013 17:08:18 +0000 (20:08 +0300)]
mbox: Handle broken Status: and X-Status: headers without sync errors.
Timo Sirainen [Tue, 16 Apr 2013 13:20:30 +0000 (16:20 +0300)]
auth: Fixed multiple master passdbs.
Timo Sirainen [Tue, 16 Apr 2013 12:54:05 +0000 (15:54 +0300)]
maildir: Fixed crash in some rare situations.
Timo Sirainen [Mon, 15 Apr 2013 18:40:35 +0000 (21:40 +0300)]
zlib: Don't crash when trying to use zlib_save for handler that isn't compiled in.
Timo Sirainen [Mon, 15 Apr 2013 14:22:06 +0000 (17:22 +0300)]
lib-mail: Don't assert-crash when multipart doesn't actually have any parts.
Timo Sirainen [Sun, 14 Apr 2013 18:27:29 +0000 (21:27 +0300)]
lib-storage: mailbox_list_index=yes was still broken.
Timo Sirainen [Sun, 14 Apr 2013 17:40:47 +0000 (20:40 +0300)]
Linking error fix.
Timo Sirainen [Fri, 12 Apr 2013 18:19:38 +0000 (21:19 +0300)]
Added tag 2.2.0 for changeset
1c8e7a295d4b
Timo Sirainen [Thu, 11 Apr 2013 19:38:59 +0000 (22:38 +0300)]
Added signature for changeset
e2cd03cc9c69
Timo Sirainen [Thu, 11 Apr 2013 19:38:54 +0000 (22:38 +0300)]
Released v2.1.0.
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