]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Tue, 19 Nov 2013 21:18:11 +0000 (23:18 +0200)]
Added signature for changeset
095a777edc26
Timo Sirainen [Tue, 19 Nov 2013 21:18:01 +0000 (23:18 +0200)]
Added tag 2.2.8 for changeset
095a777edc26
Timo Sirainen [Tue, 19 Nov 2013 21:18:01 +0000 (23:18 +0200)]
Released v2.2.8.
Timo Sirainen [Tue, 19 Nov 2013 21:17:07 +0000 (23:17 +0200)]
auth: Fixed potential crash.
Timo Sirainen [Tue, 19 Nov 2013 15:21:21 +0000 (17:21 +0200)]
lmtp: Make sure output is flushed before disconnection.
Timo Sirainen [Tue, 19 Nov 2013 14:13:12 +0000 (16:13 +0200)]
lib-storage: Error handling fix for layout=index when mailbox creation fails.
Timo Sirainen [Mon, 18 Nov 2013 14:26:31 +0000 (16:26 +0200)]
doveadm user: Fixed now printing with a non-default formatter
Timo Sirainen [Mon, 18 Nov 2013 14:23:42 +0000 (16:23 +0200)]
doveadm user: Fixed printing multiple users
Timo Sirainen [Mon, 18 Nov 2013 14:18:53 +0000 (16:18 +0200)]
doveadm auth/user: Fixes to auth_socket_path handling.
doveadm user (without -u parameter) was ignoring "-a" parameter entirely.
Others weren't using auth_socket_path setting.
Timo Sirainen [Mon, 18 Nov 2013 14:15:38 +0000 (16:15 +0200)]
lib-storage: Added mail_storage_service_set_auth_conn()
Timo Sirainen [Mon, 18 Nov 2013 13:46:46 +0000 (15:46 +0200)]
doveadm user: Fixed looking up multiple users when they had different UIDs
Pascal Volk [Sun, 17 Nov 2013 16:58:20 +0000 (16:58 +0000)]
man: Added doveadm-batch.1.
Timo Sirainen [Sun, 17 Nov 2013 15:59:05 +0000 (17:59 +0200)]
dsync: Support syncing storages with 128bit GUIDs <-> string GUIDs.
Timo Sirainen [Sun, 17 Nov 2013 15:15:42 +0000 (17:15 +0200)]
lib-storage: Fixed memory leak in mail_add_temp_wanted_fields()
Timo Sirainen [Sun, 17 Nov 2013 14:59:33 +0000 (16:59 +0200)]
imapc: Merge identical FETCH commands together (only updating UID range)
Timo Sirainen [Sun, 17 Nov 2013 14:58:42 +0000 (16:58 +0200)]
dsync: Tell search that we want to fetch mail streams so prefetching works.
Timo Sirainen [Sun, 17 Nov 2013 14:11:31 +0000 (16:11 +0200)]
dsync: Set wanted_fields/headers for the whole search request when possible.
Timo Sirainen [Sun, 17 Nov 2013 13:13:58 +0000 (15:13 +0200)]
imapc: Avoid sending unnecessary IDLEs that are immediately aborted.
Timo Sirainen [Sun, 17 Nov 2013 13:03:31 +0000 (15:03 +0200)]
lib-imap-client: Don't reset timeout while waiting for IDLE DONE reply.
Timo Sirainen [Sun, 17 Nov 2013 12:04:22 +0000 (14:04 +0200)]
lib-imap-client: Make sure command timeout is used also for IDLE DONE.
Timo Sirainen [Sat, 16 Nov 2013 23:04:50 +0000 (01:04 +0200)]
Added io_loop_add/remove_switch_callback() to call a callback when ioloop is changed.
Timo Sirainen [Sat, 16 Nov 2013 23:01:50 +0000 (01:01 +0200)]
lib-imap-client: Don't send NOOP if we're still waiting for a command reply.
Timo Sirainen [Sat, 16 Nov 2013 22:59:39 +0000 (00:59 +0200)]
lib-imap-client: Make sure command timeout is always set.
Timo Sirainen [Sat, 16 Nov 2013 22:41:23 +0000 (00:41 +0200)]
imapc: Fixes to imapc_feature fetch-headers
Timo Sirainen [Sat, 16 Nov 2013 19:58:31 +0000 (21:58 +0200)]
lib-index: Recent change broke cache transactions for more than 1 mail.
Timo Sirainen [Sat, 16 Nov 2013 19:20:31 +0000 (21:20 +0200)]
Use io_loop_set_current() instead of directly setting it.
Timo Sirainen [Sat, 16 Nov 2013 19:17:56 +0000 (21:17 +0200)]
dsync: Give hints to lib-storage about what fields we're going to fetch.
Timo Sirainen [Sat, 16 Nov 2013 18:10:27 +0000 (20:10 +0200)]
imapc: When sending FETCH, always request also missing wanted_fields.
This avoids sending multiple FETCH commands when prefetch hadn't already
fetched everything.
Timo Sirainen [Sat, 16 Nov 2013 18:09:19 +0000 (20:09 +0200)]
imapc: Avoid FETCH INTERNALDATE for getting save_date when we already know received_date.
Timo Sirainen [Sat, 16 Nov 2013 18:06:34 +0000 (20:06 +0200)]
imapc: Don't send FETCHes for data that is already in cache.
Timo Sirainen [Sat, 16 Nov 2013 17:41:07 +0000 (19:41 +0200)]
imapc: Crashfix for previous change
Timo Sirainen [Sat, 16 Nov 2013 17:36:40 +0000 (19:36 +0200)]
imapc: Added imapc_feature fetch-header.
It uses FETCH BODY.PEEK[HEADER.FIELDS (...)] whenever possible instead of
fetching the entire header.
Timo Sirainen [Sat, 16 Nov 2013 17:35:10 +0000 (19:35 +0200)]
lib-storage: API comment update
Timo Sirainen [Sat, 16 Nov 2013 17:34:57 +0000 (19:34 +0200)]
lib-index: Support a small in-memory cache even with INDEX=MEMORY
Timo Sirainen [Sat, 16 Nov 2013 17:20:10 +0000 (19:20 +0200)]
lib-index: mail_cache_lookup*() can now finds also the latest mail_cache_add()ed data.
Timo Sirainen [Sat, 16 Nov 2013 15:46:10 +0000 (17:46 +0200)]
auth: Don't crash if passwd-file is used for authentication but it has no passwords.
Pascal Volk [Sat, 16 Nov 2013 14:06:32 +0000 (14:06 +0000)]
man: Added description for command `doveadm copy`.
Timo Sirainen [Fri, 8 Nov 2013 15:48:54 +0000 (17:48 +0200)]
mail_attachment_*: Fixed "stream doesn't support seeking backwards" panic
Caused by recent changes.
Timo Sirainen [Fri, 8 Nov 2013 15:44:25 +0000 (17:44 +0200)]
lib-fs: Don't crash if istream-fs-file is closed without never being read.
Timo Sirainen [Fri, 8 Nov 2013 15:40:13 +0000 (16:40 +0100)]
mdbox_deleted: Index was synced with wrong flags.
Timo Sirainen [Fri, 8 Nov 2013 15:39:52 +0000 (16:39 +0100)]
lib-storage: Give name to attachments-connector istream.
Timo Sirainen [Fri, 8 Nov 2013 15:12:32 +0000 (16:12 +0100)]
zlib: Give a name to zlib istreams
Timo Sirainen [Fri, 8 Nov 2013 13:44:57 +0000 (14:44 +0100)]
doveadm mailbox create: Added back -s parameter that was recently accidentally removed.
Timo Sirainen [Wed, 6 Nov 2013 21:00:58 +0000 (23:00 +0200)]
lib-storage: Moved more of dbox attachments code to generic code.
Timo Sirainen [Wed, 6 Nov 2013 19:10:22 +0000 (21:10 +0200)]
dbox: Use lib-fs API also for reading the attachments.
Timo Sirainen [Wed, 6 Nov 2013 19:08:42 +0000 (21:08 +0200)]
lib-storage: Added mailbox_list_init_fs() to easily initialize fs.
Use it for dbox's attachment_fs.
Timo Sirainen [Wed, 6 Nov 2013 19:06:15 +0000 (21:06 +0200)]
lib-fs: Added istream-fs-file to lazily read from fs_file.
Timo Sirainen [Wed, 6 Nov 2013 19:05:51 +0000 (21:05 +0200)]
istream: Added i_stream_init_parent() to lazily initialize the parent stream.
Timo Sirainen [Wed, 6 Nov 2013 17:03:10 +0000 (19:03 +0200)]
lib-http: Use [io]_stream_get_error() instead of just errno strings.
Timo Sirainen [Wed, 6 Nov 2013 15:13:53 +0000 (17:13 +0200)]
dsync: Use i_stream_get_error() instead of just errno in stream error messages.
Timo Sirainen [Wed, 6 Nov 2013 14:33:37 +0000 (16:33 +0200)]
replicator: Database should be exported (not imported!) every 15 mins.
Timo Sirainen [Wed, 6 Nov 2013 13:30:15 +0000 (15:30 +0200)]
mdbox: Fixed race condition when mailbox GUID was looked up before mailbox create was finished.
Timo Sirainen [Wed, 6 Nov 2013 11:00:13 +0000 (13:00 +0200)]
lib-imap-storage: Fixed leaking istream on error conditions.
Caught by Tomasz Potęga
Timo Sirainen [Wed, 6 Nov 2013 10:53:58 +0000 (12:53 +0200)]
imap: Fixed potential crash if client disconnected during APPEND.
Timo Sirainen [Tue, 5 Nov 2013 18:11:11 +0000 (20:11 +0200)]
lib-mail: Fixed infinite loop in message-parser if message ends with --boundary+CR
Thanks to Tomasz Potega for finding this.
Timo Sirainen [Tue, 5 Nov 2013 11:12:25 +0000 (13:12 +0200)]
lib-storage: Added FULLDIRNAME=name to mail_location.
The difference to DIRNAME is that the name is used also for index and
control directories.
Timo Sirainen [Mon, 4 Nov 2013 07:47:17 +0000 (09:47 +0200)]
ssl-params: Compiler warning fix when building without OpenSSL
Timo Sirainen [Sun, 3 Nov 2013 21:27:15 +0000 (23:27 +0200)]
ostream: Mark stream closed before handling its callback to avoid infinite loops.
The callback could call o_stream_copy_error_from_parent(), which in turn
would try to close the same ostream again.
Timo Sirainen [Sun, 3 Nov 2013 20:04:53 +0000 (22:04 +0200)]
Added signature for changeset
b5b118701aa8
Timo Sirainen [Sun, 3 Nov 2013 20:04:50 +0000 (22:04 +0200)]
Added tag 2.2.7 for changeset
b5b118701aa8
Timo Sirainen [Sun, 3 Nov 2013 20:04:50 +0000 (22:04 +0200)]
Released v2.2.7.
Timo Sirainen [Sun, 3 Nov 2013 19:48:24 +0000 (21:48 +0200)]
Make static analyzer happier
Timo Sirainen [Sun, 3 Nov 2013 19:47:46 +0000 (21:47 +0200)]
Make static analyzer happier.
Timo Sirainen [Sun, 3 Nov 2013 19:45:37 +0000 (21:45 +0200)]
auth-worker: Potential crashfix at deinit
Timo Sirainen [Sun, 3 Nov 2013 19:44:06 +0000 (21:44 +0200)]
auth: Crashfix to "doveadm auth cache flush" when auth cache was disabled
Timo Sirainen [Sun, 3 Nov 2013 19:42:47 +0000 (21:42 +0200)]
auth: Potential crashfix
Timo Sirainen [Sun, 3 Nov 2013 18:56:25 +0000 (20:56 +0200)]
Call lib_atexit() callbacks before destroying the lib-master ioloop.
Timo Sirainen [Sat, 2 Nov 2013 23:12:24 +0000 (01:12 +0200)]
lib-imap: imap_arg_get_atom() should also treat NIL as valid atom.
Timo Sirainen [Sat, 2 Nov 2013 20:57:27 +0000 (22:57 +0200)]
lib-storage: Fixed parsing NILs in search parameters.
Timo Sirainen [Sat, 2 Nov 2013 20:42:32 +0000 (22:42 +0200)]
lib-imap: Fixed NIL astring to not lose its case-sensitivity.
Timo Sirainen [Sat, 2 Nov 2013 20:32:23 +0000 (22:32 +0200)]
lib-imap: When writing "NIL" as astring, write it always as a "quoted".
Timo Sirainen [Sat, 2 Nov 2013 20:31:14 +0000 (22:31 +0200)]
imap: Fixed GETMETADATA NIL to treat it as "NIL"
Timo Sirainen [Sat, 2 Nov 2013 20:30:42 +0000 (22:30 +0200)]
lib-imap: NIL as astring is the same as "NIL"
This is a bit klugdy but works as long as all callers use
imap_arg_get_astring() instead of trying to handle it themselves.
Timo Sirainen [Sat, 2 Nov 2013 19:29:39 +0000 (21:29 +0200)]
imap: Added initial support for METADATA extension.
For now this is enabled only when imap_metadata=yes setting is used. The
setting will go away once the feature is complete. Also mail_attribute_dict
must be set.
TODO:
- Metadata doesn't work for public namespaces. There should probably be a
mail_attribute_public_dict setting for that.
- There isn't any kind of quota or other limits
- After ENABLE METADATA start sending untagged METADATA entries to clients
- /shared/admin should probably return postmaster_address URL
- Check if we handle ACLs correctly
- RFC says that it SHOULD be possible to set METADATA entries to \NoSelect
mailboxes. We probably will never allow this though.
Timo Sirainen [Sat, 2 Nov 2013 18:09:28 +0000 (20:09 +0200)]
lib-imap: Added IMAP_PARSE_FLAG_STOP_AT_LIST for stopping after '('
Timo Sirainen [Sat, 2 Nov 2013 18:05:08 +0000 (20:05 +0200)]
lib-imap: IMAP protocol parser was parsing NIL case-sensitively.
Luckily no commands currently actually use NILs.
Timo Sirainen [Sat, 2 Nov 2013 13:30:47 +0000 (15:30 +0200)]
ssl-params: Don't fail completely if 512 bit DH parameters generation fails.
Timo Sirainen [Sat, 2 Nov 2013 13:27:28 +0000 (15:27 +0200)]
ssl-params: Added ssl_dh_parameters_length & removed ssl_parameters_regenerate setting.
ssl_parameters_regenerate was based on some text from GNUTLS documentation a
long time ago, but there's really not much point in doing it.
Ideally we should also support "openssl dhparam" input files, but for now
there's the ssl_dh_parameters_length setting that can be used to specify the
wanted DH parameters length. If the current ssl-parameters.dat has a
different length, it's regenerated.
We should probably at some point support also built-in DH parameters which
are returned while the ssl-params runs.
Timo Sirainen [Sat, 2 Nov 2013 13:18:15 +0000 (15:18 +0200)]
ssl-params: Fixed closing listener fds for regeneration process.
Timo Sirainen [Sat, 2 Nov 2013 12:19:23 +0000 (14:19 +0200)]
dsync: Don't track too new changes from transaction log.
This mattered only during race conditions while there were changes being
done to the mailbox during syncing.
Timo Sirainen [Sat, 2 Nov 2013 11:52:30 +0000 (13:52 +0200)]
auth: Added %{session_pid} variable for userdb lookups in login requests.
session_pid is now always sent to auth process. A new request_auth_token
parameter was added to specify if auth_token should be returned or not.
Timo Sirainen [Sat, 2 Nov 2013 11:34:17 +0000 (13:34 +0200)]
maildir: If filename begins with ':', rename it immediately instead of causing errors.
Timo Sirainen [Sat, 2 Nov 2013 11:14:16 +0000 (13:14 +0200)]
mbox: Added assert to try to catch corruption.
Timo Sirainen [Sat, 2 Nov 2013 10:46:08 +0000 (12:46 +0200)]
auth: passdb shadow supports now lookup_credentials() API
Timo Sirainen [Sat, 2 Nov 2013 10:42:55 +0000 (12:42 +0200)]
auth: Return a reason string if PASS lookup fails because passdbs don't support it.
Timo Sirainen [Sat, 2 Nov 2013 10:37:10 +0000 (12:37 +0200)]
auth: passdb passwd supports now lookup_credentials() API
It's not very useful, but at least it allows the lookup itself to succeed.
Timo Sirainen [Sat, 2 Nov 2013 10:25:09 +0000 (12:25 +0200)]
mdbox: When mail's refcount is too high, don't prevent shrinking the refcount.
Timo Sirainen [Sat, 2 Nov 2013 10:14:17 +0000 (12:14 +0200)]
doveadm import: Fixed translating different source and dest hierarchy separators in mailbox names.
Timo Sirainen [Fri, 1 Nov 2013 14:44:25 +0000 (16:44 +0200)]
lib-storage: If hook is forced, don't bother checking if it's in user's mail_plugins.
Timo Sirainen [Fri, 1 Nov 2013 14:43:53 +0000 (16:43 +0200)]
lib-storage: Hooks weren't called exactly in the order they were intended.
The comparison didn't skip the paths, so the "lib" prefix skipping didn't
work.
Timo Sirainen [Wed, 30 Oct 2013 10:11:54 +0000 (12:11 +0200)]
module-dir: Allow plugins to have deinit() function without init() function
Timo Sirainen [Tue, 29 Oct 2013 19:16:05 +0000 (21:16 +0200)]
Compiling fix for old GCC
Timo Sirainen [Tue, 29 Oct 2013 19:11:10 +0000 (21:11 +0200)]
lib-storage: Allow storage name to contain '_'
Timo Sirainen [Tue, 29 Oct 2013 19:10:33 +0000 (21:10 +0200)]
configure: Added mdbox_deleted storage.
Timo Sirainen [Tue, 29 Oct 2013 19:08:07 +0000 (21:08 +0200)]
mdbox: Added "mdbox_deleted" storage, which can be used to access messages with refcount=0
For example:
doveadm import mdbox_deleted:~/mdbox "" mailbox inbox subject oops
Timo Sirainen [Tue, 29 Oct 2013 19:07:28 +0000 (21:07 +0200)]
lib-index: Don't mix index struct caching for in-memory vs. disk indexes.
Timo Sirainen [Tue, 29 Oct 2013 18:26:33 +0000 (20:26 +0200)]
mbox: Added extra assert
Timo Sirainen [Tue, 29 Oct 2013 17:42:14 +0000 (19:42 +0200)]
imapc: Added a Courier-workaround for not returning UIDNEXT on SELECT.
Timo Sirainen [Tue, 29 Oct 2013 16:59:20 +0000 (18:59 +0200)]
virtual: If virtual mailbox has no config file, assume it's just nonexistent.
Most importantly if the virtual namespace root doesn't have the config, it
should fail with MAIL_ERROR_NOTFOUND rather than MAIL_ERROR_NOTPOSSIBLE.
Timo Sirainen [Tue, 29 Oct 2013 15:32:42 +0000 (17:32 +0200)]
lib-http: Added http_url_escape_path()