]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Wed, 20 Mar 2013 16:46:10 +0000 (18:46 +0200)]
fts: Fixed crash when searching virtual mailboxes and fts backend without lookup_multi().
Patch by Mike Abbott / Apple
Timo Sirainen [Mon, 4 Mar 2013 13:53:42 +0000 (15:53 +0200)]
dbox: Crashfix on some failed save error conditions.
Timo Sirainen [Mon, 4 Mar 2013 13:18:08 +0000 (15:18 +0200)]
lib-settings: Improved error messages when config server disconnects too early.
Timo Sirainen [Wed, 27 Feb 2013 11:07:35 +0000 (13:07 +0200)]
message-decode: Minor fix to previous change.
The == condition should probably never happen, but handle it anyway.
Timo Sirainen [Wed, 27 Feb 2013 11:05:40 +0000 (13:05 +0200)]
message-decoder: Fixed assert-crash when trying to decode partial character twice.
Timo Sirainen [Tue, 26 Feb 2013 08:37:19 +0000 (10:37 +0200)]
lib-storage: If namespace has disabled=yes, don't verify alias_for validity.
Timo Sirainen [Tue, 26 Feb 2013 07:05:09 +0000 (09:05 +0200)]
scram-sha1: Support authzid field. Check fields' correctness better.
Timo Sirainen [Mon, 25 Feb 2013 15:23:25 +0000 (17:23 +0200)]
Fixed checking UTF8 input validity.
Timo Sirainen [Mon, 25 Feb 2013 14:44:57 +0000 (16:44 +0200)]
maildir: Preserve [SW]=sizes when renaming a maildir duplicate file.
Timo Sirainen [Sun, 24 Feb 2013 13:52:57 +0000 (15:52 +0200)]
lib-storage: Fixed setting \Recent flags for sessions that didn't drop them.
If another session wasn't dropping the \Recent flags, no new mails were
getting them unless the mailbox was reopened.
Timo Sirainen [Sun, 24 Feb 2013 13:50:26 +0000 (15:50 +0200)]
lib-storage: Fixed \Recent flag race conditions.
The \Recent flags should only be set while locked within
mail_index_sync_begin()..commit(). The following view syncing syncs only up
to how far the index was synced, so it won't see any new messages that
haven't yet been assigned a \Recent flag.
Timo Sirainen [Fri, 22 Feb 2013 13:49:35 +0000 (15:49 +0200)]
lib-index: Fixed assert-crash on some error conditions.
Timo Sirainen [Fri, 22 Feb 2013 12:49:27 +0000 (14:49 +0200)]
fts-solr: Truncate header if it's over 1 MB.
Previously we just warned about it.
Timo Sirainen [Fri, 22 Feb 2013 11:51:02 +0000 (13:51 +0200)]
lib-dict: Fixed hang if async commit's callback did more dict access.
Specifically this fixes a hang with dict-quota plugin when user didn't exist
and quota was changed before calculating it.
Timo Sirainen [Fri, 22 Feb 2013 10:19:36 +0000 (12:19 +0200)]
lib-lda: Give a better error message if dotlocking duplicate db fails.
Timo Sirainen [Fri, 22 Feb 2013 10:12:26 +0000 (12:12 +0200)]
dict-sql: Iterating with multiple SQL queries didn't free all the queries.
Timo Sirainen [Fri, 22 Feb 2013 08:42:40 +0000 (10:42 +0200)]
indexer-worker: Fixed keeping config connection open before dropping root privileges.
The initial settings reading doesn't really do anything, since the real
settings are again read by mail-storage-service.
Timo Sirainen [Fri, 22 Feb 2013 08:17:14 +0000 (10:17 +0200)]
fts: Don't send binary MIME parts to backend through UTF8 text conversion.
Based on patch by Mike Abbott / Apple.
Timo Sirainen [Fri, 22 Feb 2013 08:01:06 +0000 (10:01 +0200)]
mdbox: If m.X file has no mails, don't try to fix it infinitely in storage rebuild.
Timo Sirainen [Fri, 22 Feb 2013 07:43:59 +0000 (09:43 +0200)]
mdbox: Don't try to undelete any mailboxes in storage rebuild to avoid assert-crashes.
Timo Sirainen [Fri, 22 Feb 2013 05:37:18 +0000 (07:37 +0200)]
quota-status: Fixed compiling with older autotools.
Timo Sirainen [Thu, 21 Feb 2013 17:58:39 +0000 (19:58 +0200)]
imap: Allocate LIST patterns from command pool so they don't get corrupted in long runs.
Timo Sirainen [Thu, 21 Feb 2013 05:55:24 +0000 (07:55 +0200)]
Added quota plugin's headers to LIBDOVECOT_STORAGE_INCLUDE.
This allows creating external plugins that depend on the quota plugin
(similar to trash plugin).
Timo Sirainen [Wed, 20 Feb 2013 14:58:45 +0000 (16:58 +0200)]
quota-status: Load plugins after all.
They may be needed for user initialization to work (e.g. virtual plugin) or
maybe even for quota itself to work (external quota backend plugin).
Timo Sirainen [Tue, 19 Feb 2013 15:36:59 +0000 (17:36 +0200)]
Added quota-status service for asking if user is over quota.
Implemented Postfix-compatible policy server protocol initially. Usage:
service quota-status {
executable = quota-status -p postfix
unix_listener /var/spool/postfix/private/quota-status {
user = postfix
}
client_limit = 1
}
Postfix:
smtpd_recipient_restrictions =
...
check_policy_service unix:private/quota-status
Timo Sirainen [Sun, 17 Feb 2013 10:03:06 +0000 (12:03 +0200)]
mbox: If namespace prefix is used, don't show <prefix>/inbox mailbox.
Timo Sirainen [Sat, 16 Feb 2013 17:06:18 +0000 (19:06 +0200)]
login-common: Updated obsolete login_process_size setting in error log message.
Timo Sirainen [Sat, 16 Feb 2013 11:32:57 +0000 (13:32 +0200)]
mdbox: mailbox_copy() didn't properly free the save context.
Timo Sirainen [Fri, 8 Feb 2013 14:42:21 +0000 (16:42 +0200)]
mdbox: Crashfix for storage rebuild
Timo Sirainen [Fri, 8 Feb 2013 13:05:40 +0000 (15:05 +0200)]
Added signature for changeset
fc75811f3c08
Timo Sirainen [Fri, 8 Feb 2013 13:05:37 +0000 (15:05 +0200)]
Added tag 2.1.15 for changeset
fc75811f3c08
Timo Sirainen [Fri, 8 Feb 2013 13:05:36 +0000 (15:05 +0200)]
Released v2.1.15.
Timo Sirainen [Wed, 6 Feb 2013 17:00:52 +0000 (19:00 +0200)]
lib-storage: Convert INBOX to uppercase also when namespace has inbox=no.
This fixes assert-crash in mailbox_check_mismatching_separators().
Timo Sirainen [Wed, 6 Feb 2013 16:29:22 +0000 (18:29 +0200)]
lib-index: Avoid assert-crashing later if mmap(dovecot.index.cache) fails.
Timo Sirainen [Tue, 5 Feb 2013 14:48:29 +0000 (16:48 +0200)]
lmtp: If verbose_proctitle=yes, update the process state in the title.
Timo Sirainen [Mon, 4 Feb 2013 15:06:40 +0000 (17:06 +0200)]
lib-index: Bug in cache file size verification caused the whole cache file to be mapped.
Timo Sirainen [Mon, 4 Feb 2013 14:10:50 +0000 (16:10 +0200)]
lib-storage: If message parser's input stream is closed early, don't treat it as error.
This seems to happen sometimes during message saving(?), although I'm not
exactly sure why. In any case it shouldn't log an error about it. This
behavior is probably better than failing. The caller should be the one to
figure out if saving has failed or not.
Timo Sirainen [Mon, 4 Feb 2013 14:03:54 +0000 (16:03 +0200)]
imap: Set [io]stream name for imap client connections.
Timo Sirainen [Mon, 4 Feb 2013 13:59:50 +0000 (15:59 +0200)]
istream-tee: Copy the parent stream's name to child streams.
Timo Sirainen [Mon, 4 Feb 2013 13:59:12 +0000 (15:59 +0200)]
i_stream_close(): Set stream_errno to EPIPE instead of ENOENT.
Timo Sirainen [Fri, 1 Feb 2013 22:31:44 +0000 (00:31 +0200)]
dbox: Fail if trying to create a mailbox that already exists.
Timo Sirainen [Thu, 31 Jan 2013 16:27:22 +0000 (18:27 +0200)]
lib-ssl-iostream: Pass the plain istream's fd to ssl_istream.
Timo Sirainen [Thu, 31 Jan 2013 16:17:10 +0000 (18:17 +0200)]
iostream-rawlog: Ignore 0 byte writes instead of assert-crashing.
Timo Sirainen [Wed, 30 Jan 2013 22:27:17 +0000 (00:27 +0200)]
auth: Removed assert-checks, allowing plugins to set skip_password_check.
Timo Sirainen [Wed, 30 Jan 2013 21:45:10 +0000 (23:45 +0200)]
Added signature for changeset
b314c97d4bbf
Timo Sirainen [Wed, 30 Jan 2013 21:45:06 +0000 (23:45 +0200)]
Added tag 2.1.14 for changeset
b314c97d4bbf
Timo Sirainen [Wed, 30 Jan 2013 21:45:06 +0000 (23:45 +0200)]
Released v2.1.14.
Timo Sirainen [Tue, 29 Jan 2013 15:55:20 +0000 (17:55 +0200)]
lib-index: Fixed invalidating buffered cache file with map_with_read.
Timo Sirainen [Tue, 22 Jan 2013 14:53:52 +0000 (16:53 +0200)]
lib-index: Fixes to handling broken cache records that point outside file.
Especially try to avoid failing by trying to allocate gigabytes of memory.
Timo Sirainen [Tue, 22 Jan 2013 14:31:17 +0000 (16:31 +0200)]
lib-storage: Catch input stream errors when parsing mail.
Timo Sirainen [Tue, 15 Jan 2013 06:30:03 +0000 (08:30 +0200)]
buffer: Always keep +1 byte available for str_c()'s NUL.
Timo Sirainen [Mon, 14 Jan 2013 11:01:33 +0000 (13:01 +0200)]
doveadm acl: Added "recalc" command to rebuild acl_lookup_dict for the user.
Timo Sirainen [Wed, 9 Jan 2013 05:01:41 +0000 (07:01 +0200)]
mdbox rebuild: Update to previous commit
Timo Sirainen [Wed, 9 Jan 2013 04:59:51 +0000 (06:59 +0200)]
mdbox rebuild: Don't always duplicate messages that have conflicting GUIDs.
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.
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.
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.
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).
Timo Sirainen [Tue, 8 Jan 2013 03:37:43 +0000 (05:37 +0200)]
DEBUG: buffer_verify_pool() crashed with empty buffer.
Timo Sirainen [Tue, 8 Jan 2013 01:44:14 +0000 (03:44 +0200)]
DEBUG: buffer_verify_pool() crashed with static sized buffers.
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
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.
Timo Sirainen [Mon, 7 Jan 2013 08:55:27 +0000 (10:55 +0200)]
Added signature for changeset
cf9d62fd0b14
Timo Sirainen [Mon, 7 Jan 2013 08:55:17 +0000 (10:55 +0200)]
Added tag 2.1.13 for changeset
cf9d62fd0b14
Timo Sirainen [Mon, 7 Jan 2013 08:55:17 +0000 (10:55 +0200)]
Released v2.1.13.
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.
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.)
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).
Timo Sirainen [Fri, 4 Jan 2013 21:24:26 +0000 (23:24 +0200)]
uni_utf8_*(): Treat overlong UTF8 sequences as invalid.
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.
Timo Sirainen [Fri, 4 Jan 2013 01:50:35 +0000 (03:50 +0200)]
DEBUG: Call buffer_verify_pool() on str_c*()
Timo Sirainen [Fri, 4 Jan 2013 01:50:18 +0000 (03:50 +0200)]
Added buffer_verify_pool()
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.
lion@ubuntu.ubuntu-domain [Fri, 7 Dec 2012 04:50:35 +0000 (08:50 +0400)]
lib-index: Optimized single sequence lookup of newly created mails in transaction view.
lion@ubuntu.ubuntu-domain [Fri, 7 Dec 2012 04:50:35 +0000 (08:50 +0400)]
lib-index: Fixed sequence lookup of newly created mails in transaction view.
Timo Sirainen [Wed, 19 Dec 2012 13:00:45 +0000 (15:00 +0200)]
lib-index: If map_with_read gets disabled, reset the cache buffers properly.
Timo Sirainen [Tue, 18 Dec 2012 20:13:48 +0000 (22:13 +0200)]
auth: Added CLEAR as yet another alias to PLAIN/CLEARTEXT password scheme.
This apparently is used by Sun LDAP server.
Timo Sirainen [Tue, 18 Dec 2012 20:07:36 +0000 (22:07 +0200)]
lib-index: MAIL_INDEX_OPEN_FLAG_SAVEONLY was buggy when reading data near end of dovecot.index.cache.
We assumed that we read as much as we requested, even if the file was
smaller.
Timo Sirainen [Tue, 18 Dec 2012 20:05:55 +0000 (22:05 +0200)]
lib-index: Make sure a corrupted mail_cache_header_fields.size doesn't cause crashes.
Timo Sirainen [Tue, 18 Dec 2012 19:45:08 +0000 (21:45 +0200)]
raw storage: Make sure "from envelope" isn't returned as NULL.
Timo Sirainen [Tue, 18 Dec 2012 19:37:57 +0000 (21:37 +0200)]
config: Notify process creation success to master only after parsing config file
Timo Sirainen [Tue, 18 Dec 2012 19:20:38 +0000 (21:20 +0200)]
example-config: Added missing dovecot-dict-auth.conf.ext
Timo Sirainen [Tue, 18 Dec 2012 19:15:19 +0000 (21:15 +0200)]
lib-index: If sure mail_index_alloc_cache_destroy_unrefed() closes indexes it alone keeps open.
This makes sure that all index files are closed within process when mailbox
is deleted.
Timo Sirainen [Tue, 18 Dec 2012 18:48:36 +0000 (20:48 +0200)]
indexer-worker: Don't assert-crash with some mailbox names in some configurations.
Virtual mailbox name shouldn't be accessed directly using mailbox_list_*()
functions, since they expect a storage name. In some configurations this
could have caused assert-crashes with mailbox names that contained invalid
characters.
Timo Sirainen [Tue, 18 Dec 2012 16:57:41 +0000 (18:57 +0200)]
auth: When auto-loading auth mechanisms from plugins, generate the name better.
Timo Sirainen [Thu, 13 Dec 2012 10:14:57 +0000 (12:14 +0200)]
dict-file: Automatically mkdir missing parent directories if they don't exist.
Timo Sirainen [Thu, 13 Dec 2012 10:14:03 +0000 (12:14 +0200)]
lib-storage: Use stat_first_parent() instead of doing it ourself.
Timo Sirainen [Thu, 13 Dec 2012 10:13:42 +0000 (12:13 +0200)]
Added stat_first_parent() helper function.
Timo Sirainen [Tue, 11 Dec 2012 18:04:10 +0000 (20:04 +0200)]
virtual plugin: Don't fail if mailbox patterns don't match anything.
Timo Sirainen [Sat, 8 Dec 2012 09:13:51 +0000 (11:13 +0200)]
lib-master: Ignore /Volumes and /private/tmp mountpoints with OSX (only).
Timo Sirainen [Sat, 8 Dec 2012 09:12:10 +0000 (11:12 +0200)]
lib-master: Ignore mountpoints under /Volumes by default.
Timo Sirainen [Sat, 8 Dec 2012 08:48:23 +0000 (10:48 +0200)]
doveadm: table formatter supports now writing by streaming.
This fixes it to work with doveadm server, which sometimes may use
streaming.
Timo Sirainen [Sat, 8 Dec 2012 08:43:21 +0000 (10:43 +0200)]
imap: If mailbox doesn't have read ACL, hide APPENDUID/COPYUID resp-codes.
Timo Sirainen [Sat, 8 Dec 2012 07:35:33 +0000 (09:35 +0200)]
fts-solr: Fixed memory leak
Timo Sirainen [Fri, 30 Nov 2012 06:56:55 +0000 (08:56 +0200)]
Added signature for changeset
75bfda4a7c6c
Timo Sirainen [Fri, 30 Nov 2012 06:56:44 +0000 (08:56 +0200)]
Added tag 2.1.12 for changeset
75bfda4a7c6c
Timo Sirainen [Fri, 30 Nov 2012 06:56:44 +0000 (08:56 +0200)]
Released v2.1.12.
Timo Sirainen [Fri, 30 Nov 2012 01:14:10 +0000 (03:14 +0200)]
expire plugin: Don't crash when doveadm is run with proxying
Timo Sirainen [Thu, 29 Nov 2012 10:43:54 +0000 (12:43 +0200)]
Makefile: dovecot-config was missing quotes in LIBDOVECOT_LOGIN
Timo Sirainen [Thu, 29 Nov 2012 06:41:28 +0000 (08:41 +0200)]
Added signature for changeset
741d800a192f