]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
11 years agombox: Added extra assert
Timo Sirainen [Tue, 29 Oct 2013 18:26:33 +0000 (20:26 +0200)] 
mbox: Added extra assert

11 years agoimapc: Added a Courier-workaround for not returning UIDNEXT on SELECT.
Timo Sirainen [Tue, 29 Oct 2013 17:42:14 +0000 (19:42 +0200)] 
imapc: Added a Courier-workaround for not returning UIDNEXT on SELECT.

11 years agovirtual: If virtual mailbox has no config file, assume it's just nonexistent.
Timo Sirainen [Tue, 29 Oct 2013 16:59:20 +0000 (18:59 +0200)] 
virtual: If virtual mailbox has no config file, assume it's just nonexistent.
Most importantly if the virtual namespace root doesn't have the config, it
should fail with MAIL_ERROR_NOTFOUND rather than MAIL_ERROR_NOTPOSSIBLE.

11 years agolib-http: Added http_url_escape_path()
Timo Sirainen [Tue, 29 Oct 2013 15:32:42 +0000 (17:32 +0200)] 
lib-http: Added http_url_escape_path()

11 years agodoveadm-server: Minor error message improvement.
Timo Sirainen [Mon, 28 Oct 2013 09:50:40 +0000 (11:50 +0200)] 
doveadm-server: Minor error message improvement.

11 years agodoveadm-server: ioloop change caused assert-crashes if outgoing data was buffered...
Timo Sirainen [Mon, 28 Oct 2013 09:50:14 +0000 (11:50 +0200)] 
doveadm-server: ioloop change caused assert-crashes if outgoing data was buffered at the end.

11 years agoauth: Refuse to run checkpassword script insecurely by default
Timo Sirainen [Sat, 26 Oct 2013 16:11:34 +0000 (19:11 +0300)] 
auth: Refuse to run checkpassword script insecurely by default

11 years agofts-solr: Fixed support for multiple Solr hosts when same process handles multiple...
Timo Sirainen [Sat, 26 Oct 2013 15:59:52 +0000 (18:59 +0300)] 
fts-solr: Fixed support for multiple Solr hosts when same process handles multiple users.
E.g. indexer-worker was always using only the first user's Solr host.

11 years agolib-http: Recent DNS change caused lib-http to access uninitialized memory.
Timo Sirainen [Sat, 26 Oct 2013 15:59:03 +0000 (18:59 +0300)] 
lib-http: Recent DNS change caused lib-http to access uninitialized memory.

11 years agodsync: Fixed crashes at deinit when -r rawlog parameter was used.
Timo Sirainen [Sat, 26 Oct 2013 15:31:16 +0000 (18:31 +0300)] 
dsync: Fixed crashes at deinit when -r rawlog parameter was used.

11 years agoauth: Fixed crash with auth_verbose_passwords!=no and non-plaintext auth
Timo Sirainen [Sat, 26 Oct 2013 15:07:45 +0000 (18:07 +0300)] 
auth: Fixed crash with auth_verbose_passwords!=no and non-plaintext auth

11 years agoauth: Fixed assert-crash with auth_verbose_passwords!=no and 32bit systems.
Timo Sirainen [Sat, 26 Oct 2013 15:06:26 +0000 (18:06 +0300)] 
auth: Fixed assert-crash with auth_verbose_passwords!=no and 32bit systems.
t_strndup() assert-crashed with size=UINT_MAX parameter.

11 years ago*-login: Send the auth reply back corked.
Timo Sirainen [Thu, 24 Oct 2013 13:21:10 +0000 (16:21 +0300)] 
*-login: Send the auth reply back corked.

11 years agologin proxy: Use corking when writing data.
Timo Sirainen [Thu, 24 Oct 2013 13:08:23 +0000 (16:08 +0300)] 
login proxy: Use corking when writing data.

11 years agoauth: Cache master user logins also.
Timo Sirainen [Thu, 24 Oct 2013 11:59:03 +0000 (14:59 +0300)] 
auth: Cache master user logins also.

11 years agodoveadm mailbox create: Added -g <guid> parameter to create mailbox with specific...
Timo Sirainen [Thu, 24 Oct 2013 08:25:41 +0000 (11:25 +0300)] 
doveadm mailbox create: Added -g <guid> parameter to create mailbox with specific GUID.

11 years agodoveadm copy: Don't require the extra mailbox+extra parameter checks as expunge/move...
Timo Sirainen [Wed, 23 Oct 2013 13:51:55 +0000 (16:51 +0300)] 
doveadm copy: Don't require the extra mailbox+extra parameter checks as expunge/move requires.
Perhaps they wouldn't be necessary even with move.

11 years agodoveadm expunge: Improved the error hint message about using something else besides...
Timo Sirainen [Wed, 23 Oct 2013 13:50:57 +0000 (16:50 +0300)] 
doveadm expunge: Improved the error hint message about using something else besides MAILBOX.

11 years agolib-master: Fix to previous commit.
Timo Sirainen [Wed, 23 Oct 2013 13:33:43 +0000 (16:33 +0300)] 
lib-master: Fix to previous commit.
It broke doveadm-server's "does client need authentication?" check.

11 years agostats: Hide warnings about old autocreated sessions having gotten lost.
Timo Sirainen [Wed, 23 Oct 2013 13:23:23 +0000 (16:23 +0300)] 
stats: Hide warnings about old autocreated sessions having gotten lost.

11 years agolib-master: If service_count=1, close the listener before starting to handle the...
Timo Sirainen [Wed, 23 Oct 2013 13:10:30 +0000 (16:10 +0300)] 
lib-master: If service_count=1, close the listener before starting to handle the connection.
This way if the connection handling takes a long time and the service
doesn't notice that master dies, it can keep running without keeping the
listener fds open and preventing a restart.

11 years agoreplication plugin: Hide write(fifo) EPIPE errors, which just mean a server restart.
Timo Sirainen [Wed, 23 Oct 2013 12:36:02 +0000 (15:36 +0300)] 
replication plugin: Hide write(fifo) EPIPE errors, which just mean a server restart.

11 years agodict-redis: Don't crash if we get disconnected during an open transaction.
Timo Sirainen [Wed, 23 Oct 2013 12:26:35 +0000 (15:26 +0300)] 
dict-redis: Don't crash if we get disconnected during an open transaction.

11 years agodict-redis: Don't crash when receiving invalid input instead of expected $size.
Timo Sirainen [Wed, 23 Oct 2013 12:16:52 +0000 (15:16 +0300)] 
dict-redis: Don't crash when receiving invalid input instead of expected $size.

11 years agodoveadm-server: Fixed hangs caused by previous commit
Timo Sirainen [Wed, 23 Oct 2013 11:59:57 +0000 (14:59 +0300)] 
doveadm-server: Fixed hangs caused by previous commit

11 years agoio_loop_run() now assert-crashes if it's attempted to be used recursively for the...
Timo Sirainen [Wed, 23 Oct 2013 11:35:07 +0000 (14:35 +0300)] 
io_loop_run() now assert-crashes if it's attempted to be used recursively for the same ioloop.

11 years agodoveadm-server: Don't call io_loop_run() recursively for the same ioloop.
Timo Sirainen [Wed, 23 Oct 2013 11:34:35 +0000 (14:34 +0300)] 
doveadm-server: Don't call io_loop_run() recursively for the same ioloop.
This breaks things more or less badly, especially ioloop-kqueue really
didn't like it.

11 years agolib-auth: auth_master_cache_flush() always waited for timeout before finishing.
Timo Sirainen [Wed, 23 Oct 2013 08:47:10 +0000 (11:47 +0300)] 
lib-auth: auth_master_cache_flush() always waited for timeout before finishing.

11 years agoauth: Don't crash with "doveadm auth cache flush" when cache is disabled.
Timo Sirainen [Wed, 23 Oct 2013 08:40:26 +0000 (11:40 +0300)] 
auth: Don't crash with "doveadm auth cache flush" when cache is disabled.

11 years agoioloop-kqueue: Added extra assert.
Timo Sirainen [Wed, 23 Oct 2013 08:38:07 +0000 (11:38 +0300)] 
ioloop-kqueue: Added extra assert.

11 years agolib-dns: Fixed busy looping when dns-client disconnected.
Timo Sirainen [Tue, 22 Oct 2013 16:12:38 +0000 (19:12 +0300)] 
lib-dns: Fixed busy looping when dns-client disconnected.

11 years agolib-fs: Added dns_client to fs_settings.
Timo Sirainen [Tue, 22 Oct 2013 12:36:07 +0000 (15:36 +0300)] 
lib-fs: Added dns_client to fs_settings.

11 years agolib-http: Support DNS lookups via the new dns-client API.
Timo Sirainen [Tue, 22 Oct 2013 12:35:27 +0000 (15:35 +0300)] 
lib-http: Support DNS lookups via the new dns-client API.

11 years agolib-dns: Added alternative API for doing longer connections to dns-client process.
Timo Sirainen [Tue, 22 Oct 2013 12:34:55 +0000 (15:34 +0300)] 
lib-dns: Added alternative API for doing longer connections to dns-client process.

11 years agodoveadm backup: If -D parameter is given, log the reason why mailbox gets deleted.
Timo Sirainen [Mon, 21 Oct 2013 18:38:17 +0000 (21:38 +0300)] 
doveadm backup: If -D parameter is given, log the reason why mailbox gets deleted.

11 years agoimap: COPY allows transaction commit now to fail with "some messages were expunged".
Timo Sirainen [Mon, 21 Oct 2013 17:47:53 +0000 (20:47 +0300)] 
imap: COPY allows transaction commit now to fail with "some messages were expunged".

11 years agoimap: Don't assert-crash on FETCH BODY[MIME] (return BAD instead)
Timo Sirainen [Wed, 16 Oct 2013 17:16:45 +0000 (20:16 +0300)] 
imap: Don't assert-crash on FETCH BODY[MIME] (return BAD instead)

12 years agolib-http: http-client: Added support for tunneling SSL conntections through proxy.
Stephan Bosch [Sat, 12 Oct 2013 08:11:04 +0000 (11:11 +0300)] 
lib-http: http-client: Added support for tunneling SSL conntections through proxy.

12 years agolib-http: Added support for creating CONNECT tunnels through HTTP.
Stephan Bosch [Sat, 12 Oct 2013 08:05:08 +0000 (11:05 +0300)] 
lib-http: Added support for creating CONNECT tunnels through HTTP.

12 years agolib-http: http-client: Implemented proxy support.
Stephan Bosch [Sat, 12 Oct 2013 08:00:15 +0000 (11:00 +0300)] 
lib-http: http-client: Implemented proxy support.

12 years agolib-http: Implemented functions for cloning and copying HTTP URLs and for constructin...
Stephan Bosch [Sat, 12 Oct 2013 07:58:04 +0000 (10:58 +0300)] 
lib-http: Implemented functions for cloning and copying HTTP URLs and for constructing partial URLs.

12 years agolib-http: http-client: Added request error code for broken payload input stream.
Stephan Bosch [Sat, 12 Oct 2013 07:57:05 +0000 (10:57 +0300)] 
lib-http: http-client: Added request error code for broken payload input stream.
This error is triggered when reading from the provided payload input stream
fails while sending the request. Previously this would yield the same error
code as for a failure to write to the connection output.

12 years agolib-http: Added support for disabling automatic redirects.
Stephan Bosch [Sat, 12 Oct 2013 07:55:38 +0000 (10:55 +0300)] 
lib-http: Added support for disabling automatic redirects.

12 years agolib-http: http-client: Made requests release payload input stream as early as possible.
Stephan Bosch [Sat, 12 Oct 2013 07:54:50 +0000 (10:54 +0300)] 
lib-http: http-client: Made requests release payload input stream as early as possible.
This prevents deadlock conditions when used for the HTTP proxy.

12 years agolib-http: http-client: When client request is retried based on a response received...
Stephan Bosch [Sat, 12 Oct 2013 07:54:10 +0000 (10:54 +0300)] 
lib-http: http-client: When client request is retried based on a response received from server, return full response to caller if retry is not possible.
Before, it would construct a dummy-response that basically retains only the
status and reason elements. This is currently only relevant for the way a
417 Expectation Failed response from the server is handled.

12 years agolib-http: http-client: Made dummy response for returning internal errors more complet...
Stephan Bosch [Sat, 12 Oct 2013 07:53:16 +0000 (10:53 +0300)] 
lib-http: http-client: Made dummy response for returning internal errors more complete by filling in the version number and a proper date.

12 years agolib-http: Added more tests for the http_request_parser.
Stephan Bosch [Sat, 12 Oct 2013 07:52:35 +0000 (10:52 +0300)] 
lib-http: Added more tests for the http_request_parser.

12 years agolib-dns: Close dns-client fd before calling callback.
Timo Sirainen [Fri, 11 Oct 2013 18:36:21 +0000 (21:36 +0300)] 
lib-dns: Close dns-client fd before calling callback.
Just in case the callback is slow and keeps the fd unnecessarily long open.

12 years agolib-lda: lmtp_client_connect_tcp() shouldn't immediately call callbacks if dns lookup...
Timo Sirainen [Fri, 11 Oct 2013 17:03:06 +0000 (20:03 +0300)] 
lib-lda: lmtp_client_connect_tcp() shouldn't immediately call callbacks if dns lookup fails.

12 years agoimap: Improved "EOF while appending" disconnect log message.
Timo Sirainen [Fri, 11 Oct 2013 16:27:39 +0000 (19:27 +0300)] 
imap: Improved "EOF while appending" disconnect log message.

12 years agoliblib: If parent ostream closes itself on error, close our ostream as well.
Timo Sirainen [Fri, 11 Oct 2013 16:17:10 +0000 (19:17 +0300)] 
liblib: If parent ostream closes itself on error, close our ostream as well.
This avoids a situation where ostream is basically unusable with
last_failed_errno set, but it's not marked as closed. The current code
often checks ostream->closed but doesn't check last_failed_errno.
ostream-file also autocloses the stream, but filter ostreams without this
patch don't autoclose, so this caused problems with e.g. IMAP COMPRESSION
extension where the zlib-ostream didn't get marked as closed, although the
problem was only logging "BUG: Unknown internal error" instead of
"Disconnected" as the client's disconnect reason.

12 years agoLAYOUT=index: Fixed race condition during mailbox creation.
Timo Sirainen [Fri, 11 Oct 2013 15:54:36 +0000 (18:54 +0300)] 
LAYOUT=index: Fixed race condition during mailbox creation.

12 years agolib-storage: If search finds a match to a cached header, don't open the body stream.
Timo Sirainen [Fri, 11 Oct 2013 09:31:48 +0000 (12:31 +0300)] 
lib-storage: If search finds a match to a cached header, don't open the body stream.

12 years agolib-storage: Header+body searches might not have searched the body in some cases.
Timo Sirainen [Fri, 11 Oct 2013 09:22:56 +0000 (12:22 +0300)] 
lib-storage: Header+body searches might not have searched the body in some cases.
Only the header was requested for the search stream, which with imapc and
pop3c could have caused the body not to be in the stream, although it
usually was because of the "fetch body" hint.

12 years agomaster: host.domain lookups weren't cached, they were done at the worst possible...
Timo Sirainen [Thu, 10 Oct 2013 17:50:10 +0000 (20:50 +0300)] 
master: host.domain lookups weren't cached, they were done at the worst possible time.
This fixes "net_connect_unix(imap) failed: Resource temporarily unavailable"
and various other issues where processes weren't being created fast enough
if the host.domain lookup was slow (e.g. done via external DNS).

12 years agoauth: Added ability to truncate values logged by auth_verbose_passwords.
Timo Sirainen [Tue, 8 Oct 2013 13:48:04 +0000 (16:48 +0300)] 
auth: Added ability to truncate values logged by auth_verbose_passwords.

12 years agolib-http: Added setting for User-Agent header.
Timo Sirainen [Tue, 8 Oct 2013 07:04:55 +0000 (10:04 +0300)] 
lib-http: Added setting for User-Agent header.

12 years agolib-http: Fixed linking with some compilers
Timo Sirainen [Sun, 6 Oct 2013 10:21:15 +0000 (13:21 +0300)] 
lib-http: Fixed linking with some compilers
Inline functions in http-header.h still required linking http-header.lo with
e.g. Sun Studio

12 years agolib-fs: Added FS_OPEN_FLAG_ASYNC_NOQUEUE
Timo Sirainen [Sat, 5 Oct 2013 10:29:26 +0000 (13:29 +0300)] 
lib-fs: Added FS_OPEN_FLAG_ASYNC_NOQUEUE

12 years agodsync: Added missing alarm(0)
Timo Sirainen [Thu, 3 Oct 2013 11:56:23 +0000 (14:56 +0300)] 
dsync: Added missing alarm(0)
This didn't really cause any problems normally since the process was usually
just about to die anyway.

12 years agoIf DEBUG_OUTOFMEM environment is set, abort() on "out of memory" errors.
Timo Sirainen [Thu, 3 Oct 2013 08:34:48 +0000 (11:34 +0300)] 
If DEBUG_OUTOFMEM environment is set, abort() on "out of memory" errors.

12 years agodsync: Removed periodic commits while importing.
Timo Sirainen [Thu, 3 Oct 2013 08:20:09 +0000 (11:20 +0300)] 
dsync: Removed periodic commits while importing.
The problem is that the current algorithm doesn't handle it correctly. If
there already are some mails that exist locally, or remote has duplicate
mails, the messages may not be saved in the UID order, and if there's a
commit between such wrong ordering, the UIDs get renumbered.

12 years agomailbox_list_index: Fixed assert-crash sometimes when deleting a mailbox.
Timo Sirainen [Wed, 2 Oct 2013 08:48:31 +0000 (11:48 +0300)] 
mailbox_list_index: Fixed assert-crash sometimes when deleting a mailbox.

12 years agodoveadm fs delete: Added -R parameter for recursive deletion.
Timo Sirainen [Mon, 30 Sep 2013 12:28:04 +0000 (15:28 +0300)] 
doveadm fs delete: Added -R parameter for recursive deletion.

12 years agolib-storage: Fail with an error instead of crash with namespace prefix=inbox/
Timo Sirainen [Mon, 30 Sep 2013 06:04:43 +0000 (09:04 +0300)] 
lib-storage: Fail with an error instead of crash with namespace prefix=inbox/

12 years agoPanic if io_remove() fails with EBADF.
Timo Sirainen [Thu, 26 Sep 2013 03:51:43 +0000 (05:51 +0200)] 
Panic if io_remove() fails with EBADF.
It's a bug that shouldn't really be ignored. Panicing will give a debuggable
core dump.

12 years agolib-http: 32bit system fix.
Timo Sirainen [Thu, 26 Sep 2013 02:55:59 +0000 (04:55 +0200)] 
lib-http: 32bit system fix.

12 years agoAdded signature for changeset 1de9a494cb25
Timo Sirainen [Wed, 25 Sep 2013 07:06:19 +0000 (10:06 +0300)] 
Added signature for changeset 1de9a494cb25

12 years agoAdded tag 2.2.6 for changeset 1de9a494cb25
Timo Sirainen [Wed, 25 Sep 2013 07:06:08 +0000 (10:06 +0300)] 
Added tag 2.2.6 for changeset 1de9a494cb25

12 years agoReleased v2.2.6. 2.2.6
Timo Sirainen [Wed, 25 Sep 2013 07:06:08 +0000 (10:06 +0300)] 
Released v2.2.6.

12 years agomaster: Added reuse_port setting to inet_listeners, which enables SO_REUSEPORT if...
Timo Sirainen [Mon, 23 Sep 2013 01:25:16 +0000 (04:25 +0300)] 
master: Added reuse_port setting to inet_listeners, which enables SO_REUSEPORT if available.
After forking a new service process, a new listener socket is created for
each such inet_listener. Linux v3.9+ added SO_REUSEPORT feature, which
should distribute clients more uniformly to the processes. I'm not sure if
this makes any difference in BSDs.

At least in Linux v3.9 there was still a bug that if the number of listening
processes changed, some TCP handshakes might not finish. I don't see if this
has already been fixed, so this is probably safe to use only for services
whose process count doesn't change (e.g. process_min_avail is set high
enough).

12 years agolib: Added net_listen_full() with a flag to set SO_REUSEPORT on the socket if available.
Timo Sirainen [Mon, 23 Sep 2013 01:06:08 +0000 (04:06 +0300)] 
lib: Added net_listen_full() with a flag to set SO_REUSEPORT on the socket if available.

12 years agoimapc: Don't crash if imapc_password is missing.
Timo Sirainen [Sun, 22 Sep 2013 04:43:31 +0000 (07:43 +0300)] 
imapc: Don't crash if imapc_password is missing.

12 years agomaildir: Autocreate missing cur/ new/ tmp/ directories only with Maildir++ and imapdir.
Timo Sirainen [Sun, 22 Sep 2013 04:40:01 +0000 (07:40 +0300)] 
maildir: Autocreate missing cur/ new/ tmp/ directories only with Maildir++ and imapdir.
\Noselect mailboxes aren't possible with those layouts, but with other
layouts they are and they shouldn't get automatically created just by
selecting them.

12 years agoi_getpw*(): Added OpenBSD workaround.
Timo Sirainen [Sun, 22 Sep 2013 04:24:26 +0000 (07:24 +0300)] 
i_getpw*(): Added OpenBSD workaround.

12 years agoistream-attachment-connector: Add base64 parameters to stream name for error messages.
Timo Sirainen [Sun, 22 Sep 2013 04:20:12 +0000 (07:20 +0300)] 
istream-attachment-connector: Add base64 parameters to stream name for error messages.

12 years agoistream-sized: Fail read() also when the stream is larger than it should have been.
Timo Sirainen [Sun, 22 Sep 2013 04:19:39 +0000 (07:19 +0300)] 
istream-sized: Fail read() also when the stream is larger than it should have been.

12 years agombox: Fixed assert-crash due to wrong transaction_count handling.
Timo Sirainen [Sun, 22 Sep 2013 03:30:47 +0000 (06:30 +0300)] 
mbox: Fixed assert-crash due to wrong transaction_count handling.
This happened only when messages had been expunged by another session just
before saving a new message.

12 years agolib-fs: Improved fs_write_*() error messages.
Timo Sirainen [Sun, 22 Sep 2013 01:41:50 +0000 (04:41 +0300)] 
lib-fs: Improved fs_write_*() error messages.

12 years agolib-storage: Improve error message logging when attachment writing fails
Timo Sirainen [Sun, 22 Sep 2013 01:40:02 +0000 (04:40 +0300)] 
lib-storage: Improve error message logging when attachment writing fails

12 years agolib: Added [io]_stream_create_error_str()
Timo Sirainen [Sun, 22 Sep 2013 01:39:35 +0000 (04:39 +0300)] 
lib: Added [io]_stream_create_error_str()

12 years agoostream-errno: last_failed_errno wasn't set, causing problems with some functions.
Timo Sirainen [Sun, 22 Sep 2013 01:24:29 +0000 (04:24 +0300)] 
ostream-errno: last_failed_errno wasn't set, causing problems with some functions.

12 years agoFixes and improvements to istream-attachment-extractor error handling.
Timo Sirainen [Sun, 22 Sep 2013 01:14:23 +0000 (04:14 +0300)] 
Fixes and improvements to istream-attachment-extractor error handling.
If an attachment saving failed, the mail was still saved to disk, just
without the attachments.

12 years agoacl: Hide non-listable mailboxes from a shared subscriptions file.
Timo Sirainen [Sun, 22 Sep 2013 00:40:14 +0000 (03:40 +0300)] 
acl: Hide non-listable mailboxes from a shared subscriptions file.

12 years agoexample-config: Fixed login_log_format comment.
Timo Sirainen [Sun, 22 Sep 2013 00:17:12 +0000 (03:17 +0300)] 
example-config: Fixed login_log_format comment.

12 years agoauth: If auth_verbose_passwords is set, log the password also for unknown users.
Timo Sirainen [Sat, 21 Sep 2013 23:44:21 +0000 (02:44 +0300)] 
auth: If auth_verbose_passwords is set, log the password also for unknown users.

12 years agoauth: Use a common auth_request_log_unknown_user() for logging "unknown user" entries.
Timo Sirainen [Sat, 21 Sep 2013 23:32:05 +0000 (02:32 +0300)] 
auth: Use a common auth_request_log_unknown_user() for logging "unknown user" entries.

12 years agonet_listen_unix(): If path is too long, return EOVERFLOW instead of EINVAL.
Timo Sirainen [Sat, 21 Sep 2013 23:24:05 +0000 (02:24 +0300)] 
net_listen_unix(): If path is too long, return EOVERFLOW instead of EINVAL.

12 years agoIf EOVERFLOW errno isn't defined by system, fallback to ERANGE instead of EINVAL.
Timo Sirainen [Sat, 21 Sep 2013 23:23:30 +0000 (02:23 +0300)] 
If EOVERFLOW errno isn't defined by system, fallback to ERANGE instead of EINVAL.
ERANGE is used by other functions as well, such as getpwnam_r().

12 years agoAdded ssl_prefer_server_ciphers setting.
Timo Sirainen [Sat, 21 Sep 2013 23:20:09 +0000 (02:20 +0300)] 
Added ssl_prefer_server_ciphers setting.

12 years agombox: Fixed mailbox_list_index=yes to work with non-Dovecot mbox changes.
Timo Sirainen [Sat, 21 Sep 2013 23:07:16 +0000 (02:07 +0300)] 
mbox: Fixed mailbox_list_index=yes to work with non-Dovecot mbox changes.

12 years ago*-login: Added %{orig_user}, %{orig_username} and %{orig_domain} variables.
Timo Sirainen [Sat, 21 Sep 2013 22:40:11 +0000 (01:40 +0300)] 
*-login: Added %{orig_user}, %{orig_username} and %{orig_domain} variables.
The original username is what the client sent to server before any
translations.

12 years agodsync: Added -P parameter to do a purge for the remote storage after syncing.
Timo Sirainen [Sat, 21 Sep 2013 22:09:32 +0000 (01:09 +0300)] 
dsync: Added -P parameter to do a purge for the remote storage after syncing.

12 years agolib-storage: Fixed listescape when escape_char was the same as namespace separator.
Timo Sirainen [Sat, 21 Sep 2013 20:33:42 +0000 (23:33 +0300)] 
lib-storage: Fixed listescape when escape_char was the same as namespace separator.

12 years agoimap: Send * OK [CLOSED] always before tagged SELECT reply.
Timo Sirainen [Sat, 21 Sep 2013 02:28:45 +0000 (05:28 +0300)] 
imap: Send * OK [CLOSED] always before tagged SELECT reply.

12 years agolib-storage: Don't create a settings cache for initial global settings read.
Timo Sirainen [Sat, 21 Sep 2013 02:05:22 +0000 (05:05 +0300)] 
lib-storage: Don't create a settings cache for initial global settings read.
This fixes at least doveadm -A so that it doesn't connect to config process
for each user.

12 years agoauth: Fixed user iteration hang due to earlier stream corking changes.
Timo Sirainen [Sat, 21 Sep 2013 02:03:03 +0000 (05:03 +0300)] 
auth: Fixed user iteration hang due to earlier stream corking changes.
Also fixed process title updating for auth-worker process during LIST.

12 years agolib-auth: Fixed infinite looping if user listing failed because auth process disconne...
Timo Sirainen [Sat, 21 Sep 2013 01:48:52 +0000 (04:48 +0300)] 
lib-auth: Fixed infinite looping if user listing failed because auth process disconnected.

12 years agolib-auth: Recent cleanup commit was actually cleaning up too much.
Timo Sirainen [Sat, 21 Sep 2013 01:02:51 +0000 (04:02 +0300)] 
lib-auth: Recent cleanup commit was actually cleaning up too much.

12 years agodoveadm sync: When -1 parameter is used, ignore missing mailboxes in source.
Timo Sirainen [Sat, 21 Sep 2013 00:49:22 +0000 (03:49 +0300)] 
doveadm sync: When -1 parameter is used, ignore missing mailboxes in source.
Previously the syncs finished with "Mailbox changes caused a desync." and
exit code 2. This was especially common when the destination server had
new autocreated mailboxes and user logged in after the first dsync.