History log of /dovecot/src/login-common/client-common.h
Revision Date Author Comments Expand
3609e0b9b8fcd1a183a785af690cdcad33c345aa 28-Dec-2017 Aki Tuomi <aki.tuomi@dovecot.fi>

login-common: Indicate TLS encryption if haproxy says it was

9666d130b63653a5a6d5d2f38ca2df72a5f3f7a7 11-Dec-2017 Stephan Bosch <stephan.bosch@dovecot.fi>

login-common: Added flag to client that indicates whether connection is secured using SSL specifically.

dfafc4ac89195b8cdd48afa619599d5b392ef479 11-Dec-2017 Stephan Bosch <stephan.bosch@dovecot.fi>

login-common: Added client_disconnect(), which allows explicitly disconnecting the client before it is destroyed. This is sometimes needed to make sure the SSL layer is closed properly before destroying the underlying connection.

a1852ab4cf0a942a3fcf4ca5636a7932ebcc7970 11-Dec-2017 Stephan Bosch <stephan@rename-it.nl>

login-common: Added support for login services that handle their own input io.

feb8f7b9490ddef989094ee21d7d1a222ccc4cb2 07-Nov-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

login-common: Use lib-ssl-iostream for incoming SSL/TLS connections

0256180043b9f55b606b523b775e8b23b1b12f83 07-Nov-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

login-common: Change process title to show different connection types Separate pre-login connections, proxy connections and post-login TLS proxies.

a7efba62b6235e5efc124cbf702ddeb547ca3665 07-Nov-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

login-common: Destroy all fd proxies at deinit.

87dbf3e85526ccde5908a611eb9a798f1d0ccac3 07-Nov-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

login-common: Implement post-login proxying and use it with SSL connections Note: This temporarily breaks the SSL connections a bit. If post-login process disconnects the client, it's not noticed by the login process. Client connections are noticed by the post-login though.

be6e55ff7c81afdc7ed9b47c6021a4f7827e4407 07-Nov-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

login-common: client_alloc() - remove unnecessary ssl parameter

b1485f2691de41ed7b5f96cebda2ebcb69a5e22f 07-Nov-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

login-common: Extract SSL/TLS initialization into client_init_ssl()

66ea9eaaa2d7531b3be8f633937628c94d907031 07-Nov-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

login-common: Split client_create() to client_alloc() and client_init() client_unref() can be used to free an allocated client that hasn't been fully created.

86bca14f79caeff0830abd2315d8a0e5db4b979b 07-Nov-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

login-common: Move code in client_destroy_internal_failure() to its only caller No need to have a function that has only a single caller.

1a1159e589def1e32b7dc25397f15146672ef73e 07-Nov-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

login-common: Avoid using client_destroy_success() when mail_max_userip_connections is reached This was currently the only way how data != NULL here. This change destroys ssl_proxy on client_destroy() instead of client_unref(), but that doesn't make much of a practical difference. This new behavior is a bit more correct though.

b6fbc235f981b10333403e2fd6d333fd351c7a3c 16-Oct-2017 Aki Tuomi <aki.tuomi@dovecot.fi>

login-common: Use HAproxy provided proxy.ssl information If the connection is proxied via system that can terminate ssl for us, such as HAproxy, use that information only.

ec9429535e925610513bd6bfde6729e273082ccb 05-Sep-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

*-login: Cache director_username_hash between KICK-DIRECTOR-HASH commands This should make the kicking much faster, which is important when director is moving thousands of users.

b84eff65e25ae86dfd6f798386577209b94838c6 16-Jun-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

*-login: Add client_vfuncs.free() that is called when client refcount=0 This can be useful for plugins that want to run something after proxying ends. Use an empty default function so plugins can call super.free() without having to check if it's NULL.

edfdc577ffe7408fd6463eb9dba11260d380ab53 13-Jun-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

*-login: Add client_vfuncs.input_next_cmd() This allows plugins to hook into all the pre-login commands. For example with imap-login most of the commands could already be hooked into, except for ID and AUTHENTICATE because their parameters reading is handled specially. This allows hooking into them as well. This is actually internal to all the login binaries, so it wouldn't have to be in login-common. However, login-common already has all the code to handle overriding functions nicely and this is a rather useful feature for all the protocols anyway, so it's easier this way and not too ugly.

ae797f3368ebb86e7786ca25d7c9c703f672b9f5 21-Apr-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

*-login: Add client_vfuncs.send_raw_data() This allows login plugins to hook into seeing all the data that is sent to the imap/pop3 client.

56af9dd10e7e6caeaca64395bad3f882b28ecdff 06-Apr-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

*-login: Minor logging cleanup if client is disconnected before sending banner. Avoid unnecessarily adding "(no auth attempts in 0 secs)" when the reason string already makes it clear that the user didn't even have a chance to authenticate. This kind of disconnection currently happens only with some plugins.

c4ec7cb598805b1387dc3aab59ec8f32d8cc24e1 24-Mar-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

imap-login: Move forward_fields updating code to login-common This allows using the new client_add_forward_field() in e.g. plugins.

53f97800b16ab3a8d263c5331132dec1e8fea9a0 19-Mar-2017 Aki Tuomi <aki.tuomi@dovecot.fi>

auth: Accept forward_fields from auth client

2f7c73483ff5474a74a83a646f82e1b60f687680 19-Mar-2017 Aki Tuomi <aki.tuomi@dovecot.fi>

imap-login: Retain ID request without dovecot specials

a8dac1be6a0c3adbbce5887ca395f418194c6c06 19-Mar-2017 Aki Tuomi <aki.tuomi@dovecot.fi>

auth: Accept client_id from auth client Client ID contains the ID client request string for IMAP.

b045b66988bfbaa2795791e42ee724fae6f0db1c 19-Mar-2017 Aki Tuomi <aki.tuomi@dovecot.fi>

login-common: Add preproxy pool preproxy pool can be used to do allocations that are released once proxying starts.

c5e62353a11087958ea4e619660e084a613e1a37 16-Mar-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

*-login: Change API for how login_plugins hook into client allocation. The previous API worked badly when there were more than one plugin. The current behavior works similarly to how mail_plugins work.

a8d3f2d03d260b55064d3be868bc06b025d6c9d3 09-Mar-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

*-login: Remove unused client.proxy_state

2b96880f2d789d125aff6a95eaa7b51f558a6a1c 09-Mar-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

*-login: Add client.proxy_get_state() for providing human-readable proxy state If not implemented, it defaults to the old method of returning proxy_state number.

8ac6623677005256bf99ab33a2ed98c69c1d656c 02-Nov-2016 Stephan Bosch <stephan.bosch@dovecot.fi>

auth,login-common: Added result code for invalid base64-encoded response data.

04eb0abcf8f8b0c014499b5c5bae89484553613f 02-Nov-2016 Stephan Bosch <stephan.bosch@dovecot.fi>

login-common: Added result codes for mechanism-related failures.

f32d0295c90ed810889504cdfa5e1a25a415f65f 02-Nov-2016 Stephan Bosch <stephan.bosch@dovecot.fi>

login-common: Added result code for a nologin code from the auth service.

529944a3554da75c2e6231a25fe489d815519b22 02-Nov-2016 Stephan Bosch <stephan.bosch@dovecot.fi>

login-common: Added result code for password-expired authentication failure.

36b072d84a9076c3c483bf710444a716e987ccc3 02-Nov-2016 Stephan Bosch <stephan.bosch@dovecot.fi>

auth: Added a code= field to the auth FAIL response that replaces the "authz", "temp", "pass_expired", and "user_disabled" fields.

6d24551e169c0808695db35d7a228f1970a84c75 01-Nov-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

imap/pop3 proxy: If passdb returns proxy_not_trusted, don't send ID/XCLIENT This allows using Dovecot proxying feature towards less trusted servers.

fe791e96fdf796f7d8997ee0515b163dc5eddd72 20-Oct-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

auth: Pass local_name to auth-request This allows using local_name in various places, such as passdb/userdb queries.

ce1a6c9b82117d253df9acd77e54ac84dd8a247e 10-Oct-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

*-login: Store user_* passdb fields to client->alt_usernames.

0dffa25d211be541ee3c953b23566a1a990789df 06-Jun-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

global: unsigned int:1 -> bool:1 perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch]

/dovecot/src/anvil/anvil-connection.c /dovecot/src/anvil/penalty.c /dovecot/src/auth/auth-client-connection.h /dovecot/src/auth/auth-master-connection.h /dovecot/src/auth/auth-penalty.c /dovecot/src/auth/auth-postfix-connection.c /dovecot/src/auth/auth-request-handler.c /dovecot/src/auth/auth-request.h /dovecot/src/auth/auth-worker-client.c /dovecot/src/auth/auth-worker-server.c /dovecot/src/auth/db-checkpassword.c /dovecot/src/auth/db-passwd-file.h /dovecot/src/auth/db-sql.h /dovecot/src/auth/mech-digest-md5.c /dovecot/src/auth/passdb-pam.c /dovecot/src/auth/userdb-passwd.c /dovecot/src/auth/userdb-sql.c /dovecot/src/auth/userdb-static.c /dovecot/src/config/config-connection.c /dovecot/src/config/config-parser-private.h /dovecot/src/config/doveconf.c /dovecot/src/dict/dict-connection.h /dovecot/src/director/director-connection.c /dovecot/src/director/director-host.h /dovecot/src/director/director.h /dovecot/src/director/doveadm-connection.c /dovecot/src/director/login-connection.c /dovecot/src/director/mail-host.h /dovecot/src/director/user-directory.h /dovecot/src/doveadm/client-connection.h /dovecot/src/doveadm/doveadm-dsync.c /dovecot/src/doveadm/doveadm-mail-index.c /dovecot/src/doveadm/doveadm-mail-mailbox-status.c /dovecot/src/doveadm/doveadm-mail.h /dovecot/src/doveadm/doveadm-print-flow.c /dovecot/src/doveadm/doveadm-print-pager.c /dovecot/src/doveadm/doveadm-print-tab.c /dovecot/src/doveadm/doveadm-print-table.c /dovecot/src/doveadm/doveadm-stats.c /dovecot/src/doveadm/dsync/dsync-brain-private.h /dovecot/src/doveadm/dsync/dsync-ibc-private.h /dovecot/src/doveadm/dsync/dsync-ibc-stream.c /dovecot/src/doveadm/dsync/dsync-mailbox-export.c /dovecot/src/doveadm/dsync/dsync-mailbox-import.c /dovecot/src/doveadm/dsync/dsync-mailbox-tree.h /dovecot/src/doveadm/server-connection.c /dovecot/src/imap-login/imap-login-client.h /dovecot/src/imap-urlauth/imap-urlauth-client.h /dovecot/src/imap-urlauth/imap-urlauth-login.c /dovecot/src/imap-urlauth/imap-urlauth-worker.c /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-idle.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-urlfetch.c /dovecot/src/imap/imap-client.h /dovecot/src/imap/imap-fetch-body.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-notify.h /dovecot/src/imap/imap-search.h /dovecot/src/imap/imap-sync.c /dovecot/src/indexer/indexer-client.c /dovecot/src/indexer/indexer-queue.h /dovecot/src/indexer/master-connection.c /dovecot/src/indexer/worker-connection.c /dovecot/src/ipc/ipc-connection.h /dovecot/src/lib-auth/auth-client-private.h /dovecot/src/lib-auth/auth-master.c /dovecot/src/lib-auth/auth-master.h /dovecot/src/lib-auth/auth-server-connection.h /dovecot/src/lib-compression/istream-bzlib.c /dovecot/src/lib-compression/istream-lz4.c /dovecot/src/lib-compression/istream-lzma.c /dovecot/src/lib-compression/istream-zlib.c /dovecot/src/lib-compression/ostream-bzlib.c /dovecot/src/lib-compression/ostream-lzma.c /dovecot/src/lib-compression/ostream-zlib.c /dovecot/src/lib-dict/dict-client.c /dovecot/src/lib-dict/dict-private.h /dovecot/src/lib-dict/dict-sql.c /dovecot/src/lib-fs/fs-api-private.h /dovecot/src/lib-http/http-client-private.h /dovecot/src/lib-http/http-header-parser.c /dovecot/src/lib-http/http-message-parser.h /dovecot/src/lib-http/http-request-parser.c /dovecot/src/lib-http/http-request.h /dovecot/src/lib-http/http-response.h /dovecot/src/lib-http/http-server-private.h /dovecot/src/lib-http/http-transfer-chunked.c /dovecot/src/lib-http/http-url.c /dovecot/src/lib-http/http-url.h /dovecot/src/lib-imap-client/imapc-connection.c /dovecot/src/lib-imap-storage/imap-metadata.c /dovecot/src/lib-imap-storage/imap-msgpart-url.c /dovecot/src/lib-imap-storage/imap-msgpart.c /dovecot/src/lib-imap-urlauth/imap-urlauth-connection.c /dovecot/src/lib-imap-urlauth/imap-urlauth-fetch.c /dovecot/src/lib-imap-urlauth/imap-urlauth-fetch.h /dovecot/src/lib-imap-urlauth/imap-urlauth-private.h /dovecot/src/lib-imap/imap-arg.h /dovecot/src/lib-imap/imap-parser.c /dovecot/src/lib-imap/imap-url.c /dovecot/src/lib-imap/imap-url.h /dovecot/src/lib-index/mail-cache-private.h /dovecot/src/lib-index/mail-cache-transaction.c /dovecot/src/lib-index/mail-index-private.h /dovecot/src/lib-index/mail-index-strmap.c /dovecot/src/lib-index/mail-index-sync-private.h /dovecot/src/lib-index/mail-index-sync.c /dovecot/src/lib-index/mail-index-transaction-private.h /dovecot/src/lib-index/mail-index-view-private.h /dovecot/src/lib-index/mail-index-view-sync.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-transaction-log-private.h /dovecot/src/lib-index/mail-transaction-log-view-private.h /dovecot/src/lib-index/mail-transaction-log.h /dovecot/src/lib-lda/duplicate.c /dovecot/src/lib-lda/lmtp-client.c /dovecot/src/lib-mail/istream-binary-converter.c /dovecot/src/lib-mail/istream-dot.c /dovecot/src/lib-mail/istream-header-filter.c /dovecot/src/lib-mail/message-decoder.c /dovecot/src/lib-mail/message-header-decode.c /dovecot/src/lib-mail/message-header-parser.c /dovecot/src/lib-mail/message-header-parser.h /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-search.c /dovecot/src/lib-master/ipc-server.c /dovecot/src/lib-master/master-instance.c /dovecot/src/lib-master/master-login-auth.c /dovecot/src/lib-master/master-login.c /dovecot/src/lib-master/master-login.h /dovecot/src/lib-master/master-service-private.h /dovecot/src/lib-master/master-service-settings-cache.c /dovecot/src/lib-master/master-service-settings.h /dovecot/src/lib-master/master-service.h /dovecot/src/lib-master/service-settings.h /dovecot/src/lib-sql/driver-cassandra.c /dovecot/src/lib-sql/driver-mysql.c /dovecot/src/lib-sql/driver-pgsql.c /dovecot/src/lib-sql/driver-sqlite.c /dovecot/src/lib-sql/sql-api-private.h /dovecot/src/lib-ssl-iostream/iostream-openssl.h /dovecot/src/lib-storage/index/cydir/cydir-save.c /dovecot/src/lib-storage/index/dbox-common/dbox-file.h /dovecot/src/lib-storage/index/dbox-common/dbox-save.h /dovecot/src/lib-storage/index/dbox-multi/mdbox-map-private.h /dovecot/src/lib-storage/index/dbox-multi/mdbox-map.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-storage.h /dovecot/src/lib-storage/index/imapc/imapc-list.h /dovecot/src/lib-storage/index/imapc/imapc-save.c /dovecot/src/lib-storage/index/imapc/imapc-storage.h /dovecot/src/lib-storage/index/imapc/imapc-sync.h /dovecot/src/lib-storage/index/index-mail.h /dovecot/src/lib-storage/index/index-rebuild.h /dovecot/src/lib-storage/index/index-search-private.h /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/index-sort-string.c /dovecot/src/lib-storage/index/index-thread-finish.c /dovecot/src/lib-storage/index/index-thread-private.h /dovecot/src/lib-storage/index/index-thread.c /dovecot/src/lib-storage/index/istream-mail.c /dovecot/src/lib-storage/index/maildir/maildir-copy.c /dovecot/src/lib-storage/index/maildir/maildir-keywords.c /dovecot/src/lib-storage/index/maildir/maildir-save.c /dovecot/src/lib-storage/index/maildir/maildir-storage.h /dovecot/src/lib-storage/index/maildir/maildir-sync.c /dovecot/src/lib-storage/index/maildir/maildir-uidlist.c /dovecot/src/lib-storage/index/mbox/istream-raw-mbox.c /dovecot/src/lib-storage/index/mbox/mbox-save.c /dovecot/src/lib-storage/index/mbox/mbox-storage.h /dovecot/src/lib-storage/index/mbox/mbox-sync-private.h /dovecot/src/lib-storage/index/pop3c/pop3c-client.c /dovecot/src/lib-storage/index/pop3c/pop3c-storage.h /dovecot/src/lib-storage/index/raw/raw-storage.h /dovecot/src/lib-storage/list/mailbox-list-fs-iter.c /dovecot/src/lib-storage/list/mailbox-list-index-notify.c /dovecot/src/lib-storage/list/mailbox-list-index-sync.h /dovecot/src/lib-storage/list/mailbox-list-index.h /dovecot/src/lib-storage/list/mailbox-list-iter.c /dovecot/src/lib-storage/list/mailbox-list-none.c /dovecot/src/lib-storage/mail-namespace.h /dovecot/src/lib-storage/mail-search-register.c /dovecot/src/lib-storage/mail-search.h /dovecot/src/lib-storage/mail-storage-private.h /dovecot/src/lib-storage/mail-storage-service.c /dovecot/src/lib-storage/mail-storage-service.h /dovecot/src/lib-storage/mail-storage.h /dovecot/src/lib-storage/mail-user.h /dovecot/src/lib-storage/mailbox-list-private.h /dovecot/src/lib-storage/mailbox-search-result-private.h /dovecot/src/lib-storage/mailbox-tree.c /dovecot/src/lib/buffer.c /dovecot/src/lib/connection.h /dovecot/src/lib/file-dotlock.c /dovecot/src/lib/file-dotlock.h /dovecot/src/lib/ioloop-private.h /dovecot/src/lib/istream-crlf.c /dovecot/src/lib/istream-file-private.h /dovecot/src/lib/istream-jsonstr.c /dovecot/src/lib/istream-mmap.c /dovecot/src/lib/istream-private.h /dovecot/src/lib/istream-tee.c /dovecot/src/lib/istream.h /dovecot/src/lib/mempool.h /dovecot/src/lib/module-dir.h /dovecot/src/lib/ostream-file-private.h /dovecot/src/lib/ostream-private.h /dovecot/src/lib/ostream.h /dovecot/src/lmtp/client.h /dovecot/src/lmtp/lmtp-proxy.c /dovecot/src/log/log-connection.c client-common.h login-proxy.c ssl-proxy-openssl.c /dovecot/src/master/service-process.h /dovecot/src/master/service.h /dovecot/src/plugins/acl/acl-api-private.h /dovecot/src/plugins/acl/acl-api.h /dovecot/src/plugins/acl/acl-backend-vfile.h /dovecot/src/plugins/acl/acl-lookup-dict.c /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-solr/fts-backend-solr.c /dovecot/src/plugins/fts-solr/solr-connection.c /dovecot/src/plugins/fts-squat/squat-trie-private.h /dovecot/src/plugins/fts-squat/squat-trie.c /dovecot/src/plugins/fts-squat/squat-uidlist.c /dovecot/src/plugins/fts/fts-api-private.h /dovecot/src/plugins/fts/fts-indexer.c /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/fts/fts-storage.h /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/pop3-migration/pop3-migration-plugin.c /dovecot/src/plugins/quota/quota-fs.c /dovecot/src/plugins/quota/quota-maildir.c /dovecot/src/plugins/quota/quota-private.h /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/virtual/virtual-mail.c /dovecot/src/plugins/virtual/virtual-storage.h /dovecot/src/plugins/virtual/virtual-sync.c /dovecot/src/pop3/pop3-client.h /dovecot/src/replication/replicator/dsync-client.c /dovecot/src/replication/replicator/notify-connection.c /dovecot/src/replication/replicator/replicator-brain.c /dovecot/src/replication/replicator/replicator-queue.h
fd3d068169c6ec587c9c446f2ee45560a444334a 27-Jan-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

*-login: Add all returned passdb fields to struct client_auth_reply.all_fields These will be mainly useful to plugins.

9132f9df4e12ed5293c70957813aa3736444a13c 15-Jan-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

*-login: Allow plugins to hook into client allocation and add module-specific contexts to client.

8ce3071e80b9973230048ecadfcb073fb82cc69f 17-Nov-2015 Timo Sirainen <tss@iki.fi>

*-login: Added postlogin_socket=path passdb extra field. By default e.g. "imap" or "pop3" is the post-login socket, but this can override it. This could be used for example for per-user debugging (e.g. setting executable to be run via strace or valgrind).

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 /dovecot/src/director/director-connection.c /dovecot/src/director/director-host.c /dovecot/src/director/director-host.h /dovecot/src/director/director-settings.c /dovecot/src/director/director-settings.h /dovecot/src/director/director-test.c /dovecot/src/director/director.c /dovecot/src/director/director.h /dovecot/src/director/doveadm-connection.c /dovecot/src/director/login-connection.c /dovecot/src/director/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 client-common-auth.c client-common.h login-common.h login-proxy-state.c login-proxy-state.h login-proxy.c 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
2dfd08e8aa16dfcc975d8a62bc8d20b2ef849d71 28-Aug-2015 Timo Sirainen <tss@iki.fi>

*-login: Added %{passdb:*} fields to login_log_format_elements

c12d96f12cac9af464ab2e59046bd59b0c06b4ea 25-Aug-2015 Timo Sirainen <tss@iki.fi>

login_log_format_elements: Added %{listener} variable to expand to the listener socket name.

a05fec120ecd8c4ed6331c42100cba42adf22893 15-Jun-2015 Stephan Bosch <stephan@rename-it.nl>

lmtp, *-login: Use ip/port values from struct master_service_connection instead of from the socket. This way, a proxy protocol like HAProxy can transparently override these addresses with what is seen by the proxy.

82fb1ead38f4e1197993adb2f9c12e26531e9c92 30-Oct-2014 Timo Sirainen <tss@iki.fi>

*-login: And actually make the previous changes work.

d694a52bce62c52080c3f87a56dcf77030fd2712 16-Jun-2014 Timo Sirainen <tss@iki.fi>

login proxy: If passdb returns "source_ip" extra field, use it for outgoing connections.

2f90189c6ee66a17f7bf838a8eb8a69868630fb8 14-Jan-2014 Timo Sirainen <tss@iki.fi>

auth, login, mail: Added %{auth_user}, %{auth_username} and %{auth_domain} They expand to the SASL authentication ID. So if master user login is done, it expands to the master user. If username changes during authentication, it expands to the original username. Otherwise %{user} and %{auth_user} are equal.

ab281fc992907b6cf6c730f672dc3aa4c6685015 23-Dec-2013 Timo Sirainen <tss@iki.fi>

imap proxy: Added proxy_nopipelining passdb setting to work around other servers' bugs.

c7eb1ffb7c73cb5d9c1316bbecd02947441a40d4 22-Sep-2013 Timo Sirainen <tss@iki.fi>

*-login: Added %{orig_user}, %{orig_username} and %{orig_domain} variables. The original username is what the client sent to server before any translations.

de754cb78f75e8b3b994cddafe41c9ed1467c33d 26-Jun-2013 Timo Sirainen <tss@iki.fi>

lib-sasl: Use dsasl_ prefix so we don't conflict with Cyrus SASL library.

1093de32efb2a231949566d4bd8aa55a8f43fb70 09-Jun-2013 Timo Sirainen <tss@iki.fi>

imap/pop3-login: Use libsasl for authenticating to remote IMAP/POP3 server. Also passdb lookup can return "proxy_mech" extra field to specify which SASL mechanism to use.

325d17cdbb7a338f7c413788f5e8e42d2e80a7f8 22-Feb-2013 Timo Sirainen <tss@iki.fi>

auth: Added real_[lr]ip, real_[lr]port variables. The unreal ones differ when a trusted proxy overrides them.

da62041ae41e58c9e3ef91bd46c15484390c8247 18-Oct-2012 Timo Sirainen <tss@iki.fi>

login_log_format_elements: Added %{real_rip} variable. It differs from %r when Dovecot proxy sends an updated client IP address. Patch by Jack Bates.

bdd36cfdba3ff66d25570a9ff568d69e1eb543cf 03-Oct-2012 Timo Sirainen <tss@iki.fi>

Renamed network.[ch] to net.[ch]. The function prefixes already started with net_ instead of network_. And icecap wants to use network.h for other purpose. :)

/dovecot/src/auth/auth-client-connection.c /dovecot/src/auth/auth-master-connection.c /dovecot/src/auth/auth-penalty.c /dovecot/src/auth/auth-postfix-connection.c /dovecot/src/auth/auth-request-handler.c /dovecot/src/auth/auth-request.h /dovecot/src/auth/auth-worker-client.c /dovecot/src/auth/auth-worker-server.c /dovecot/src/auth/db-ldap.c /dovecot/src/auth/main.c /dovecot/src/auth/passdb-pam.c /dovecot/src/config/config-filter.h /dovecot/src/config/settings-get.pl /dovecot/src/director/auth-connection.c /dovecot/src/director/director-connection.c /dovecot/src/director/director-host.h /dovecot/src/director/director.h /dovecot/src/director/doveadm-connection.c /dovecot/src/director/login-connection.c /dovecot/src/director/mail-host.h /dovecot/src/doveadm/doveadm-director.c /dovecot/src/doveadm/doveadm-kick.c /dovecot/src/doveadm/doveadm-mail-index.c /dovecot/src/doveadm/doveadm-penalty.c /dovecot/src/doveadm/doveadm-stats.c /dovecot/src/doveadm/doveadm-util.c /dovecot/src/doveadm/doveadm-who.c /dovecot/src/doveadm/server-connection.c /dovecot/src/imap-login/client-authenticate.c /dovecot/src/imap-login/client.h /dovecot/src/imap-urlauth/imap-urlauth-client.c /dovecot/src/imap-urlauth/imap-urlauth-login.c /dovecot/src/imap-urlauth/imap-urlauth-worker.c /dovecot/src/imap/cmd-idle.c /dovecot/src/imap/cmd-urlfetch.c /dovecot/src/imap/imap-client.c /dovecot/src/lib-auth/auth-client.h /dovecot/src/lib-auth/auth-master.c /dovecot/src/lib-auth/auth-master.h /dovecot/src/lib-auth/auth-server-connection.c /dovecot/src/lib-dict/dict-client.c /dovecot/src/lib-dns/dns-lookup.c /dovecot/src/lib-imap-client/imapc-connection.c /dovecot/src/lib-imap-storage/imap-msgpart-url.c /dovecot/src/lib-imap-urlauth/imap-urlauth-connection.c /dovecot/src/lib-imap-urlauth/imap-urlauth-fetch.c /dovecot/src/lib-imap/imap-url.c /dovecot/src/lib-imap/test-imap-url.c /dovecot/src/lib-lda/lmtp-client.c /dovecot/src/lib-lda/lmtp-client.h /dovecot/src/lib-master/anvil-client.c /dovecot/src/lib-master/ipc-client.c /dovecot/src/lib-master/ipc-server.c /dovecot/src/lib-master/master-auth.h /dovecot/src/lib-master/master-login-auth.c /dovecot/src/lib-master/master-service-settings.h /dovecot/src/lib-master/master-service.h /dovecot/src/lib-settings/settings-parser.c /dovecot/src/lib-storage/index/pop3c/pop3c-client.c /dovecot/src/lib-storage/mail-storage-service.h /dovecot/src/lib-storage/mail-user.c /dovecot/src/lib/Makefile.am /dovecot/src/lib/connection.c /dovecot/src/lib/connection.h /dovecot/src/lib/failures.c /dovecot/src/lib/fd-close-on-exec.c /dovecot/src/lib/ioloop-notify-inotify.c /dovecot/src/lib/istream-file.c /dovecot/src/lib/net.c /dovecot/src/lib/net.h /dovecot/src/lib/ostream-file.c /dovecot/src/lib/sendfile-util.c /dovecot/src/lib/test-network.c /dovecot/src/lib/unix-socket-create.c /dovecot/src/lib/uri-util.c /dovecot/src/lmtp/client.h /dovecot/src/lmtp/lmtp-proxy.h access-lookup.c client-common.h login-proxy-state.c login-proxy.h ssl-proxy-gnutls.c ssl-proxy-openssl.c /dovecot/src/master/master-settings.c /dovecot/src/master/service-listen.c /dovecot/src/master/service.h /dovecot/src/plugins/fts/fts-indexer.c /dovecot/src/plugins/fts/fts-parser-script.c /dovecot/src/plugins/quota/quota.c /dovecot/src/plugins/replication/replication-plugin.c /dovecot/src/plugins/stats/stats-connection.c /dovecot/src/plugins/zlib/doveadm-zlib.c /dovecot/src/pop3-login/client.h /dovecot/src/pop3/pop3-client.c /dovecot/src/replication/aggregator/notify-connection.c /dovecot/src/replication/aggregator/replicator-connection.c /dovecot/src/replication/replicator/doveadm-connection.c /dovecot/src/stats/client-export.c /dovecot/src/stats/mail-stats.h /dovecot/src/util/rawlog.c
f29756821a4c6b12b73e4a2a3e1c230117a43773 28-Jul-2012 Timo Sirainen <tss@iki.fi>

Moved ssl_* settings from login-common to lib-master. This allows creating other SSL servers more easily.

6a9e034441607c0c5a61858ff559af4615ac31ca 17-Jul-2012 Timo Sirainen <tss@iki.fi>

login: Don't allow STARTTLS if ssl=no in client's settings, even if ssl=yes globally.

b66d803de86bfb411165b3465b0d9ef64ecfe2a1 25-Jun-2012 Timo Sirainen <tss@iki.fi>

Avoid using (void)s by adding ATTR_NOWARN_UNUSED_RESULT attributes and other ways.

/dovecot/src/auth/auth-worker-server.h /dovecot/src/auth/passdb-blocking.c /dovecot/src/auth/userdb-blocking.c /dovecot/src/doveadm/doveadm-mail-expunge.c /dovecot/src/doveadm/doveadm-mail.c /dovecot/src/doveadm/dsync/dsync-brain-mailbox-tree.c /dovecot/src/doveadm/dsync/dsync-brain-mailbox.c /dovecot/src/doveadm/dsync/dsync-brain-mails.c /dovecot/src/doveadm/dsync/dsync-slave-pipe.c /dovecot/src/doveadm/dsync/dsync-slave.c /dovecot/src/doveadm/dsync/dsync-slave.h /dovecot/src/doveadm/dsync/dsync-transaction-log-scan.c /dovecot/src/imap-login/client.c /dovecot/src/imap/cmd-append.c /dovecot/src/imap/imap-client.c /dovecot/src/imap/imap-common.h /dovecot/src/imap/imap-search.c /dovecot/src/imap/imap-sync.c /dovecot/src/imap/imap-sync.h /dovecot/src/lib-dict/dict-client.c /dovecot/src/lib-dict/dict-file.c /dovecot/src/lib-imap-client/imapc-connection.c /dovecot/src/lib-imap/imap-bodystructure.c /dovecot/src/lib-index/mail-index-strmap.c /dovecot/src/lib-index/mail-index-transaction.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-transaction-log-file.c /dovecot/src/lib-mail/istream-binary-converter.c /dovecot/src/lib-mail/message-decoder.c /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/rfc2231-parser.h /dovecot/src/lib-storage/index/dbox-multi/mdbox-mail.c /dovecot/src/lib-storage/index/dbox-single/sdbox-mail.c /dovecot/src/lib-storage/index/dbox-single/sdbox-sync.c /dovecot/src/lib-storage/index/index-storage.c /dovecot/src/lib-storage/index/index-thread.c /dovecot/src/lib-storage/index/index-transaction.c /dovecot/src/lib-storage/index/maildir/maildir-mail.c /dovecot/src/lib-storage/index/maildir/maildir-sync.c /dovecot/src/lib-storage/index/maildir/maildir-uidlist.c /dovecot/src/lib-storage/index/mbox/mbox-lock.c /dovecot/src/lib-storage/index/mbox/mbox-lock.h /dovecot/src/lib-storage/index/mbox/mbox-mail.c /dovecot/src/lib-storage/index/mbox/mbox-save.c /dovecot/src/lib-storage/index/mbox/mbox-storage.c /dovecot/src/lib-storage/index/mbox/mbox-sync.c /dovecot/src/lib-storage/index/pop3c/pop3c-client.c /dovecot/src/lib-storage/list/subscription-file.c /dovecot/src/lib-storage/mail-storage.c /dovecot/src/lib-storage/mail-storage.h /dovecot/src/lib-storage/mailbox-list.h /dovecot/src/lib-test/test-common.c /dovecot/src/lib/bsearch-insert-pos.h /dovecot/src/lib/file-dotlock.c /dovecot/src/lib/file-dotlock.h /dovecot/src/lib/iostream-rawlog.h /dovecot/src/lib/istream-base64-encoder.c /dovecot/src/lib/istream-data.c /dovecot/src/lib/istream-private.h /dovecot/src/lib/istream.c /dovecot/src/lib/network.h client-common-auth.c client-common.h login-proxy.c ssl-proxy-gnutls.c ssl-proxy-openssl.c /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-solr/fts-backend-solr-old.c /dovecot/src/plugins/fts-solr/fts-backend-solr.c /dovecot/src/plugins/fts/fts-api-private.h /dovecot/src/plugins/fts/fts-api.c /dovecot/src/plugins/fts/fts-parser-script.c /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/imap-acl/imap-acl-plugin.c /dovecot/src/plugins/imap-quota/imap-quota-plugin.c /dovecot/src/plugins/imap-zlib/imap-zlib-plugin.c /dovecot/src/pop3/pop3-client.c
ca843e046e98b12f4730f4b87ee2e1a659c26e78 16-May-2012 Timo Sirainen <tss@iki.fi>

login: If user is disabled or password expired, say it in logout reason.

e7dd5065d21c569e5e6ddd713bd345dadd1cf51d 25-Apr-2012 Timo Sirainen <tss@iki.fi>

SSL proxying: Remote's host never matched cert, because auth process changed it to IP. Now the "host" parameter isn't changed, but a new optional "hostip" parameter contains the IP address where to connect to.

b55f914c0ade77252cfd798ea8eb9a84bda56315 07-Mar-2012 Timo Sirainen <tss@iki.fi>

Added a "session ID" string for imap/pop3 connections, available in %{session} variable. The session ID passes through Dovecot IMAP/POP3 proxying to backend server. The same session ID is can be reused after a long time (currently a bit under 9 years).

7a94f950fd1dcc81537acfc8adb030b5e703d722 01-Mar-2012 Timo Sirainen <tss@iki.fi>

login: If session timeouts after authentication, log a better error about it.

ddbdc644a15f56f4b43596f1b8c0fc196c101445 25-Feb-2012 Timo Sirainen <tss@iki.fi>

imap/pop3/lmtp proxy: Implemented detection of proxy loops with TTL. If proxying tries to continue after 5 forward connections, it fails. The limit of 5 is hard coded currently.

12c6ef6f1268ed4d5b63709bb4215c481b4f078c 25-Feb-2012 Timo Sirainen <tss@iki.fi>

login-common: Code cleanup

717bb0dbaf4bd3f745669570647845e6d493bfe0 15-Feb-2012 Timo Sirainen <tss@iki.fi>

login: If auth client disconnects without having ever succeeded, destroy clients.

9f627b360ed38fdc54cb02ec5e67246c3f0d5b0f 12-Feb-2012 Timo Sirainen <tss@iki.fi>

login-common API made more extensible for different kinds of protocols. Patch by Stephan Bosch.

80980955bb1bbcc1bd73623fe0912f334194ddd2 27-Jan-2012 Timo Sirainen <tss@iki.fi>

login proxy: If remote auth fails, say so in disconnect message instead of "internal failure".

7fa573e6ea36024f618492e7d3649a69c1b41028 22-Jan-2012 Timo Sirainen <tss@iki.fi>

login: Make SASL auth buffer size define public.

decb23442f9e6cd5c4845a9cb162029b8c6d5f0f 19-Jan-2012 Timo Sirainen <tss@iki.fi>

imap-login: Handle SASL-IR without overflowing master_auth_request's buffer.

b9c76fe9d9ca194816606342da1ddbd9be6bc8ab 12-Jan-2012 Timo Sirainen <tss@iki.fi>

login: Added logging if auth process doesn't respond fast enough for greeting.

60216d65b8657b172adc9e8f95bf243f74c4177f 03-Jan-2012 Timo Sirainen <tss@iki.fi>

imap-login: LOGIN_MAX_INBUF_SIZE was too small, because of SASL-IR extension

aebfda1f6e3a924c31e8f54237b81fabf4b2264c 24-Nov-2011 Timo Sirainen <tss@iki.fi>

login: Save final SASL reply to client struct.

6998ca95b4947c90647ac5d4794ebd6311acada2 19-Nov-2011 Timo Sirainen <tss@iki.fi>

login: Log a different disconnect message if client didn't finish SASL auth.

7c849dbc7be089175c1a83a84ee7249ed695810d 18-Nov-2011 Timo Sirainen <tss@iki.fi>

login: Differentiate between auth failure and auth process communication failure. Log a warning if auth connection dies.

28dae6a0064e79f86da091625b0f2b92336a2a91 16-Nov-2011 Timo Sirainen <tss@iki.fi>

login: Improved auth failed log messages.

843640f0ca224bb9999acb290bca5f76037ab984 08-Nov-2011 Timo Sirainen <tss@iki.fi>

login: If login fails for some reason, but auth was successful, don't log "auth failed". For example if proxy fails to connect to remote server.

93c3674da4dc3d179abdf01b4a0d986d89397325 25-Oct-2011 Timo Sirainen <tss@iki.fi>

login: When renegotiating SSL handshake, don't reread settings when TLS SNI is used.

5a250816ffc4cc5db203f9410ea99b6601c7b91a 30-Apr-2011 Timo Sirainen <tss@iki.fi>

login-common API redesign so that the library doesn't refer to nonexistent variables.

38cb3d139aefb7c65919cf4aba5ded7b5fd50e6f 28-Sep-2010 Timo Sirainen <tss@iki.fi>

login: If master login fails, tell auth process to free the auth request.

3612ee5c737954d5fb88fd1775aad80f7bf1dc4e 12-Aug-2010 Timo Sirainen <tss@iki.fi>

login proxy: Show proxy state in "disconnected" error message.

6303191abcb37164f435ccdc56e9dbddf1288851 19-May-2010 Timo Sirainen <tss@iki.fi>

login proxy: If passdb returns proxy_refresh=<secs>, send username to proxy-notify fifo every n secs. --HG-- branch : HEAD

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

5a9e240ebf8d0daaf029973973b52e415148070b 08-Mar-2010 Timo Sirainen <tss@iki.fi>

login: Always disconnect clients after 3 minutes if they haven't logged in. --HG-- branch : HEAD

660b99a7059824676b2b8d6f79b8e15d47df25a2 10-Nov-2009 Timo Sirainen <tss@iki.fi>

*-login: Removed per-connection auth failure penalties. Trust auth server to do it. --HG-- branch : HEAD

f059a046515f4b2b15a6c2a10a6f12f6166e39a5 21-Oct-2009 Timo Sirainen <tss@iki.fi>

imap-login: If imap_capability is set, use it. --HG-- branch : HEAD

9137c55411aa39d41c1e705ddc34d5bd26c65021 07-Oct-2009 Timo Sirainen <tss@iki.fi>

lib-auth: Changed API to connect to only a single specified auth socket. Login processes now always connect to socket called "auth". --HG-- branch : HEAD

3ffb7fd86484c474b42f3f1e981ab0f7168b5df9 05-Oct-2009 Timo Sirainen <tss@iki.fi>

*-login: Log more precise reasons for some auth failures. --HG-- branch : HEAD

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

*-login: Fixes to SSL/login proxy connection counting. --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

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

*-login: Allow backend to parse SASL responses from client (for managesieve). --HG-- branch : HEAD

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

login proxy: Added client_proxy passdb extra field to specify proxy's connect timeout. --HG-- branch : HEAD

4c6ddf2491104f917d00e6900e833e80ea02c7b6 12-Aug-2009 Timo Sirainen <tss@iki.fi>

*-login: Abstract out SASL continue reply sending (for managesieve). --HG-- branch : HEAD

e248fe370c4047cee921a91b48edc37944ab0526 10-Aug-2009 Timo Sirainen <tss@iki.fi>

*-login: Moved most of the common code to login-common. --HG-- branch : HEAD

00fa8dcbc66f56daa737487c9dec7166c37de79e 09-Aug-2009 Timo Sirainen <tss@iki.fi>

*-login: Use a common client_send_line() API. --HG-- branch : HEAD

bbba7d0fce1b6ce5baa2d7ef946eb1b63e2ab518 28-May-2009 Timo Sirainen <tss@iki.fi>

imap-login now advertises only pre-login capabilities. If client had used CAPABILITY command before logging in, untagged CAPABILITY is sent to client in the hope that client understands this. This change could get reverted if it breaks too many clients. --HG-- branch : HEAD

97db4761382024093f441e4bc78ba8b6a056504d 15-May-2009 Timo Sirainen <tss@iki.fi>

login processes: Added initial support for per-connection configuration. --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 /dovecot/src/lib-master/Makefile.am /dovecot/src/lib-master/master-auth.c /dovecot/src/lib-master/master-auth.h /dovecot/src/lib-master/master-interface.h /dovecot/src/lib-master/master-service-private.h /dovecot/src/lib-master/master-service-settings.c /dovecot/src/lib-master/master-service.c /dovecot/src/lib-master/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 Makefile.am client-common.h common.h login-proxy.c login-proxy.h login-settings.c login-settings.h main.c master.c master.h sasl-server.c sasl-server.h ssl-proxy-openssl.c ssl-proxy.c 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
8372fc7efb6d64dff2e5f55fb4a3822c56869cfe 21-Dec-2008 Timo Sirainen <tss@iki.fi>

imap/pop3-login: Cleaned up proxying code. Don't disconnect client on proxy failures. Log proxy failures as errors. --HG-- branch : HEAD

38318f5e82662615cd88e99e398efe4a630ce020 19-Oct-2008 Timo Sirainen <tss@iki.fi>

Login process: Log auth failure reasons better in disconnect message. For example if client certs are required it now logs if the cert wasn't sent or if the cert was invalid. --HG-- branch : HEAD

087939d3fa9c4056419386c9d6c81f147de534cd 13-Aug-2008 Timo Sirainen <tss@iki.fi>

Pass the created mail process PID back to login process so it can log it. Added %e log format element for it. --HG-- branch : HEAD

8dec1377c7cf33823da5d8f831d10cb82333bc8b 21-Jun-2008 Timo Sirainen <tss@iki.fi>

Just send CAPABILITY response code for all LOGIN/AUTHENTICATE commands. Simplifies things and Lemonade spec specifies it as a "MUST be sent" anyway. --HG-- branch : HEAD

7753eaa6a4275e074b4ce8428b85d9d04fc67f31 20-Jun-2008 Timo Sirainen <tss@iki.fi>

Send login command OK reply in IMAP/POP3 process. --HG-- branch : HEAD

cd94aeaa294f7cc507206b4b2075852f00e14d61 20-Jun-2008 Timo Sirainen <tss@iki.fi>

If commands are pipelined after the login command, pass them to the IMAP/POP3 process so it can process the command instead of discarding it. --HG-- branch : HEAD

89795c6bbbc52bb382e88bc8617d22092223e9a5 21-Jun-2008 Timo Sirainen <tss@iki.fi>

Support transferring original IPs and ports through IMAP proxies. Clients from login_trusted_networks are allowed to override them. Dovecot's IMAP proxy sends them via IMAP ID command. They're always sent if the remote advertises ID in the banner's CAPABILITY. --HG-- branch : HEAD

68a4946b12583b88fa802e52ebee45cd96056772 20-Jun-2008 Timo Sirainen <tss@iki.fi>

Added more consts, ATTR_CONSTs and ATTR_PUREs. --HG-- branch : HEAD

/dovecot/src/imap/commands-util.c /dovecot/src/imap/commands-util.h /dovecot/src/lib-charset/charset-utf8.h /dovecot/src/lib-imap/imap-bodystructure.c /dovecot/src/lib-imap/imap-bodystructure.h /dovecot/src/lib-mail/message-header-parser.c /dovecot/src/lib-mail/message-header-parser.h /dovecot/src/lib-storage/mail-namespace.c /dovecot/src/lib-storage/mail-namespace.h /dovecot/src/lib-storage/mail-storage.c /dovecot/src/lib-storage/mail-storage.h /dovecot/src/lib-storage/mailbox-list.c /dovecot/src/lib-storage/mailbox-list.h /dovecot/src/lib/aqueue.h /dovecot/src/lib/array.c /dovecot/src/lib/array.h /dovecot/src/lib/buffer.c /dovecot/src/lib/buffer.h /dovecot/src/lib/crc32.h /dovecot/src/lib/data-stack.h /dovecot/src/lib/hash.h /dovecot/src/lib/hex-dec.h /dovecot/src/lib/istream.c /dovecot/src/lib/istream.h /dovecot/src/lib/lib.h /dovecot/src/lib/network.h /dovecot/src/lib/ostream-file.c /dovecot/src/lib/ostream-internal.h /dovecot/src/lib/ostream.c /dovecot/src/lib/ostream.h /dovecot/src/lib/primes.h /dovecot/src/lib/priorityq.h /dovecot/src/lib/seq-range-array.h /dovecot/src/lib/str.h /dovecot/src/lib/strfuncs.h /dovecot/src/lib/unichar.h /dovecot/src/lib/var-expand.h client-common.h login-proxy.c login-proxy.h ssl-proxy-openssl.c ssl-proxy.c ssl-proxy.h
caea325346da6fb1cf503b35a619467a997acbfa 06-Jan-2008 Timo Sirainen <tss@iki.fi>

Added clients_init() and clients_deinit() back (for Managesieve). --HG-- branch : HEAD

ad004e44be109684521494b5af2ad1da39b8bb27 04-Jan-2008 Timo Sirainen <tss@iki.fi>

Forgot from imap/pop3-login clients hash -> linked list commit. --HG-- branch : HEAD

02ccba3d3be96444abd15b5254864c9151bbeb30 11-Dec-2007 Timo Sirainen <tss@iki.fi>

Instead of logging only "Aborted login", log also if client tried to use plaintext auth, or if not log the number of authentication attempts. --HG-- branch : HEAD

6a3487123ea51203c01b99af3e309a07d3444a0f 18-Nov-2007 Timo Sirainen <tss@iki.fi>

Disable processing input while it's not expected, otherwise we could get there and crash while master is processing the login. Also allow client to send the SASL data within the same IP packet as the AUTH/AUTHENTICATE command without hanging. --HG-- branch : HEAD

c25356d5978632df6203437e1953bcb29e0c736f 16-Sep-2007 Timo Sirainen <tss@iki.fi>

Changed .h ifdef/defines to use <NAME>_H format. --HG-- branch : HEAD

/dovecot/src/auth/auth-cache.h /dovecot/src/auth/auth-client-connection.h /dovecot/src/auth/auth-client-interface.h /dovecot/src/auth/auth-master-connection.h /dovecot/src/auth/auth-master-interface.h /dovecot/src/auth/auth-master-listener.h /dovecot/src/auth/auth-request-handler.h /dovecot/src/auth/auth-request.h /dovecot/src/auth/auth-stream.h /dovecot/src/auth/auth-worker-client.h /dovecot/src/auth/auth-worker-server.h /dovecot/src/auth/auth.h /dovecot/src/auth/common.h /dovecot/src/auth/db-ldap.h /dovecot/src/auth/db-passwd-file.h /dovecot/src/auth/db-sql.h /dovecot/src/auth/mech.h /dovecot/src/auth/mycrypt.h /dovecot/src/auth/otp-skey-common.h /dovecot/src/auth/passdb-blocking.h /dovecot/src/auth/passdb-cache.h /dovecot/src/auth/passdb.h /dovecot/src/auth/password-scheme.h /dovecot/src/auth/plain-common.h /dovecot/src/auth/userdb-blocking.h /dovecot/src/auth/userdb-static.h /dovecot/src/auth/userdb-vpopmail.h /dovecot/src/auth/userdb.h /dovecot/src/deliver/auth-client.h /dovecot/src/deliver/deliver.h /dovecot/src/deliver/duplicate.h /dovecot/src/deliver/mail-send.h /dovecot/src/deliver/smtp-client.h /dovecot/src/dict/dict-cache.h /dovecot/src/dict/dict-server.h /dovecot/src/imap-login/client-authenticate.h /dovecot/src/imap-login/client.h /dovecot/src/imap-login/imap-proxy.h /dovecot/src/imap/client.h /dovecot/src/imap/commands-util.h /dovecot/src/imap/commands.h /dovecot/src/imap/common.h /dovecot/src/imap/imap-expunge.h /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-messageset.h /dovecot/src/imap/imap-search.h /dovecot/src/imap/imap-sort.h /dovecot/src/imap/imap-status.h /dovecot/src/imap/imap-sync.h /dovecot/src/imap/imap-thread.h /dovecot/src/lib-auth/auth-client.h /dovecot/src/lib-auth/auth-server-connection.h /dovecot/src/lib-auth/auth-server-request.h /dovecot/src/lib-charset/charset-utf8.h /dovecot/src/lib-dict/dict-client.h /dovecot/src/lib-dict/dict-private.h /dovecot/src/lib-dict/dict-sql.h /dovecot/src/lib-dict/dict.h /dovecot/src/lib-imap/imap-base-subject.h /dovecot/src/lib-imap/imap-bodystructure.h /dovecot/src/lib-imap/imap-date.h /dovecot/src/lib-imap/imap-envelope.h /dovecot/src/lib-imap/imap-match.h /dovecot/src/lib-imap/imap-parser.h /dovecot/src/lib-imap/imap-quote.h /dovecot/src/lib-imap/imap-util.h /dovecot/src/lib-index/mail-cache-private.h /dovecot/src/lib-index/mail-cache.h /dovecot/src/lib-index/mail-hash.h /dovecot/src/lib-index/mail-index-private.h /dovecot/src/lib-index/mail-index-sync-private.h /dovecot/src/lib-index/mail-index-transaction-private.h /dovecot/src/lib-index/mail-index-view-private.h /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-transaction-log-private.h /dovecot/src/lib-index/mail-transaction-log.h /dovecot/src/lib-index/mailbox-list-index-private.h /dovecot/src/lib-index/mailbox-list-index.h /dovecot/src/lib-mail/istream-header-filter.h /dovecot/src/lib-mail/mail-types.h /dovecot/src/lib-mail/message-address.h /dovecot/src/lib-mail/message-date.h /dovecot/src/lib-mail/message-decoder.h /dovecot/src/lib-mail/message-header-decode.h /dovecot/src/lib-mail/message-header-parser.h /dovecot/src/lib-mail/message-id.h /dovecot/src/lib-mail/message-parser.h /dovecot/src/lib-mail/message-part-serialize.h /dovecot/src/lib-mail/message-search.h /dovecot/src/lib-mail/message-send.h /dovecot/src/lib-mail/message-size.h /dovecot/src/lib-mail/quoted-printable.h /dovecot/src/lib-mail/rfc822-parser.h /dovecot/src/lib-ntlm/ntlm-byteorder.h /dovecot/src/lib-ntlm/ntlm-des.h /dovecot/src/lib-ntlm/ntlm-encrypt.h /dovecot/src/lib-ntlm/ntlm-flags.h /dovecot/src/lib-ntlm/ntlm-message.h /dovecot/src/lib-ntlm/ntlm-types.h /dovecot/src/lib-ntlm/ntlm.h /dovecot/src/lib-otp/otp-dictionary.h /dovecot/src/lib-otp/otp-hash.h /dovecot/src/lib-otp/otp-parity.h /dovecot/src/lib-otp/otp-parse.h /dovecot/src/lib-otp/otp.h /dovecot/src/lib-settings/settings.h /dovecot/src/lib-sql/sql-api-private.h /dovecot/src/lib-sql/sql-api.h /dovecot/src/lib-storage/index/cydir/cydir-storage.h /dovecot/src/lib-storage/index/cydir/cydir-sync.h /dovecot/src/lib-storage/index/dbox/dbox-file.h /dovecot/src/lib-storage/index/dbox/dbox-index.h /dovecot/src/lib-storage/index/dbox/dbox-storage.h /dovecot/src/lib-storage/index/dbox/dbox-sync.h /dovecot/src/lib-storage/index/index-mail.h /dovecot/src/lib-storage/index/index-sort.h /dovecot/src/lib-storage/index/index-storage.h /dovecot/src/lib-storage/index/index-sync-changes.h /dovecot/src/lib-storage/index/maildir/maildir-filename.h /dovecot/src/lib-storage/index/maildir/maildir-keywords.h /dovecot/src/lib-storage/index/maildir/maildir-storage.h /dovecot/src/lib-storage/index/maildir/maildir-sync.h /dovecot/src/lib-storage/index/maildir/maildir-uidlist.h /dovecot/src/lib-storage/index/mbox/istream-raw-mbox.h /dovecot/src/lib-storage/index/mbox/mbox-file.h /dovecot/src/lib-storage/index/mbox/mbox-from.h /dovecot/src/lib-storage/index/mbox/mbox-lock.h /dovecot/src/lib-storage/index/mbox/mbox-md5.h /dovecot/src/lib-storage/index/mbox/mbox-storage.h /dovecot/src/lib-storage/index/mbox/mbox-sync-private.h /dovecot/src/lib-storage/list/index-mailbox-list.h /dovecot/src/lib-storage/list/mailbox-list-fs.h /dovecot/src/lib-storage/list/mailbox-list-maildir.h /dovecot/src/lib-storage/list/mailbox-list-subscriptions.h /dovecot/src/lib-storage/list/subscription-file.h /dovecot/src/lib-storage/mail-copy.h /dovecot/src/lib-storage/mail-error.h /dovecot/src/lib-storage/mail-namespace.h /dovecot/src/lib-storage/mail-search.h /dovecot/src/lib-storage/mail-storage-private.h /dovecot/src/lib-storage/mail-storage.h /dovecot/src/lib-storage/mailbox-list-private.h /dovecot/src/lib-storage/mailbox-list.h /dovecot/src/lib-storage/mailbox-tree.h /dovecot/src/lib/array-decl.h /dovecot/src/lib/array.h /dovecot/src/lib/backtrace-string.h /dovecot/src/lib/base64.h /dovecot/src/lib/bsearch-insert-pos.h /dovecot/src/lib/buffer.h /dovecot/src/lib/close-keep-errno.h /dovecot/src/lib/compat.h /dovecot/src/lib/crc32.h /dovecot/src/lib/data-stack.h /dovecot/src/lib/env-util.h /dovecot/src/lib/failures.h /dovecot/src/lib/fd-close-on-exec.h /dovecot/src/lib/fd-set-nonblock.h /dovecot/src/lib/fdpass.h /dovecot/src/lib/file-cache.h /dovecot/src/lib/file-copy.h /dovecot/src/lib/file-dotlock.h /dovecot/src/lib/file-lock.h /dovecot/src/lib/file-set-size.h /dovecot/src/lib/hash.h /dovecot/src/lib/hex-binary.h /dovecot/src/lib/hex-dec.h /dovecot/src/lib/hmac-md5.h /dovecot/src/lib/home-expand.h /dovecot/src/lib/hostpid.h /dovecot/src/lib/imem.h /dovecot/src/lib/ioloop-internal.h /dovecot/src/lib/ioloop-iolist.h /dovecot/src/lib/ioloop-notify-fd.h /dovecot/src/lib/ioloop.h /dovecot/src/lib/iostream-internal.h /dovecot/src/lib/istream-internal.h /dovecot/src/lib/istream-seekable.h /dovecot/src/lib/istream-tee.h /dovecot/src/lib/istream.h /dovecot/src/lib/lib-signals.h /dovecot/src/lib/lib.h /dovecot/src/lib/macros.h /dovecot/src/lib/md4.h /dovecot/src/lib/md5.h /dovecot/src/lib/mempool.h /dovecot/src/lib/mkdir-parents.h /dovecot/src/lib/mmap-util.h /dovecot/src/lib/module-context.h /dovecot/src/lib/module-dir.h /dovecot/src/lib/mountpoint.h /dovecot/src/lib/network.h /dovecot/src/lib/nfs-workarounds.h /dovecot/src/lib/ostream-crlf.h /dovecot/src/lib/ostream-internal.h /dovecot/src/lib/ostream.h /dovecot/src/lib/primes.h /dovecot/src/lib/printf-format-fix.h /dovecot/src/lib/process-title.h /dovecot/src/lib/randgen.h /dovecot/src/lib/read-full.h /dovecot/src/lib/restrict-access.h /dovecot/src/lib/restrict-process-size.h /dovecot/src/lib/safe-memset.h /dovecot/src/lib/safe-mkdir.h /dovecot/src/lib/safe-mkstemp.h /dovecot/src/lib/sendfile-util.h /dovecot/src/lib/seq-range-array.h /dovecot/src/lib/sha1.h /dovecot/src/lib/str-find.h /dovecot/src/lib/str-sanitize.h /dovecot/src/lib/str.h /dovecot/src/lib/strescape.h /dovecot/src/lib/strfuncs.h /dovecot/src/lib/unichar.h /dovecot/src/lib/unix-socket-create.h /dovecot/src/lib/unlink-directory.h /dovecot/src/lib/unlink-lockfiles.h /dovecot/src/lib/utc-mktime.h /dovecot/src/lib/utc-offset.h /dovecot/src/lib/var-expand.h /dovecot/src/lib/write-full.h client-common.h common.h login-proxy.h master.h sasl-server.h ssl-proxy.h /dovecot/src/master/askpass.h /dovecot/src/master/auth-process.h /dovecot/src/master/capabilities.h /dovecot/src/master/child-process.h /dovecot/src/master/common.h /dovecot/src/master/dict-process.h /dovecot/src/master/dup2-array.h /dovecot/src/master/listener.h /dovecot/src/master/log.h /dovecot/src/master/login-process.h /dovecot/src/master/mail-process.h /dovecot/src/master/master-login-interface.h /dovecot/src/master/master-settings.h /dovecot/src/master/ssl-init.h /dovecot/src/master/syslog-util.h /dovecot/src/plugins/acl/acl-api-private.h /dovecot/src/plugins/acl/acl-api.h /dovecot/src/plugins/acl/acl-backend-vfile.h /dovecot/src/plugins/acl/acl-cache.h /dovecot/src/plugins/acl/acl-plugin.h /dovecot/src/plugins/convert/convert-plugin.h /dovecot/src/plugins/convert/convert-storage.h /dovecot/src/plugins/expire/auth-client.h /dovecot/src/plugins/expire/expire-env.h /dovecot/src/plugins/expire/expire-plugin.h /dovecot/src/plugins/fts-lucene/fts-lucene-plugin.h /dovecot/src/plugins/fts-lucene/lucene-wrapper.h /dovecot/src/plugins/fts-squat/fts-squat-plugin.h /dovecot/src/plugins/fts-squat/squat-trie-private.h /dovecot/src/plugins/fts-squat/squat-trie.h /dovecot/src/plugins/fts-squat/squat-uidlist.h /dovecot/src/plugins/fts/fts-api-private.h /dovecot/src/plugins/fts/fts-api.h /dovecot/src/plugins/fts/fts-plugin.h /dovecot/src/plugins/imap-quota/imap-quota-plugin.h /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.h /dovecot/src/plugins/mail-log/mail-log-plugin.h /dovecot/src/plugins/mbox-snarf/mbox-snarf-plugin.h /dovecot/src/plugins/quota/quota-fs.h /dovecot/src/plugins/quota/quota-plugin.h /dovecot/src/plugins/quota/quota-private.h /dovecot/src/plugins/quota/quota.h /dovecot/src/plugins/trash/trash-plugin.h /dovecot/src/plugins/zlib/istream-zlib.h /dovecot/src/plugins/zlib/zlib-plugin.h /dovecot/src/pop3-login/client-authenticate.h /dovecot/src/pop3-login/client.h /dovecot/src/pop3-login/pop3-proxy.h /dovecot/src/pop3/capability.h /dovecot/src/pop3/client.h /dovecot/src/pop3/commands.h /dovecot/src/pop3/common.h
12cf3d0e03fc70fb0c8b91bc8fd83b4e14d7cdef 03-Dec-2006 Timo Sirainen <tss@iki.fi>

Added %a=local port and %b=remote port variables for login_log_format_elements. --HG-- branch : HEAD

feb665db52583259a1f42037c6e8a22852aa8889 07-Nov-2006 Timo Sirainen <tss@iki.fi>

Crashfixes and more asserts. Mostly related to use of AUTHENTICATE/AUTH commands. --HG-- branch : HEAD

71f1783adc89b4fe3588c72b23e059b320da8fad 10-Aug-2006 Timo Sirainen <tss@iki.fi>

Fixes for handling near-full connection queues. --HG-- branch : HEAD

6ef7e31619edfaa17ed044b45861d106a86191ef 13-Jan-2006 Timo Sirainen <tss@iki.fi>

Added "bool" type and changed all ints that were used as booleans to bool. --HG-- branch : HEAD

/dovecot/configure.in /dovecot/src/auth/auth-cache.c /dovecot/src/auth/auth-cache.h /dovecot/src/auth/auth-client-connection.c /dovecot/src/auth/auth-master-connection.c /dovecot/src/auth/auth-master-listener.c /dovecot/src/auth/auth-master-listener.h /dovecot/src/auth/auth-request-handler.c /dovecot/src/auth/auth-request-handler.h /dovecot/src/auth/auth-request.c /dovecot/src/auth/auth-request.h /dovecot/src/auth/auth-worker-client.c /dovecot/src/auth/auth.c /dovecot/src/auth/auth.h /dovecot/src/auth/common.h /dovecot/src/auth/db-ldap.c /dovecot/src/auth/db-ldap.h /dovecot/src/auth/db-passwd-file.c /dovecot/src/auth/db-passwd-file.h /dovecot/src/auth/main.c /dovecot/src/auth/mech-apop.c /dovecot/src/auth/mech-cram-md5.c /dovecot/src/auth/mech-digest-md5.c /dovecot/src/auth/mech-ntlm.c /dovecot/src/auth/mech-rpa.c /dovecot/src/auth/passdb-bsdauth.c /dovecot/src/auth/passdb-cache.c /dovecot/src/auth/passdb-cache.h /dovecot/src/auth/passdb-pam.c /dovecot/src/auth/passdb-passwd.c /dovecot/src/auth/passdb-shadow.c /dovecot/src/auth/passdb.h /dovecot/src/auth/password-scheme.c /dovecot/src/auth/password-scheme.h /dovecot/src/auth/userdb-ldap.c /dovecot/src/auth/userdb-prefetch.c /dovecot/src/auth/userdb.h /dovecot/src/imap-login/client-authenticate.c /dovecot/src/imap-login/client-authenticate.h /dovecot/src/imap-login/client.c /dovecot/src/imap-login/client.h /dovecot/src/imap/client.c /dovecot/src/imap/client.h /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-authenticate.c /dovecot/src/imap/cmd-capability.c /dovecot/src/imap/cmd-check.c /dovecot/src/imap/cmd-close.c /dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-create.c /dovecot/src/imap/cmd-delete.c /dovecot/src/imap/cmd-examine.c /dovecot/src/imap/cmd-expunge.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/cmd-idle.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-login.c /dovecot/src/imap/cmd-logout.c /dovecot/src/imap/cmd-lsub.c /dovecot/src/imap/cmd-namespace.c /dovecot/src/imap/cmd-noop.c /dovecot/src/imap/cmd-rename.c /dovecot/src/imap/cmd-search.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-sort.c /dovecot/src/imap/cmd-status.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/cmd-subscribe.c /dovecot/src/imap/cmd-thread.c /dovecot/src/imap/cmd-uid.c /dovecot/src/imap/cmd-unselect.c /dovecot/src/imap/cmd-unsubscribe.c /dovecot/src/imap/commands-util.c /dovecot/src/imap/commands-util.h /dovecot/src/imap/commands.c /dovecot/src/imap/commands.h /dovecot/src/imap/imap-expunge.c /dovecot/src/imap/imap-expunge.h /dovecot/src/imap/imap-fetch-body.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-search.c /dovecot/src/imap/imap-search.h /dovecot/src/imap/imap-sort.c /dovecot/src/imap/imap-sync.c /dovecot/src/imap/imap-sync.h /dovecot/src/imap/imap-thread.c /dovecot/src/imap/namespace.c /dovecot/src/lib-auth/auth-client.c /dovecot/src/lib-auth/auth-client.h /dovecot/src/lib-auth/auth-server-connection.c /dovecot/src/lib-auth/auth-server-connection.h /dovecot/src/lib-auth/auth-server-request.c /dovecot/src/lib-auth/auth-server-request.h /dovecot/src/lib-charset/charset-iconv.c /dovecot/src/lib-charset/charset-utf8.c /dovecot/src/lib-charset/charset-utf8.h /dovecot/src/lib-dict/dict-client.c /dovecot/src/lib-dict/dict-private.h /dovecot/src/lib-dict/dict-sql.c /dovecot/src/lib-dict/dict.c /dovecot/src/lib-dict/dict.h /dovecot/src/lib-imap/imap-base-subject.c /dovecot/src/lib-imap/imap-base-subject.h /dovecot/src/lib-imap/imap-bodystructure.c /dovecot/src/lib-imap/imap-bodystructure.h /dovecot/src/lib-imap/imap-date.c /dovecot/src/lib-imap/imap-date.h /dovecot/src/lib-imap/imap-envelope.c /dovecot/src/lib-imap/imap-envelope.h /dovecot/src/lib-imap/imap-match.c /dovecot/src/lib-imap/imap-match.h /dovecot/src/lib-imap/imap-parser.c /dovecot/src/lib-imap/imap-parser.h /dovecot/src/lib-imap/imap-quote.c /dovecot/src/lib-imap/imap-quote.h /dovecot/src/lib-index/mail-cache-compress.c /dovecot/src/lib-index/mail-cache-lookup.c /dovecot/src/lib-index/mail-cache-transaction.c /dovecot/src/lib-index/mail-cache.c /dovecot/src/lib-index/mail-cache.h /dovecot/src/lib-index/mail-index-fsck.c /dovecot/src/lib-index/mail-index-lock.c /dovecot/src/lib-index/mail-index-private.h /dovecot/src/lib-index/mail-index-sync-ext.c /dovecot/src/lib-index/mail-index-sync-private.h /dovecot/src/lib-index/mail-index-sync-update.c /dovecot/src/lib-index/mail-index-sync.c /dovecot/src/lib-index/mail-index-transaction-private.h /dovecot/src/lib-index/mail-index-transaction.c /dovecot/src/lib-index/mail-index-view-private.h /dovecot/src/lib-index/mail-index-view-sync.c /dovecot/src/lib-index/mail-index-view.c /dovecot/src/lib-index/mail-index.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-transaction-log-append.c /dovecot/src/lib-index/mail-transaction-log-private.h /dovecot/src/lib-index/mail-transaction-log-view.c /dovecot/src/lib-index/mail-transaction-log.c /dovecot/src/lib-index/mail-transaction-log.h /dovecot/src/lib-mail/istream-header-filter.c /dovecot/src/lib-mail/istream-header-filter.h /dovecot/src/lib-mail/message-address.c /dovecot/src/lib-mail/message-body-search.c /dovecot/src/lib-mail/message-body-search.h /dovecot/src/lib-mail/message-content-parser.c /dovecot/src/lib-mail/message-content-parser.h /dovecot/src/lib-mail/message-date.c /dovecot/src/lib-mail/message-date.h /dovecot/src/lib-mail/message-header-decode.c /dovecot/src/lib-mail/message-header-decode.h /dovecot/src/lib-mail/message-header-search.c /dovecot/src/lib-mail/message-header-search.h /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-parser.h /dovecot/src/lib-mail/message-part-serialize.c /dovecot/src/lib-mail/message-send.c /dovecot/src/lib-mail/message-send.h /dovecot/src/lib-mail/message-size.c /dovecot/src/lib-mail/message-size.h /dovecot/src/lib-ntlm/ntlm-encrypt.c /dovecot/src/lib-ntlm/ntlm-message.c /dovecot/src/lib-ntlm/ntlm-message.h /dovecot/src/lib-ntlm/ntlm.h /dovecot/src/lib-settings/settings.c /dovecot/src/lib-settings/settings.h /dovecot/src/lib-sql/driver-mysql.c /dovecot/src/lib-sql/driver-pgsql.c /dovecot/src/lib-storage/index/dbox/dbox-list.c /dovecot/src/lib-storage/index/dbox/dbox-mail.c /dovecot/src/lib-storage/index/dbox/dbox-save.c /dovecot/src/lib-storage/index/dbox/dbox-storage.c /dovecot/src/lib-storage/index/dbox/dbox-storage.h /dovecot/src/lib-storage/index/dbox/dbox-sync-expunge.c /dovecot/src/lib-storage/index/dbox/dbox-sync.c /dovecot/src/lib-storage/index/dbox/dbox-sync.h /dovecot/src/lib-storage/index/dbox/dbox-uidlist.c /dovecot/src/lib-storage/index/index-mail-headers.c /dovecot/src/lib-storage/index/index-mail.c /dovecot/src/lib-storage/index/index-mailbox-check.c /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/index-storage.c /dovecot/src/lib-storage/index/index-storage.h /dovecot/src/lib-storage/index/index-sync.c /dovecot/src/lib-storage/index/maildir/maildir-copy.c /dovecot/src/lib-storage/index/maildir/maildir-list.c /dovecot/src/lib-storage/index/maildir/maildir-mail.c /dovecot/src/lib-storage/index/maildir/maildir-save.c /dovecot/src/lib-storage/index/maildir/maildir-storage.c /dovecot/src/lib-storage/index/maildir/maildir-storage.h /dovecot/src/lib-storage/index/maildir/maildir-sync.c /dovecot/src/lib-storage/index/maildir/maildir-uidlist.c /dovecot/src/lib-storage/index/maildir/maildir-uidlist.h /dovecot/src/lib-storage/index/mbox/istream-raw-mbox.c /dovecot/src/lib-storage/index/mbox/istream-raw-mbox.h /dovecot/src/lib-storage/index/mbox/mbox-file.c /dovecot/src/lib-storage/index/mbox/mbox-file.h /dovecot/src/lib-storage/index/mbox/mbox-list.c /dovecot/src/lib-storage/index/mbox/mbox-lock.c /dovecot/src/lib-storage/index/mbox/mbox-mail.c /dovecot/src/lib-storage/index/mbox/mbox-md5.c /dovecot/src/lib-storage/index/mbox/mbox-save.c /dovecot/src/lib-storage/index/mbox/mbox-storage.c /dovecot/src/lib-storage/index/mbox/mbox-storage.h /dovecot/src/lib-storage/index/mbox/mbox-sync-parse.c /dovecot/src/lib-storage/index/mbox/mbox-sync-private.h /dovecot/src/lib-storage/index/mbox/mbox-sync-rewrite.c /dovecot/src/lib-storage/index/mbox/mbox-sync-update.c /dovecot/src/lib-storage/index/mbox/mbox-sync.c /dovecot/src/lib-storage/index/mbox/mbox-transaction.c /dovecot/src/lib-storage/mail-search.c /dovecot/src/lib-storage/mail-search.h /dovecot/src/lib-storage/mail-storage-private.h /dovecot/src/lib-storage/mail-storage.c /dovecot/src/lib-storage/mail-storage.h /dovecot/src/lib-storage/mailbox-tree.c /dovecot/src/lib-storage/mailbox-tree.h /dovecot/src/lib-storage/subscription-file/subscription-file.c /dovecot/src/lib-storage/subscription-file/subscription-file.h /dovecot/src/lib/array.h /dovecot/src/lib/buffer.c /dovecot/src/lib/buffer.h /dovecot/src/lib/compat.h /dovecot/src/lib/data-stack.c /dovecot/src/lib/data-stack.h /dovecot/src/lib/fd-close-on-exec.c /dovecot/src/lib/fd-close-on-exec.h /dovecot/src/lib/fd-set-nonblock.c /dovecot/src/lib/fd-set-nonblock.h /dovecot/src/lib/file-dotlock.c /dovecot/src/lib/file-dotlock.h /dovecot/src/lib/hash.c /dovecot/src/lib/hash.h /dovecot/src/lib/hex-binary.c /dovecot/src/lib/ioloop-epoll.c /dovecot/src/lib/ioloop-notify-dn.c /dovecot/src/lib/ioloop-notify-inotify.c /dovecot/src/lib/ioloop-poll.c /dovecot/src/lib/ioloop.c /dovecot/src/lib/ioloop.h /dovecot/src/lib/istream-data.c /dovecot/src/lib/istream-file.c /dovecot/src/lib/istream-internal.h /dovecot/src/lib/istream-limit.c /dovecot/src/lib/istream-mmap.c /dovecot/src/lib/istream-seekable.c /dovecot/src/lib/istream.c /dovecot/src/lib/istream.h /dovecot/src/lib/lib-signals.c /dovecot/src/lib/lib-signals.h /dovecot/src/lib/mempool-alloconly.c /dovecot/src/lib/module-dir.c /dovecot/src/lib/module-dir.h /dovecot/src/lib/network.c /dovecot/src/lib/network.h /dovecot/src/lib/ostream-crlf.c /dovecot/src/lib/ostream-file.c /dovecot/src/lib/ostream-internal.h /dovecot/src/lib/ostream.c /dovecot/src/lib/ostream.h /dovecot/src/lib/printf-upper-bound.c /dovecot/src/lib/restrict-access.c /dovecot/src/lib/restrict-access.h /dovecot/src/lib/restrict-process-size.h /dovecot/src/lib/seq-range-array.c /dovecot/src/lib/seq-range-array.h /dovecot/src/lib/strfuncs.c /dovecot/src/lib/strfuncs.h /dovecot/src/lib/unlink-directory.c /dovecot/src/lib/unlink-directory.h /dovecot/src/lib/var-expand.c client-common.c client-common.h common.h main.c master.c master.h sasl-server.c ssl-proxy-gnutls.c ssl-proxy-openssl.c ssl-proxy.c ssl-proxy.h /dovecot/src/master/auth-process.c /dovecot/src/master/common.h /dovecot/src/master/log.c /dovecot/src/master/login-process.c /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/ssl-init.c /dovecot/src/master/syslog-util.c /dovecot/src/master/syslog-util.h /dovecot/src/plugins/imap-quota/imap-quota-plugin.c /dovecot/src/plugins/quota/quota-dict.c /dovecot/src/plugins/quota/quota-dirsize.c /dovecot/src/plugins/quota/quota-fs.c /dovecot/src/plugins/quota/quota-private.h /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/quota/quota.c /dovecot/src/plugins/quota/quota.h /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/zlib/istream-zlib.c /dovecot/src/plugins/zlib/zlib-plugin.c /dovecot/src/pop3-login/client-authenticate.c /dovecot/src/pop3-login/client-authenticate.h /dovecot/src/pop3-login/client.c /dovecot/src/pop3-login/client.h /dovecot/src/pop3/client.c /dovecot/src/pop3/commands.c /dovecot/src/pop3/common.h /dovecot/src/pop3/main.c /dovecot/src/util/rawlog.c
9439bed2f07d6475febd8a247cd2f0990fb32a13 14-May-2005 Timo Sirainen <tss@iki.fi>

Added configurable logging for login process. Added configurable pop3 logout string. Based on a patch by Andrey Panin. --HG-- branch : HEAD

c49a19168dab6fda80aee16ad799a8a56d3bc18f 11-Oct-2004 Timo Sirainen <tss@iki.fi>

Login process cleanups. Share more authentication code between pop3/imap. --HG-- branch : HEAD

64e244defe74f513ce94f33d000a048ddbe2ea23 31-May-2004 Timo Sirainen <tss@iki.fi>

Added %l, %r and %P variables and mail_log_prefix setting. --HG-- branch : HEAD

8222ce68120b51353a3b31d3073b5f845d0e9f53 17-May-2004 Timo Sirainen <tss@iki.fi>

Added ssl_require_client_cert auth-specific setting. Hide ssl_verify_client_cert from default config file as it's automatically set if needed and there's not much point in forcing it. --HG-- branch : HEAD

2a90d8a14b0e7cc1508814bc87d3dfa598ef46a8 22-Aug-2003 Timo Sirainen <tss@iki.fi>

Moved client side code for auth process handling to lib-auth. Some other login process cleanups. --HG-- branch : HEAD

/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-client-interface.h /dovecot/src/auth/auth-login-interface.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/login-connection.c /dovecot/src/auth/login-connection.h /dovecot/src/auth/main.c /dovecot/src/auth/master-connection.c /dovecot/src/auth/master-connection.h /dovecot/src/auth/mech-anonymous.c /dovecot/src/auth/mech-digest-md5.c /dovecot/src/auth/mech-plain.c /dovecot/src/auth/mech.c /dovecot/src/auth/mech.h /dovecot/src/imap-login/Makefile.am /dovecot/src/imap-login/client-authenticate.c /dovecot/src/imap-login/client.c /dovecot/src/imap-login/client.h /dovecot/src/imap-login/common.h /dovecot/src/lib-auth/.cvsignore /dovecot/src/lib-auth/Makefile.am /dovecot/src/lib-auth/auth-client.c /dovecot/src/lib-auth/auth-client.h /dovecot/src/lib-auth/auth-server-connection.c /dovecot/src/lib-auth/auth-server-connection.h /dovecot/src/lib-auth/auth-server-request.c /dovecot/src/lib-auth/auth-server-request.h Makefile.am auth-common.c auth-common.h auth-connection.c auth-connection.h client-common.h common.h main.c master.c master.h /dovecot/src/pop3-login/Makefile.am /dovecot/src/pop3-login/client-authenticate.c /dovecot/src/pop3-login/client.c /dovecot/src/pop3-login/client.h /dovecot/src/pop3-login/common.h
210a55c1e7183def859be97976859f5a24d3483c 04-Mar-2003 Timo Sirainen <tss@iki.fi>

login: Wait until we're connected to auth process before executing command from client. inetd usage: --group=name can now specify which login group to use. Default is the binary name before '-' character (ie. imap or pop3). --HG-- branch : HEAD

bf72c930996df0691932fb1143f360d260f27a06 01-Feb-2003 Timo Sirainen <tss@iki.fi>

Moved more auth code to login-common. --HG-- branch : HEAD

c0a708fa3f7b8f4fbca32052da5faf7a0125189d 28-Jan-2003 Timo Sirainen <tss@iki.fi>

Moved common login process code to login-common, created pop3-login. --HG-- branch : HEAD