]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
11 years agolib-dict: dict-fs implements now minimal iteration support.
Timo Sirainen [Thu, 18 Sep 2014 15:46:18 +0000 (17:46 +0200)] 
lib-dict: dict-fs implements now minimal iteration support.

11 years agodoveadm dict iter: Use recursion flag only if -R parameter is specified.
Timo Sirainen [Thu, 18 Sep 2014 15:39:49 +0000 (17:39 +0200)] 
doveadm dict iter: Use recursion flag only if -R parameter is specified.

11 years agofs-posix: When deleting a directory, automatically fallback to rmdir()ing it
Timo Sirainen [Thu, 18 Sep 2014 00:19:32 +0000 (02:19 +0200)] 
fs-posix: When deleting a directory, automatically fallback to rmdir()ing it

11 years agovirtual: Using modseq-based syncing while mailbox was open didn't handle expunges...
Timo Sirainen [Tue, 16 Sep 2014 20:22:59 +0000 (23:22 +0300)] 
virtual: Using modseq-based syncing while mailbox was open didn't handle expunges correctly.
The expunges were handled only after EXPUNGE command was given, which should
have been done only for mails that no longer matched the search query but
still existed.

11 years agoquota: Quota recalculation didn't include INBOX in some configurations.
Timo Sirainen [Tue, 16 Sep 2014 17:59:48 +0000 (20:59 +0300)] 
quota: Quota recalculation didn't include INBOX in some configurations.
If one inbox=yes and another inbox=no namespace shared the same mail
location, and the inbox=no namespace was first, only it was used to list all
mailboxes.

11 years agolib: test-var-expand - disambiguate tests
Phil Carmody [Tue, 16 Sep 2014 17:29:04 +0000 (20:29 +0300)] 
lib: test-var-expand - disambiguate tests
Two test cases had the same name.

Signed-off-by: Phil Carmody <phil@dovecot.fi>
11 years agolib: hash-format - fix leak on _init() failure path
Phil Carmody [Tue, 16 Sep 2014 17:29:04 +0000 (20:29 +0300)] 
lib: hash-format - fix leak on _init() failure path
If any of the analysis/parse helpers return failure, then the whole pool
will leak.

Signed-off-by: Phil Carmody <phil@dovecot.fi>
11 years agolib-storage: SEARCH_MAILBOX* value is now also compared to to the (virtual) mailbox...
Timo Sirainen [Tue, 16 Sep 2014 12:43:42 +0000 (15:43 +0300)] 
lib-storage: SEARCH_MAILBOX* value is now also compared to to the (virtual) mailbox name.
This fixes for example "doveadm fetch uid mailbox virtual/all"

11 years agodoveadm fts rescan: For virtual namespaces just mark the last indexed UID to 0.
Timo Sirainen [Tue, 16 Sep 2014 12:23:51 +0000 (15:23 +0300)] 
doveadm fts rescan: For virtual namespaces just mark the last indexed UID to 0.

11 years agofts: dovecot-expunges.log wasn't closed at deinit
Timo Sirainen [Tue, 16 Sep 2014 11:32:20 +0000 (14:32 +0300)] 
fts: dovecot-expunges.log wasn't closed at deinit

11 years agolib: test-strnum - fix format size mismatch
Phil Carmody [Tue, 16 Sep 2014 11:03:52 +0000 (14:03 +0300)] 
lib: test-strnum - fix format size mismatch
Signed-off-by: Phil Carmody <phil@dovecot.fi>
11 years agolib: test-strnum - add size-oblivious str_to/parse_uintmax tests
Phil Carmody [Tue, 16 Sep 2014 10:38:30 +0000 (13:38 +0300)] 
lib: test-strnum - add size-oblivious str_to/parse_uintmax tests
Test a value of every bit-length. Also test the 10/9*MAX corner case.
And due to crappy helper functions, test lots of leading zeroes too!

Signed-off-by: Phil Carmody <phil@dovecot.fi>
11 years agolib: remove uintmax tests from uint64 tests
Phil Carmody [Tue, 16 Sep 2014 10:38:30 +0000 (13:38 +0300)] 
lib: remove uintmax tests from uint64 tests
These log a warning on OSX with clang.

Signed-off-by: Phil Carmody <phil@dovecot.fi>
11 years agolib: strnum - ensure str_to_uintmax doesn't return a value on error
Phil Carmody [Tue, 16 Sep 2014 10:38:30 +0000 (13:38 +0300)] 
lib: strnum - ensure str_to_uintmax doesn't return a value on error
It was clobbering the _r parameter even though the spec says it shouldn't.

Signed-off-by: Phil Carmody <phil@dovecot.fi>
11 years agodsync: Moved doveadm-specific code to doveadm directory.
Timo Sirainen [Tue, 16 Sep 2014 09:32:09 +0000 (12:32 +0300)] 
dsync: Moved doveadm-specific code to doveadm directory.

11 years agofs-metawrap: Fixed iteration wrapping, broken by earlier changes.
Timo Sirainen [Tue, 16 Sep 2014 09:04:07 +0000 (12:04 +0300)] 
fs-metawrap: Fixed iteration wrapping, broken by earlier changes.

11 years agoMakefile: Fixed linking libdovecot-dsync
Timo Sirainen [Mon, 15 Sep 2014 22:12:21 +0000 (01:12 +0300)] 
Makefile: Fixed linking libdovecot-dsync

11 years agoCompiler warning fix
Timo Sirainen [Mon, 15 Sep 2014 22:09:53 +0000 (01:09 +0300)] 
Compiler warning fix

11 years agolib-fs: fs-metawrap now fully wraps fs_iter_* to fix tracking struct fs.iters
Timo Sirainen [Mon, 15 Sep 2014 21:43:36 +0000 (00:43 +0300)] 
lib-fs: fs-metawrap now fully wraps fs_iter_* to fix tracking struct fs.iters

11 years agolib-storage: Added mail_namespaces_init_add/finish() to manually initializing namespaces.
Timo Sirainen [Mon, 15 Sep 2014 21:21:52 +0000 (00:21 +0300)] 
lib-storage: Added mail_namespaces_init_add/finish() to manually initializing namespaces.

11 years agolib-storage: Added mail_user_dup()
Timo Sirainen [Mon, 15 Sep 2014 21:21:13 +0000 (00:21 +0300)] 
lib-storage: Added mail_user_dup()

11 years agolib-fs: Keep track of all fs_iters in fs.
Timo Sirainen [Mon, 15 Sep 2014 21:01:33 +0000 (00:01 +0300)] 
lib-fs: Keep track of all fs_iters in fs.

11 years agolib-fs: Added wait_ioloop/prev_ioloop helpers to struct fs.
Timo Sirainen [Mon, 15 Sep 2014 20:57:45 +0000 (23:57 +0300)] 
lib-fs: Added wait_ioloop/prev_ioloop helpers to struct fs.

11 years agoInstall libdovecot-dsync.so library, which can be used separately.
Timo Sirainen [Mon, 15 Sep 2014 15:04:20 +0000 (18:04 +0300)] 
Install libdovecot-dsync.so library, which can be used separately.

11 years agodsync: Moved all doveadm-specific code to doveadm-dsync.c
Timo Sirainen [Mon, 15 Sep 2014 15:02:02 +0000 (18:02 +0300)] 
dsync: Moved all doveadm-specific code to doveadm-dsync.c

11 years agolib-http: server: Fixed connection reference counting.
Stephan Bosch [Mon, 15 Sep 2014 08:19:50 +0000 (11:19 +0300)] 
lib-http: server: Fixed connection reference counting.
Connection often still got destroyed too early. Particularly submitting
responses would potentially destroy the connection, which is often
unexpected. Sending responses is now postponed until handled by the stream
output handler, which is explicitly triggered when necessary.

11 years agofs-posix: Fixed fs_iter_deinit() when opendir() had failed.
Timo Sirainen [Sun, 14 Sep 2014 08:29:35 +0000 (11:29 +0300)] 
fs-posix: Fixed fs_iter_deinit() when opendir() had failed.

11 years agolib-http server: Keep output stream referenced to avoid accessing it after destroy.
Timo Sirainen [Sat, 13 Sep 2014 20:42:17 +0000 (23:42 +0300)] 
lib-http server: Keep output stream referenced to avoid accessing it after destroy.

11 years agofs-metawrap: Add FS_PROPERTY_COPY_METADATA property for wrapped fs backends.
Timo Sirainen [Sat, 13 Sep 2014 19:15:35 +0000 (22:15 +0300)] 
fs-metawrap: Add FS_PROPERTY_COPY_METADATA property for wrapped fs backends.
This is because if we simply use the parent copy the metadata gets copied
as well.

11 years agofs-posix: Fixed memory leak in fs_iter_deinit()
Timo Sirainen [Sat, 13 Sep 2014 19:14:09 +0000 (22:14 +0300)] 
fs-posix: Fixed memory leak in fs_iter_deinit()

11 years agolib-master: Earlier config file path fix broke reusing existing config socket lookups.
Timo Sirainen [Fri, 12 Sep 2014 09:55:12 +0000 (12:55 +0300)] 
lib-master: Earlier config file path fix broke reusing existing config socket lookups.

11 years agovirtual: Recent optimizations had broken fast mailbox syncing.
Timo Sirainen [Thu, 11 Sep 2014 15:15:04 +0000 (18:15 +0300)] 
virtual: Recent optimizations had broken fast mailbox syncing.
We wrongly assumed that all_mails array could have been accessed using vseqs.
Broken by 8abf7eea2966

11 years agolib-mail: Message decoder now runs normalizer also for unknown charsets.
Timo Sirainen [Thu, 11 Sep 2014 13:40:00 +0000 (16:40 +0300)] 
lib-mail: Message decoder now runs normalizer also for unknown charsets.

11 years agofts-lucene: No .. the rebuilding warning was still in the wrong place.
Timo Sirainen [Thu, 11 Sep 2014 13:14:24 +0000 (16:14 +0300)] 
fts-lucene: No .. the rebuilding warning was still in the wrong place.

11 years agofts-lucene: Include the mailbox name also in the rebuilding warning.
Timo Sirainen [Thu, 11 Sep 2014 13:12:38 +0000 (16:12 +0300)] 
fts-lucene: Include the mailbox name also in the rebuilding warning.

11 years agofts-lucene: Log a warning when rebuilding index because of settings changes
Timo Sirainen [Thu, 11 Sep 2014 13:11:37 +0000 (16:11 +0300)] 
fts-lucene: Log a warning when rebuilding index because of settings changes

11 years agoman: Forgot to remove XXX prefixes from doveadm-director.1.in
Timo Sirainen [Wed, 10 Sep 2014 15:41:39 +0000 (18:41 +0300)] 
man: Forgot to remove XXX prefixes from doveadm-director.1.in

11 years agoreplication plugin: Actually, use empty mail_replica as "replication is disabled".
Timo Sirainen [Wed, 10 Sep 2014 13:05:32 +0000 (16:05 +0300)] 
replication plugin: Actually, use empty mail_replica as "replication is disabled".

11 years agoreplication plugin: Added replication_disabled setting.
Timo Sirainen [Wed, 10 Sep 2014 12:54:58 +0000 (15:54 +0300)] 
replication plugin: Added replication_disabled setting.

11 years agoman: doveadm-director man page updated
Pascal Volk [Wed, 10 Sep 2014 11:48:58 +0000 (14:48 +0300)] 
man: doveadm-director man page updated

11 years agoman: doveadm-auth man page updated
Pascal Volk [Wed, 10 Sep 2014 11:42:34 +0000 (14:42 +0300)] 
man: doveadm-auth man page updated

11 years agoman: doveadm-dump man page updated
Pascal Volk [Wed, 10 Sep 2014 11:37:50 +0000 (14:37 +0300)] 
man: doveadm-dump man page updated

11 years agolib-test: don't use 0 for old size in realloc call
Phil Carmody [Wed, 10 Sep 2014 11:08:58 +0000 (14:08 +0300)] 
lib-test: don't use 0 for old size in realloc call
We have the real size, use it.

Signed-off-by: Phil Carmody <phil@dovecot.fi>
11 years agolib-index: test suite memory leak cleanup
Phil Carmody [Wed, 10 Sep 2014 11:08:58 +0000 (14:08 +0300)] 
lib-index: test suite memory leak cleanup
So that memory leak checkers can be active while running the test
suites, ensure that the suite itself doesn't leak.

Signed-off-by: Phil Carmody <phil@dovecot.fi>
11 years agolib: test-seq-range-array - clean up array after use
Phil Carmody [Wed, 10 Sep 2014 11:08:58 +0000 (14:08 +0300)] 
lib: test-seq-range-array - clean up array after use
Removes noise when memory-leak debugging during unit tests.

Signed-off-by: Phil Carmody <phil@dovecot.fi>
11 years agolib: test-aqueue - clean up the test queue each time round the loop
Phil Carmody [Wed, 10 Sep 2014 11:08:58 +0000 (14:08 +0300)] 
lib: test-aqueue - clean up the test queue each time round the loop
Helps keep noise out of memory leak debugging during unit tests.

Signed-off-by: Phil Carmody <phil@dovecot.fi>
11 years agolib: test-istream-concat - clean up our test-istreams
Phil Carmody [Wed, 10 Sep 2014 11:08:58 +0000 (14:08 +0300)] 
lib: test-istream-concat - clean up our test-istreams
This reduces noise when memory leak debugging the unit tests.

Signed-off-by: Phil Carmody <phil@dovecot.fi>
11 years agodsync: Reset I/O timeout every time when receiving input.
Timo Sirainen [Wed, 10 Sep 2014 10:59:31 +0000 (13:59 +0300)] 
dsync: Reset I/O timeout every time when receiving input.
This could have caused unwanted I/O timeouts when receiving large mails.

11 years agopop3: Optimize POP3 UIDL processing when duplicate renaming is not active.
Michael M Slusarz [Tue, 9 Sep 2014 23:26:52 +0000 (17:26 -0600)] 
pop3: Optimize POP3 UIDL processing when duplicate renaming is not active.

11 years agolib-http: client: Implemented support for connection failure backoff.
Stephan Bosch [Wed, 10 Sep 2014 10:39:37 +0000 (13:39 +0300)] 
lib-http: client: Implemented support for connection failure backoff.

11 years agolib-http: client: Added support for attempting a single IP several times.
Stephan Bosch [Wed, 10 Sep 2014 10:39:37 +0000 (13:39 +0300)] 
lib-http: client: Added support for attempting a single IP several times.
Also limits the number of attempts when there are many IPs.

11 years agolib-http: client: Tunnel connection failure would cause segfault.
Stephan Bosch [Wed, 10 Sep 2014 10:39:37 +0000 (13:39 +0300)] 
lib-http: client: Tunnel connection failure would cause segfault.
That happened because it tried to retry waiting requests, which makes no sense for a CONNECT tunnel.

11 years agolib-http: server: Added support for authentication.
Stephan Bosch [Wed, 10 Sep 2014 10:39:37 +0000 (13:39 +0300)] 
lib-http: server: Added support for authentication.

11 years agolib-http: Implemented HTTP auth (RFC 7235).
Stephan Bosch [Wed, 10 Sep 2014 10:39:37 +0000 (13:39 +0300)] 
lib-http: Implemented HTTP auth (RFC 7235).

11 years agolib-http: server: Added assert to connect callback which makes sure request is either...
Stephan Bosch [Wed, 10 Sep 2014 10:39:37 +0000 (13:39 +0300)] 
lib-http: server: Added assert to connect callback which makes sure request is either responded to or referenced.
Earlier change added this only to callback for normal requests, but CONNECT should be handled the same in this respect.

11 years agolib-http: server: Fixed delayed request destruction.
Stephan Bosch [Wed, 10 Sep 2014 10:39:37 +0000 (13:39 +0300)] 
lib-http: server: Fixed delayed request destruction.
Destruction was actually delayed indefinitely, because the delay flag was not reset.
Obviously, this caused a memory leak.

11 years agolib-http: server: Made sure destroy callback is called only once.
Stephan Bosch [Wed, 10 Sep 2014 10:39:37 +0000 (13:39 +0300)] 
lib-http: server: Made sure destroy callback is called only once.

11 years agolib-http: server: Fixed segfault occurring in connection input handler.
Stephan Bosch [Wed, 10 Sep 2014 10:39:37 +0000 (13:39 +0300)] 
lib-http: server: Fixed segfault occurring in connection input handler.
Request handlers could close and destroy the connection early.
Fixed by holding a reference in the input handler.

11 years agolib-http: server: Fixed handling of disconnection while request is being handled.
Stephan Bosch [Wed, 10 Sep 2014 10:39:36 +0000 (13:39 +0300)] 
lib-http: server: Fixed handling of disconnection while request is being handled.
This would cause an assert failure.

11 years agolib-master: Fixed -c & -i command line parameters when config socket was readable.
Timo Sirainen [Tue, 9 Sep 2014 14:09:30 +0000 (17:09 +0300)] 
lib-master: Fixed -c & -i command line parameters when config socket was readable.
The config socket was always being read, even if another config file was
attempted to be used.

11 years agopop3c: Added missing support for pop3c_ssl=starttls
Timo Sirainen [Mon, 8 Sep 2014 15:11:31 +0000 (18:11 +0300)] 
pop3c: Added missing support for pop3c_ssl=starttls

11 years agoCOPYING.LGPL: Updated FSF mailing address.
Timo Sirainen [Mon, 8 Sep 2014 10:39:25 +0000 (13:39 +0300)] 
COPYING.LGPL: Updated FSF mailing address.
Also some whitespace and line wrapping changes. Used the same file as
http://www.gnu.org/licenses/lgpl-2.1.txt

11 years agopop3c: If base_dir isn't set, lookup pop3c_host with regular blocking DNS lookup.
Timo Sirainen [Mon, 8 Sep 2014 07:14:42 +0000 (10:14 +0300)] 
pop3c: If base_dir isn't set, lookup pop3c_host with regular blocking DNS lookup.

11 years agolib-storage: Compile fix to previous change
Timo Sirainen [Wed, 3 Sep 2014 14:29:25 +0000 (07:29 -0700)] 
lib-storage: Compile fix to previous change
The original patch was correct, my copy&pasting by hand just sucked. :)

11 years agolib-storage: Fixed off-by-one memory allocation in dynamic settings allocation code.
Timo Sirainen [Wed, 3 Sep 2014 13:29:52 +0000 (06:29 -0700)] 
lib-storage: Fixed off-by-one memory allocation in dynamic settings allocation code.
This didn't actually affect normal Dovecot builds, because there were always
some storages with get_setting_parser_info=NULL that added the necessary
padding.

Patch by Michael M Slusarz

11 years agofs layout: Absolute paths as mailbox names shouldn't return index with INDEX=MEMORY
Timo Sirainen [Fri, 29 Aug 2014 04:22:11 +0000 (13:22 +0900)] 
fs layout: Absolute paths as mailbox names shouldn't return index with INDEX=MEMORY

11 years agolib-index, lib-storage: Fixed race conditions with deleting mailbox.
Timo Sirainen [Thu, 28 Aug 2014 17:14:43 +0000 (02:14 +0900)] 
lib-index, lib-storage: Fixed race conditions with deleting mailbox.
Now only one process can successfully finish mailbox_mark_index_deleted().

11 years agolib-fs: Keep a linked list of all files within fs to help debugging.
Timo Sirainen [Thu, 28 Aug 2014 15:41:07 +0000 (00:41 +0900)] 
lib-fs: Keep a linked list of all files within fs to help debugging.

11 years agoAdded UNLINK_EISDIR() helper macro.
Timo Sirainen [Thu, 28 Aug 2014 14:52:46 +0000 (23:52 +0900)] 
Added UNLINK_EISDIR() helper macro.

11 years agomaildir: Handle unlink()=EPERM failure the same as EISDIR.
Timo Sirainen [Thu, 28 Aug 2014 14:50:25 +0000 (23:50 +0900)] 
maildir: Handle unlink()=EPERM failure the same as EISDIR.
EPERM is POSIX, while EISDIR is Linux-specific.

11 years agolib-fs: Fixed metawrap_fs.copy() to work with FS_PROPERTY_COPY_METADATA backends.
Timo Sirainen [Thu, 28 Aug 2014 13:44:18 +0000 (22:44 +0900)] 
lib-fs: Fixed metawrap_fs.copy() to work with FS_PROPERTY_COPY_METADATA backends.
This is done by simply copying the entire file with the metadata included
instead of rewriting it.

11 years agoReplaced dict_init() with dict_init_full() in various places.
Timo Sirainen [Thu, 28 Aug 2014 13:10:25 +0000 (22:10 +0900)] 
Replaced dict_init() with dict_init_full() in various places.

11 years agolib-dict: file backend now expands ~/ paths if home_dir setting is set.
Timo Sirainen [Thu, 28 Aug 2014 12:57:34 +0000 (21:57 +0900)] 
lib-dict: file backend now expands ~/ paths if home_dir setting is set.

11 years agolib-dict: Changed dict.init() API to take struct dict_settings and added dict_init_fu...
Timo Sirainen [Thu, 28 Aug 2014 12:56:41 +0000 (21:56 +0900)] 
lib-dict: Changed dict.init() API to take struct dict_settings and added dict_init_full().
This allows giving more settings to dict in future as needed. Unfortunately
it also breaks the internal dict API, but there aren't really any plugins
widely using it, so it's not a big problem.

11 years agodict: Renamed struct dict_settings to dict_server_settings.
Timo Sirainen [Thu, 28 Aug 2014 13:06:29 +0000 (22:06 +0900)] 
dict: Renamed struct dict_settings to dict_server_settings.

11 years agoauth ldap: Compile fix to previous change..
Timo Sirainen [Wed, 27 Aug 2014 04:53:39 +0000 (07:53 +0300)] 
auth ldap: Compile fix to previous change..
Looks like on my local build system ldap wasn't enabled..

11 years agoauth ldap: Don't require password field to exist for passdb lookups when auth_bind...
Timo Sirainen [Wed, 27 Aug 2014 04:38:53 +0000 (13:38 +0900)] 
auth ldap: Don't require password field to exist for passdb lookups when auth_bind=yes.
This should fix lmtp/doveadm proxy lookups with auth_bind=yes

11 years agolib-http: Added http_client_request_get_method()
Timo Sirainen [Tue, 26 Aug 2014 07:00:37 +0000 (16:00 +0900)] 
lib-http: Added http_client_request_get_method()

11 years agoauth: Allow passdb credentials lookup also with auth_bind=yes
Timo Sirainen [Tue, 26 Aug 2014 05:50:15 +0000 (14:50 +0900)] 
auth: Allow passdb credentials lookup also with auth_bind=yes
Although we probably can't lookup the password itself, we're also doing
passdb lokups for proxying and other purposes. These lookups will still work
as long as pass_attrs & pass_filter is specified.

11 years agodoveadm exec: Show help if binary name wasn't given.
Timo Sirainen [Thu, 21 Aug 2014 18:56:40 +0000 (20:56 +0200)] 
doveadm exec: Show help if binary name wasn't given.

11 years agodoveadm ring status: Help text was shown for wrong command.
Timo Sirainen [Thu, 21 Aug 2014 18:54:46 +0000 (20:54 +0200)] 
doveadm ring status: Help text was shown for wrong command.

11 years agofts-lucene: Compiling fix for earlier change.
Timo Sirainen [Thu, 21 Aug 2014 12:52:14 +0000 (15:52 +0300)] 
fts-lucene: Compiling fix for earlier change.

11 years agofts-lucene: Don't crash when index building fails but we were still planning to optim...
Timo Sirainen [Thu, 21 Aug 2014 12:51:11 +0000 (14:51 +0200)] 
fts-lucene: Don't crash when index building fails but we were still planning to optimize the index.

11 years agofts-lucene: When deleting corrupted lucene-indexes/ directory, don't rmdir it.
Timo Sirainen [Thu, 21 Aug 2014 12:49:34 +0000 (14:49 +0200)] 
fts-lucene: When deleting corrupted lucene-indexes/ directory, don't rmdir it.
This at least avoids errors with NFS when some of the files are still open
inside it by other processes.

11 years agofts-lucene: Automatically close index after 2 minutes of idling.
Timo Sirainen [Thu, 21 Aug 2014 12:48:41 +0000 (14:48 +0200)] 
fts-lucene: Automatically close index after 2 minutes of idling.

11 years agofts-lucene: Make sure Lucene indexes are always closed at deinit to avoid memory...
Timo Sirainen [Thu, 21 Aug 2014 12:46:47 +0000 (14:46 +0200)] 
fts-lucene: Make sure Lucene indexes are always closed at deinit to avoid memory leaks.
At least optimize leaked memory.

11 years agoredis: Added support for path=/unix/socket/path parameter instead of host/port.
Timo Sirainen [Thu, 21 Aug 2014 09:40:51 +0000 (11:40 +0200)] 
redis: Added support for path=/unix/socket/path parameter instead of host/port.

11 years agopop3: Fixed potential assert-crash on disconnect.
Timo Sirainen [Wed, 20 Aug 2014 13:35:43 +0000 (15:35 +0200)] 
pop3: Fixed potential assert-crash on disconnect.

11 years agolmtp: Put back the deduplication code.
Timo Sirainen [Wed, 20 Aug 2014 13:32:15 +0000 (15:32 +0200)] 
lmtp: Put back the deduplication code.
Too dangerous after all to change it in the middle of v2.2.x. It's also not
causing that much trouble even when it breaks..

11 years agoauth: protocol-specific username settings weren't used for userdb lookups.
Timo Sirainen [Wed, 20 Aug 2014 12:35:27 +0000 (14:35 +0200)] 
auth: protocol-specific username settings weren't used for userdb lookups.
The username was set before the service-specific settings were looked up, so
global settings were always used. This affected auth_default_realm,
auth_username_translation and auth_username_format settings.

11 years agofts-lucene: If whitespace_chars was set, we may have ended up indexing some garbage...
Timo Sirainen [Wed, 20 Aug 2014 11:22:28 +0000 (14:22 +0300)] 
fts-lucene: If whitespace_chars was set, we may have ended up indexing some garbage words.
The final \0 was replaced with space, so everything beyond that was also
being indexed.

11 years agolib-dict: Hide internal ioloop from async commit callbacks. (Redis & memcached fix)
Timo Sirainen [Wed, 20 Aug 2014 10:47:10 +0000 (12:47 +0200)] 
lib-dict: Hide internal ioloop from async commit callbacks. (Redis & memcached fix)

11 years agolast-login plugin: Added ABI version check.
Timo Sirainen [Wed, 20 Aug 2014 10:36:37 +0000 (12:36 +0200)] 
last-login plugin: Added ABI version check.

11 years agolast-login: Fixed timeout leak at user deinit.
Timo Sirainen [Wed, 20 Aug 2014 10:35:27 +0000 (12:35 +0200)] 
last-login: Fixed timeout leak at user deinit.

11 years agolib-storage: Added data stack frame to mail_prefetch().
Timo Sirainen [Wed, 20 Aug 2014 10:07:19 +0000 (12:07 +0200)] 
lib-storage: Added data stack frame to mail_prefetch().

11 years agodoveconf: local and remote net/bits addresses were printed with /bits twice.
Timo Sirainen [Wed, 20 Aug 2014 09:19:15 +0000 (11:19 +0200)] 
doveconf: local and remote net/bits addresses were printed with /bits twice.

11 years agoSeveral services weren't enforcing their process_limit=1 requirement.
Timo Sirainen [Wed, 20 Aug 2014 09:09:27 +0000 (11:09 +0200)] 
Several services weren't enforcing their process_limit=1 requirement.

11 years agolib: Added unit tests for wildcard_match()
Timo Sirainen [Tue, 19 Aug 2014 21:53:18 +0000 (23:53 +0200)] 
lib: Added unit tests for wildcard_match()

11 years agolib: wildcard_match() should have matched "*" wildcard against an empty "" string...
Timo Sirainen [Tue, 19 Aug 2014 21:51:14 +0000 (23:51 +0200)] 
lib: wildcard_match() should have matched "*" wildcard against an empty "" string also.
This fixes global ACL "*" matching the root namespace when creating new
mailboxes.

11 years agodirector: Log a warning when using "director host flush" for all hosts.
Timo Sirainen [Mon, 18 Aug 2014 20:39:56 +0000 (22:39 +0200)] 
director: Log a warning when using "director host flush" for all hosts.