]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
13 years agoMakefile: Fixed imap-urlauth library dependencies
Timo Sirainen [Sat, 15 Sep 2012 22:08:11 +0000 (01:08 +0300)] 
Makefile: Fixed imap-urlauth library dependencies

13 years agolib-imap-storage: imap_msgpart_size() should return size as uoff_t, not size_t
Timo Sirainen [Sat, 15 Sep 2012 22:06:04 +0000 (01:06 +0300)] 
lib-imap-storage: imap_msgpart_size() should return size as uoff_t, not size_t

13 years agoimap: Assert-crashfix for URLFETCH command.
Timo Sirainen [Sat, 15 Sep 2012 22:02:10 +0000 (01:02 +0300)] 
imap: Assert-crashfix for URLFETCH command.

13 years agoRenamed str_tabescape_write() to str_append_tabescaped()
Timo Sirainen [Sat, 15 Sep 2012 21:56:51 +0000 (00:56 +0300)] 
Renamed str_tabescape_write() to str_append_tabescaped()

13 years agodict_init() API changed to return int.
Timo Sirainen [Sat, 15 Sep 2012 21:52:39 +0000 (00:52 +0300)] 
dict_init() API changed to return int.

13 years agoAdded support for IMAP URLAUTH and URLAUTH=BINARY extensions
Stephan Bosch [Sat, 15 Sep 2012 20:57:08 +0000 (23:57 +0300)] 
Added support for IMAP URLAUTH and URLAUTH=BINARY extensions

Extends imap service with URLAUTH and URLAUTH=BINARY support:
  - Adds new commands URLFETCH, GENURLAUTH and RESETKEY.

Creates imap-urlauth service in src/imap-urlauth.

Functionality common to both the imap and imap-urlauth services is located
in src/lib-imap-urlauth.

TODO:
 - use mailbox GUIDs instead of names
 - doveadm command to delete stale urlauth entries?
 - add delay when attempting to access nonexistent user
 - create urlauth-worker queue, similar to how indexer-worker works
   (could we share code?..)

13 years agolib-imap-storage: imap_msgpart_bodypartstructure() returned freed data.
Timo Sirainen [Sat, 15 Sep 2012 18:00:54 +0000 (21:00 +0300)] 
lib-imap-storage: imap_msgpart_bodypartstructure() returned freed data.

13 years agolib-index: Removed MAIL_INDEX_SYNC_TYPE_APPEND. No backend cares about it.
Timo Sirainen [Sat, 15 Sep 2012 16:56:47 +0000 (19:56 +0300)] 
lib-index: Removed MAIL_INDEX_SYNC_TYPE_APPEND. No backend cares about it.

13 years agolib-index: Changed mail_index_set_fsync_mode() to use a separate enum for the mask.
Timo Sirainen [Sat, 15 Sep 2012 16:54:21 +0000 (19:54 +0300)] 
lib-index: Changed mail_index_set_fsync_mode() to use a separate enum for the mask.

13 years agolib-imap: Fixed Content-Language parsing from BODYSTRUCTURE
Timo Sirainen [Sat, 15 Sep 2012 16:12:04 +0000 (19:12 +0300)] 
lib-imap: Fixed Content-Language parsing from BODYSTRUCTURE

13 years agoimap-bodystructure.h comment fix
Timo Sirainen [Sat, 15 Sep 2012 16:08:55 +0000 (19:08 +0300)] 
imap-bodystructure.h comment fix

13 years agoimap-bodystructure.h comment update
Timo Sirainen [Sat, 15 Sep 2012 16:08:11 +0000 (19:08 +0300)] 
imap-bodystructure.h comment update

13 years agolib-imap: Updated test-imap-bodystructure
Timo Sirainen [Sat, 15 Sep 2012 16:06:37 +0000 (19:06 +0300)] 
lib-imap: Updated test-imap-bodystructure

13 years agolib-imap-storage: Added support for getting BODYPARTSTRUCTURE
Timo Sirainen [Sat, 15 Sep 2012 16:00:32 +0000 (19:00 +0300)] 
lib-imap-storage: Added support for getting BODYPARTSTRUCTURE
Based on patch by Stephan Bosch.

13 years agolib-imap: Added support for parsing IMAP BODYSTRUCTURE and writing out a modified...
Timo Sirainen [Sat, 15 Sep 2012 15:58:48 +0000 (18:58 +0300)] 
lib-imap: Added support for parsing IMAP BODYSTRUCTURE and writing out a modified version.

13 years agoimap_body_parse_from_bodystructure() now returns the error instead of logging it.
Timo Sirainen [Sat, 15 Sep 2012 13:13:02 +0000 (16:13 +0300)] 
imap_body_parse_from_bodystructure() now returns the error instead of logging it.

13 years agolib-storage: Moved index_mail.data_pool to mail_private.data_pool
Timo Sirainen [Sat, 15 Sep 2012 12:46:01 +0000 (15:46 +0300)] 
lib-storage: Moved index_mail.data_pool to mail_private.data_pool

13 years agofts-lucene: Added "normalize" option to put data through normalize().
Timo Sirainen [Sat, 15 Sep 2012 00:49:23 +0000 (03:49 +0300)] 
fts-lucene: Added "normalize" option to put data through normalize().

13 years agoReplaced "decomposed titlecase" conversions with more generic normalizer function.
Timo Sirainen [Sat, 15 Sep 2012 00:12:20 +0000 (03:12 +0300)] 
Replaced "decomposed titlecase" conversions with more generic normalizer function.
Plugins can now change mail_user.default_normalizer. Specific searches can
also use different normalizers by changing mail_search_context.normalizer.

13 years agouni_utf8_to_decomposed_titlecase(): Require input length to be exact now.
Timo Sirainen [Sat, 15 Sep 2012 00:09:57 +0000 (03:09 +0300)] 
uni_utf8_to_decomposed_titlecase(): Require input length to be exact now.
Most of the callers did that already anyway

13 years agoUse "tokenlogin" socket name (instead of "token-login") after all.
Timo Sirainen [Fri, 14 Sep 2012 20:11:27 +0000 (23:11 +0300)] 
Use "tokenlogin" socket name (instead of "token-login") after all.
Auth code has special checks for '-', which breaks "token-login" and fixing
it is rather annoying.

13 years agoauth: Auth workers don't need to read token secret.
Timo Sirainen [Fri, 14 Sep 2012 19:10:49 +0000 (22:10 +0300)] 
auth: Auth workers don't need to read token secret.

13 years agoAdded support to perform token-based service process authentication.
Stephan Bosch [Fri, 14 Sep 2012 18:48:45 +0000 (21:48 +0300)] 
Added support to perform token-based service process authentication.

Creates hidden SASL method DOVECOT-TOKEN. This method is not available on
the normal auth login socket and thus never presented to clients.

Creates new auth socket type 'tokenlogin'. This otherwise normal login
socket only offers authentication using the DOVECOT-TOKEN mechanism.

Creates new token-login directory in base_dir to separate token logins from
normal logins. This directory is otherwise completely identical to the
normal login dir, i.e. it contains sockets for the service backends, used
to chroot login processes to, etc.

Makes default login socket configurable.

Performs some minor changes to src/login-common to build very sparse
protocols, e.g. avoid the need to implement methods that are not needed.

13 years agohmac_sha1_init(): Use void pointer for the key.
Timo Sirainen [Fri, 14 Sep 2012 18:31:45 +0000 (21:31 +0300)] 
hmac_sha1_init(): Use void pointer for the key.

13 years agolib-imap-storage: Changed imap_msgpart_url API.
Stephan Bosch [Fri, 14 Sep 2012 18:11:42 +0000 (21:11 +0300)] 
lib-imap-storage: Changed imap_msgpart_url API.

Adds enum mail_error return value to imap_msgpart_url_open_mailbox().

Now parses msgpart at the beginning and adds function to access underlying
imap_msgpart object directly.

13 years agoFixes IMAP LOGIN REFERRAL to properly encode IMAP URL.
Stephan Bosch [Fri, 14 Sep 2012 18:04:01 +0000 (21:04 +0300)] 
Fixes IMAP LOGIN REFERRAL to properly encode IMAP URL.

13 years agoAdded support for creating IMAP URLs.
Stephan Bosch [Fri, 14 Sep 2012 18:02:23 +0000 (21:02 +0300)] 
Added support for creating IMAP URLs.

13 years agolib-storage: Message size/sent date could have been set as 0 in some cases.
Timo Sirainen [Thu, 13 Sep 2012 14:12:59 +0000 (17:12 +0300)] 
lib-storage: Message size/sent date could have been set as 0 in some cases.
It doesn't look like it ever happened with the current storage backends or
use cases.

13 years agolib-storage: Allow #including mailbox-list-private.h from C++ code
Timo Sirainen [Thu, 13 Sep 2012 09:01:08 +0000 (12:01 +0300)] 
lib-storage: Allow #including mailbox-list-private.h from C++ code

13 years agodovecot-config: Added lib-storage/list to be in LIBDOVECOT_STORAGE_INCLUDE
Timo Sirainen [Thu, 13 Sep 2012 08:05:10 +0000 (11:05 +0300)] 
dovecot-config: Added lib-storage/list to be in LIBDOVECOT_STORAGE_INCLUDE

13 years agolib-storage API change to allow using it from C++ code
Timo Sirainen [Thu, 13 Sep 2012 07:53:38 +0000 (10:53 +0300)] 
lib-storage API change to allow using it from C++ code

13 years agolib-storage: Moved mail_storage_settings_to_index_flags to mail-storage-private.h
Timo Sirainen [Thu, 13 Sep 2012 07:52:52 +0000 (10:52 +0300)] 
lib-storage: Moved mail_storage_settings_to_index_flags to mail-storage-private.h
This is mainly to allow #including mail-storage-settings.h from C++ code
without having to #include mail-index.h from mail-storage-settings.h

13 years agoi_get(pw|gr)(nam|uid): Use small initial buffer sizes.
Timo Sirainen [Tue, 11 Sep 2012 15:56:07 +0000 (18:56 +0300)] 
i_get(pw|gr)(nam|uid): Use small initial buffer sizes.
For processes that need to do only a single lookup there's no point in
wasting a lot of memory for the maximum buffer size.

13 years agolib-storage: Removed rename_children parameter from mailbox_rename()
Timo Sirainen [Mon, 10 Sep 2012 14:19:43 +0000 (17:19 +0300)] 
lib-storage: Removed rename_children parameter from mailbox_rename()
The children are now always renamed. The only reason this feature was added
in the first place was to make dsync's job easier, but this is no longer
needed.

13 years agodsync: Renamed "slave" to "ibc" (= inter-brain communicator)
Timo Sirainen [Fri, 7 Sep 2012 13:43:44 +0000 (16:43 +0300)] 
dsync: Renamed "slave" to "ibc" (= inter-brain communicator)

13 years agodsync: Renamed "io" slave to "stream".
Timo Sirainen [Fri, 7 Sep 2012 13:19:35 +0000 (16:19 +0300)] 
dsync: Renamed "io" slave to "stream".

13 years agodsync: Rewritten syncing for mailbox renames.
Timo Sirainen [Wed, 5 Sep 2012 22:25:23 +0000 (01:25 +0300)] 
dsync: Rewritten syncing for mailbox renames.
A few things didn't go as I originally intended in the algorithm, but it
appears to give consistent results now. :) But the algorithm should probably
be looked at more closely at some point.

13 years agoRenamed buffer_create_*data() to buffer_create_from_*data() for consistency.
Timo Sirainen [Wed, 5 Sep 2012 22:13:03 +0000 (01:13 +0300)] 
Renamed buffer_create_*data() to buffer_create_from_*data() for consistency.
Especially i_stream_create_from_data() was a very similar function, which
made it difficult to remember which one should have "from" and which one
shouldn't.

13 years agobuffer_create_data(): Clear the memory area immediately.
Timo Sirainen [Wed, 5 Sep 2012 22:04:57 +0000 (01:04 +0300)] 
buffer_create_data(): Clear the memory area immediately.

13 years agostr_*printfa(): Avoid (harder!) growing underlying buffer if possible.
Timo Sirainen [Wed, 5 Sep 2012 22:04:28 +0000 (01:04 +0300)] 
str_*printfa(): Avoid (harder!) growing underlying buffer if possible.
The previous change for this didn't work properly.

13 years agodoveadm dump -t mailboxlog: Added support for MAILBOX_LOG_RECORD_CREATE_DIR
Timo Sirainen [Tue, 4 Sep 2012 16:58:59 +0000 (19:58 +0300)] 
doveadm dump -t mailboxlog: Added support for MAILBOX_LOG_RECORD_CREATE_DIR

13 years agoTODO updated
Timo Sirainen [Tue, 4 Sep 2012 16:05:44 +0000 (19:05 +0300)] 
TODO updated

13 years agoNOTIFY: Fixed "subscribed" mailbox filter to actually work.
Timo Sirainen [Tue, 4 Sep 2012 16:05:18 +0000 (19:05 +0300)] 
NOTIFY: Fixed "subscribed" mailbox filter to actually work.

13 years agolib-storage: Added mailbox_is_subscribed()
Timo Sirainen [Tue, 4 Sep 2012 16:04:52 +0000 (19:04 +0300)] 
lib-storage: Added mailbox_is_subscribed()

13 years agoNOTIFY: Implemented SubscriptionChange
Timo Sirainen [Tue, 4 Sep 2012 15:51:43 +0000 (18:51 +0300)] 
NOTIFY: Implemented SubscriptionChange

13 years agolib-storage: Log mailbox directory creations to mailbox log.
Timo Sirainen [Tue, 4 Sep 2012 14:26:37 +0000 (17:26 +0300)] 
lib-storage: Log mailbox directory creations to mailbox log.

13 years agolib-storage: Added "disabled" setting for namespaces.
Timo Sirainen [Tue, 4 Sep 2012 14:18:08 +0000 (17:18 +0300)] 
lib-storage: Added "disabled" setting for namespaces.

13 years agolmtp proxying: Don't auto-set mail_max_lock_timeout higher than it was.
Timo Sirainen [Tue, 4 Sep 2012 14:13:47 +0000 (17:13 +0300)] 
lmtp proxying: Don't auto-set mail_max_lock_timeout higher than it was.

13 years agolib-storage: Added mail_storage_service_user_get_mail_set()
Timo Sirainen [Tue, 4 Sep 2012 14:12:21 +0000 (17:12 +0300)] 
lib-storage: Added mail_storage_service_user_get_mail_set()

13 years agomailbox_list_index=yes: Fixed listing nonexistent subscribed mailboxes
Timo Sirainen [Tue, 4 Sep 2012 13:37:55 +0000 (16:37 +0300)] 
mailbox_list_index=yes: Fixed listing nonexistent subscribed mailboxes

13 years agoMinor code cleanup
Timo Sirainen [Tue, 4 Sep 2012 13:23:12 +0000 (16:23 +0300)] 
Minor code cleanup

13 years agoimap: Fixed LIST (SPECIAL-USE RECURSIVEMATCH) to actually return CHILDINFOs.
Timo Sirainen [Tue, 4 Sep 2012 13:22:14 +0000 (16:22 +0300)] 
imap: Fixed LIST (SPECIAL-USE RECURSIVEMATCH) to actually return CHILDINFOs.

13 years agoLIST: Fixes to handling subscriptions
Timo Sirainen [Tue, 4 Sep 2012 13:06:29 +0000 (16:06 +0300)] 
LIST: Fixes to handling subscriptions

13 years agolib-storage: Moved mailbox-list-iter.c to list/
Timo Sirainen [Tue, 4 Sep 2012 13:05:26 +0000 (16:05 +0300)] 
lib-storage: Moved mailbox-list-iter.c to list/

13 years agomailbox_list_index: Assert-crashfix when seeing a new mailbox with children.
Timo Sirainen [Tue, 4 Sep 2012 12:03:17 +0000 (15:03 +0300)] 
mailbox_list_index: Assert-crashfix when seeing a new mailbox with children.

13 years agoquota: Removed quota_ignore_save_errors setting and made it enabled always.
Timo Sirainen [Tue, 4 Sep 2012 11:56:13 +0000 (14:56 +0300)] 
quota: Removed quota_ignore_save_errors setting and made it enabled always.

13 years agolib-imap-client: Added support for NAMESPACE capability
Timo Sirainen [Mon, 3 Sep 2012 10:20:32 +0000 (13:20 +0300)] 
lib-imap-client: Added support for NAMESPACE capability
Required by previous imapc commit

13 years agolib-storage: Added MAILBOX_METADATA_BACKEND_NAMESPACE
Timo Sirainen [Sun, 2 Sep 2012 16:52:31 +0000 (19:52 +0300)] 
lib-storage: Added MAILBOX_METADATA_BACKEND_NAMESPACE

13 years agoComment update.
Timo Sirainen [Sun, 2 Sep 2012 16:32:55 +0000 (19:32 +0300)] 
Comment update.

13 years agoRenamed enum namespace_type to enum mail_namespace_type
Timo Sirainen [Sun, 2 Sep 2012 16:22:13 +0000 (19:22 +0300)] 
Renamed enum namespace_type to enum mail_namespace_type

13 years agoimap: MOVE didn't send EXPUNGE when delay-newmail workaround was enabled.
Timo Sirainen [Sun, 2 Sep 2012 15:16:06 +0000 (18:16 +0300)] 
imap: MOVE didn't send EXPUNGE when delay-newmail workaround was enabled.

13 years agoimap-msgpart-url: Attempt to reuse selected mailbox instead of reallocating a new...
Timo Sirainen [Sun, 2 Sep 2012 14:18:41 +0000 (17:18 +0300)] 
imap-msgpart-url: Attempt to reuse selected mailbox instead of reallocating a new one.
Besides giving slightly better performace, this also fixes CATENATE for mbox
when source and destination mailboxes are the same.

13 years agoMoved mailbox_equals() to lib-storage.
Timo Sirainen [Sun, 2 Sep 2012 14:15:09 +0000 (17:15 +0300)] 
Moved mailbox_equals() to lib-storage.

13 years agombox: Added support for copy/move/catenate within same mailbox.
Timo Sirainen [Sun, 2 Sep 2012 13:48:25 +0000 (16:48 +0300)] 
mbox: Added support for copy/move/catenate within same mailbox.

13 years agoistream-chain/concat: Various fixes.
Timo Sirainen [Fri, 31 Aug 2012 12:25:20 +0000 (15:25 +0300)] 
istream-chain/concat: Various fixes.
Also made the chain code look more like concat code. They should be merged
at some point.

13 years agolib-storage: Fixed listing list=children namespaces that had child namespaces.
Timo Sirainen [Fri, 31 Aug 2012 11:14:50 +0000 (14:14 +0300)] 
lib-storage: Fixed listing list=children namespaces that had child namespaces.

13 years agoMerged changes from v2.1 tree.
Timo Sirainen [Thu, 30 Aug 2012 19:05:02 +0000 (22:05 +0300)] 
Merged changes from v2.1 tree.

13 years agoMoved most of the IMAP LIST code to lib-storage.
Timo Sirainen [Thu, 30 Aug 2012 18:12:23 +0000 (21:12 +0300)] 
Moved most of the IMAP LIST code to lib-storage.
Also removed MAILBOX_LIST_ITER_SHOW_EXISTING_PARENT flag, since there wasn't
any clearly good way to handle it. Some clients got confused when they saw
that foo/ mailbox was returned with \Noselect flag. Either they thought that
the mailbox was named foo/ or that foo was \Noselect. Pretty much the only
sane way to handle this would be to not make return \Noselect and to treat
foo and foo/ as equivalent in all commands, but that might cause trouble
with ACLs and similar checks..

13 years agoimap: Fixed MULTIAPPEND CATENATE that contained only URLs
Timo Sirainen [Thu, 30 Aug 2012 15:44:43 +0000 (18:44 +0300)] 
imap: Fixed MULTIAPPEND CATENATE that contained only URLs

13 years agoMinor code cleanup
Timo Sirainen [Wed, 29 Aug 2012 20:16:05 +0000 (23:16 +0300)] 
Minor code cleanup

13 years agoimap: Don't hang with zero size CATENATE TEXT parts.
Timo Sirainen [Wed, 29 Aug 2012 20:15:56 +0000 (23:15 +0300)] 
imap: Don't hang with zero size CATENATE TEXT parts.

13 years agoimap-parser: Fixed imap_parser_read_last_literal() to work again
Timo Sirainen [Wed, 29 Aug 2012 20:13:56 +0000 (23:13 +0300)] 
imap-parser: Fixed imap_parser_read_last_literal() to work again

13 years agoNEWS updated
Timo Sirainen [Wed, 29 Aug 2012 19:42:26 +0000 (22:42 +0300)] 
NEWS updated

13 years agoimap: Allow very long MULTIAPPEND CATENATE lines that contain only URLs.
Timo Sirainen [Wed, 29 Aug 2012 18:08:08 +0000 (21:08 +0300)] 
imap: Allow very long MULTIAPPEND CATENATE lines that contain only URLs.

13 years agoimap-parser: Allow calling imap_parser_read_args() multiple times with larger count...
Timo Sirainen [Wed, 29 Aug 2012 18:04:45 +0000 (21:04 +0300)] 
imap-parser: Allow calling imap_parser_read_args() multiple times with larger count parameter.

13 years agoimap-parser: Removed filling missing parameters with NILs.
Timo Sirainen [Wed, 29 Aug 2012 18:04:09 +0000 (21:04 +0300)] 
imap-parser: Removed filling missing parameters with NILs.
No code was relying on this behavior.

13 years agoimap: Fixed crashes in THREAD=ORDEREDSUBJECT
Timo Sirainen [Wed, 29 Aug 2012 17:16:13 +0000 (20:16 +0300)] 
imap: Fixed crashes in THREAD=ORDEREDSUBJECT

13 years agoimap: CATENATE fix
Timo Sirainen [Wed, 29 Aug 2012 17:00:03 +0000 (20:00 +0300)] 
imap: CATENATE fix

13 years agoistream-chain: Unreference also the last stream when it reaches EOF.
Timo Sirainen [Wed, 29 Aug 2012 16:59:42 +0000 (19:59 +0300)] 
istream-chain: Unreference also the last stream when it reaches EOF.

13 years agoimap: More APPEND error handling fixes.
Timo Sirainen [Wed, 29 Aug 2012 16:07:47 +0000 (19:07 +0300)] 
imap: More APPEND error handling fixes.

13 years agoimap: Send BAD replies with client_send_command_error()
Timo Sirainen [Wed, 29 Aug 2012 15:34:43 +0000 (18:34 +0300)] 
imap: Send BAD replies with client_send_command_error()

13 years agoimap: Various fixes to APPEND error handling.
Timo Sirainen [Wed, 29 Aug 2012 15:32:13 +0000 (18:32 +0300)] 
imap: Various fixes to APPEND error handling.

13 years agoimap: Added asserts to make sure a tagline isn't sent twice to the same command.
Timo Sirainen [Wed, 29 Aug 2012 15:32:01 +0000 (18:32 +0300)] 
imap: Added asserts to make sure a tagline isn't sent twice to the same command.

13 years agodbox: Don't try to finish saving attachments if saving has already failed.
Timo Sirainen [Wed, 29 Aug 2012 14:15:34 +0000 (17:15 +0300)] 
dbox: Don't try to finish saving attachments if saving has already failed.
Fixes an assert crash with failed CATENATE.

13 years agoimap CATENATE: Do one more mailbox_save_continue() after adding EOF to stream.
Timo Sirainen [Wed, 29 Aug 2012 13:55:33 +0000 (16:55 +0300)] 
imap CATENATE: Do one more mailbox_save_continue() after adding EOF to stream.
Fixes a crash with external mail attachments (mail_attachment_dir).

13 years agoiostream_rawlog_create_path(): Avoid double-closing the rawlog fd
Timo Sirainen [Wed, 29 Aug 2012 13:45:25 +0000 (16:45 +0300)] 
iostream_rawlog_create_path(): Avoid double-closing the rawlog fd

13 years agoiostream-rawlog: Added possibility to save input/output to the same file.
Timo Sirainen [Wed, 29 Aug 2012 13:18:56 +0000 (16:18 +0300)] 
iostream-rawlog: Added possibility to save input/output to the same file.

13 years agostr_*printfa(): Avoid growing underlying buffer if possible.
Timo Sirainen [Wed, 29 Aug 2012 13:12:08 +0000 (16:12 +0300)] 
str_*printfa(): Avoid growing underlying buffer if possible.

13 years agoReverted some of the last hash table changes.
Timo Sirainen [Wed, 29 Aug 2012 05:56:40 +0000 (08:56 +0300)] 
Reverted some of the last hash table changes.
They caused hash table operations to dereference pointers, which caused
a compiler error if the type wasn't known.

13 years agoi_stream_stat() API changed.
Timo Sirainen [Tue, 28 Aug 2012 19:40:57 +0000 (22:40 +0300)] 
i_stream_stat() API changed.
This fixes also one missing error check.

13 years agoo_stream_send_istream(): Get input stream size with i_stream_get_size() instead of...
Timo Sirainen [Tue, 28 Aug 2012 19:20:17 +0000 (22:20 +0300)] 
o_stream_send_istream(): Get input stream size with i_stream_get_size() instead of _stat().

13 years agoistream-chain: Removed default get_size() implementation and panicing on stat()
Timo Sirainen [Tue, 28 Aug 2012 19:15:57 +0000 (22:15 +0300)] 
istream-chain: Removed default get_size() implementation and panicing on stat()
This works around crashes in mdbox/quota code.
Patch by Stephan Bosch.

13 years agomdbox: Replaced non-error-checking i_stream_stat() with potentially faster i_stream_g...
Timo Sirainen [Tue, 28 Aug 2012 19:15:49 +0000 (22:15 +0300)] 
mdbox: Replaced non-error-checking i_stream_stat() with potentially faster i_stream_get_size().

13 years agoimapc: If imapc_list_prefix=INBOX, don't treat INBOX/INBOX as the INBOX itself.
Timo Sirainen [Tue, 28 Aug 2012 16:06:01 +0000 (19:06 +0300)] 
imapc: If imapc_list_prefix=INBOX, don't treat INBOX/INBOX as the INBOX itself.

13 years agodict file: Fixed corruption with large values.
Timo Sirainen [Tue, 28 Aug 2012 15:53:30 +0000 (18:53 +0300)] 
dict file: Fixed corruption with large values.
Patch by Ewald Dieterich.

13 years agoimapc: max_idle_time setting didn't actually work.
Timo Sirainen [Tue, 28 Aug 2012 12:57:22 +0000 (15:57 +0300)] 
imapc: max_idle_time setting didn't actually work.

13 years agolmtp proxy: Forward proxy_timeout to backend and set mail_max_lock_timeout based...
Timo Sirainen [Tue, 28 Aug 2012 11:46:16 +0000 (14:46 +0300)] 
lmtp proxy: Forward proxy_timeout to backend and set mail_max_lock_timeout based on it.
This automatically avoids duplicate mail deliveries caused by long lock
waits.

13 years agolmtp proxy: Include session ID string in timeout reply text.
Timo Sirainen [Tue, 28 Aug 2012 10:23:37 +0000 (13:23 +0300)] 
lmtp proxy: Include session ID string in timeout reply text.

13 years agodict-redis: Fixed infinite looping
Timo Sirainen [Sun, 26 Aug 2012 16:23:48 +0000 (19:23 +0300)] 
dict-redis: Fixed infinite looping

13 years agoistream-concat: Bugfix
Timo Sirainen [Sat, 25 Aug 2012 09:05:34 +0000 (12:05 +0300)] 
istream-concat: Bugfix