History log of /dovecot/src/lib-master/master-interface.h
Revision Date Author Comments Expand
1fd856f1177990003ec3829267b9e490c095d836 13-Dec-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-master: Add log_debug setting lib-master understands only the global log_debug setting, which is passed to it via environment from master process, or alternatively via doveconf when executing standalone programs. Any per-user log_debug settings need to be handled explicitly elsewhere.

d4845c4245638fd6f02dc0cb92c3465fae763cbb 04-Apr-2013 Timo Sirainen <tss@iki.fi>

lib-master: Added master_service_get_process_min_avail()

0161376aac025266d8654577c4b9ce371ffc87ea 20-Jan-2012 Timo Sirainen <tss@iki.fi>

lib-master: Send service's idle_kill value to process in environment.

1ffb2afe6d7e8860a2231a4827078cf2ef9c22cd 27-Jun-2011 Timo Sirainen <tss@iki.fi>

master process now tells its children their service's process_limit.

d5eb47a791ec56149fd711cd8e44efc8babeaae5 10-Feb-2011 Timo Sirainen <tss@iki.fi>

Added import_environment setting. This also cleans up different places in code where TZ and other environments are preserved. If it's not in the import_environment setting, it's not preserved.

cbcba924a745c938260fd39cb284175b75f8eaf2 15-Dec-2010 Timo Sirainen <tss@iki.fi>

master-child API change: Use a separate fd for tracking when master dies. This works around a Linux performance problem where when one process writes to status fd all the other processes of the same service type wake up.

d482079eb385cd071bbc9637cacee225e4aff968 15-Nov-2010 Timo Sirainen <tss@iki.fi>

"Running standalone?" check now uses a new DOVECOT_CHILD_PROCESS environment rather than GENERATION. The GENERATION environment was already set in some systems for Java.

d99107ddf4d9bccb710994482daf65276a9d6321 04-May-2010 Timo Sirainen <tss@iki.fi>

auth/login related timeouts are now in one place and they make more sense. Most importantly now auth client doesn't abort lookup before server does. --HG-- branch : HEAD

230ef558135f16a66b86cbe3762524eaa9ae9d81 11-Dec-2009 Timo Sirainen <tss@iki.fi>

anvil: After master gets a SIGHUP, start logging via new log process. --HG-- branch : HEAD

cf0ad1a0bddb0787f3d7b408a96d721a8b2a98a3 20-Oct-2009 Timo Sirainen <tss@iki.fi>

Redesigned how login process passes connections to mail processes and changed related APIs. Master process is no longer in the middle. --HG-- branch : HEAD

/dovecot/doc/example-config/conf.d/master.conf /dovecot/src/auth/Makefile.am /dovecot/src/auth/auth-client-connection.c /dovecot/src/auth/auth-client-connection.h /dovecot/src/auth/auth-master-connection.c /dovecot/src/auth/auth-master-interface.h /dovecot/src/auth/main.c /dovecot/src/doveadm/doveadm.c /dovecot/src/dsync/dsync.c /dovecot/src/imap/imap-client.c /dovecot/src/imap/imap-client.h /dovecot/src/imap/main.c /dovecot/src/lda/main.c Makefile.am master-auth.c master-auth.h master-interface.h master-login-auth.c master-login-auth.h master-login.c master-login.h master-service-private.h master-service.c master-service.h /dovecot/src/lib-storage/mail-storage-service.c /dovecot/src/lib-storage/mail-storage-service.h /dovecot/src/login-common/client-common.c /dovecot/src/login-common/common.h /dovecot/src/login-common/main.c /dovecot/src/login-common/sasl-server.c /dovecot/src/master/Makefile.am /dovecot/src/master/main.c /dovecot/src/master/master-settings.c /dovecot/src/master/master-settings.h /dovecot/src/master/service-auth-server.c /dovecot/src/master/service-auth-server.h /dovecot/src/master/service-auth-source.c /dovecot/src/master/service-auth-source.h /dovecot/src/master/service-monitor.c /dovecot/src/master/service-process.c /dovecot/src/master/service-process.h /dovecot/src/master/service.c /dovecot/src/master/service.h /dovecot/src/pop3/main.c /dovecot/src/pop3/pop3-client.c /dovecot/src/pop3/pop3-client.h
419baa2c17c63ae516b2df6cc5695f15aaccbff8 15-Oct-2009 Timo Sirainen <tss@iki.fi>

auth: Identify clients using a 128bit random cookie on top of the existing PID. When master is finishing the login, it must give this cookie to REQUEST command and it must match what auth process knows. This change makes it safe to do client/master login without a dedicated master process. --HG-- branch : HEAD

8e0ce05530ca549ce1dd402f43084a6fa15f05b4 06-Oct-2009 Timo Sirainen <tss@iki.fi>

struct log_service_handshake: Removed unused max_lines_per_sec. --HG-- branch : HEAD

6fdfa4d4cf14d1d7764d7faa8258f112e39c8dbe 11-Sep-2009 Timo Sirainen <tss@iki.fi>

*-login: Fixed dropping oldest connection when reaching all limits. --HG-- branch : HEAD

43d7e7ce608f5451e4907b5f5c48c00beb265802 09-Sep-2009 Timo Sirainen <tss@iki.fi>

dovecot -p: And fixed it to really work this time. --HG-- branch : HEAD

788f275469ad9ed530e440d6690d0e4381a323b2 31-Aug-2009 Timo Sirainen <tss@iki.fi>

Added service_count setting to limit how many requests a service can handle before dying. --HG-- branch : HEAD

a75907609d7c410c9e17beedfafbf28b4439fa8a 13-Aug-2009 Timo Sirainen <tss@iki.fi>

*-login: Allow auth input to be larger than the rest of the input. --HG-- branch : HEAD

6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8 06-May-2009 Timo Sirainen <tss@iki.fi>

Implemented anvil service, which is used to implement mail_max_userip_connections. --HG-- branch : HEAD

/dovecot/.hgignore /dovecot/TODO /dovecot/configure.in /dovecot/dovecot-master-example.conf /dovecot/src/anvil/Makefile.am /dovecot/src/anvil/anvil-connection.c /dovecot/src/anvil/anvil-connection.h /dovecot/src/anvil/common.h /dovecot/src/anvil/connect-limit.c /dovecot/src/anvil/connect-limit.h /dovecot/src/anvil/main.c /dovecot/src/imap-login/client.c /dovecot/src/imap/imap-client.c /dovecot/src/imap/imap-client.h master-interface.h master-service-settings.c master-service.c master-service.h /dovecot/src/lib-storage/mail-user.c /dovecot/src/lib-storage/mail-user.h /dovecot/src/login-common/common.h /dovecot/src/login-common/login-settings.c /dovecot/src/login-common/login-settings.h /dovecot/src/login-common/main.c /dovecot/src/login-common/sasl-server.c /dovecot/src/master/Makefile.am /dovecot/src/master/master-settings.c /dovecot/src/master/service-anvil.c /dovecot/src/master/service-anvil.h /dovecot/src/master/service-auth-server.c /dovecot/src/master/service-log.c /dovecot/src/master/service-log.h /dovecot/src/master/service-monitor.c /dovecot/src/master/service-process-notify.c /dovecot/src/master/service-process-notify.h /dovecot/src/master/service-process.c /dovecot/src/master/service-process.h /dovecot/src/master/service.c /dovecot/src/master/service.h /dovecot/src/pop3-login/client.c /dovecot/src/pop3/pop3-client.c /dovecot/src/pop3/pop3-client.h
78fa3c578c14ee8a612f86cf73b6181c7f16463f 05-May-2009 Timo Sirainen <tss@iki.fi>

master: Fixes to handling logging. Master now has a non-blocking write pipe to log process, so it no longer blocks if log process is hanging. Also it's cleaner to send log commands via a pipe specifically meant for them. --HG-- branch : HEAD

d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76 24-Apr-2009 Timo Sirainen <tss@iki.fi>

Initial commit for v2.0 master rewrite. Several features are still missing. --HG-- branch : HEAD

/dovecot/.hgignore /dovecot/TODO /dovecot/configure.in /dovecot/src/Makefile.am /dovecot/src/auth/Makefile.am /dovecot/src/auth/auth-client-connection.c /dovecot/src/auth/auth-client-connection.h /dovecot/src/auth/auth-master-connection.c /dovecot/src/auth/auth-master-connection.h /dovecot/src/auth/auth-master-interface.h /dovecot/src/auth/auth-master-listener.c /dovecot/src/auth/auth-master-listener.h /dovecot/src/auth/auth-settings.c /dovecot/src/auth/auth-settings.h /dovecot/src/auth/auth-worker-client.c /dovecot/src/auth/common.h /dovecot/src/auth/db-ldap.c /dovecot/src/auth/main.c /dovecot/src/config/Makefile.am /dovecot/src/config/common.h /dovecot/src/config/config-connection.c /dovecot/src/config/config-connection.h /dovecot/src/config/main.c /dovecot/src/config/settings-get.pl /dovecot/src/imap-login/Makefile.am /dovecot/src/imap-login/client.c /dovecot/src/imap-login/client.h /dovecot/src/imap-login/imap-proxy.c /dovecot/src/imap/main.c /dovecot/src/lda/main.c Makefile.am master-auth.c master-auth.h master-interface.h master-service-private.h master-service-settings.c master-service.c master-service.h /dovecot/src/lib-settings/settings-parser.c /dovecot/src/lib-settings/settings-parser.h /dovecot/src/lib-storage/mail-storage-service.c /dovecot/src/lib-storage/mail-storage-settings.c /dovecot/src/lib-storage/mail-storage-settings.h /dovecot/src/lib/failures.c /dovecot/src/lib/failures.h /dovecot/src/lib/restrict-access.c /dovecot/src/lib/restrict-access.h /dovecot/src/lmtp/client.c /dovecot/src/lmtp/main.c /dovecot/src/log/Makefile.am /dovecot/src/log/common.h /dovecot/src/log/log-connection.c /dovecot/src/log/log-connection.h /dovecot/src/log/main.c /dovecot/src/login-common/Makefile.am /dovecot/src/login-common/client-common.h /dovecot/src/login-common/common.h /dovecot/src/login-common/login-proxy.c /dovecot/src/login-common/login-proxy.h /dovecot/src/login-common/login-settings.c /dovecot/src/login-common/login-settings.h /dovecot/src/login-common/main.c /dovecot/src/login-common/master.c /dovecot/src/login-common/master.h /dovecot/src/login-common/sasl-server.c /dovecot/src/login-common/sasl-server.h /dovecot/src/login-common/ssl-proxy-openssl.c /dovecot/src/login-common/ssl-proxy.c /dovecot/src/login-common/ssl-proxy.h /dovecot/src/master/Makefile.am /dovecot/src/master/auth-process.c /dovecot/src/master/auth-process.h /dovecot/src/master/child-process.c /dovecot/src/master/child-process.h /dovecot/src/master/common.h /dovecot/src/master/dict-process.c /dovecot/src/master/dict-process.h /dovecot/src/master/listener.c /dovecot/src/master/listener.h /dovecot/src/master/log.c /dovecot/src/master/log.h /dovecot/src/master/login-process.c /dovecot/src/master/login-process.h /dovecot/src/master/mail-process.c /dovecot/src/master/mail-process.h /dovecot/src/master/main.c /dovecot/src/master/master-login-interface.h /dovecot/src/master/master-settings.c /dovecot/src/master/master-settings.h /dovecot/src/master/service-auth-server.c /dovecot/src/master/service-auth-server.h /dovecot/src/master/service-auth-source.c /dovecot/src/master/service-auth-source.h /dovecot/src/master/service-listen.c /dovecot/src/master/service-listen.h /dovecot/src/master/service-log.c /dovecot/src/master/service-log.h /dovecot/src/master/service-monitor.c /dovecot/src/master/service-monitor.h /dovecot/src/master/service-process.c /dovecot/src/master/service-process.h /dovecot/src/master/service.c /dovecot/src/master/service.h /dovecot/src/master/sysinfo-get.c /dovecot/src/master/sysinfo-get.h /dovecot/src/plugins/convert/convert-tool.c /dovecot/src/pop3-login/Makefile.am /dovecot/src/pop3-login/client.c /dovecot/src/pop3-login/client.h /dovecot/src/pop3-login/pop3-proxy.c /dovecot/src/pop3/main.c