]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
12 years agoauth: Added CLEAR as yet another alias to PLAIN/CLEARTEXT password scheme.
Timo Sirainen [Tue, 18 Dec 2012 20:13:48 +0000 (22:13 +0200)] 
auth: Added CLEAR as yet another alias to PLAIN/CLEARTEXT password scheme.
This apparently is used by Sun LDAP server.

12 years agolib-index: MAIL_INDEX_OPEN_FLAG_SAVEONLY was buggy when reading data near end of...
Timo Sirainen [Tue, 18 Dec 2012 20:07:36 +0000 (22:07 +0200)] 
lib-index: MAIL_INDEX_OPEN_FLAG_SAVEONLY was buggy when reading data near end of dovecot.index.cache.
We assumed that we read as much as we requested, even if the file was
smaller.

12 years agolib-index: Make sure a corrupted mail_cache_header_fields.size doesn't cause crashes.
Timo Sirainen [Tue, 18 Dec 2012 20:05:55 +0000 (22:05 +0200)] 
lib-index: Make sure a corrupted mail_cache_header_fields.size doesn't cause crashes.

12 years agoraw storage: Make sure "from envelope" isn't returned as NULL.
Timo Sirainen [Tue, 18 Dec 2012 19:45:08 +0000 (21:45 +0200)] 
raw storage: Make sure "from envelope" isn't returned as NULL.

12 years agoconfig: Notify process creation success to master only after parsing config file
Timo Sirainen [Tue, 18 Dec 2012 19:37:57 +0000 (21:37 +0200)] 
config: Notify process creation success to master only after parsing config file

12 years agoexample-config: Added missing dovecot-dict-auth.conf.ext
Timo Sirainen [Tue, 18 Dec 2012 19:20:38 +0000 (21:20 +0200)] 
example-config: Added missing dovecot-dict-auth.conf.ext

12 years agolib-index: If sure mail_index_alloc_cache_destroy_unrefed() closes indexes it alone...
Timo Sirainen [Tue, 18 Dec 2012 19:15:19 +0000 (21:15 +0200)] 
lib-index: If sure mail_index_alloc_cache_destroy_unrefed() closes indexes it alone keeps open.
This makes sure that all index files are closed within process when mailbox
is deleted.

12 years agoindexer-worker: Don't assert-crash with some mailbox names in some configurations.
Timo Sirainen [Tue, 18 Dec 2012 18:48:36 +0000 (20:48 +0200)] 
indexer-worker: Don't assert-crash with some mailbox names in some configurations.
Virtual mailbox name shouldn't be accessed directly using mailbox_list_*()
functions, since they expect a storage name. In some configurations this
could have caused assert-crashes with mailbox names that contained invalid
characters.

12 years agoauth: When auto-loading auth mechanisms from plugins, generate the name better.
Timo Sirainen [Tue, 18 Dec 2012 16:57:41 +0000 (18:57 +0200)] 
auth: When auto-loading auth mechanisms from plugins, generate the name better.

12 years agodict-file: Automatically mkdir missing parent directories if they don't exist.
Timo Sirainen [Thu, 13 Dec 2012 10:14:57 +0000 (12:14 +0200)] 
dict-file: Automatically mkdir missing parent directories if they don't exist.

12 years agolib-storage: Use stat_first_parent() instead of doing it ourself.
Timo Sirainen [Thu, 13 Dec 2012 10:14:03 +0000 (12:14 +0200)] 
lib-storage: Use stat_first_parent() instead of doing it ourself.

12 years agoAdded stat_first_parent() helper function.
Timo Sirainen [Thu, 13 Dec 2012 10:13:42 +0000 (12:13 +0200)] 
Added stat_first_parent() helper function.

12 years agovirtual plugin: Don't fail if mailbox patterns don't match anything.
Timo Sirainen [Tue, 11 Dec 2012 18:04:10 +0000 (20:04 +0200)] 
virtual plugin: Don't fail if mailbox patterns don't match anything.

12 years agolib-master: Ignore /Volumes and /private/tmp mountpoints with OSX (only).
Timo Sirainen [Sat, 8 Dec 2012 09:13:51 +0000 (11:13 +0200)] 
lib-master: Ignore /Volumes and /private/tmp mountpoints with OSX (only).

12 years agolib-master: Ignore mountpoints under /Volumes by default.
Timo Sirainen [Sat, 8 Dec 2012 09:12:10 +0000 (11:12 +0200)] 
lib-master: Ignore mountpoints under /Volumes by default.

12 years agodoveadm: table formatter supports now writing by streaming.
Timo Sirainen [Sat, 8 Dec 2012 08:48:23 +0000 (10:48 +0200)] 
doveadm: table formatter supports now writing by streaming.
This fixes it to work with doveadm server, which sometimes may use
streaming.

12 years agoimap: If mailbox doesn't have read ACL, hide APPENDUID/COPYUID resp-codes.
Timo Sirainen [Sat, 8 Dec 2012 08:43:21 +0000 (10:43 +0200)] 
imap: If mailbox doesn't have read ACL, hide APPENDUID/COPYUID resp-codes.

12 years agofts-solr: Fixed memory leak
Timo Sirainen [Sat, 8 Dec 2012 07:35:33 +0000 (09:35 +0200)] 
fts-solr: Fixed memory leak

12 years agoAdded signature for changeset 75bfda4a7c6c
Timo Sirainen [Fri, 30 Nov 2012 06:56:55 +0000 (08:56 +0200)] 
Added signature for changeset 75bfda4a7c6c

12 years agoAdded tag 2.1.12 for changeset 75bfda4a7c6c
Timo Sirainen [Fri, 30 Nov 2012 06:56:44 +0000 (08:56 +0200)] 
Added tag 2.1.12 for changeset 75bfda4a7c6c

12 years agoReleased v2.1.12. 2.1.12
Timo Sirainen [Fri, 30 Nov 2012 06:56:44 +0000 (08:56 +0200)] 
Released v2.1.12.

12 years agoexpire plugin: Don't crash when doveadm is run with proxying
Timo Sirainen [Fri, 30 Nov 2012 01:14:10 +0000 (03:14 +0200)] 
expire plugin: Don't crash when doveadm is run with proxying

12 years agoMakefile: dovecot-config was missing quotes in LIBDOVECOT_LOGIN
Timo Sirainen [Thu, 29 Nov 2012 10:43:54 +0000 (12:43 +0200)] 
Makefile: dovecot-config was missing quotes in LIBDOVECOT_LOGIN

12 years agoAdded signature for changeset 741d800a192f
Timo Sirainen [Thu, 29 Nov 2012 06:41:28 +0000 (08:41 +0200)] 
Added signature for changeset 741d800a192f

12 years agoAdded tag 2.1.11 for changeset 741d800a192f
Timo Sirainen [Thu, 29 Nov 2012 06:41:21 +0000 (08:41 +0200)] 
Added tag 2.1.11 for changeset 741d800a192f

12 years agoReleased v2.1.11. 2.1.11
Timo Sirainen [Thu, 29 Nov 2012 06:41:21 +0000 (08:41 +0200)] 
Released v2.1.11.

12 years agodoveadm: Don't truncate printed output that contain NUL bytes.
Timo Sirainen [Thu, 29 Nov 2012 06:35:51 +0000 (08:35 +0200)] 
doveadm: Don't truncate printed output that contain NUL bytes.
doveadm fetch text output especially could have been truncated.

12 years agostats: Log username and service for invalid UPDATE-SESSIONs
Timo Sirainen [Wed, 28 Nov 2012 02:29:58 +0000 (04:29 +0200)] 
stats: Log username and service for invalid UPDATE-SESSIONs

12 years agostats: Fixed crash when handling multiple users within same process.
Timo Sirainen [Wed, 28 Nov 2012 02:21:03 +0000 (04:21 +0200)] 
stats: Fixed crash when handling multiple users within same process.

12 years agolib-index: Fixed assert-crash caused by recent cache file changes.
Timo Sirainen [Wed, 28 Nov 2012 01:56:06 +0000 (03:56 +0200)] 
lib-index: Fixed assert-crash caused by recent cache file changes.

12 years agolib-index: Fixed memory leak with MAIL_INDEX_OPEN_FLAG_SAVEONLY
Timo Sirainen [Wed, 28 Nov 2012 01:55:25 +0000 (03:55 +0200)] 
lib-index: Fixed memory leak with MAIL_INDEX_OPEN_FLAG_SAVEONLY

12 years agodoveadm: Log better errors for failing passdb proxy lookups.
Timo Sirainen [Wed, 28 Nov 2012 01:32:31 +0000 (03:32 +0200)] 
doveadm: Log better errors for failing passdb proxy lookups.

12 years agolib-auth: Added auth_master_get_socket_path()
Timo Sirainen [Wed, 28 Nov 2012 01:32:01 +0000 (03:32 +0200)] 
lib-auth: Added auth_master_get_socket_path()

12 years agofts-solr: XML-encode non-body fields as well
Timo Sirainen [Tue, 27 Nov 2012 21:06:38 +0000 (23:06 +0200)] 
fts-solr: XML-encode non-body fields as well

12 years agolib-storage: Handle better when attempting to access shared mailboxes for nonexistent...
Timo Sirainen [Tue, 27 Nov 2012 08:49:41 +0000 (10:49 +0200)] 
lib-storage: Handle better when attempting to access shared mailboxes for nonexistent users.

12 years agolib-storage: Added struct mail_user.nonexistent flag, which is filled by userdb lookup.
Timo Sirainen [Tue, 27 Nov 2012 08:49:18 +0000 (10:49 +0200)] 
lib-storage: Added struct mail_user.nonexistent flag, which is filled by userdb lookup.

12 years agofts_parser: Minor error logging improvement
Timo Sirainen [Tue, 27 Nov 2012 08:48:11 +0000 (10:48 +0200)] 
fts_parser: Minor error logging improvement

12 years agomdbox: When rebuilding storage, fsck the map index first to make sure it's valid.
Timo Sirainen [Tue, 27 Nov 2012 08:39:26 +0000 (10:39 +0200)] 
mdbox: When rebuilding storage, fsck the map index first to make sure it's valid.
This fixes assert-crash when the map index contained records with UIDs in
wrong order.

12 years agomailbox-alias plugin: Error handling fix.
Timo Sirainen [Tue, 27 Nov 2012 08:02:59 +0000 (10:02 +0200)] 
mailbox-alias plugin: Error handling fix.

12 years agolib-index: Added v2.2+ forwards compatibility to dovecot.index.cache
Timo Sirainen [Tue, 27 Nov 2012 07:53:33 +0000 (09:53 +0200)] 
lib-index: Added v2.2+ forwards compatibility to dovecot.index.cache

12 years agologin: Reverted previous fix attempt for SSL_accept() busy-looping.
Timo Sirainen [Tue, 27 Nov 2012 07:13:57 +0000 (09:13 +0200)] 
login: Reverted previous fix attempt for SSL_accept() busy-looping.
Apparently didn't work. Probably this patch doesn't help anything then, so
just remove the extra complexity.

12 years agoauth: userdb passwd lookups should have been done via worker processes by default.
Timo Sirainen [Tue, 27 Nov 2012 06:43:15 +0000 (08:43 +0200)] 
auth: userdb passwd lookups should have been done via worker processes by default.

12 years agofts-solr: Removed deprecated waitFlush parameter from commit.
Timo Sirainen [Tue, 27 Nov 2012 06:08:50 +0000 (08:08 +0200)] 
fts-solr: Removed deprecated waitFlush parameter from commit.

12 years agoReversed recent "short utf8" changes.
Timo Sirainen [Tue, 27 Nov 2012 05:50:06 +0000 (07:50 +0200)] 
Reversed recent "short utf8" changes.
Solr code needs to parse the UTF8 input explicitly anyway to encode the XML
characters. And all the character checks were already done in it.

12 years agodoveadm-server: Reset headers in print output between running commands.
Timo Sirainen [Tue, 27 Nov 2012 04:21:18 +0000 (06:21 +0200)] 
doveadm-server: Reset headers in print output between running commands.

12 years agodoveadm-server: Avoid eating CPU when client disconnects before authentication is...
Timo Sirainen [Tue, 27 Nov 2012 04:20:44 +0000 (06:20 +0200)] 
doveadm-server: Avoid eating CPU when client disconnects before authentication is done.

12 years agodoveadm: Don't disconnect from server too early while there are still commands.
Timo Sirainen [Tue, 27 Nov 2012 04:19:57 +0000 (06:19 +0200)] 
doveadm: Don't disconnect from server too early while there are still commands.

12 years agodoveadm: Include username in internal errors and "no such user" errors when running...
Timo Sirainen [Tue, 27 Nov 2012 04:19:10 +0000 (06:19 +0200)] 
doveadm: Include username in internal errors and "no such user" errors when running via server.

12 years agofts-solr: Marked as FTS_BACKEND_FLAG_BUILD_SHORT_UTF8
Timo Sirainen [Tue, 27 Nov 2012 01:49:36 +0000 (03:49 +0200)] 
fts-solr: Marked as FTS_BACKEND_FLAG_BUILD_SHORT_UTF8

12 years agofts: Added FTS_BACKEND_FLAG_BUILD_SHORT_UTF8 to require sending only short UTF8 data...
Timo Sirainen [Tue, 27 Nov 2012 01:49:25 +0000 (03:49 +0200)] 
fts: Added FTS_BACKEND_FLAG_BUILD_SHORT_UTF8 to require sending only short UTF8 data to backend.

12 years agoliblib: Added uni_utf8_short_*() for handling UTF8 data where [56]-byte sequences...
Timo Sirainen [Tue, 27 Nov 2012 01:48:15 +0000 (03:48 +0200)] 
liblib: Added uni_utf8_short_*() for handling UTF8 data where [56]-byte sequences are invalid.

12 years agoquota: mailbox_get_status(STATUS_CHECK_OVER_QUOTA) returned wrong value on success.
Timo Sirainen [Tue, 27 Nov 2012 00:41:53 +0000 (02:41 +0200)] 
quota: mailbox_get_status(STATUS_CHECK_OVER_QUOTA) returned wrong value on success.
This fixes lmtp_rcpt_check_quota=yes

12 years agoman: Added -d parameter to doveadm expunge.
Timo Sirainen [Tue, 27 Nov 2012 00:20:37 +0000 (02:20 +0200)] 
man: Added -d parameter to doveadm expunge.
Patch by Pascal Volk.

12 years agologin: Try to avoid busy-looping on SSL_accept() when client doesn't behave nicely.
Timo Sirainen [Fri, 23 Nov 2012 06:52:06 +0000 (08:52 +0200)] 
login: Try to avoid busy-looping on SSL_accept() when client doesn't behave nicely.

12 years agoauth: Added a way to set default values for nonexistent LDAP attributes.
Timo Sirainen [Fri, 23 Nov 2012 06:32:13 +0000 (08:32 +0200)] 
auth: Added a way to set default values for nonexistent LDAP attributes.
%{ldap:attrName:default_value} expands to default_value if attrName doesn't
exist.

12 years agoauth: Give a better error message for "client doesn't have lookup permissions".
Timo Sirainen [Wed, 7 Nov 2012 16:14:20 +0000 (18:14 +0200)] 
auth: Give a better error message for "client doesn't have lookup permissions".

12 years agoMakefile: Add -lssl to installed dovecot-config's LIBDOVECOT_LOGIN if needed.
Timo Sirainen [Wed, 7 Nov 2012 15:44:32 +0000 (17:44 +0200)] 
Makefile: Add -lssl to installed dovecot-config's LIBDOVECOT_LOGIN if needed.

12 years agovar_expand*(): Don't use a data stack frame when expanding long %{variables}
Timo Sirainen [Wed, 7 Nov 2012 15:37:16 +0000 (17:37 +0200)] 
var_expand*(): Don't use a data stack frame when expanding long %{variables}
This avoids potential crashes if the destination string is also allocated
from data stack and requires growing.

12 years agomdbox: Don't leave extra records to dovecot.map.index if mailbox index locking fails.
Timo Sirainen [Wed, 7 Nov 2012 15:05:47 +0000 (17:05 +0200)] 
mdbox: Don't leave extra records to dovecot.map.index if mailbox index locking fails.
Fixes errors such as:
Corrupted dbox file /mdbox/storage/m.1 (around offset=2652): EOF reading msg header (got 0/30 bytes)

12 years agoimap: Avoid sending multiple unnecessary VANISHED lines when sync had lots of changes.
Timo Sirainen [Tue, 6 Nov 2012 20:13:13 +0000 (22:13 +0200)] 
imap: Avoid sending multiple unnecessary VANISHED lines when sync had lots of changes.

12 years agolib-ssl-iostream: [io]streams were added an unnecessary reference, causing memory...
Timo Sirainen [Mon, 5 Nov 2012 12:28:24 +0000 (14:28 +0200)] 
lib-ssl-iostream: [io]streams were added an unnecessary reference, causing memory leaks.

12 years agolib-index: MAIL_INDEX_OPEN_FLAG_SAVEONLY may have caused stale data to be read from...
Timo Sirainen [Sun, 4 Nov 2012 15:26:24 +0000 (17:26 +0200)] 
lib-index: MAIL_INDEX_OPEN_FLAG_SAVEONLY may have caused stale data to be read from cache.

12 years agolib-index: Recent cache file changes broke writing.
Timo Sirainen [Sat, 3 Nov 2012 16:43:00 +0000 (18:43 +0200)] 
lib-index: Recent cache file changes broke writing.

12 years agoMakefile: Add -lssl to installed dovecot-config's LIBDOVECOT_STORAGE if needed.
Timo Sirainen [Wed, 31 Oct 2012 11:24:49 +0000 (13:24 +0200)] 
Makefile: Add -lssl to installed dovecot-config's LIBDOVECOT_STORAGE if needed.

12 years agolib-lda: Avoid doing a costly mailbox sync when delivering mail to multiple recipients.
Timo Sirainen [Tue, 30 Oct 2012 13:05:45 +0000 (15:05 +0200)] 
lib-lda: Avoid doing a costly mailbox sync when delivering mail to multiple recipients.

12 years agologin proxy: For connect() failures log also the used local IP:port if available.
Timo Sirainen [Mon, 29 Oct 2012 17:04:36 +0000 (19:04 +0200)] 
login proxy: For connect() failures log also the used local IP:port if available.

12 years agolib-dict: Abort async transaction commits if client gets disconnected from dict server.
Timo Sirainen [Mon, 29 Oct 2012 14:36:59 +0000 (16:36 +0200)] 
lib-dict: Abort async transaction commits if client gets disconnected from dict server.

13 years agolib-storage: Fixed listing layout=fs when namespace prefix part included wildcards.
Timo Sirainen [Fri, 26 Oct 2012 10:05:43 +0000 (13:05 +0300)] 
lib-storage: Fixed listing layout=fs when namespace prefix part included wildcards.

13 years agostats: Refresh user statistics during long maildir syncs.
Timo Sirainen [Fri, 26 Oct 2012 09:09:03 +0000 (12:09 +0300)] 
stats: Refresh user statistics during long maildir syncs.

13 years agolib-index: Optimize cache file reads with MAIL_INDEX_OPEN_FLAG_SAVEONLY
Timo Sirainen [Fri, 26 Oct 2012 08:43:05 +0000 (11:43 +0300)] 
lib-index: Optimize cache file reads with MAIL_INDEX_OPEN_FLAG_SAVEONLY

13 years agolib-index: After recent cache changes, cache was often wrongly being thought of as...
Timo Sirainen [Fri, 26 Oct 2012 08:37:07 +0000 (11:37 +0300)] 
lib-index: After recent cache changes, cache was often wrongly being thought of as unusable

13 years agolib-index: If cache file unexpectedly shrinks in header lookup, log an error.
Timo Sirainen [Fri, 26 Oct 2012 08:34:25 +0000 (11:34 +0300)] 
lib-index: If cache file unexpectedly shrinks in header lookup, log an error.

13 years agoIncreased initial memory pool size
Timo Sirainen [Fri, 26 Oct 2012 08:33:22 +0000 (11:33 +0300)] 
Increased initial memory pool size

13 years agolib-storage: Listing multiple mailbox patterns may have returned duplicates with...
Timo Sirainen [Fri, 26 Oct 2012 08:17:51 +0000 (11:17 +0300)] 
lib-storage: Listing multiple mailbox patterns may have returned duplicates with fs layout.

13 years agoauth: Log a nicer message if client timeouts authentication in the middle.
Timo Sirainen [Mon, 22 Oct 2012 15:59:20 +0000 (18:59 +0300)] 
auth: Log a nicer message if client timeouts authentication in the middle.

13 years agodecode2text.sh: Assume xmlunzip exists in the same directory as this script.
Timo Sirainen [Mon, 22 Oct 2012 15:35:56 +0000 (18:35 +0300)] 
decode2text.sh: Assume xmlunzip exists in the same directory as this script.
This avoids hardcoding /usr/local/libexec/dovecot/ path in it.

13 years agodirector: -D parameter now enables extensive debug logging.
Timo Sirainen [Mon, 22 Oct 2012 12:35:59 +0000 (15:35 +0300)] 
director: -D parameter now enables extensive debug logging.

13 years agodirector: Don't remove user's weak flag from notify connection.
Timo Sirainen [Mon, 22 Oct 2012 12:32:04 +0000 (15:32 +0300)] 
director: Don't remove user's weak flag from notify connection.
If notify connection worked properly, the weak flag should never have been
set in the first place. And if it's just suddenly removed, it won't finish
the pending requests properly.

13 years agodirector: Minor code cleanup
Timo Sirainen [Mon, 22 Oct 2012 12:30:01 +0000 (15:30 +0300)] 
director: Minor code cleanup

13 years agodirector: If user's weak-flag appears to have gotten stuck, unset it.
Timo Sirainen [Mon, 22 Oct 2012 12:29:27 +0000 (15:29 +0300)] 
director: If user's weak-flag appears to have gotten stuck, unset it.

13 years agodirector: Log more clearly why a request timeouts.
Timo Sirainen [Mon, 22 Oct 2012 12:23:25 +0000 (15:23 +0300)] 
director: Log more clearly why a request timeouts.

13 years agodirector: Don't handle pending requests from all around the code.
Timo Sirainen [Mon, 22 Oct 2012 12:20:57 +0000 (15:20 +0300)] 
director: Don't handle pending requests from all around the code.
I'm not sure if this actually fixes any bugs, but it definitely makes the
state cleaner.

13 years agodirector: Fixed previous broken change for handling USER-WEAK commands.
Timo Sirainen [Mon, 22 Oct 2012 12:17:39 +0000 (15:17 +0300)] 
director: Fixed previous broken change for handling USER-WEAK commands.

13 years agoredis dict: Log an error if we get disconnected unexpectedly.
Timo Sirainen [Sun, 21 Oct 2012 04:13:44 +0000 (07:13 +0300)] 
redis dict: Log an error if we get disconnected unexpectedly.

13 years agolib-index: Crashfix for MAIL_INDEX_OPEN_FLAG_SAVEONLY change.
Timo Sirainen [Thu, 18 Oct 2012 03:45:39 +0000 (06:45 +0300)] 
lib-index: Crashfix for MAIL_INDEX_OPEN_FLAG_SAVEONLY change.

13 years agologin_log_format_elements: Added %{real_rip} variable.
Timo Sirainen [Thu, 18 Oct 2012 03:21:25 +0000 (06:21 +0300)] 
login_log_format_elements: Added %{real_rip} variable.
It differs from %r when Dovecot proxy sends an updated client IP address.
Patch by Jack Bates.

13 years agolib-index: Fixed handling of finding a duplicate dovecot.index.log file_seq
Timo Sirainen [Thu, 18 Oct 2012 03:00:18 +0000 (06:00 +0300)] 
lib-index: Fixed handling of finding a duplicate dovecot.index.log file_seq
Previously we assumed that the already opened file was always the wrong one,
but more common was that the newly opened file was .log.2 which should have
been deleted.

13 years agolib-index: Handle better race condition there dovecot.index.log and .log.2 are the...
Timo Sirainen [Thu, 18 Oct 2012 02:55:30 +0000 (05:55 +0300)] 
lib-index: Handle better race condition there dovecot.index.log and .log.2 are the same link.

13 years agolib-storage: Open index with MAIL_INDEX_OPEN_FLAG_SAVEONLY if mailbox has MAILBOX_FLA...
Timo Sirainen [Thu, 18 Oct 2012 02:23:27 +0000 (05:23 +0300)] 
lib-storage: Open index with MAIL_INDEX_OPEN_FLAG_SAVEONLY if mailbox has MAILBOX_FLAG_SAVEONLY

13 years agolib-index: Added MAIL_INDEX_OPEN_FLAG_SAVEONLY to do only minimal reads from cache...
Timo Sirainen [Thu, 18 Oct 2012 02:22:36 +0000 (05:22 +0300)] 
lib-index: Added MAIL_INDEX_OPEN_FLAG_SAVEONLY to do only minimal reads from cache file.

13 years agolib-index: Code cleanup: Removed mail_cache.data
Timo Sirainen [Thu, 18 Oct 2012 02:16:54 +0000 (05:16 +0300)] 
lib-index: Code cleanup: Removed mail_cache.data

13 years agolib-index: mail_cache_map() API cleanup
Timo Sirainen [Thu, 18 Oct 2012 02:10:29 +0000 (05:10 +0300)] 
lib-index: mail_cache_map() API cleanup

13 years agodict quota: Fixed a potential crash if quota recalculation was triggered at deinit.
Timo Sirainen [Tue, 16 Oct 2012 00:34:51 +0000 (03:34 +0300)] 
dict quota: Fixed a potential crash if quota recalculation was triggered at deinit.

13 years agolib-master: Fixed -i <instance name> parameter handling.
Timo Sirainen [Tue, 16 Oct 2012 00:08:21 +0000 (03:08 +0300)] 
lib-master: Fixed -i <instance name> parameter handling.
It previously worked only if the default config socket wasn't usable.

13 years agoconfigure: Make sure MYSQL_LIBS has -lmysqlclient even if it's not explicitly found.
Timo Sirainen [Fri, 12 Oct 2012 20:05:43 +0000 (23:05 +0300)] 
configure: Make sure MYSQL_LIBS has -lmysqlclient even if it's not explicitly found.

13 years agolib-storage: Fixed crash when attempting to remove subscriptions for nonexistent...
Timo Sirainen [Fri, 12 Oct 2012 05:48:25 +0000 (08:48 +0300)] 
lib-storage: Fixed crash when attempting to remove subscriptions for nonexistent shared users.

13 years agolib-index: Log a warning if locking transaction log takes longer than 30 secs.
Timo Sirainen [Fri, 12 Oct 2012 05:31:15 +0000 (08:31 +0300)] 
lib-index: Log a warning if locking transaction log takes longer than 30 secs.

13 years agosdbox: Make sure mail_attachment_fs=sis-queue isn't attempted to be used.
Timo Sirainen [Thu, 11 Oct 2012 21:30:23 +0000 (00:30 +0300)] 
sdbox: Make sure mail_attachment_fs=sis-queue isn't attempted to be used.
It could be fixed, but nobody seems to have used it so far..

13 years agosdbox: Class didn't have MAIL_STORAGE_CLASS_FLAG_FILE_PER_MSG set
Timo Sirainen [Thu, 11 Oct 2012 21:29:41 +0000 (00:29 +0300)] 
sdbox: Class didn't have MAIL_STORAGE_CLASS_FLAG_FILE_PER_MSG set
This currently only meant that mail_prefetch_count setting wasn't working.

13 years agomaster: If service { protocol } is set and not included in "protocols", ignore its...
Timo Sirainen [Mon, 8 Oct 2012 05:53:54 +0000 (08:53 +0300)] 
master: If service { protocol } is set and not included in "protocols", ignore its settings