History log of /dovecot/src/director/director-settings.h
Revision Date Author Comments Expand
2adcf55dd8b0380cb2f1d2fd53accf448053d5d3 25-Nov-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

director: Add director_ping_idle/max_timeout setting. director_ping_idle_timeout is used when there's otherwise no input coming from the connection. Changed its default from 10 secs to 30 secs. director_ping_max_timeout is used when the other director keeps sending input, but among it is no PONG reply.

74c369c0587c5f6bb13d730675d8bc455c5c3f8e 08-Nov-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

director: Add director_max_parallel_moves/kicks settings The director_max_parallel_moves setting controls the default limit, which can still be increased by explicitly using the doveadm director flush --max-parallel" parameter.

311cf367b949f360c9a90822f06f39df31ec69e3 01-Nov-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

director: Add director_output_buffer_size setting This allows configuring the max buffer size for outgoing connections. Previously it was hardcoded to 10 MB, which wasn't necessarily enough for very busy directors.

00cc7eb569710722af0e0af652034b9fc22c57df 03-Apr-2017 Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi>

director: Make director_consistent_hashing=yes mandatory

cf7857bce68a33cdabe88bb15568e21921eb5ac7 22-Oct-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

director: Support flush socket This allows specifying an URI to execute on user kill. It can be of form exec:/path/to/bin, unix:/path/to/socket or tcp:ip:port The location is sent FLUSH username-hash per killed user. You can execute some action there, and you are expected to return '+\nOK\n' as reply once you are done.

5545acdd3aa90a6e0cca2b665f909ec4c2fb2513 18-Apr-2016 Baofeng <baofeng.wang@dovecot.com>

director: Remove director_doveadm_port the flag is obsoleted by inet_listener doveadm name. And listener_get_socket_type_fallback() will fallback to token ring when socket name is missing.

3e10cd470988298dc2b37f548ad03da4d7c11ffa 07-Sep-2015 Timo Sirainen <tss@iki.fi>

director: Added director_user_kick_delay setting. This replaces the hardcoded 2 seconds delay. This setting specifies how long to wait for after user has been kicked from all directors before letting the user login to the new server. This timeout should be large enough that the user's existing processes in the old backend should be finished.

009217abb57a24a4076092e8e4e165545747839e 29-Aug-2015 Stephan Bosch <stephan@rename-it.nl>

Changed type of internet port values to in_port_t everywhere. Created special SET_IN_PORT setting type for internet port values. Created net_str2port() for parsing internet port values. Removed several atoi() invocations in the process.

/dovecot/src/auth/auth-request.c /dovecot/src/auth/auth-request.h /dovecot/src/auth/passdb-imap.c /dovecot/src/config/config-request.c director-connection.c director-host.c director-host.h director-settings.c director-settings.h director-test.c director.c director.h doveadm-connection.c login-connection.c main.c /dovecot/src/doveadm/client-connection.h /dovecot/src/doveadm/doveadm-auth.c /dovecot/src/doveadm/doveadm-director.c /dovecot/src/doveadm/doveadm-mail-server.c /dovecot/src/doveadm/doveadm-settings.c /dovecot/src/doveadm/doveadm-settings.h /dovecot/src/doveadm/doveadm-util.c /dovecot/src/doveadm/doveadm-util.h /dovecot/src/doveadm/doveadm-zlib.c /dovecot/src/doveadm/server-connection.c /dovecot/src/imap-hibernate/imap-client.h /dovecot/src/imap-hibernate/imap-hibernate-client.c /dovecot/src/imap-login/client.c /dovecot/src/imap-urlauth/imap-urlauth-worker-settings.c /dovecot/src/imap-urlauth/imap-urlauth-worker-settings.h /dovecot/src/imap/imap-client-hibernate.c /dovecot/src/imap/imap-master-client.c /dovecot/src/imap/imap-settings.c /dovecot/src/imap/imap-settings.h /dovecot/src/lib-auth/auth-client.h /dovecot/src/lib-auth/auth-master.h /dovecot/src/lib-dict/dict-memcached-ascii.c /dovecot/src/lib-dict/dict-memcached.c /dovecot/src/lib-dict/dict-redis.c /dovecot/src/lib-http/http-client-connection.c /dovecot/src/lib-http/http-server-connection.c /dovecot/src/lib-http/test-http-server.c /dovecot/src/lib-imap-client/imapc-client.h /dovecot/src/lib-imap-urlauth/imap-urlauth-private.h /dovecot/src/lib-imap-urlauth/imap-urlauth.h /dovecot/src/lib-lda/lmtp-client.c /dovecot/src/lib-lda/lmtp-client.h /dovecot/src/lib-lda/smtp-client.c /dovecot/src/lib-master/master-service-haproxy.c /dovecot/src/lib-master/master-service.h /dovecot/src/lib-master/service-settings.h /dovecot/src/lib-settings/settings-parser.c /dovecot/src/lib-settings/settings-parser.h /dovecot/src/lib-sql/driver-mysql.c /dovecot/src/lib-storage/index/imapc/imapc-settings.c /dovecot/src/lib-storage/index/imapc/imapc-settings.h /dovecot/src/lib-storage/index/pop3c/pop3c-client.h /dovecot/src/lib-storage/index/pop3c/pop3c-settings.c /dovecot/src/lib-storage/index/pop3c/pop3c-settings.h /dovecot/src/lib-storage/mail-storage-service.h /dovecot/src/lib/connection.c /dovecot/src/lib/connection.h /dovecot/src/lib/fd-close-on-exec.c /dovecot/src/lib/iostream-rawlog.c /dovecot/src/lib/net.c /dovecot/src/lib/net.h /dovecot/src/lib/uri-util.c /dovecot/src/lmtp/client.h /dovecot/src/lmtp/commands.c /dovecot/src/lmtp/lmtp-proxy.h /dovecot/src/login-common/client-common-auth.c /dovecot/src/login-common/client-common.h /dovecot/src/login-common/login-common.h /dovecot/src/login-common/login-proxy-state.c /dovecot/src/login-common/login-proxy-state.h /dovecot/src/login-common/login-proxy.c /dovecot/src/login-common/login-proxy.h /dovecot/src/master/master-settings.c /dovecot/src/master/service-listen.c /dovecot/src/master/service.c /dovecot/src/pop3-login/client.c /dovecot/src/replication/aggregator/aggregator-settings.c /dovecot/src/replication/aggregator/aggregator-settings.h /dovecot/src/replication/aggregator/replicator-connection.c /dovecot/src/replication/aggregator/replicator-connection.h
eb209d12e3b1cfed564c35cf19fdb1bf7fcc6811 12-Nov-2014 Timo Sirainen <tss@iki.fi>

director: Added director_consistent_hashing setting. This should have been the default since the beginning. I didn't thik it was worth the trouble originally because in theory it shouldn't matter much if users jump between multiple backends. But this makes caching behavior worse, especially for systems which are using local cache files.

5733207dc3ec10e6e5a6e0a8b30fbd1b061062b9 05-Mar-2012 Timo Sirainen <tss@iki.fi>

Added director_username_hash setting to specify what part of the username is hashed. The default is "%u" meaning the full username. Another potentially useful value is "%d" for hashing only the domain (i.e. redirect users from the same domain always to same server so they can safely access each others' shared mailboxes).

fb35b9f2c80954da842c20d5128b5e506835d93e 08-Dec-2011 Timo Sirainen <tss@iki.fi>

director: Don't explicitly use base_dir. We're already chdired there, use relative paths.

861f53be0cc2fa5665f3c107a7576e2a53bb2eb0 22-Jul-2010 Timo Sirainen <tss@iki.fi>

director: Added director_doveadm_port for accepting doveadm TCP connections.

2670cd577aa57eb9f915a4f4220ae48c9b4fc5fb 19-May-2010 Timo Sirainen <tss@iki.fi>

Added initial implementation of a director process (for NFS users). There are still some unimplemented features and bugs. Also changing mail server list doesn't yet make sure that other directors won't assign the same user to a different server at the same time. --HG-- branch : HEAD