]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Pascal Volk [Sun, 24 Nov 2013 19:58:45 +0000 (19:58 +0000)]
man: doveadm-log.1: Added description for option -s.
Pascal Volk [Sun, 24 Nov 2013 18:29:55 +0000 (18:29 +0000)]
man: doveadm-import.1: Added description for option -s.
Pascal Volk [Sun, 24 Nov 2013 18:02:40 +0000 (18:02 +0000)]
man: doveadm-expunge.1: Added option -d also to section synopsis.
Timo Sirainen [Sun, 24 Nov 2013 18:41:42 +0000 (20:41 +0200)]
Data stack has now an extra NULL pointer padding before its actual data starts.
This is just an extra safety measure against buffer overflows.
Patch by Jann Horn.
Timo Sirainen [Sun, 24 Nov 2013 18:27:27 +0000 (20:27 +0200)]
auth: Fixed (non-exploitable) buffer overflow in DIGEST-MD5 data parsing.
Found by Jann Horn.
Pascal Volk [Sat, 23 Nov 2013 23:22:09 +0000 (23:22 +0000)]
man: doveadm-move.1: Fixed syntax errors, escaped some dashes.
Pascal Volk [Sat, 23 Nov 2013 19:35:09 +0000 (19:35 +0000)]
man: doveadm-index.1: Added description for options -n and -q.
Timo Sirainen [Sat, 23 Nov 2013 19:18:30 +0000 (21:18 +0200)]
fts: Renamed fts_autoindex_on_save to fts_autoindex
Timo Sirainen [Sat, 23 Nov 2013 19:13:26 +0000 (21:13 +0200)]
replicator: Memory leak fix for previous commit
Timo Sirainen [Sat, 23 Nov 2013 19:12:39 +0000 (21:12 +0200)]
replicator: Added replication_dsync_parameters setting to pass "doveadm sync" parameters.
-f and -s parameters are added automatically when needed.
Pascal Volk [Sat, 23 Nov 2013 18:24:24 +0000 (18:24 +0000)]
man: doveadm-move.1: Added description for 'user source_user'.
Timo Sirainen [Sat, 23 Nov 2013 17:28:48 +0000 (19:28 +0200)]
fts: Added plugin { fts_autoindex_on_save } setting.
When enabled and a mail is saved/copied, the indexer process is requested to
index the changed mailbox.
fts_autoindex_max_recent_msgs setting can also be used to skip indexing
mailboxes that have too many \Recent messages (implying that the mailbox is
never actually accessed). This corresponds to doveadm index -n parameter.
Pascal Volk [Sat, 23 Nov 2013 16:28:04 +0000 (16:28 +0000)]
man: doveadm-user.1: Added description for the -u option.
Timo Sirainen [Sat, 23 Nov 2013 16:35:08 +0000 (18:35 +0200)]
lib-dns: If existing dns connection dies in write(), retry connect once.
Timo Sirainen [Sat, 23 Nov 2013 10:19:49 +0000 (12:19 +0200)]
lib-http: Compiler warning fix
Timo Sirainen [Fri, 22 Nov 2013 22:38:41 +0000 (00:38 +0200)]
lib-storage: Non-crashing way of avoiding fs lookups for storages without mail root.
Timo Sirainen [Fri, 22 Nov 2013 22:00:43 +0000 (00:00 +0200)]
lib-http: Fixed request hang on connect() timeout.
Timo Sirainen [Fri, 22 Nov 2013 21:52:37 +0000 (23:52 +0200)]
lib-storage: Don't do filesystem permission lookups if storage has no mailbox root dir.
Timo Sirainen [Fri, 22 Nov 2013 21:31:36 +0000 (23:31 +0200)]
dns: Don't idle-disconnect clients
It's the job for the clients.
Timo Sirainen [Fri, 22 Nov 2013 21:15:07 +0000 (23:15 +0200)]
lib-dns: Fixed handling write() failure to dns-lookup server process.
Stephan Bosch [Fri, 22 Nov 2013 20:12:08 +0000 (22:12 +0200)]
http: Implemented delayed requests scheduling.
Requests can now be (re)submitted with a delay. The request is not sent
until the delay time expires. This facilitates handling the Retry-After
header in responses. This can either be performed automatically if the
indicated delay is not too long or explicitly by the code using lib-http.
Stephan Bosch [Fri, 22 Nov 2013 20:08:44 +0000 (22:08 +0200)]
http: Preparse Retry-After header if response status is 503 or 3xx.
Stephan Bosch [Fri, 22 Nov 2013 20:08:20 +0000 (22:08 +0200)]
http-client: Improved handing of delayed request errors.
Originally each request would have its own zero timeout, but now only one
timeout is put in the host object.
Stephan Bosch [Fri, 22 Nov 2013 20:07:41 +0000 (22:07 +0200)]
http-client: Changed struct http_client_host_port into a struct http_client_queue object.
Peer and request objects now reference the queue object directly rather
than the host object. This way, there is no need to find the matching
host:port in the host anymore. This makes the queueing structure more
intuitive and more efficient. This is a first step towards support for
connecting to HTTP services through unix sockets or directing requests at
specific hosts (so not from the URL). This patch also fixes a potential
timeout leak (to_connect) in http_client_host_port (now http_client_queue)
and makes sure it is moved during switch_ioloop(). Finally it updates the
structure comment at the top of http-client.c.
Timo Sirainen [Fri, 22 Nov 2013 20:05:52 +0000 (22:05 +0200)]
iostream-rawlog: Timestamp prefix is now optional.
Timo Sirainen [Fri, 22 Nov 2013 17:39:13 +0000 (19:39 +0200)]
Added mail-filter plugin.
Timo Sirainen [Fri, 22 Nov 2013 17:32:06 +0000 (19:32 +0200)]
doveadm acl debug: Improved output
Timo Sirainen [Fri, 22 Nov 2013 11:47:36 +0000 (13:47 +0200)]
ostream: Don't mark the stream closed too early after all.
Use another flag instead to avoid losing the last data written to the stream
before closing.
Timo Sirainen [Thu, 21 Nov 2013 21:02:33 +0000 (23:02 +0200)]
lib-storage: Improved EACCES error messages for some stat() calls
Timo Sirainen [Wed, 20 Nov 2013 21:29:13 +0000 (23:29 +0200)]
doveadm: Added "fs metadata" command
Timo Sirainen [Wed, 20 Nov 2013 20:20:06 +0000 (22:20 +0200)]
dsync: Fix to 128bit GUID syncing
Timo Sirainen [Wed, 20 Nov 2013 19:25:19 +0000 (21:25 +0200)]
dsync: have_only_guid128 was never actually being set.
Timo Sirainen [Wed, 20 Nov 2013 13:07:26 +0000 (15:07 +0200)]
lib-storage: mail_get_headers*() returned only the first header from cache.
Timo Sirainen [Wed, 20 Nov 2013 12:50:53 +0000 (14:50 +0200)]
lib-storage: mail_get_*header*() still didn't handle cached values correctly.
If header ends with ":", the ":" shouldn't be returned as part of the value.
Timo Sirainen [Wed, 20 Nov 2013 12:38:55 +0000 (14:38 +0200)]
lib-storage: mail_get_*header*() were unnecessarily looking up the headers twice.
Timo Sirainen [Wed, 20 Nov 2013 12:37:44 +0000 (14:37 +0200)]
lib-storage: mail_get_*header*() didn't remove leading whitespace for headers from cache.
But it was removed when the headers were found by parsing the full header.
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