]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
13 years agolib-fs: Don't crash when trying to initialize nonexistent fs driver.
Timo Sirainen [Tue, 27 Nov 2012 23:44:53 +0000 (01:44 +0200)] 
lib-fs: Don't crash when trying to initialize nonexistent fs driver.

13 years agoi_stream_default_stat(): If we can't know the size, return -1 instead of assert crash.
Timo Sirainen [Tue, 27 Nov 2012 23:43:24 +0000 (01:43 +0200)] 
i_stream_default_stat(): If we can't know the size, return -1 instead of assert crash.
This fixes a crash saving to mdbox when input stream's size wasn't known.

13 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

13 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.

13 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.

13 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

13 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.

13 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.

13 years agoNEWS updated
Timo Sirainen [Tue, 27 Nov 2012 08:00:42 +0000 (10:00 +0200)] 
NEWS updated

13 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

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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

13 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.

13 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.

13 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

13 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.

13 years agodovecot-config: LIBDOVECOT_INCLUDE was missing path to lib-http
Timo Sirainen [Mon, 26 Nov 2012 22:44:34 +0000 (00:44 +0200)] 
dovecot-config: LIBDOVECOT_INCLUDE was missing path to lib-http

13 years agolib-fs: Automatically try to load missing driver as plugin.
Timo Sirainen [Mon, 26 Nov 2012 22:43:53 +0000 (00:43 +0200)] 
lib-fs: Automatically try to load missing driver as plugin.

13 years agoliblib: Added lib_atexit() to register process deinit callbacks.
Timo Sirainen [Mon, 26 Nov 2012 22:43:23 +0000 (00:43 +0200)] 
liblib: Added lib_atexit() to register process deinit callbacks.

13 years agoliblib: Added module_dir_find()
Timo Sirainen [Mon, 26 Nov 2012 22:31:40 +0000 (00:31 +0200)] 
liblib: Added module_dir_find()

13 years agodoveadm dump: Added support for "obox" index records.
Timo Sirainen [Mon, 26 Nov 2012 21:24:48 +0000 (23:24 +0200)] 
doveadm dump: Added support for "obox" index records.

13 years agolib-imap-storage: When returning an error istream, give it a useful name.
Timo Sirainen [Mon, 26 Nov 2012 21:23:52 +0000 (23:23 +0200)] 
lib-imap-storage: When returning an error istream, give it a useful name.

13 years agolib-storage: Fixes to LAYOUT=index backend.
Timo Sirainen [Mon, 26 Nov 2012 21:20:59 +0000 (23:20 +0200)] 
lib-storage: Fixes to LAYOUT=index backend.

13 years agolib-storage: Comment update for mail_prefetch()
Timo Sirainen [Mon, 26 Nov 2012 21:19:04 +0000 (23:19 +0200)] 
lib-storage: Comment update for mail_prefetch()

13 years agolib-storage: If MAIL_STORAGE_CLASS_FLAG_NO_ROOT is set, don't even try to mkdir it.
Timo Sirainen [Mon, 26 Nov 2012 21:18:30 +0000 (23:18 +0200)] 
lib-storage: If MAIL_STORAGE_CLASS_FLAG_NO_ROOT is set, don't even try to mkdir it.

13 years agolib-storage: Don't crash when trying to sync private index, if syncing had already...
Timo Sirainen [Mon, 26 Nov 2012 21:16:41 +0000 (23:16 +0200)] 
lib-storage: Don't crash when trying to sync private index, if syncing had already failed.

13 years agosdbox: Verify that mail_attachment_fs backend supports RENAME property.
Timo Sirainen [Mon, 26 Nov 2012 21:16:00 +0000 (23:16 +0200)] 
sdbox: Verify that mail_attachment_fs backend supports RENAME property.
This isn't needed by mdbox.

13 years agolib-storage: Code cleanup: dbox_save_context.cur_file doesn't need to be in dbox...
Timo Sirainen [Mon, 26 Nov 2012 21:15:01 +0000 (23:15 +0200)] 
lib-storage: Code cleanup: dbox_save_context.cur_file doesn't need to be in dbox-common.

13 years agoAdded libhttp to libdovecot.so
Timo Sirainen [Mon, 26 Nov 2012 21:12:29 +0000 (23:12 +0200)] 
Added libhttp to libdovecot.so

13 years agolib-http: Removed explicit safe-memset.lo links
Timo Sirainen [Mon, 26 Nov 2012 21:11:57 +0000 (23:11 +0200)] 
lib-http: Removed explicit safe-memset.lo links
At least in all my systems they just complain about duplicates..

13 years agolib-dns: Added DNS_CLIENT_SOCKET_NAME macro for the default socket name.
Timo Sirainen [Mon, 26 Nov 2012 21:09:25 +0000 (23:09 +0200)] 
lib-dns: Added DNS_CLIENT_SOCKET_NAME macro for the default socket name.

13 years agounlink_directory(): Added UNLINK_DIRECTORY_FLAG_FILES_ONLY
Timo Sirainen [Mon, 26 Nov 2012 21:08:50 +0000 (23:08 +0200)] 
unlink_directory(): Added UNLINK_DIRECTORY_FLAG_FILES_ONLY

13 years agoAdded iostream-temp for easily creating a temporary istream (to memory/file).
Timo Sirainen [Mon, 26 Nov 2012 21:08:10 +0000 (23:08 +0200)] 
Added iostream-temp for easily creating a temporary istream (to memory/file).

13 years agoliblib: Added assert-check to epoll code to make sure we don't wait infinitely with...
Timo Sirainen [Mon, 26 Nov 2012 21:06:24 +0000 (23:06 +0200)] 
liblib: Added assert-check to epoll code to make sure we don't wait infinitely with no events.

13 years agolib-fs: Added a temp_dir setting that the caller can specify.
Timo Sirainen [Mon, 26 Nov 2012 21:03:09 +0000 (23:03 +0200)] 
lib-fs: Added a temp_dir setting that the caller can specify.

13 years agolib-fs: Added ITER and RELIABLEITER properties for backends.
Timo Sirainen [Mon, 26 Nov 2012 21:02:51 +0000 (23:02 +0200)] 
lib-fs: Added ITER and RELIABLEITER properties for backends.

13 years agolib-fs: Fixed iteration with POSIX backend.
Timo Sirainen [Mon, 26 Nov 2012 21:01:53 +0000 (23:01 +0200)] 
lib-fs: Fixed iteration with POSIX backend.

13 years agolib-fs: Iterating a nonexistent directory should be the same as iterating an empty...
Timo Sirainen [Mon, 26 Nov 2012 21:01:28 +0000 (23:01 +0200)] 
lib-fs: Iterating a nonexistent directory should be the same as iterating an empty directory.

13 years agolib-fs: fs_wait_async() can now return an error.
Timo Sirainen [Mon, 26 Nov 2012 20:59:37 +0000 (22:59 +0200)] 
lib-fs: fs_wait_async() can now return an error.

13 years agolib-http: Compiler warning fixes
Timo Sirainen [Fri, 23 Nov 2012 22:32:56 +0000 (00:32 +0200)] 
lib-http: Compiler warning fixes

13 years agolib-http: Added initial HTTP client implementation.
Stephan Bosch [Fri, 23 Nov 2012 22:30:14 +0000 (00:30 +0200)] 
lib-http: Added initial HTTP client implementation.

13 years agobsdauth: Use "auth-<service>" as the auth type.
Timo Sirainen [Fri, 23 Nov 2012 21:49:39 +0000 (23:49 +0200)] 
bsdauth: Use "auth-<service>" as the auth type.

13 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.

13 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.

13 years agolib-imap: imap_append_string_for_humans() was broken for empty input string.
Timo Sirainen [Fri, 16 Nov 2012 15:39:25 +0000 (17:39 +0200)] 
lib-imap: imap_append_string_for_humans() was broken for empty input string.

13 years agoiostream-rawlog: Don't assert-crash if trying to write 0 bytes.
Timo Sirainen [Thu, 8 Nov 2012 22:31:07 +0000 (00:31 +0200)] 
iostream-rawlog: Don't assert-crash if trying to write 0 bytes.

13 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".

13 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.

13 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.

13 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)

13 years agomodule_dir_unload(): Don't dlclose() modules if GDB environment is set.
Timo Sirainen [Tue, 6 Nov 2012 21:53:11 +0000 (23:53 +0200)] 
module_dir_unload(): Don't dlclose() modules if GDB environment is set.

13 years agolib-ssl-iostream: Unload ssl_iostream_openssl plugin at exit.
Timo Sirainen [Tue, 6 Nov 2012 21:49:57 +0000 (23:49 +0200)] 
lib-ssl-iostream: Unload ssl_iostream_openssl plugin at exit.

13 years agomodule_dir_deinit(): If no modules were actually initialized, avoid doing memory...
Timo Sirainen [Tue, 6 Nov 2012 21:49:24 +0000 (23:49 +0200)] 
module_dir_deinit(): If no modules were actually initialized, avoid doing memory allocation.
This allows calling module_dir_unload() with atexit(), as long as the module
doesn't need to call deinit().

13 years agoauth: Require auth-token-secret.dat owner to be auth process's uid, not necessarily...
Timo Sirainen [Tue, 6 Nov 2012 21:23:19 +0000 (23:23 +0200)] 
auth: Require auth-token-secret.dat owner to be auth process's uid, not necessarily root.

13 years agoimap: Various fixes for handling expunges in mailbox sync.
Timo Sirainen [Tue, 6 Nov 2012 20:15:51 +0000 (22:15 +0200)] 
imap: Various fixes for handling expunges in mailbox sync.

13 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.

13 years agoistream-seekable: Underlying stream errors weren't handled correctly.
Timo Sirainen [Tue, 6 Nov 2012 15:40:34 +0000 (17:40 +0200)] 
istream-seekable: Underlying stream errors weren't handled correctly.

13 years agolib-ssl-iostream: Compiler warning fix when compiling without ssl
Timo Sirainen [Tue, 6 Nov 2012 12:20:00 +0000 (14:20 +0200)] 
lib-ssl-iostream: Compiler warning fix when compiling without ssl

13 years agoMakefile: Build lib-ssl-iostream before lib-http
Timo Sirainen [Tue, 6 Nov 2012 00:33:38 +0000 (02:33 +0200)] 
Makefile: Build lib-ssl-iostream before lib-http

13 years agoMakefile: Fixed building libdovecot.so
Timo Sirainen [Mon, 5 Nov 2012 23:40:17 +0000 (01:40 +0200)] 
Makefile: Fixed building libdovecot.so

13 years agodovecot-config: Removed LIBDOVECOT_SSL, which is no longer needed.
Timo Sirainen [Mon, 5 Nov 2012 23:16:20 +0000 (01:16 +0200)] 
dovecot-config: Removed LIBDOVECOT_SSL, which is no longer needed.

13 years agoReverted 269104a0821b (Build imapc and pop3c always as plugins.)
Timo Sirainen [Mon, 5 Nov 2012 23:11:03 +0000 (01:11 +0200)] 
Reverted 269104a0821b (Build imapc and pop3c always as plugins.)
This is no longer needed now that lib-ssl-iostream can be linked without
linking openssl.

13 years agolib-ssl-iostream now dynamically loads openssl library instead of linking to it.
Timo Sirainen [Mon, 5 Nov 2012 23:04:24 +0000 (01:04 +0200)] 
lib-ssl-iostream now dynamically loads openssl library instead of linking to it.
This allowed removing the separate libdovecot-ssl library. In future if
GnuTLS/NSS support is added it would also allow switching between them
dynamically.

13 years agolib-ssl-iostream: Call all of the OpenSSL deinit functions at exit
Timo Sirainen [Mon, 5 Nov 2012 16:16:56 +0000 (18:16 +0200)] 
lib-ssl-iostream: Call all of the OpenSSL deinit functions at exit

13 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.

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

13 years agolib-ssl-iostream: Fixed potential assert-crash when reading.
Timo Sirainen [Sun, 4 Nov 2012 18:04:21 +0000 (20:04 +0200)] 
lib-ssl-iostream: Fixed potential assert-crash when reading.

13 years agolib-ssl-iostream: Copy the original istream's fd to the ssl istream.
Timo Sirainen [Sun, 4 Nov 2012 17:16:59 +0000 (19:16 +0200)] 
lib-ssl-iostream: Copy the original istream's fd to the ssl istream.

13 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.

13 years agolib-index: Replaced cache's deleted_space with deleted_record_count.
Timo Sirainen [Sat, 3 Nov 2012 18:25:17 +0000 (20:25 +0200)] 
lib-index: Replaced cache's deleted_space with deleted_record_count.
This way when expunging messages we don't need to actually read through the
cache file and calculate how many bytes will be freed, we can simply
increase the deleted_record_count by 1. We'll still compress the cache file
approximately after 20% of the space (records) has been deleted.

This also converts the old "hole offset" header field to tracking the number
of records in the cache file. Otherwise we'd have to assume that all of the
messages in mailbox have a cache record, but that isn't true for users who
have only temporary cache fields. This "hole offset" cannot be trusted
completely, because nothing prevents old Dovecot version from simply writing
a hole offset there and messing up the record counts. Because of this there
are a couple of extra sanity checks for it. (Unfortunately there wasn't any
easy way to simply add a new field to header without breaking backwards
compatibility.)

13 years agolib-index: Added minor version to dovecot.index.cache file header.
Timo Sirainen [Sat, 3 Nov 2012 17:37:47 +0000 (19:37 +0200)] 
lib-index: Added minor version to dovecot.index.cache file header.

13 years agolib-index: If a cache record is larger than 64 kB, don't add it to cache file.
Timo Sirainen [Sat, 3 Nov 2012 17:35:54 +0000 (19:35 +0200)] 
lib-index: If a cache record is larger than 64 kB, don't add it to cache file.
This shouldn't affect anything except mails that probably shouldn't exist in
the first place.

13 years agolib-index: Cache record linking is now while writing new records, not later with...
Timo Sirainen [Sat, 3 Nov 2012 17:25:35 +0000 (19:25 +0200)] 
lib-index: Cache record linking is now while writing new records, not later with pwrite().
This should make performance somewhat better. It also means that now the
only overwrites to cache file are to the file header and the fields header.
This means that we no longer have to invalidate file_cache (with
mmap_disable=yes) except when reading the headers, which is always done
anyway.

It would be nice to move the overwritten fields in the headers to a cache
header in dovecot.index file, but this is a bit tricky currently. When
writing these headers the cache file needs to be locked to avoid race
conditions. To avoid deadlocks the transaction log would have to be locked
before the cache. The code to do all this would still be a bit complex, and
to keep backwards compatibility with old Dovecot versions it would still
have to do the overwriting until the backwards compatibility code is
disabled.

13 years agolib-index: Transaction view shouldn't return ext records if the ext was already reset.
Timo Sirainen [Sat, 3 Nov 2012 17:13:24 +0000 (19:13 +0200)] 
lib-index: Transaction view shouldn't return ext records if the ext was already reset.

13 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.

13 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.

13 years agolib-storage: Crashfix when doing userdb lookup.
Timo Sirainen [Sat, 3 Nov 2012 12:11:29 +0000 (14:11 +0200)] 
lib-storage: Crashfix when doing userdb lookup.

13 years agolib-index: Write to transaction log using O_APPEND flag.
Timo Sirainen [Sat, 3 Nov 2012 11:47:55 +0000 (13:47 +0200)] 
lib-index: Write to transaction log using O_APPEND flag.
Most OSes should do the writes atomically so that reads won't see partially
written data. We don't currently rely on this, but it would be possible in
future to remove locking entirely from writing to transaction log.

13 years agolib-storage: Error logging fixes.
Timo Sirainen [Thu, 1 Nov 2012 10:32:30 +0000 (12:32 +0200)] 
lib-storage: Error logging fixes.

13 years agohostpid_init(): Don't allow gethostname() to fail. Be more strict about what chars...
Timo Sirainen [Wed, 31 Oct 2012 12:44:24 +0000 (14:44 +0200)] 
hostpid_init(): Don't allow gethostname() to fail. Be more strict about what chars it can contain.

13 years agolib-storage: Don't require mailbox to be synced for MAILBOX_METADATA_GUID lookup
Timo Sirainen [Wed, 31 Oct 2012 11:34:52 +0000 (13:34 +0200)] 
lib-storage: Don't require mailbox to be synced for MAILBOX_METADATA_GUID lookup
None of the mailbox formats currently require it, and lib-lda code
assert-crashes with it since syncing is done with a transaction already
open.

13 years agolib-storage: When mailbox_get_status/metadata() auto-syncs mailbox, use MAILBOX_SYNC_...
Timo Sirainen [Wed, 31 Oct 2012 11:29:16 +0000 (13:29 +0200)] 
lib-storage: When mailbox_get_status/metadata() auto-syncs mailbox, use MAILBOX_SYNC_FLAG_FAST

13 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.

13 years agolib-dns: Added dns_lookup_switch_ioloop()
Stephan Bosch [Wed, 31 Oct 2012 11:12:22 +0000 (13:12 +0200)] 
lib-dns: Added dns_lookup_switch_ioloop()

13 years agoauth: Don't assert-crash in auth-token writing if process isn't running as root.
Timo Sirainen [Wed, 31 Oct 2012 11:11:11 +0000 (13:11 +0200)] 
auth: Don't assert-crash in auth-token writing if process isn't running as root.

13 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.

13 years agodoveadm sync/backup: Added -s parameter to usage string.
Timo Sirainen [Mon, 29 Oct 2012 21:03:59 +0000 (23:03 +0200)] 
doveadm sync/backup: Added -s parameter to usage string.

13 years agoAdded signature for changeset f5941f3ac762
Timo Sirainen [Mon, 29 Oct 2012 20:47:35 +0000 (22:47 +0200)] 
Added signature for changeset f5941f3ac762

13 years agoAdded tag 2.2.alpha1 for changeset f5941f3ac762
Timo Sirainen [Mon, 29 Oct 2012 20:47:32 +0000 (22:47 +0200)] 
Added tag 2.2.alpha1 for changeset f5941f3ac762

13 years agoReleased v2.2.alpha1. 2.2.alpha1
Timo Sirainen [Mon, 29 Oct 2012 20:47:32 +0000 (22:47 +0200)] 
Released v2.2.alpha1.

13 years agoanvil: Added a comment to remind what the anvil checksums are all about.
Timo Sirainen [Mon, 29 Oct 2012 20:42:28 +0000 (22:42 +0200)] 
anvil: Added a comment to remind what the anvil checksums are all about.

13 years agoIf prefix="" namespace isn't defined, autocreate it as an unusable namespace.
Timo Sirainen [Mon, 29 Oct 2012 20:03:25 +0000 (22:03 +0200)] 
If prefix="" namespace isn't defined, autocreate it as an unusable namespace.
This avoids having to handle mail_namespace_find() errors all over the
place. Instead now the mailbox accesses will simply fail.

13 years agolib-storage: Use const pointers for mail_namespace.(set|unexpanded_set)
Timo Sirainen [Mon, 29 Oct 2012 19:54:51 +0000 (21:54 +0200)] 
lib-storage: Use const pointers for mail_namespace.(set|unexpanded_set)