]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
11 years agoimap: Added initial support for METADATA extension.
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.

11 years agolib-imap: Added IMAP_PARSE_FLAG_STOP_AT_LIST for stopping after '('
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 '('

11 years agolib-imap: IMAP protocol parser was parsing NIL case-sensitively.
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.

11 years agossl-params: Don't fail completely if 512 bit DH parameters generation fails.
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.

11 years agossl-params: Added ssl_dh_parameters_length & removed ssl_parameters_regenerate setting.
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.

11 years agossl-params: Fixed closing listener fds for regeneration process.
Timo Sirainen [Sat, 2 Nov 2013 13:18:15 +0000 (15:18 +0200)] 
ssl-params: Fixed closing listener fds for regeneration process.

11 years agodsync: Don't track too new changes from transaction log.
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.

11 years agoauth: Added %{session_pid} variable for userdb lookups in login requests.
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.

11 years agomaildir: If filename begins with ':', rename it immediately instead of causing errors.
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.

11 years agombox: Added assert to try to catch corruption.
Timo Sirainen [Sat, 2 Nov 2013 11:14:16 +0000 (13:14 +0200)] 
mbox: Added assert to try to catch corruption.

11 years agoauth: passdb shadow supports now lookup_credentials() API
Timo Sirainen [Sat, 2 Nov 2013 10:46:08 +0000 (12:46 +0200)] 
auth: passdb shadow supports now lookup_credentials() API

11 years agoauth: Return a reason string if PASS lookup fails because passdbs don't support it.
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.

11 years agoauth: passdb passwd supports now lookup_credentials() API
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.

11 years agomdbox: When mail's refcount is too high, don't prevent shrinking the refcount.
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.

11 years agodoveadm import: Fixed translating different source and dest hierarchy separators...
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.

11 years agolib-storage: If hook is forced, don't bother checking if it's in user's mail_plugins.
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.

11 years agolib-storage: Hooks weren't called exactly in the order they were intended.
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.

11 years agomodule-dir: Allow plugins to have deinit() function without init() function
Timo Sirainen [Wed, 30 Oct 2013 10:11:54 +0000 (12:11 +0200)] 
module-dir: Allow plugins to have deinit() function without init() function

11 years agoCompiling fix for old GCC
Timo Sirainen [Tue, 29 Oct 2013 19:16:05 +0000 (21:16 +0200)] 
Compiling fix for old GCC

11 years agolib-storage: Allow storage name to contain '_'
Timo Sirainen [Tue, 29 Oct 2013 19:11:10 +0000 (21:11 +0200)] 
lib-storage: Allow storage name to contain '_'

11 years agoconfigure: Added mdbox_deleted storage.
Timo Sirainen [Tue, 29 Oct 2013 19:10:33 +0000 (21:10 +0200)] 
configure: Added mdbox_deleted storage.

11 years agomdbox: Added "mdbox_deleted" storage, which can be used to access messages with refco...
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

11 years agolib-index: Don't mix index struct caching for in-memory vs. disk indexes.
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.

11 years agombox: Added extra assert
Timo Sirainen [Tue, 29 Oct 2013 18:26:33 +0000 (20:26 +0200)] 
mbox: Added extra assert

11 years agoimapc: Added a Courier-workaround for not returning UIDNEXT on SELECT.
Timo Sirainen [Tue, 29 Oct 2013 17:42:14 +0000 (19:42 +0200)] 
imapc: Added a Courier-workaround for not returning UIDNEXT on SELECT.

11 years agovirtual: If virtual mailbox has no config file, assume it's just nonexistent.
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.

11 years agolib-http: Added http_url_escape_path()
Timo Sirainen [Tue, 29 Oct 2013 15:32:42 +0000 (17:32 +0200)] 
lib-http: Added http_url_escape_path()

11 years agodoveadm-server: Minor error message improvement.
Timo Sirainen [Mon, 28 Oct 2013 09:50:40 +0000 (11:50 +0200)] 
doveadm-server: Minor error message improvement.

11 years agodoveadm-server: ioloop change caused assert-crashes if outgoing data was buffered...
Timo Sirainen [Mon, 28 Oct 2013 09:50:14 +0000 (11:50 +0200)] 
doveadm-server: ioloop change caused assert-crashes if outgoing data was buffered at the end.

11 years agoauth: Refuse to run checkpassword script insecurely by default
Timo Sirainen [Sat, 26 Oct 2013 16:11:34 +0000 (19:11 +0300)] 
auth: Refuse to run checkpassword script insecurely by default

11 years agofts-solr: Fixed support for multiple Solr hosts when same process handles multiple...
Timo Sirainen [Sat, 26 Oct 2013 15:59:52 +0000 (18:59 +0300)] 
fts-solr: Fixed support for multiple Solr hosts when same process handles multiple users.
E.g. indexer-worker was always using only the first user's Solr host.

11 years agolib-http: Recent DNS change caused lib-http to access uninitialized memory.
Timo Sirainen [Sat, 26 Oct 2013 15:59:03 +0000 (18:59 +0300)] 
lib-http: Recent DNS change caused lib-http to access uninitialized memory.

11 years agodsync: Fixed crashes at deinit when -r rawlog parameter was used.
Timo Sirainen [Sat, 26 Oct 2013 15:31:16 +0000 (18:31 +0300)] 
dsync: Fixed crashes at deinit when -r rawlog parameter was used.

11 years agoauth: Fixed crash with auth_verbose_passwords!=no and non-plaintext auth
Timo Sirainen [Sat, 26 Oct 2013 15:07:45 +0000 (18:07 +0300)] 
auth: Fixed crash with auth_verbose_passwords!=no and non-plaintext auth

11 years agoauth: Fixed assert-crash with auth_verbose_passwords!=no and 32bit systems.
Timo Sirainen [Sat, 26 Oct 2013 15:06:26 +0000 (18:06 +0300)] 
auth: Fixed assert-crash with auth_verbose_passwords!=no and 32bit systems.
t_strndup() assert-crashed with size=UINT_MAX parameter.

11 years ago*-login: Send the auth reply back corked.
Timo Sirainen [Thu, 24 Oct 2013 13:21:10 +0000 (16:21 +0300)] 
*-login: Send the auth reply back corked.

11 years agologin proxy: Use corking when writing data.
Timo Sirainen [Thu, 24 Oct 2013 13:08:23 +0000 (16:08 +0300)] 
login proxy: Use corking when writing data.

11 years agoauth: Cache master user logins also.
Timo Sirainen [Thu, 24 Oct 2013 11:59:03 +0000 (14:59 +0300)] 
auth: Cache master user logins also.

11 years agodoveadm mailbox create: Added -g <guid> parameter to create mailbox with specific...
Timo Sirainen [Thu, 24 Oct 2013 08:25:41 +0000 (11:25 +0300)] 
doveadm mailbox create: Added -g <guid> parameter to create mailbox with specific GUID.

11 years agodoveadm copy: Don't require the extra mailbox+extra parameter checks as expunge/move...
Timo Sirainen [Wed, 23 Oct 2013 13:51:55 +0000 (16:51 +0300)] 
doveadm copy: Don't require the extra mailbox+extra parameter checks as expunge/move requires.
Perhaps they wouldn't be necessary even with move.

11 years agodoveadm expunge: Improved the error hint message about using something else besides...
Timo Sirainen [Wed, 23 Oct 2013 13:50:57 +0000 (16:50 +0300)] 
doveadm expunge: Improved the error hint message about using something else besides MAILBOX.

11 years agolib-master: Fix to previous commit.
Timo Sirainen [Wed, 23 Oct 2013 13:33:43 +0000 (16:33 +0300)] 
lib-master: Fix to previous commit.
It broke doveadm-server's "does client need authentication?" check.

11 years agostats: Hide warnings about old autocreated sessions having gotten lost.
Timo Sirainen [Wed, 23 Oct 2013 13:23:23 +0000 (16:23 +0300)] 
stats: Hide warnings about old autocreated sessions having gotten lost.

11 years agolib-master: If service_count=1, close the listener before starting to handle the...
Timo Sirainen [Wed, 23 Oct 2013 13:10:30 +0000 (16:10 +0300)] 
lib-master: If service_count=1, close the listener before starting to handle the connection.
This way if the connection handling takes a long time and the service
doesn't notice that master dies, it can keep running without keeping the
listener fds open and preventing a restart.

11 years agoreplication plugin: Hide write(fifo) EPIPE errors, which just mean a server restart.
Timo Sirainen [Wed, 23 Oct 2013 12:36:02 +0000 (15:36 +0300)] 
replication plugin: Hide write(fifo) EPIPE errors, which just mean a server restart.

11 years agodict-redis: Don't crash if we get disconnected during an open transaction.
Timo Sirainen [Wed, 23 Oct 2013 12:26:35 +0000 (15:26 +0300)] 
dict-redis: Don't crash if we get disconnected during an open transaction.

11 years agodict-redis: Don't crash when receiving invalid input instead of expected $size.
Timo Sirainen [Wed, 23 Oct 2013 12:16:52 +0000 (15:16 +0300)] 
dict-redis: Don't crash when receiving invalid input instead of expected $size.

11 years agodoveadm-server: Fixed hangs caused by previous commit
Timo Sirainen [Wed, 23 Oct 2013 11:59:57 +0000 (14:59 +0300)] 
doveadm-server: Fixed hangs caused by previous commit

11 years agoio_loop_run() now assert-crashes if it's attempted to be used recursively for the...
Timo Sirainen [Wed, 23 Oct 2013 11:35:07 +0000 (14:35 +0300)] 
io_loop_run() now assert-crashes if it's attempted to be used recursively for the same ioloop.

11 years agodoveadm-server: Don't call io_loop_run() recursively for the same ioloop.
Timo Sirainen [Wed, 23 Oct 2013 11:34:35 +0000 (14:34 +0300)] 
doveadm-server: Don't call io_loop_run() recursively for the same ioloop.
This breaks things more or less badly, especially ioloop-kqueue really
didn't like it.

11 years agolib-auth: auth_master_cache_flush() always waited for timeout before finishing.
Timo Sirainen [Wed, 23 Oct 2013 08:47:10 +0000 (11:47 +0300)] 
lib-auth: auth_master_cache_flush() always waited for timeout before finishing.

11 years agoauth: Don't crash with "doveadm auth cache flush" when cache is disabled.
Timo Sirainen [Wed, 23 Oct 2013 08:40:26 +0000 (11:40 +0300)] 
auth: Don't crash with "doveadm auth cache flush" when cache is disabled.

11 years agoioloop-kqueue: Added extra assert.
Timo Sirainen [Wed, 23 Oct 2013 08:38:07 +0000 (11:38 +0300)] 
ioloop-kqueue: Added extra assert.

11 years agolib-dns: Fixed busy looping when dns-client disconnected.
Timo Sirainen [Tue, 22 Oct 2013 16:12:38 +0000 (19:12 +0300)] 
lib-dns: Fixed busy looping when dns-client disconnected.

11 years agolib-fs: Added dns_client to fs_settings.
Timo Sirainen [Tue, 22 Oct 2013 12:36:07 +0000 (15:36 +0300)] 
lib-fs: Added dns_client to fs_settings.

11 years agolib-http: Support DNS lookups via the new dns-client API.
Timo Sirainen [Tue, 22 Oct 2013 12:35:27 +0000 (15:35 +0300)] 
lib-http: Support DNS lookups via the new dns-client API.

11 years agolib-dns: Added alternative API for doing longer connections to dns-client process.
Timo Sirainen [Tue, 22 Oct 2013 12:34:55 +0000 (15:34 +0300)] 
lib-dns: Added alternative API for doing longer connections to dns-client process.

11 years agodoveadm backup: If -D parameter is given, log the reason why mailbox gets deleted.
Timo Sirainen [Mon, 21 Oct 2013 18:38:17 +0000 (21:38 +0300)] 
doveadm backup: If -D parameter is given, log the reason why mailbox gets deleted.

11 years agoimap: COPY allows transaction commit now to fail with "some messages were expunged".
Timo Sirainen [Mon, 21 Oct 2013 17:47:53 +0000 (20:47 +0300)] 
imap: COPY allows transaction commit now to fail with "some messages were expunged".

11 years agoimap: Don't assert-crash on FETCH BODY[MIME] (return BAD instead)
Timo Sirainen [Wed, 16 Oct 2013 17:16:45 +0000 (20:16 +0300)] 
imap: Don't assert-crash on FETCH BODY[MIME] (return BAD instead)

12 years agolib-http: http-client: Added support for tunneling SSL conntections through proxy.
Stephan Bosch [Sat, 12 Oct 2013 08:11:04 +0000 (11:11 +0300)] 
lib-http: http-client: Added support for tunneling SSL conntections through proxy.

12 years agolib-http: Added support for creating CONNECT tunnels through HTTP.
Stephan Bosch [Sat, 12 Oct 2013 08:05:08 +0000 (11:05 +0300)] 
lib-http: Added support for creating CONNECT tunnels through HTTP.

12 years agolib-http: http-client: Implemented proxy support.
Stephan Bosch [Sat, 12 Oct 2013 08:00:15 +0000 (11:00 +0300)] 
lib-http: http-client: Implemented proxy support.

12 years agolib-http: Implemented functions for cloning and copying HTTP URLs and for constructin...
Stephan Bosch [Sat, 12 Oct 2013 07:58:04 +0000 (10:58 +0300)] 
lib-http: Implemented functions for cloning and copying HTTP URLs and for constructing partial URLs.

12 years agolib-http: http-client: Added request error code for broken payload input stream.
Stephan Bosch [Sat, 12 Oct 2013 07:57:05 +0000 (10:57 +0300)] 
lib-http: http-client: Added request error code for broken payload input stream.
This error is triggered when reading from the provided payload input stream
fails while sending the request. Previously this would yield the same error
code as for a failure to write to the connection output.

12 years agolib-http: Added support for disabling automatic redirects.
Stephan Bosch [Sat, 12 Oct 2013 07:55:38 +0000 (10:55 +0300)] 
lib-http: Added support for disabling automatic redirects.

12 years agolib-http: http-client: Made requests release payload input stream as early as possible.
Stephan Bosch [Sat, 12 Oct 2013 07:54:50 +0000 (10:54 +0300)] 
lib-http: http-client: Made requests release payload input stream as early as possible.
This prevents deadlock conditions when used for the HTTP proxy.

12 years agolib-http: http-client: When client request is retried based on a response received...
Stephan Bosch [Sat, 12 Oct 2013 07:54:10 +0000 (10:54 +0300)] 
lib-http: http-client: When client request is retried based on a response received from server, return full response to caller if retry is not possible.
Before, it would construct a dummy-response that basically retains only the
status and reason elements. This is currently only relevant for the way a
417 Expectation Failed response from the server is handled.

12 years agolib-http: http-client: Made dummy response for returning internal errors more complet...
Stephan Bosch [Sat, 12 Oct 2013 07:53:16 +0000 (10:53 +0300)] 
lib-http: http-client: Made dummy response for returning internal errors more complete by filling in the version number and a proper date.

12 years agolib-http: Added more tests for the http_request_parser.
Stephan Bosch [Sat, 12 Oct 2013 07:52:35 +0000 (10:52 +0300)] 
lib-http: Added more tests for the http_request_parser.

12 years agolib-dns: Close dns-client fd before calling callback.
Timo Sirainen [Fri, 11 Oct 2013 18:36:21 +0000 (21:36 +0300)] 
lib-dns: Close dns-client fd before calling callback.
Just in case the callback is slow and keeps the fd unnecessarily long open.

12 years agolib-lda: lmtp_client_connect_tcp() shouldn't immediately call callbacks if dns lookup...
Timo Sirainen [Fri, 11 Oct 2013 17:03:06 +0000 (20:03 +0300)] 
lib-lda: lmtp_client_connect_tcp() shouldn't immediately call callbacks if dns lookup fails.

12 years agoimap: Improved "EOF while appending" disconnect log message.
Timo Sirainen [Fri, 11 Oct 2013 16:27:39 +0000 (19:27 +0300)] 
imap: Improved "EOF while appending" disconnect log message.

12 years agoliblib: If parent ostream closes itself on error, close our ostream as well.
Timo Sirainen [Fri, 11 Oct 2013 16:17:10 +0000 (19:17 +0300)] 
liblib: If parent ostream closes itself on error, close our ostream as well.
This avoids a situation where ostream is basically unusable with
last_failed_errno set, but it's not marked as closed. The current code
often checks ostream->closed but doesn't check last_failed_errno.
ostream-file also autocloses the stream, but filter ostreams without this
patch don't autoclose, so this caused problems with e.g. IMAP COMPRESSION
extension where the zlib-ostream didn't get marked as closed, although the
problem was only logging "BUG: Unknown internal error" instead of
"Disconnected" as the client's disconnect reason.

12 years agoLAYOUT=index: Fixed race condition during mailbox creation.
Timo Sirainen [Fri, 11 Oct 2013 15:54:36 +0000 (18:54 +0300)] 
LAYOUT=index: Fixed race condition during mailbox creation.

12 years agolib-storage: If search finds a match to a cached header, don't open the body stream.
Timo Sirainen [Fri, 11 Oct 2013 09:31:48 +0000 (12:31 +0300)] 
lib-storage: If search finds a match to a cached header, don't open the body stream.

12 years agolib-storage: Header+body searches might not have searched the body in some cases.
Timo Sirainen [Fri, 11 Oct 2013 09:22:56 +0000 (12:22 +0300)] 
lib-storage: Header+body searches might not have searched the body in some cases.
Only the header was requested for the search stream, which with imapc and
pop3c could have caused the body not to be in the stream, although it
usually was because of the "fetch body" hint.

12 years agomaster: host.domain lookups weren't cached, they were done at the worst possible...
Timo Sirainen [Thu, 10 Oct 2013 17:50:10 +0000 (20:50 +0300)] 
master: host.domain lookups weren't cached, they were done at the worst possible time.
This fixes "net_connect_unix(imap) failed: Resource temporarily unavailable"
and various other issues where processes weren't being created fast enough
if the host.domain lookup was slow (e.g. done via external DNS).

12 years agoauth: Added ability to truncate values logged by auth_verbose_passwords.
Timo Sirainen [Tue, 8 Oct 2013 13:48:04 +0000 (16:48 +0300)] 
auth: Added ability to truncate values logged by auth_verbose_passwords.

12 years agolib-http: Added setting for User-Agent header.
Timo Sirainen [Tue, 8 Oct 2013 07:04:55 +0000 (10:04 +0300)] 
lib-http: Added setting for User-Agent header.

12 years agolib-http: Fixed linking with some compilers
Timo Sirainen [Sun, 6 Oct 2013 10:21:15 +0000 (13:21 +0300)] 
lib-http: Fixed linking with some compilers
Inline functions in http-header.h still required linking http-header.lo with
e.g. Sun Studio

12 years agolib-fs: Added FS_OPEN_FLAG_ASYNC_NOQUEUE
Timo Sirainen [Sat, 5 Oct 2013 10:29:26 +0000 (13:29 +0300)] 
lib-fs: Added FS_OPEN_FLAG_ASYNC_NOQUEUE

12 years agodsync: Added missing alarm(0)
Timo Sirainen [Thu, 3 Oct 2013 11:56:23 +0000 (14:56 +0300)] 
dsync: Added missing alarm(0)
This didn't really cause any problems normally since the process was usually
just about to die anyway.

12 years agoIf DEBUG_OUTOFMEM environment is set, abort() on "out of memory" errors.
Timo Sirainen [Thu, 3 Oct 2013 08:34:48 +0000 (11:34 +0300)] 
If DEBUG_OUTOFMEM environment is set, abort() on "out of memory" errors.

12 years agodsync: Removed periodic commits while importing.
Timo Sirainen [Thu, 3 Oct 2013 08:20:09 +0000 (11:20 +0300)] 
dsync: Removed periodic commits while importing.
The problem is that the current algorithm doesn't handle it correctly. If
there already are some mails that exist locally, or remote has duplicate
mails, the messages may not be saved in the UID order, and if there's a
commit between such wrong ordering, the UIDs get renumbered.

12 years agomailbox_list_index: Fixed assert-crash sometimes when deleting a mailbox.
Timo Sirainen [Wed, 2 Oct 2013 08:48:31 +0000 (11:48 +0300)] 
mailbox_list_index: Fixed assert-crash sometimes when deleting a mailbox.

12 years agodoveadm fs delete: Added -R parameter for recursive deletion.
Timo Sirainen [Mon, 30 Sep 2013 12:28:04 +0000 (15:28 +0300)] 
doveadm fs delete: Added -R parameter for recursive deletion.

12 years agolib-storage: Fail with an error instead of crash with namespace prefix=inbox/
Timo Sirainen [Mon, 30 Sep 2013 06:04:43 +0000 (09:04 +0300)] 
lib-storage: Fail with an error instead of crash with namespace prefix=inbox/

12 years agoPanic if io_remove() fails with EBADF.
Timo Sirainen [Thu, 26 Sep 2013 03:51:43 +0000 (05:51 +0200)] 
Panic if io_remove() fails with EBADF.
It's a bug that shouldn't really be ignored. Panicing will give a debuggable
core dump.

12 years agolib-http: 32bit system fix.
Timo Sirainen [Thu, 26 Sep 2013 02:55:59 +0000 (04:55 +0200)] 
lib-http: 32bit system fix.

12 years agoAdded signature for changeset 1de9a494cb25
Timo Sirainen [Wed, 25 Sep 2013 07:06:19 +0000 (10:06 +0300)] 
Added signature for changeset 1de9a494cb25

12 years agoAdded tag 2.2.6 for changeset 1de9a494cb25
Timo Sirainen [Wed, 25 Sep 2013 07:06:08 +0000 (10:06 +0300)] 
Added tag 2.2.6 for changeset 1de9a494cb25

12 years agoReleased v2.2.6. 2.2.6
Timo Sirainen [Wed, 25 Sep 2013 07:06:08 +0000 (10:06 +0300)] 
Released v2.2.6.

12 years agomaster: Added reuse_port setting to inet_listeners, which enables SO_REUSEPORT if...
Timo Sirainen [Mon, 23 Sep 2013 01:25:16 +0000 (04:25 +0300)] 
master: Added reuse_port setting to inet_listeners, which enables SO_REUSEPORT if available.
After forking a new service process, a new listener socket is created for
each such inet_listener. Linux v3.9+ added SO_REUSEPORT feature, which
should distribute clients more uniformly to the processes. I'm not sure if
this makes any difference in BSDs.

At least in Linux v3.9 there was still a bug that if the number of listening
processes changed, some TCP handshakes might not finish. I don't see if this
has already been fixed, so this is probably safe to use only for services
whose process count doesn't change (e.g. process_min_avail is set high
enough).

12 years agolib: Added net_listen_full() with a flag to set SO_REUSEPORT on the socket if available.
Timo Sirainen [Mon, 23 Sep 2013 01:06:08 +0000 (04:06 +0300)] 
lib: Added net_listen_full() with a flag to set SO_REUSEPORT on the socket if available.

12 years agoimapc: Don't crash if imapc_password is missing.
Timo Sirainen [Sun, 22 Sep 2013 04:43:31 +0000 (07:43 +0300)] 
imapc: Don't crash if imapc_password is missing.

12 years agomaildir: Autocreate missing cur/ new/ tmp/ directories only with Maildir++ and imapdir.
Timo Sirainen [Sun, 22 Sep 2013 04:40:01 +0000 (07:40 +0300)] 
maildir: Autocreate missing cur/ new/ tmp/ directories only with Maildir++ and imapdir.
\Noselect mailboxes aren't possible with those layouts, but with other
layouts they are and they shouldn't get automatically created just by
selecting them.

12 years agoi_getpw*(): Added OpenBSD workaround.
Timo Sirainen [Sun, 22 Sep 2013 04:24:26 +0000 (07:24 +0300)] 
i_getpw*(): Added OpenBSD workaround.

12 years agoistream-attachment-connector: Add base64 parameters to stream name for error messages.
Timo Sirainen [Sun, 22 Sep 2013 04:20:12 +0000 (07:20 +0300)] 
istream-attachment-connector: Add base64 parameters to stream name for error messages.

12 years agoistream-sized: Fail read() also when the stream is larger than it should have been.
Timo Sirainen [Sun, 22 Sep 2013 04:19:39 +0000 (07:19 +0300)] 
istream-sized: Fail read() also when the stream is larger than it should have been.