]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Wed, 19 Feb 2014 22:54:16 +0000 (14:54 -0800)]
auth: Don't crash if passdb passwd-file is used without any userdbs.
Timo Sirainen [Sat, 15 Feb 2014 01:41:29 +0000 (10:41 +0900)]
lib-index: Minor code cleanup
The previous calculation was correct also though.
Timo Sirainen [Thu, 13 Feb 2014 21:36:14 +0000 (23:36 +0200)]
Added signature for changeset
8e4433702920
Timo Sirainen [Thu, 13 Feb 2014 21:36:09 +0000 (23:36 +0200)]
Added tag 2.2.12 for changeset
8e4433702920
Timo Sirainen [Thu, 13 Feb 2014 21:36:03 +0000 (23:36 +0200)]
Released v2.2.12.
Teemu Huovila [Thu, 13 Feb 2014 03:33:13 +0000 (05:33 +0200)]
pop3: Access sequence numbers correctly.
Timo Sirainen [Tue, 11 Feb 2014 22:51:17 +0000 (00:51 +0200)]
Added signature for changeset
6b96eb75ded2
Timo Sirainen [Tue, 11 Feb 2014 22:51:10 +0000 (00:51 +0200)]
Added tag 2.2.11 for changeset
6b96eb75ded2
Timo Sirainen [Tue, 11 Feb 2014 22:51:10 +0000 (00:51 +0200)]
Released v2.2.11.
Timo Sirainen [Tue, 11 Feb 2014 22:14:58 +0000 (07:14 +0900)]
acl: Recent changes caused global ACL filenames to be looked up with real mailbox names, not vnames.
Timo Sirainen [Fri, 7 Feb 2014 20:53:54 +0000 (15:53 -0500)]
auth: Allow auth_verbose_passwords=yes as an alias for "plain".
Timo Sirainen [Fri, 7 Feb 2014 20:53:32 +0000 (15:53 -0500)]
auth: Fixed crash/NULL error if auth_verbose_passwords had an invalid value.
Timo Sirainen [Fri, 7 Feb 2014 20:44:10 +0000 (15:44 -0500)]
lib-http: Fixed test-http-url not to crash with some libcs
Those that crash when %s attempts to print NULL.
Timo Sirainen [Fri, 7 Feb 2014 20:36:15 +0000 (15:36 -0500)]
acl: Fixed assert-crash when using the new global ACL file.
Timo Sirainen [Fri, 7 Feb 2014 20:03:33 +0000 (15:03 -0500)]
pop3: Use POP3 order sorting only when directly listing UIDLs.
"Message ordering changed unexpectedly" errors can be completely avoided by
using either pop3_lock_session=yes or adding %u to pop3_logout_format.
Timo Sirainen [Fri, 7 Feb 2014 19:24:44 +0000 (14:24 -0500)]
doveadm fetch: Added pop3.order field.
Timo Sirainen [Fri, 7 Feb 2014 15:17:25 +0000 (17:17 +0200)]
doveadm user: Don't crash if multiple mask parameters are given with at least one wildcard.
Timo Sirainen [Wed, 5 Feb 2014 16:57:35 +0000 (11:57 -0500)]
Copyright updated to 2014 in two more places
Teemu Huovila [Tue, 4 Feb 2014 23:17:35 +0000 (18:17 -0500)]
lib-compression: Add assert for LZ4_compress return value.
Make certain we detect if compressed data overflows the allocated space.
Timo Sirainen [Tue, 4 Feb 2014 21:23:22 +0000 (16:23 -0500)]
Updated copyright notices to include year 2014.
Timo Sirainen [Mon, 3 Feb 2014 17:42:13 +0000 (12:42 -0500)]
imap: SEARCH/SORT PARTIAL reponses may have been too large.
Timo Sirainen [Mon, 3 Feb 2014 17:04:19 +0000 (12:04 -0500)]
imapc: Fixed assert-crash when listing INBOX and imapc_list_prefix was set.
Timo Sirainen [Mon, 3 Feb 2014 16:50:49 +0000 (11:50 -0500)]
doveadm backup: Fixed assert-crash when syncing mailbox deletion.
Timo Sirainen [Mon, 3 Feb 2014 16:50:10 +0000 (11:50 -0500)]
dsync: Added extra asserts
Timo Sirainen [Mon, 3 Feb 2014 16:38:40 +0000 (11:38 -0500)]
test-istream-concat unit test improved.
Still pretty ugly to test with randomness, but at least it caught the bug in v2.1.
Timo Sirainen [Mon, 3 Feb 2014 15:53:59 +0000 (10:53 -0500)]
pop3-migration: If UIDLs can't be set, fail unless pop3_migration_ignore_missing_uidls=yes.
Timo Sirainen [Mon, 3 Feb 2014 15:49:03 +0000 (10:49 -0500)]
pop3-migration: Convert NULs to 0x80 chars in header when hashing.
This should help at least with Dovecot and I think also with UW-IMAP/POP3.
Timo Sirainen [Mon, 3 Feb 2014 15:47:31 +0000 (10:47 -0500)]
pop3-migration: Work around IMAP/POP3 server bugs which truncate the header too early.
Timo Sirainen [Fri, 31 Jan 2014 01:12:30 +0000 (02:12 +0100)]
doveadm auth cache flush: Fixed broken default auth-master path.
Broken by
c41700c4a9bb . Patch by Chris Moules.
Timo Sirainen [Thu, 30 Jan 2014 21:03:40 +0000 (22:03 +0100)]
net_transmit() may have wrongly returned EPIPE error.
If errno was EPIPE before net_transmit() was called and sendto() didn't
change it, we still returned error.
Also removed the unlikely() call which isn't all that unlikely for
non-blocking code.
Teemu Huovila [Thu, 30 Jan 2014 02:38:57 +0000 (03:38 +0100)]
lib-compression: Fixed LZ4 maximum output buffer size
Timo Sirainen [Mon, 27 Jan 2014 14:35:46 +0000 (16:35 +0200)]
acl plugin: Added an alternative global ACL file that can contain mailbox patterns.
Instead of pointing the global ACL path to a directory use a file instead.
The file format is "<mailbox pattern> <normal ACL line>". Most importantly
this can be used to specify default ACLs for namespaces.
The mailbox pattern uses "*" and "?" wildcards currently. I'm not sure if I
should still change them to IMAP "*" and "%" wildcards. That would make the
behavior more complex ("%" depends on hierarchy separator), slightly slower
and quota code is already also using the */? wildcards..
Timo Sirainen [Mon, 27 Jan 2014 12:25:03 +0000 (14:25 +0200)]
lib-compression: Assert-crashfix to handling EOF in LZ4 compression
Timo Sirainen [Fri, 17 Jan 2014 22:36:29 +0000 (17:36 -0500)]
acl: Minor macro naming cleanup
Timo Sirainen [Fri, 17 Jan 2014 22:33:47 +0000 (17:33 -0500)]
acl: Moved acl_rights array from vfile-specific code to generic struct acl_object.
Timo Sirainen [Fri, 17 Jan 2014 21:23:49 +0000 (16:23 -0500)]
acl: More code cleanups.
Timo Sirainen [Fri, 17 Jan 2014 21:10:56 +0000 (16:10 -0500)]
acl: Code cleanup by moving around the code and renaming functions.
Timo Sirainen [Wed, 15 Jan 2014 21:44:04 +0000 (16:44 -0500)]
liblib: Added str_unescape_next()
Timo Sirainen [Wed, 15 Jan 2014 20:57:50 +0000 (15:57 -0500)]
stats plugin: Fixed updating clock_time
Timo Sirainen [Wed, 15 Jan 2014 20:54:14 +0000 (15:54 -0500)]
stats: Also export the clock_time to doveadm.
Timo Sirainen [Wed, 15 Jan 2014 20:50:38 +0000 (15:50 -0500)]
stats: Track clock time as well as user/sys CPU time.
Timo Sirainen [Wed, 15 Jan 2014 20:11:22 +0000 (22:11 +0200)]
lib-index: Keep track of views and transactions in linked lists.
This makes debugging easier.
Timo Sirainen [Wed, 15 Jan 2014 20:07:50 +0000 (15:07 -0500)]
imap-proxy: Fixed resetting proxy state after failed login.
Timo Sirainen [Wed, 15 Jan 2014 20:03:22 +0000 (15:03 -0500)]
imap-proxy: Recent changes caused CAPABILITY repeating with pipelining disabled.
Timo Sirainen [Wed, 15 Jan 2014 01:49:42 +0000 (03:49 +0200)]
Makefile: Added missing iostream-lz4.h
Timo Sirainen [Tue, 14 Jan 2014 22:57:59 +0000 (00:57 +0200)]
lib-compression: Added initial support for LZ4
There's no standard file format for LZ4, so we created our own. The code has
had only minimal testing currently, so there may be bugs.
Timo Sirainen [Tue, 14 Jan 2014 22:28:35 +0000 (00:28 +0200)]
lib-http: Added http_client_request_remove_header()
Timo Sirainen [Tue, 14 Jan 2014 22:28:20 +0000 (00:28 +0200)]
lib-http: Allow calling http_client_request_add_header() when retrying requests.
Timo Sirainen [Tue, 14 Jan 2014 01:33:35 +0000 (03:33 +0200)]
*-login: Fix to previous commit: Default auth_user to original_user
Timo Sirainen [Tue, 14 Jan 2014 01:24:47 +0000 (03:24 +0200)]
auth, login, mail: Added %{auth_user}, %{auth_username} and %{auth_domain}
They expand to the SASL authentication ID. So if master user login is done,
it expands to the master user. If username changes during authentication, it
expands to the original username. Otherwise %{user} and %{auth_user} are
equal.
Timo Sirainen [Tue, 14 Jan 2014 00:43:09 +0000 (02:43 +0200)]
auth: Send original_user to auth client also when there aren't any extra fields.
Timo Sirainen [Mon, 13 Jan 2014 20:58:13 +0000 (15:58 -0500)]
dbox: Removed unused code.
Timo Sirainen [Mon, 13 Jan 2014 20:44:34 +0000 (22:44 +0200)]
iostream-temp: Support o_stream_pwrite()
Timo Sirainen [Mon, 13 Jan 2014 18:57:12 +0000 (20:57 +0200)]
doveadm fs delete: Fixed non-recursive deletion broken by previous commit
Stephan Bosch [Fri, 10 Jan 2014 20:00:39 +0000 (15:00 -0500)]
http: Improved HTTP header parser state machine and error messages.
Stephan Bosch [Fri, 10 Jan 2014 20:00:28 +0000 (15:00 -0500)]
lib-http: Added option to the header parser to make it lenient towards illegal characters in header field content.
The offending characters are then skipped without error. This is required
for the http client as a workaround for bugs in certain HTTP servers. This
behavior is explicitly not enabled for the http-request-parser as used by
our own HTTP server implementation.
Timo Sirainen [Fri, 10 Jan 2014 19:59:15 +0000 (21:59 +0200)]
lib-master: Added unit test for master_service_settings_cache_read()
Timo Sirainen [Fri, 10 Jan 2014 18:00:39 +0000 (13:00 -0500)]
imap proxy: Avoid duplicate CAPABILITY reply when backend is Dovecot.
This happened if the client sent a CAPABILITY command to the proxy.
Timo Sirainen [Thu, 9 Jan 2014 22:19:19 +0000 (00:19 +0200)]
doveadm fs delete: Added -n parameter to asynchronously delete multiple files at once.
Timo Sirainen [Wed, 8 Jan 2014 16:24:36 +0000 (11:24 -0500)]
lib-storage: Implemented get_metadata() for fail-mailbox.
This fixes a crash when a nonexistent mailbox was allocated and accessed
(via LAYOUT=index).
Timo Sirainen [Tue, 7 Jan 2014 19:33:29 +0000 (14:33 -0500)]
imap proxy: Set proxy_state correctly also with proxy_nopipelining.
Timo Sirainen [Mon, 23 Dec 2013 13:30:31 +0000 (15:30 +0200)]
imap proxy: Added proxy_nopipelining passdb setting to work around other servers' bugs.
Timo Sirainen [Fri, 20 Dec 2013 17:59:22 +0000 (19:59 +0200)]
mdbox: When purging writes new data, flush them to disk before locking the map index.
Timo Sirainen [Fri, 20 Dec 2013 02:57:25 +0000 (04:57 +0200)]
Added signature for changeset
614bd6600011
Timo Sirainen [Fri, 20 Dec 2013 02:57:19 +0000 (04:57 +0200)]
Added tag 2.2.10 for changeset
614bd6600011
Timo Sirainen [Fri, 20 Dec 2013 02:57:19 +0000 (04:57 +0200)]
Released v2.2.10.
Timo Sirainen [Fri, 20 Dec 2013 02:25:17 +0000 (04:25 +0200)]
Compiler warning fix.
Older libmysqlclient uses const char * as the arg.
Timo Sirainen [Fri, 20 Dec 2013 02:23:04 +0000 (04:23 +0200)]
imap-quota: SETQUOTA supports now also user@domain:quotaroot name.
Timo Sirainen [Thu, 19 Dec 2013 23:06:02 +0000 (01:06 +0200)]
imap: GETMETADATA should return nonexistent entries also with NIL values.
Timo Sirainen [Thu, 19 Dec 2013 21:54:28 +0000 (23:54 +0200)]
auth: If LDAP server returns LDAP_OPERATIONS_ERROR, reconnect.
Apparently the server somehow lost the bind.
Timo Sirainen [Thu, 19 Dec 2013 21:43:54 +0000 (23:43 +0200)]
quota-status: Allow mail to go over quota up to quota_grace.
Timo Sirainen [Thu, 19 Dec 2013 21:09:45 +0000 (23:09 +0200)]
imap: Minor comment update: Horde uses wildcards, not Kolab.
Timo Sirainen [Thu, 19 Dec 2013 21:08:03 +0000 (23:08 +0200)]
imap: Allow wildcards in GETMETADATA mailbox-name.
RFC 5464 doesn't specify this, but its earlier draft did, and Kolab uses it.
Timo Sirainen [Thu, 19 Dec 2013 21:07:15 +0000 (23:07 +0200)]
imap: GETMETADATA wasn't working correctly if options parameter wasn't specified.
Timo Sirainen [Thu, 19 Dec 2013 21:04:55 +0000 (23:04 +0200)]
imap: SETMETADATA shouldn't assert-crash when entry name is invalid
Timo Sirainen [Thu, 19 Dec 2013 19:37:28 +0000 (21:37 +0200)]
imap: If any FETCH/STORE tries to access modseqs when NOMODSEQ was returned, return BAD.
Timo Sirainen [Thu, 19 Dec 2013 19:31:57 +0000 (21:31 +0200)]
imap: Ignore QRESYNC parameters for SELECT when returning NOMODSEQ.
Timo Sirainen [Thu, 19 Dec 2013 19:25:43 +0000 (21:25 +0200)]
fs-sis: Memory leak fix.
Timo Sirainen [Thu, 19 Dec 2013 19:25:28 +0000 (21:25 +0200)]
pop3c: Memory leak fixes
Timo Sirainen [Thu, 19 Dec 2013 19:25:08 +0000 (21:25 +0200)]
imap: if mailbox has non-permanent modseqs, never send HIGHESTMODSEQ/MODSEQs.
Timo Sirainen [Thu, 19 Dec 2013 19:21:39 +0000 (21:21 +0200)]
Compiler warning fix.
Timo Sirainen [Thu, 19 Dec 2013 02:18:30 +0000 (04:18 +0200)]
pop3c: If POP3 server doesn't support UIDLs, don't advertise GUID support.
Timo Sirainen [Thu, 19 Dec 2013 02:05:52 +0000 (04:05 +0200)]
pop3c: Added pop3c_quick_received_date setting.
With this enabled dsync no longer requires calling TOP for each message to
get the metadata.
Timo Sirainen [Thu, 19 Dec 2013 02:01:58 +0000 (04:01 +0200)]
pop3c: Use UIDLs as GUIDs.
Timo Sirainen [Tue, 17 Dec 2013 19:33:32 +0000 (21:33 +0200)]
mail-filter: If filter returns 0 bytes, treat it as EIO error.
Timo Sirainen [Sat, 14 Dec 2013 12:40:13 +0000 (14:40 +0200)]
Compiler warning fix
Timo Sirainen [Fri, 13 Dec 2013 11:44:32 +0000 (13:44 +0200)]
ldap: Added blocking=yes setting to use auth-workers.
Timo Sirainen [Thu, 12 Dec 2013 16:21:49 +0000 (18:21 +0200)]
lib-master: Show better error message when process_limit is reached.
Timo Sirainen [Thu, 12 Dec 2013 16:08:25 +0000 (18:08 +0200)]
auth: Previous userdb changes caused userdb prefetch to be used always.
Timo Sirainen [Thu, 12 Dec 2013 15:59:28 +0000 (17:59 +0200)]
auth: Don't crash when userdb hasn't been specified at all.
Timo Sirainen [Thu, 12 Dec 2013 14:37:37 +0000 (16:37 +0200)]
lzma: Reading until EOF without seeing LZMA_STREAM_END isn't an error.
Timo Sirainen [Wed, 11 Dec 2013 17:39:12 +0000 (19:39 +0200)]
login-*: Make sure "need to write more" flag doesn't get stuck during handshake.
This should prevent busy-looping in SSL_accept(). (Second attempt at doing
this, first one was in
e95479f439aa .)
Timo Sirainen [Wed, 11 Dec 2013 16:39:36 +0000 (18:39 +0200)]
auth: Use refcounting for LDAPMessage to make sure it always gets freed correctly.
This may fix some memory leaks in some (error?) cases.
Timo Sirainen [Wed, 11 Dec 2013 16:39:08 +0000 (18:39 +0200)]
auth: ldap with auth_bind=yes leaked memory
Existing LDAP search request can't just be converted into bind request
before the search request is freed. So just create a new request.
Timo Sirainen [Mon, 9 Dec 2013 16:41:30 +0000 (18:41 +0200)]
master: Include used protocols in the "starting up" log message.
Timo Sirainen [Mon, 9 Dec 2013 13:42:20 +0000 (15:42 +0200)]
quota: Fix to previous wildcard change
Timo Sirainen [Sun, 8 Dec 2013 22:02:58 +0000 (00:02 +0200)]
mysql: Added ssl_verify_server_cert=no|yes parameter.
To make sure we don't break existing installations, default to "no". For
v2.3 it should default to "yes".
Patch by Gareth Palmer
Timo Sirainen [Sun, 8 Dec 2013 21:41:33 +0000 (23:41 +0200)]
lib-http: Don't try to automatically retry requests whose payload was already lost.
Patch by Stephan Bosch.
Timo Sirainen [Sun, 8 Dec 2013 21:26:40 +0000 (23:26 +0200)]
stats: Workaround opening /proc/self/io in processes that have only temporarily dropped root privileges.
Timo Sirainen [Sun, 8 Dec 2013 21:04:18 +0000 (23:04 +0200)]
quota: Allow mailbox names in quota_rules to contain "*" and "?" wildcards.