]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
10 years agoauth: Added %{passdb:field} and %{userdb:field} variables
Timo Sirainen [Fri, 29 May 2015 18:39:33 +0000 (21:39 +0300)] 
auth: Added %{passdb:field} and %{userdb:field} variables
The field expands to either the passdb or userdb extra field.

You can also use %{passdb:field:defaultvalue} where if field doesn't exist,
it's expanded to defaultvalue. Note that an empty value means that the field
still exists and it's not expanded to defaultvalue.

10 years agoauth: Added unit test for auth %variable expansion.
Timo Sirainen [Fri, 29 May 2015 17:56:13 +0000 (20:56 +0300)] 
auth: Added unit test for auth %variable expansion.

10 years agoauth: Make sure %{mech} and %{session} is escaped in %var expansion.
Timo Sirainen [Fri, 29 May 2015 17:55:58 +0000 (20:55 +0300)] 
auth: Make sure %{mech} and %{session} is escaped in %var expansion.
%{mech} is already very trusted and %{session} should be only from trusted
sources as well, so this doesn't fix any actual security holes. They are
also unlikely to have ever even been used in anything that requires
escaping.

10 years agoauth: Moved var_expand() related code to its own file.
Timo Sirainen [Fri, 29 May 2015 16:55:47 +0000 (19:55 +0300)] 
auth: Moved var_expand() related code to its own file.

10 years agocassandra: Added log_level parameter to connect_string.
Timo Sirainen [Fri, 29 May 2015 16:11:50 +0000 (19:11 +0300)] 
cassandra: Added log_level parameter to connect_string.
Available values are critical, error, warn (default), info, debug and trace.

10 years agolib-fs: Updated fs_write_stream_*() comments related to ostream corking and nfinish.
Timo Sirainen [Fri, 29 May 2015 15:22:17 +0000 (18:22 +0300)] 
lib-fs: Updated fs_write_stream_*() comments related to ostream corking and nfinish.

10 years agolib-fs: fs_write_stream_abort() now ignores missing o_stream_nfinish() call
Timo Sirainen [Fri, 29 May 2015 14:51:21 +0000 (17:51 +0300)] 
lib-fs: fs_write_stream_abort() now ignores missing o_stream_nfinish() call

10 years agofts: If precaching fails, stop precaching the rest of the mails.
Timo Sirainen [Fri, 29 May 2015 08:50:18 +0000 (11:50 +0300)] 
fts: If precaching fails, stop precaching the rest of the mails.
If there are a lot of mails to be precached, this could mean that the
precaching is attempted for a long time and every one of them fails the same
way.

10 years agodovecot.m4: If run-test.sh fails, print the failing command to stderr.
Timo Sirainen [Fri, 29 May 2015 08:08:29 +0000 (11:08 +0300)] 
dovecot.m4: If run-test.sh fails, print the failing command to stderr.
Currently otherwise the way Dovecot tests are run it's not clearly visible.

10 years agodovecot.m4: If NOVALGRIND environment is set, don't run tests via valgrind in "make...
Timo Sirainen [Fri, 29 May 2015 07:43:38 +0000 (10:43 +0300)] 
dovecot.m4: If NOVALGRIND environment is set, don't run tests via valgrind in "make check"

10 years agolib-fs: fs_write_stream() now automatically corks the ostream and uncorks at _finish().
Timo Sirainen [Fri, 29 May 2015 04:03:15 +0000 (07:03 +0300)] 
lib-fs: fs_write_stream() now automatically corks the ostream and uncorks at _finish().

10 years agofts: If last-uid lookup fails, return "Internal error" instead of "BUG" to client.
Timo Sirainen [Fri, 29 May 2015 02:43:25 +0000 (05:43 +0300)] 
fts: If last-uid lookup fails, return "Internal error" instead of "BUG" to client.

10 years agolib: Avoid race conditions in mkdir*() if directory is being deleted at the same...
Timo Sirainen [Mon, 25 May 2015 15:50:48 +0000 (11:50 -0400)] 
lib: Avoid race conditions in mkdir*() if directory is being deleted at the same time.
Mainly this allows the call to return failure silently without logging
unnecessary errors.

10 years agolog: read() errors weren't logged.
Timo Sirainen [Mon, 25 May 2015 15:35:53 +0000 (11:35 -0400)] 
log: read() errors weren't logged.

10 years agosystemd service: Fixed typos in the comment section.
Pascal Volk [Mon, 25 May 2015 14:27:22 +0000 (14:27 +0000)] 
systemd service: Fixed typos in the comment section.
The settings for the file descriptor limit is LimitNOFILE.
Removed quotes around the value infinity. Otherwise systemd will
fail to parse that resource value.

10 years agosystemd: Small improvements to the unit configuration file:
Pascal Volk [Sun, 17 May 2015 11:54:42 +0000 (11:54 +0000)] 
systemd: Small improvements to the unit configuration file:

   * Added Documentation URIs
   * Added ExecReload, to reload the config instead of restarting
   * Added a comment for modifying/extending the unit file.

10 years agodoveadm user: Don't change privileges when looking up users.
Timo Sirainen [Sun, 24 May 2015 21:55:33 +0000 (17:55 -0400)] 
doveadm user: Don't change privileges when looking up users.
We don't need to and it might fail.

10 years agolib-storage: If no namespaces were defined, the autocreated namespace settings were...
Timo Sirainen [Sun, 24 May 2015 21:50:26 +0000 (17:50 -0400)] 
lib-storage: If no namespaces were defined, the autocreated namespace settings were a bit wrong.

10 years agolib-storage: If session_id isn't given, generate a new one.
Timo Sirainen [Sun, 24 May 2015 21:40:53 +0000 (17:40 -0400)] 
lib-storage: If session_id isn't given, generate a new one.
This is useful for tracking logs written by services that aren't directly
related to any specific user session.

10 years agolib-index: Unit test fix.
Timo Sirainen [Sun, 24 May 2015 20:13:57 +0000 (16:13 -0400)] 
lib-index: Unit test fix.

10 years agolib: file_lock_try_update() comment updated.
Timo Sirainen [Sun, 24 May 2015 17:40:46 +0000 (13:40 -0400)] 
lib: file_lock_try_update() comment updated.
It should possibly be removed entirely from the API.

10 years agolib: file_create_locked() lock method is now configurable
Timo Sirainen [Sun, 24 May 2015 17:24:19 +0000 (13:24 -0400)] 
lib: file_create_locked() lock method is now configurable

10 years agolib: file_create_locked() was leaking fds and locks.
Timo Sirainen [Sun, 24 May 2015 17:22:56 +0000 (13:22 -0400)] 
lib: file_create_locked() was leaking fds and locks.

10 years agolib: file_create_locked() no longer logs an error if temp file is deleted under it.
Timo Sirainen [Sat, 23 May 2015 23:21:10 +0000 (19:21 -0400)] 
lib: file_create_locked() no longer logs an error if temp file is deleted under it.

10 years agolib: file_create_locked() wasn't deleting the temp file after successful link()
Timo Sirainen [Sat, 23 May 2015 20:51:52 +0000 (16:51 -0400)] 
lib: file_create_locked() wasn't deleting the temp file after successful link()

10 years agolib: Added file_create_locked()
Timo Sirainen [Sat, 23 May 2015 20:41:34 +0000 (16:41 -0400)] 
lib: Added file_create_locked()

10 years agoauth: Don't crash if trying to add password with TAB or LF to auth cache.
Timo Sirainen [Fri, 22 May 2015 23:07:56 +0000 (19:07 -0400)] 
auth: Don't crash if trying to add password with TAB or LF to auth cache.
This would happen only if the passwords were stored as plaintext in passdb
and the valid password actually contained TAB or LF.

10 years agolib-index: Added asserts to make sure invalid extension records aren't written to...
Timo Sirainen [Fri, 22 May 2015 20:37:07 +0000 (16:37 -0400)] 
lib-index: Added asserts to make sure invalid extension records aren't written to log.

10 years agofts: Fixed fts_enforced=yes when it has to wait for indexing to finish
Timo Sirainen [Fri, 22 May 2015 02:41:43 +0000 (22:41 -0400)] 
fts: Fixed fts_enforced=yes when it has to wait for indexing to finish

10 years agofts: Added fts_enforced setting to disable fallbacking to slow search on errors.
Timo Sirainen [Fri, 22 May 2015 02:20:10 +0000 (22:20 -0400)] 
fts: Added fts_enforced setting to disable fallbacking to slow search on errors.

10 years agolib-fts: ICU normalization changes some characters to spaces - remove them.
Timo Sirainen [Fri, 22 May 2015 02:03:10 +0000 (22:03 -0400)] 
lib-fts: ICU normalization changes some characters to spaces - remove them.
We don't really want to add spaces to our index. It would be nice if the
words between spaces were actually split to different tokens, but that's
more of the fts-tokenizer's job and at filter stage that's probably not
wanted anymore.

10 years agolib: Cork connection output while handling input
Timo Sirainen [Thu, 21 May 2015 12:38:56 +0000 (08:38 -0400)] 
lib: Cork connection output while handling input

10 years agolib-fts: Fixed handling tokens that contain only apostrophes
Timo Sirainen [Thu, 21 May 2015 10:35:59 +0000 (06:35 -0400)] 
lib-fts: Fixed handling tokens that contain only apostrophes

10 years agolib-fts: Fix simple tokenizer apostrophe handling.
Teemu Huovila [Thu, 21 May 2015 10:29:15 +0000 (06:29 -0400)] 
lib-fts: Fix simple tokenizer apostrophe handling.
Apostrophes and quotation marks are now treated as word breaks,
except U+0027 between non-wordbrek characters. The characters
U+2019 and U+FF07 are transformed to U+0027 before processing.

10 years agolib-fts: Fix tr29 tokenizer apostrophe handling.
Teemu Huovila [Thu, 21 May 2015 10:17:32 +0000 (06:17 -0400)] 
lib-fts: Fix tr29 tokenizer apostrophe handling.
U+0027, which is called Single Quote in tr29, was not properly
handled as a word boundary.

10 years agolib-fts: Partially reverted d097a9779c37 - don't use lib_atexit()
Timo Sirainen [Mon, 18 May 2015 11:53:52 +0000 (14:53 +0300)] 
lib-fts: Partially reverted d097a9779c37 - don't use lib_atexit()
Because fts is loaded as plugin lib_atexit() is called after the plugin is
already unloaded, so it crashes.

10 years agodirector: Added "up" vs "down" states and doveadm director up/down commands.
Timo Sirainen [Mon, 18 May 2015 11:49:15 +0000 (07:49 -0400)] 
director: Added "up" vs "down" states and doveadm director up/down commands.
These commands are intended to be used by automated watchdogs that detect if
backends are up or down. This way the vhost count doesn't get forgotten
after server goes down. It also means that admin can manually take down a
server by setting its vhost count to 0 without the watchdog automatically
bringing it back up.

10 years agolib-charset: test-charset unit test - Don't use invalid UTF-8 text in source code
Timo Sirainen [Mon, 18 May 2015 10:56:07 +0000 (13:56 +0300)] 
lib-charset: test-charset unit test - Don't use invalid UTF-8 text in source code

10 years agolib-fts: Fixed memory leaks in test-fts-filter unit test
Timo Sirainen [Mon, 18 May 2015 10:53:20 +0000 (06:53 -0400)] 
lib-fts: Fixed memory leaks in test-fts-filter unit test

10 years agolib-fts: Call u_clean() at deinit to free up all of libicu's memory.
Timo Sirainen [Mon, 18 May 2015 10:51:24 +0000 (06:51 -0400)] 
lib-fts: Call u_clean() at deinit to free up all of libicu's memory.

10 years agolib-fts: test-fts-icu memory leak fix
Timo Sirainen [Mon, 18 May 2015 10:46:32 +0000 (06:46 -0400)] 
lib-fts: test-fts-icu memory leak fix

10 years agofts + lib-fts: Fixed crash with some search queries that contained uninitialized...
Timo Sirainen [Mon, 18 May 2015 10:37:28 +0000 (06:37 -0400)] 
fts + lib-fts: Fixed crash with some search queries that contained uninitialized search args.

10 years agolib-storage: Added mail_search_init/deinit_arg()
Timo Sirainen [Mon, 18 May 2015 10:36:56 +0000 (06:36 -0400)] 
lib-storage: Added mail_search_init/deinit_arg()
For forcibly initializing/deinitializing search args.

10 years agolib-storage: Cleanup - separate search arg values that are set by mail_search_init()
Timo Sirainen [Mon, 18 May 2015 10:21:50 +0000 (06:21 -0400)] 
lib-storage: Cleanup - separate search arg values that are set by mail_search_init()

10 years agolib-mail: Make sure iconv state is reset between MIME parts.
Timo Sirainen [Sat, 16 May 2015 21:51:50 +0000 (00:51 +0300)] 
lib-mail: Make sure iconv state is reset between MIME parts.

10 years agolib-fts: Rewrite ICU handling functions.
Timo Sirainen [Sat, 16 May 2015 15:47:20 +0000 (18:47 +0300)] 
lib-fts: Rewrite ICU handling functions.
Some of the changes:
 - Use buffers instead of allocating everything from data stack.
 - Optimistically attempt to write the data directly to the buffers without
first calculating their size. Grow the buffer if it doesn't fit first.
 - Use u_strFromUTF8Lenient() instead of u_strFromUTF8(). Our input is
already supposed to be valid UTF-8, although we don't check if all code
points are valid, while u_strFromUTF8() does check them and return failures.
We don't really care about if code points are valid or not and
u_strFromUTF8Lenient() passes through everything.

Added unit tests to make sure all the functions work as intended and all the
UTF-8 input passes through them successfully.

10 years agolib: Added buffer_get_writable_size()
Timo Sirainen [Sat, 16 May 2015 15:41:44 +0000 (18:41 +0300)] 
lib: Added buffer_get_writable_size()

10 years agofts: Avoid excessive data stack usage with lib-fts
Timo Sirainen [Sat, 16 May 2015 15:20:08 +0000 (18:20 +0300)] 
fts: Avoid excessive data stack usage with lib-fts

10 years agolib-charset: Fixed compile warning caused by earlier commit.
Timo Sirainen [Sat, 16 May 2015 10:50:48 +0000 (13:50 +0300)] 
lib-charset: Fixed compile warning caused by earlier commit.
This UNICODE_REPLACEMENT_CHAR_UTF8 part of the change was actually supposed
to be a separate commit..

10 years agolib: Added UNICODE_REPLACEMENT_CHAR_UTF8
Timo Sirainen [Sat, 16 May 2015 10:20:22 +0000 (13:20 +0300)] 
lib: Added UNICODE_REPLACEMENT_CHAR_UTF8

10 years agolib: Added p_memdup()
Timo Sirainen [Sat, 16 May 2015 09:51:08 +0000 (12:51 +0300)] 
lib: Added p_memdup()

10 years agolib-charset: Added a minimal unit test
Timo Sirainen [Sat, 16 May 2015 09:46:38 +0000 (12:46 +0300)] 
lib-charset: Added a minimal unit test

10 years agoimap: Fixed crash in FETCH RFC822* caused by earlier commit
Timo Sirainen [Sat, 16 May 2015 08:47:09 +0000 (11:47 +0300)] 
imap: Fixed crash in FETCH RFC822* caused by earlier commit

10 years agoreplication plugin: s/transction/transaction/ in debug log messages
Timo Sirainen [Fri, 15 May 2015 18:36:07 +0000 (21:36 +0300)] 
replication plugin: s/transction/transaction/ in debug log messages

10 years agodoveadm director flush: Unless -F parameter is used, do the flush by moving users.
Timo Sirainen [Fri, 15 May 2015 13:50:27 +0000 (16:50 +0300)] 
doveadm director flush: Unless -F parameter is used, do the flush by moving users.
User moving causes the users to be properly kicked out of the old backends
before new connections are made to the new backends. This way the user isn't
accessed simultaneously by different backends.

10 years agolib-master: Added data stack frames to handling IPC input.
Timo Sirainen [Fri, 15 May 2015 13:46:14 +0000 (16:46 +0300)] 
lib-master: Added data stack frames to handling IPC input.

10 years agodirector: Added HOST-RESET-USERS command to move users to their hash-assigned hosts.
Timo Sirainen [Fri, 15 May 2015 13:45:14 +0000 (16:45 +0300)] 
director: Added HOST-RESET-USERS command to move users to their hash-assigned hosts.

10 years agodirector: Moving a user to another host sometimes caused the move to fail.
Timo Sirainen [Fri, 15 May 2015 13:44:45 +0000 (16:44 +0300)] 
director: Moving a user to another host sometimes caused the move to fail.
It could have given "User hash .. is being redirected to two hosts" error
and afterwards moved the user back to its original host.

10 years agoimap: Added %{deleted}, %{expunged} and %{trashed} to imap_logout_format
Timo Sirainen [Fri, 15 May 2015 11:55:21 +0000 (14:55 +0300)] 
imap: Added %{deleted}, %{expunged} and %{trashed} to imap_logout_format

10 years agoAdded %{fetch_hdr/body_count/bytes} variables to imap_logout_format
Timo Sirainen [Fri, 15 May 2015 11:35:01 +0000 (14:35 +0300)] 
Added %{fetch_hdr/body_count/bytes} variables to imap_logout_format

10 years agolib-imap-storage: Added imap_msgpart_contains_body()
Timo Sirainen [Fri, 15 May 2015 11:34:54 +0000 (14:34 +0300)] 
lib-imap-storage: Added imap_msgpart_contains_body()

10 years agoAdded signature for changeset 917d027836d0
Timo Sirainen [Fri, 15 May 2015 11:03:02 +0000 (14:03 +0300)] 
Added signature for changeset 917d027836d0

10 years agoAdded tag 2.2.18 for changeset 917d027836d0
Timo Sirainen [Fri, 15 May 2015 11:02:58 +0000 (14:02 +0300)] 
Added tag 2.2.18 for changeset 917d027836d0

10 years agoReleased v2.2.18. 2.2.18
Timo Sirainen [Fri, 15 May 2015 11:02:58 +0000 (14:02 +0300)] 
Released v2.2.18.

10 years agoreplication plugin: Fixed handling EAGAIN errors when writing to replication-pipe.
Timo Sirainen [Fri, 15 May 2015 10:55:46 +0000 (13:55 +0300)] 
replication plugin: Fixed handling EAGAIN errors when writing to replication-pipe.

10 years agoreplication plugin: Added debug logging when mail_debug=yes
Timo Sirainen [Fri, 15 May 2015 10:54:49 +0000 (13:54 +0300)] 
replication plugin: Added debug logging when mail_debug=yes

10 years agoreplication plugin: A small optimization to check the user's "dsyncing" status only...
Timo Sirainen [Fri, 15 May 2015 10:48:45 +0000 (13:48 +0300)] 
replication plugin: A small optimization to check the user's "dsyncing" status only once.

10 years agopgsql: Don't crash at disconnect/deinit if there's an unfinished query.
Timo Sirainen [Fri, 15 May 2015 10:27:29 +0000 (13:27 +0300)] 
pgsql: Don't crash at disconnect/deinit if there's an unfinished query.

10 years agopgsql: Log a warning if DNS lookup takes too long. Don't include it in connect timeout.
Timo Sirainen [Fri, 15 May 2015 10:07:27 +0000 (13:07 +0300)] 
pgsql: Log a warning if DNS lookup takes too long. Don't include it in connect timeout.

10 years agoReverted d592417ec815 which added unnecessary code to Makefiles.
Timo Sirainen [Fri, 15 May 2015 09:48:07 +0000 (12:48 +0300)] 
Reverted d592417ec815 which added unnecessary code to Makefiles.
The original problem it tried to solve was properly fixed by 46969c4cc57e.
make will actually wait for processes to finish creating files before it
continues to the next program that wants to access the file. As long as the
dependencies are correct.

10 years agoquota: Fixed dependency tracking in Makefile
Timo Sirainen [Fri, 15 May 2015 09:43:13 +0000 (12:43 +0300)] 
quota: Fixed dependency tracking in Makefile
The earlier fix attempt was done by creating a .tmp file first, but that
didn't really solve anything.

10 years agosdbox: When hardlink-copying a mail in alt storage, keep it within the alt storage.
Timo Sirainen [Fri, 15 May 2015 08:15:50 +0000 (11:15 +0300)] 
sdbox: When hardlink-copying a mail in alt storage, keep it within the alt storage.
Also make sure that the alt-flag is set correctly no matter where we copy
the mail.

10 years agolib: Use /dev/zero instead of /dev/stderr in test-istream-unix unit test
Timo Sirainen [Thu, 14 May 2015 20:49:12 +0000 (23:49 +0300)] 
lib: Use /dev/zero instead of /dev/stderr in test-istream-unix unit test
Some distros don't seem to allow opening stderr.

10 years agolib-imap: Fixed crash in IDLE for non-TCP connections.
Timo Sirainen [Thu, 14 May 2015 18:44:50 +0000 (21:44 +0300)] 
lib-imap: Fixed crash in IDLE for non-TCP connections.

10 years agolib-fts: Fixed test-fts-filter when building without libstemmer
Timo Sirainen [Thu, 14 May 2015 11:02:13 +0000 (14:02 +0300)] 
lib-fts: Fixed test-fts-filter when building without libstemmer

10 years agoconfigure: Use consistent quotation for AC_DEFINEs as per autoconf recommendations.
Matti Hamalainen [Thu, 14 May 2015 09:36:38 +0000 (12:36 +0300)] 
configure: Use consistent quotation for AC_DEFINEs as per autoconf recommendations.
Also fix one minor typo.

10 years agopgsql: Include connect state string on connect failure errors.
Timo Sirainen [Thu, 14 May 2015 10:33:59 +0000 (13:33 +0300)] 
pgsql: Include connect state string on connect failure errors.

10 years agolib-lda: Added missing include file.
Timo Sirainen [Thu, 14 May 2015 08:27:04 +0000 (11:27 +0300)] 
lib-lda: Added missing include file.
This fixes building Pigeonhole in some systems.

10 years agodirector: UNIX auth sockets were wrongly detected as doveadm or ring sockets.
Timo Sirainen [Thu, 14 May 2015 08:26:00 +0000 (11:26 +0300)] 
director: UNIX auth sockets were wrongly detected as doveadm or ring sockets.
A workaround would be to use login/director-auth socket name instead of
login/director.

10 years agofts-lucene: Removed dead code
Timo Sirainen [Wed, 13 May 2015 18:35:56 +0000 (21:35 +0300)] 
fts-lucene: Removed dead code
Found by Coverity

10 years agolib-fts: Makefile compiling dependency fix
Timo Sirainen [Wed, 13 May 2015 17:47:35 +0000 (20:47 +0300)] 
lib-fts: Makefile compiling dependency fix

10 years agoAdded signature for changeset 166106aaefc5
Timo Sirainen [Wed, 13 May 2015 16:45:11 +0000 (19:45 +0300)] 
Added signature for changeset 166106aaefc5

10 years agoAdded tag 2.2.17 for changeset 166106aaefc5
Timo Sirainen [Wed, 13 May 2015 16:45:07 +0000 (19:45 +0300)] 
Added tag 2.2.17 for changeset 166106aaefc5

10 years agoReleased v2.2.17. 2.2.17
Timo Sirainen [Wed, 13 May 2015 16:45:07 +0000 (19:45 +0300)] 
Released v2.2.17.

10 years agolib-lda: Don't crash if postmaster_address is given as command line parameter.
Timo Sirainen [Wed, 13 May 2015 16:36:29 +0000 (19:36 +0300)] 
lib-lda: Don't crash if postmaster_address is given as command line parameter.

10 years agombox: If we notice our internal state is wrong, avoid further corruption by returning...
Timo Sirainen [Wed, 13 May 2015 16:26:45 +0000 (19:26 +0300)] 
mbox: If we notice our internal state is wrong, avoid further corruption by returning error.

10 years agombox: Fixed corruption in some usage patterns.
Timo Sirainen [Wed, 13 May 2015 16:24:55 +0000 (19:24 +0300)] 
mbox: Fixed corruption in some usage patterns.
Something like:
 - first mail is being expunged
 - other mails are being rewritten and they get their space from the
   expunged mail
 - there's not enough space for the last mail to get space
 - we add more space
 - we'll now need to use up the space. We can't just decide to mark the
   mails dirty.

10 years agofts-solr: Fixed memory leak at user deinit.
Timo Sirainen [Wed, 13 May 2015 14:16:21 +0000 (17:16 +0300)] 
fts-solr: Fixed memory leak at user deinit.

10 years agofts-solr: Crashfixes
Timo Sirainen [Wed, 13 May 2015 13:54:27 +0000 (16:54 +0300)] 
fts-solr: Crashfixes

10 years agofts-solr: Don't update "last indexed UID" if we couldn't actually add the mails to...
Timo Sirainen [Wed, 13 May 2015 13:46:14 +0000 (16:46 +0300)] 
fts-solr: Don't update "last indexed UID" if we couldn't actually add the mails to Solr.

10 years agodirector: Added "authreply" socket type.
Timo Sirainen [Wed, 13 May 2015 13:22:27 +0000 (16:22 +0300)] 
director: Added "authreply" socket type.
This allows defining a socket, which receives auth replies. Director then
adds the "host" field to it if it's missing and returns back the original
string. The idea is that eventually a director ring could be running
independently from Dovecot proxies.

10 years agodirector: Removed accidentally committed debug log message
Timo Sirainen [Wed, 13 May 2015 12:59:48 +0000 (15:59 +0300)] 
director: Removed accidentally committed debug log message

10 years agolib-master: If executing doveconf, use master_service_settings_input.service for...
Timo Sirainen [Wed, 13 May 2015 12:47:14 +0000 (15:47 +0300)] 
lib-master: If executing doveconf, use master_service_settings_input.service for filter
Instead of hardcoding to the master_service->name, which may be different.
This fixes reading protocol sieve {} settings when if managesieve was
reading settings via doveconf (= executed from command line).

10 years agodirector: Cleanup for director socket type configuration.
Timo Sirainen [Wed, 13 May 2015 12:33:27 +0000 (15:33 +0300)] 
director: Cleanup for director socket type configuration.
It's now possible to use any type of a socket for inet listeners by
specifying the name for the listener. The available types are: auth
(default), userdb, ring (= director<->director connection), admin/doveadm.
This change should be backwards compatible with previous configuration.
This setting also deprecates director_doveadm_port setting.

10 years agolib-master: Added master_service_get_socket_name()
Timo Sirainen [Wed, 13 May 2015 12:32:54 +0000 (15:32 +0300)] 
lib-master: Added master_service_get_socket_name()

10 years agodirector: Minor code cleanup - allow access to auth connection's ostream directly.
Timo Sirainen [Wed, 13 May 2015 10:57:24 +0000 (13:57 +0300)] 
director: Minor code cleanup - allow access to auth connection's ostream directly.

10 years agodirector: Reverted previous e178413a905d commit after all - do it a bit differently.
Timo Sirainen [Wed, 13 May 2015 10:15:57 +0000 (13:15 +0300)] 
director: Reverted previous e178413a905d commit after all - do it a bit differently.

10 years agoAdded quota-clone plugin.
Timo Sirainen [Wed, 13 May 2015 09:24:02 +0000 (12:24 +0300)] 
Added quota-clone plugin.

10 years agolib-sql: sqlite and cassandra libs were mixed up in the Makefile
Timo Sirainen [Wed, 13 May 2015 02:34:16 +0000 (05:34 +0300)] 
lib-sql: sqlite and cassandra libs were mixed up in the Makefile

10 years agodirector: Added a new DIRECTOR-LOOKUP command that auth connections can use.
Timo Sirainen [Wed, 13 May 2015 02:25:31 +0000 (05:25 +0300)] 
director: Added a new DIRECTOR-LOOKUP command that auth connections can use.
The parameters are the same as what auth lookup would receive from auth
process. So the idea is that a proxy could do an auth lookup, then forward
the reply to director, which would return back the updated reply with the
host field added.