]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Pascal Volk [Fri, 24 Aug 2012 19:44:43 +0000 (19:44 +0000)]
imap IDLE: Added back fc00::/7 (RFC 4193) to private networks.
This time the check is done correctly.
Timo Sirainen [Fri, 24 Aug 2012 06:41:55 +0000 (09:41 +0300)]
imap IDLE: Reverted the IPv6 change, it doesn't work like that.
Pascal Volk [Thu, 23 Aug 2012 23:20:57 +0000 (23:20 +0000)]
imap IDLE: Add also fc00::/7 (RFC 4193) to private networks.
Timo Sirainen [Thu, 23 Aug 2012 20:50:55 +0000 (23:50 +0300)]
imap IDLE: Add also 172.168/12 to private networks.
Timo Sirainen [Thu, 23 Aug 2012 18:49:15 +0000 (21:49 +0300)]
imap IDLE: Time "still here" packet sends based on client IP address if possible.
Timo Sirainen [Thu, 23 Aug 2012 12:29:43 +0000 (15:29 +0300)]
Compiler warning fix
Timo Sirainen [Thu, 23 Aug 2012 08:54:46 +0000 (11:54 +0300)]
lib-storage: Moved per-mail data in struct mail_save_context to separate struct.
This fixes previous save leaking metadata to the next save.
Timo Sirainen [Thu, 23 Aug 2012 08:26:13 +0000 (11:26 +0300)]
Increased initial memory pool size
Timo Sirainen [Wed, 22 Aug 2012 13:55:27 +0000 (16:55 +0300)]
Made PKG_STATEDIR configurable with state_dir setting.
Based on patch by Chris Webb.
Normally this isn't needed, since the data in the state_dir can be shared
across multiple Dovecot instances, but in some specific use cases this may
be useful (e.g. users running their own Dovecots).
Timo Sirainen [Wed, 22 Aug 2012 12:19:19 +0000 (15:19 +0300)]
lib-storage: Added mail_save_copy_default_metadata()
Timo Sirainen [Wed, 22 Aug 2012 12:18:39 +0000 (15:18 +0300)]
istream-base64: Fixed returning -2 too early.
Timo Sirainen [Wed, 22 Aug 2012 12:13:21 +0000 (15:13 +0300)]
istream-concat bugfixes
Timo Sirainen [Wed, 22 Aug 2012 08:44:46 +0000 (11:44 +0300)]
Added a test for istream-attachment-extractor hash size
Timo Sirainen [Wed, 22 Aug 2012 08:43:15 +0000 (11:43 +0300)]
istream-attachment-extractor didn't return hash strings correctly.
Timo Sirainen [Wed, 22 Aug 2012 07:18:44 +0000 (10:18 +0300)]
istream-attachment-connector: Avoid seeking in the base stream, it may not be seekable.
Timo Sirainen [Wed, 22 Aug 2012 07:18:08 +0000 (10:18 +0300)]
Added i_stream_create_range()
Timo Sirainen [Tue, 21 Aug 2012 07:18:38 +0000 (10:18 +0300)]
imap: Fixed command output locking.
Timo Sirainen [Tue, 21 Aug 2012 07:02:44 +0000 (10:02 +0300)]
dict redis: Fixed dict_lookup() to skip all previous pending replies.
Timo Sirainen [Fri, 24 Aug 2012 12:12:32 +0000 (15:12 +0300)]
auth: Don't add "master" to passdb reply if the passdb itself already added it.
Timo Sirainen [Fri, 24 Aug 2012 09:25:55 +0000 (12:25 +0300)]
auth: Make it clearer in debug messages if the replies are passdb or userdb.
Timo Sirainen [Thu, 23 Aug 2012 20:46:15 +0000 (23:46 +0300)]
doveadm copy/move: Added "user" parameter to specify the source user.
Timo Sirainen [Thu, 23 Aug 2012 19:56:56 +0000 (22:56 +0300)]
imap: Fixes to handling UTF-8 namespace prefixes
Timo Sirainen [Thu, 23 Aug 2012 19:33:23 +0000 (22:33 +0300)]
lib-storage: Verify that namespace prefix is valid UTF8 string.
Timo Sirainen [Thu, 23 Aug 2012 19:21:42 +0000 (22:21 +0300)]
mbox: Fixed listing mailboxes under INBOX directory.
Timo Sirainen [Thu, 23 Aug 2012 18:29:40 +0000 (21:29 +0300)]
doveadm: Added "copy" command.
Timo Sirainen [Thu, 23 Aug 2012 08:56:56 +0000 (11:56 +0300)]
lib-storage: Make sure a save context doesn't leak metadata to the next save.
Timo Sirainen [Wed, 22 Aug 2012 14:42:06 +0000 (17:42 +0300)]
configure: Removed OpenBSD /dev/arandom checking.
Patch by Brad Smith
"The use of arandom was never a requirement for Dovecot and I had submitted
the use of arandom due to ports policy to do so anyway."
Timo Sirainen [Wed, 22 Aug 2012 12:17:53 +0000 (15:17 +0300)]
istream-concat bugfixes
Timo Sirainen [Wed, 22 Aug 2012 04:49:55 +0000 (07:49 +0300)]
auth: Unregister SCRAM-SHA-1 at deinit.
Timo Sirainen [Tue, 21 Aug 2012 07:02:44 +0000 (10:02 +0300)]
dict redis: Fixed dict_lookup() to skip all previous pending replies.
Timo Sirainen [Mon, 20 Aug 2012 13:13:49 +0000 (16:13 +0300)]
i_stream_create_seekable_path() created memory corruption
Timo Sirainen [Mon, 20 Aug 2012 08:09:42 +0000 (11:09 +0300)]
Merged changes from v2.1 tree.
Timo Sirainen [Mon, 20 Aug 2012 07:54:04 +0000 (10:54 +0300)]
Simplified hash table union now that it again works only with pointers.
Timo Sirainen [Mon, 20 Aug 2012 07:19:57 +0000 (10:19 +0300)]
Fixed some aliasing warnings with hash table API.
Timo Sirainen [Mon, 20 Aug 2012 07:01:03 +0000 (10:01 +0300)]
imap: Allow fetching [x.MIME] for message/rfc822 again.
It's not clear which is the correct behavior.
Timo Sirainen [Mon, 20 Aug 2012 06:47:28 +0000 (09:47 +0300)]
Reverted "support for non-pointers" part of the hash table API changes.
Originally I wrote it using clang, which didn't give as many warnings as gcc
did. I guess this way is safer anyway..
Timo Sirainen [Mon, 20 Aug 2012 05:31:00 +0000 (08:31 +0300)]
Compiler error fix due to hash table changes.
Timo Sirainen [Sun, 19 Aug 2012 13:17:32 +0000 (16:17 +0300)]
Removed CONTEXT_TYPE_SAFETY macro and reimplemented its functionality better.
gcc/clang now gives a compiler error in many places if callback isn't
exactly what was expected. It's also now much easier to add more of these
checks.
Timo Sirainen [Sun, 19 Aug 2012 11:21:37 +0000 (14:21 +0300)]
Array API changed: ARRAY_DEFINE(name, type) -> ARRAY(type) name
Easy way to update your existing code:
perl -i -pe 's:ARRAY_DEFINE\(([^,]+), *([^)]+)\);:ARRAY($2) $1;:' **/*.[ch]
Timo Sirainen [Sun, 19 Aug 2012 11:01:15 +0000 (14:01 +0300)]
Added missing hash-decl.h
Timo Sirainen [Sun, 19 Aug 2012 10:55:34 +0000 (13:55 +0300)]
Hash table API is now (mostly) type safe.
Timo Sirainen [Sun, 19 Aug 2012 09:53:06 +0000 (12:53 +0300)]
replicator: Crashfix
Timo Sirainen [Sun, 19 Aug 2012 04:20:13 +0000 (07:20 +0300)]
hash_table_create(): Removed table_pool parameter.
Every single caller was using default_pool there, so there's no point in
having it.
Timo Sirainen [Sat, 18 Aug 2012 14:05:59 +0000 (17:05 +0300)]
Added i_stream_create_seekable_path()
Timo Sirainen [Sat, 18 Aug 2012 12:56:30 +0000 (15:56 +0300)]
ostream-file: Fixed writing with zero buffer size.
Timo Sirainen [Sat, 18 Aug 2012 07:31:19 +0000 (10:31 +0300)]
connection API: Allow calling connection_input_default() for buffered input.
Timo Sirainen [Fri, 17 Aug 2012 16:01:03 +0000 (19:01 +0300)]
doveadm: Improved "passdb lookup failed" error message.
Timo Sirainen [Fri, 17 Aug 2012 08:15:21 +0000 (11:15 +0300)]
Makefile: Install the useful doveadm*.h headers.
Timo Sirainen [Fri, 17 Aug 2012 06:17:48 +0000 (09:17 +0300)]
doveadm backup: Fixed "is source empty" check.
In POP3 boxes there is only INBOX, and it's possible that source becomes
empty while backup has mails. The check is now "has source always been
empty?"
Timo Sirainen [Fri, 17 Aug 2012 05:46:22 +0000 (08:46 +0300)]
imap: FETCH[x.MIME] for message/rfc822 should produce empty result
Timo Sirainen [Fri, 17 Aug 2012 04:47:16 +0000 (07:47 +0300)]
imap: Added more tests to return empty data when FETCHing invalid MIME parts.
Timo Sirainen [Thu, 16 Aug 2012 11:57:55 +0000 (14:57 +0300)]
dovecot-config: Added LIBDOVECOT_DOVEADM_INCLUDE
Timo Sirainen [Thu, 16 Aug 2012 11:25:21 +0000 (14:25 +0300)]
Makefile: iostream-*ssl.h wasn't being installed.
Timo Sirainen [Thu, 16 Aug 2012 03:09:22 +0000 (06:09 +0300)]
connection API: Fixed connected() callback to actually allow detecting failed connects.
Timo Sirainen [Thu, 16 Aug 2012 02:41:57 +0000 (05:41 +0300)]
dict memcached-ascii bugfixes
Timo Sirainen [Wed, 15 Aug 2012 13:56:17 +0000 (16:56 +0300)]
lib-dict: Added memcached_ascii backend.
Timo Sirainen [Wed, 15 Aug 2012 13:55:44 +0000 (16:55 +0300)]
lib-dict: Moved "in-memory transaction" code from dict-file to more generic API.
Timo Sirainen [Wed, 15 Aug 2012 10:43:16 +0000 (13:43 +0300)]
imap: Implemented THREAD=ORDEREDSUBJECT extension.
Timo Sirainen [Wed, 15 Aug 2012 09:37:34 +0000 (12:37 +0300)]
lib-storage: MAX_SORT_PROGRAM_SIZE was too small
Timo Sirainen [Wed, 15 Aug 2012 09:05:28 +0000 (12:05 +0300)]
istream-limit: Move parent stream to expected offset also at EOF.
Timo Sirainen [Wed, 15 Aug 2012 06:35:39 +0000 (09:35 +0300)]
dict server: Implemented APPEND command.
Timo Sirainen [Wed, 15 Aug 2012 06:35:21 +0000 (09:35 +0300)]
imap: Fixed assert-crash on FETCH error disconnections.
Timo Sirainen [Tue, 14 Aug 2012 20:09:44 +0000 (23:09 +0300)]
imapc: Added imapc_max_idle_time setting to force activity on connection.
Reducing this from the default 29 minutes should help when there's a
stateful firewall between imapc and the backend server.
Timo Sirainen [Tue, 14 Aug 2012 07:02:14 +0000 (10:02 +0300)]
connection: connection_disconnect_reason() didn't handle non-errors correctly.
Timo Sirainen [Tue, 14 Aug 2012 03:22:44 +0000 (06:22 +0300)]
dict: Implemented dict_append()
Timo Sirainen [Tue, 14 Aug 2012 00:03:26 +0000 (03:03 +0300)]
fs layout: Kludge to show INBOX/INBOX mailbox when necessary.
This happens with one prefix="" namespace and another prefix=INBOX/
namespace when the INBOX mailbox itself has children.
Timo Sirainen [Tue, 14 Aug 2012 00:02:02 +0000 (03:02 +0300)]
lib-storage: mailbox_list_get_storage_name() shouldn't treat INBOX specially in inbox=no namespaces.
Timo Sirainen [Tue, 14 Aug 2012 00:01:07 +0000 (03:01 +0300)]
lib-storage: If alias_for references inbox=yes namespace, copy the inbox=yes to the alias ns.
So even though this still doesn't allow giving multiple inbox=yes settings
in configuration file, it's now possible for multiple namespaces to have
them. They just need to point to the exact same INBOX.
Timo Sirainen [Mon, 13 Aug 2012 22:54:34 +0000 (01:54 +0300)]
imap LIST: Don't set \haschildren flag for namespace prefix if it has list=no
Timo Sirainen [Mon, 13 Aug 2012 12:23:32 +0000 (15:23 +0300)]
imap: Implemented NOTIFY extension.
Requires mailbox_list_index=yes to work (and to show up in capabilities).
SubscriptionChange event is still unimplemented.
Timo Sirainen [Mon, 13 Aug 2012 12:20:33 +0000 (15:20 +0300)]
lib-storage: Added mailbox-list-notify API for tracking changes in all mailboxes.
Requires mailbox_list_index=yes to work.
Timo Sirainen [Mon, 13 Aug 2012 12:15:07 +0000 (15:15 +0300)]
mailbox_list_index=yes: Don't log an error when verifying existence of already deleted mailbox.
Timo Sirainen [Mon, 13 Aug 2012 12:12:41 +0000 (15:12 +0300)]
lib-index: Added mail_index_view_dup_private()
Timo Sirainen [Mon, 13 Aug 2012 12:09:30 +0000 (15:09 +0300)]
imap: If imap_capability setting is set explicitly, don't automatically add SEARCH=FUZZY.
Timo Sirainen [Mon, 13 Aug 2012 12:03:46 +0000 (15:03 +0300)]
Added MOVE extension to capabilities.
I guess the draft is close enough to being ready now.
Timo Sirainen [Mon, 13 Aug 2012 11:23:26 +0000 (14:23 +0300)]
mailbox_list_index=yes: Don't use indexes when iterating with MAILBOX_LIST_ITER_RAW_LIST.
Timo Sirainen [Mon, 13 Aug 2012 04:28:40 +0000 (07:28 +0300)]
Memory leak fixes
Timo Sirainen [Mon, 13 Aug 2012 04:26:25 +0000 (07:26 +0300)]
Memory leak fix
Timo Sirainen [Mon, 13 Aug 2012 02:45:35 +0000 (05:45 +0300)]
Compiler warning fixes
Timo Sirainen [Sun, 12 Aug 2012 23:57:37 +0000 (02:57 +0300)]
imap: Code cleanup
Timo Sirainen [Sun, 12 Aug 2012 23:51:09 +0000 (02:51 +0300)]
imap: FETCH API updated to allow using the same parsed FETCH in multiple mailboxes.
This is in preparation for NOTIFY extension.
Timo Sirainen [Sun, 12 Aug 2012 23:41:08 +0000 (02:41 +0300)]
imap_msgpart_parse() doesn't really need a mailbox parameter.
Timo Sirainen [Sun, 12 Aug 2012 22:47:54 +0000 (01:47 +0300)]
imap: FETCH API cleanup: keep fetch state in a separate struct.
Timo Sirainen [Sun, 12 Aug 2012 22:25:12 +0000 (01:25 +0300)]
imap: Made STATUS handling API more flexible.
Timo Sirainen [Sun, 12 Aug 2012 21:36:38 +0000 (00:36 +0300)]
lib-storage: Mailbox tree API supports now including extra data in the nodes.
Timo Sirainen [Sun, 12 Aug 2012 21:33:47 +0000 (00:33 +0300)]
lib-index: Support clearing the whole log view with mail_transaction_log_view_clear(0)
Timo Sirainen [Sun, 12 Aug 2012 21:31:40 +0000 (00:31 +0300)]
lib-index: Removed duplicate ext-intro checking code.
Timo Sirainen [Sun, 12 Aug 2012 21:29:38 +0000 (00:29 +0300)]
lib-index: Verify validity of ext-intro records in transaction log.
Timo Sirainen [Sun, 12 Aug 2012 21:27:07 +0000 (00:27 +0300)]
Verify that mailbox_idle_check_interval setting isn't 0.
Timo Sirainen [Sun, 12 Aug 2012 06:57:20 +0000 (09:57 +0300)]
lib-ssl-iostream: Avoid assert-crash when reading a closed stream.
Timo Sirainen [Sun, 12 Aug 2012 05:36:06 +0000 (08:36 +0300)]
lib-ssl-iostream: Don't crash if protocols setting is NULL.
Timo Sirainen [Sun, 12 Aug 2012 05:35:29 +0000 (08:35 +0300)]
ssl-params socket was missing from login/ directory
Timo Sirainen [Sun, 12 Aug 2012 05:05:49 +0000 (08:05 +0300)]
lib-index: Message flag syncing was broken due to wrong struct cast.
Timo Sirainen [Sun, 12 Aug 2012 04:21:00 +0000 (07:21 +0300)]
lib-storage: Update private index before updating saved search results.
Timo Sirainen [Sun, 12 Aug 2012 03:26:35 +0000 (06:26 +0300)]
Added i_stream_last_line_crlf()
Timo Sirainen [Sun, 12 Aug 2012 02:42:14 +0000 (05:42 +0300)]
lib-imap: imap_quote() was broken when called with a datastack pool.
Timo Sirainen [Sun, 12 Aug 2012 02:21:35 +0000 (05:21 +0300)]
FETCH BINARY fix.
Timo Sirainen [Sun, 12 Aug 2012 01:54:54 +0000 (04:54 +0300)]
imap: More fixes to fetching messages.
Timo Sirainen [Sun, 12 Aug 2012 00:28:26 +0000 (03:28 +0300)]
lib-storage: Fixed assert-crash on subscribtion change that didn't change anything.
Timo Sirainen [Sat, 11 Aug 2012 23:26:12 +0000 (02:26 +0300)]
lib-storage: mail_get_header_stream() now always returns end-of-headers LF.