History log of /dovecot/src/lib-storage/mail-user.h
Revision Date Author Comments Expand
677cc0d62b41c7506246bf1b992a400a11896474 13-Dec-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Add mail_user.event and give parent event in mail_user_alloc*()

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

lib-storage: mail-user: Added more information about the client connection. Submission service will need it to pass to the backend MTA in XCLIENT and for creating the "Received:" header.

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

lib-storage: mail-user: Changed mail_user_set_vars() to accept struct mail_user_connection_data, rather than individual fields.

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

lib-storage: Moved connection information in struct mail_user into separate struct mail_user_connection_data.

55cec51dba1352482e93db30d7ced6bc4fe15f3a 28-Jun-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Move autoexpunge lock creation to a generic mail_user_lock_file_create()

5231ae561283595a73e9d838bdf4eb5d1b074679 12-May-2017 Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi>

lib-storage: add a mail user pre-deinit vfunc This allows plugins to perform checks right before the deinit call.

646817f0cfb39b0e0eb545900f1566b76a851b20 23-Mar-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Replace MAIL_STORAGE_SERVICE_FLAG_AUTOEXPUNGE with explicit mail_user_autoexpunge() This allows better control of which users are being autoexpunged. This patch changes behavior at least in two ways now: 1) After shared folder access, the owner user isn't autoexpunged at deinit. Although this is a bit questionable of whether it should be or not. 2) LMTP's quota check at RCPT TO stage doesn't trigger autoexpunging.

26bdbffc35ee46779f15a537a757ed937a4d1c91 06-Feb-2017 Stephan Bosch <stephan.bosch@dovecot.fi>

lib-storage: Added mail_user_init_ssl_client_settings().

34512eaad8b1b2f929e6d6e3a2f7252c29fba97b 06-Feb-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Don't duplicate service user's settings into mail_user The mail_storage_service_user.user_set isn't used afterwards, so it can be directly used to avoid wasting memory.

71bfb0ac64babaa2c15457492227f0ba3adce307 15-Jan-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Add struct mail_user.namespaces_created This makes it easier to determine in mail_namespaces_added hook if the namespaces being added are the initial ones or later ones.

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

lib-storage: Added mail_user.session_create_time and .session_restored

287b5ba23f182fd98e7a6ba3a63669c1572f2ca4 10-Aug-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Added mail_user_set_plugin_getenv_bool()

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 index/cydir/cydir-save.c index/dbox-common/dbox-file.h index/dbox-common/dbox-save.h index/dbox-multi/mdbox-map-private.h index/dbox-multi/mdbox-map.c index/dbox-multi/mdbox-storage-rebuild.c index/dbox-multi/mdbox-storage.h index/imapc/imapc-list.h index/imapc/imapc-save.c index/imapc/imapc-storage.h index/imapc/imapc-sync.h index/index-mail.h index/index-rebuild.h index/index-search-private.h index/index-search.c index/index-sort-string.c index/index-thread-finish.c index/index-thread-private.h index/index-thread.c index/istream-mail.c index/maildir/maildir-copy.c index/maildir/maildir-keywords.c index/maildir/maildir-save.c index/maildir/maildir-storage.h index/maildir/maildir-sync.c index/maildir/maildir-uidlist.c index/mbox/istream-raw-mbox.c index/mbox/mbox-save.c index/mbox/mbox-storage.h index/mbox/mbox-sync-private.h index/pop3c/pop3c-client.c index/pop3c/pop3c-storage.h index/raw/raw-storage.h list/mailbox-list-fs-iter.c list/mailbox-list-index-notify.c list/mailbox-list-index-sync.h list/mailbox-list-index.h list/mailbox-list-iter.c list/mailbox-list-none.c mail-namespace.h mail-search-register.c mail-search.h mail-storage-private.h mail-storage-service.c mail-storage-service.h mail-storage.h mail-user.h mailbox-list-private.h mailbox-search-result-private.h 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 /dovecot/src/login-common/client-common.h /dovecot/src/login-common/login-proxy.c /dovecot/src/login-common/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
527c2b071dca35b91648344e867ab1af9c988281 03-May-2016 Baofeng Wang <baofeng.wang@dovecot.fi>

lib-storage: add mail_user_plugin_getenv_bool New API will check boolean-like env setting OR its exsitence. Function returns FALSE when: * Read out a null string, "Or" * String starts with any letter in set {'N', 'n', 'F','f','0'} To keep downward compatibility, For other cases including an empty string, function returns TRUE.

8cca3b43b28365cfee4dc733c00caaeab8ecd2ad 20-Jan-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Enable autoexpunge only when MAIL_STORAGE_SERVICE_FLAG_AUTOEXPUNGE is set.

c981098a515c62fdfb3261e532b5d6163a0f8946 22-Sep-2015 Timo Sirainen <tss@iki.fi>

lib-storage: If stats plugin is enabled, set fs_settings.enable_timings=TRUE.

326c86b1cdb555957b236958e17142e82e34074e 07-Sep-2015 Timo Sirainen <tss@iki.fi>

lib-storage: mail_user_init() wasn't always expanding %h correctly to settings. This mainly affected users autocreated for accessing shared mailboxes.

691f802ef6ec2105079d420ba26b21088402c6da 06-Sep-2015 Timo Sirainen <tss@iki.fi>

lib-storage: Store pointer to mail_storage_service_user to mail_user if it exists.

23152672e3ad7f3512c11df43e8dabba4fe6407d 28-Aug-2015 Timo Sirainen <tss@iki.fi>

lib-storage: Added %{userdb:*} expansion to mail settings.

4a14ae55292476bc0b8eb314d602a262ab094a52 20-Mar-2015 Timo Sirainen <tss@iki.fi>

Removed mountpoint checking and updating code. After a few years it seems like it has just caused more problems than it has actually fixed. The only thing it's been used for is to make sure that Dovecot can't create empty user directories when the user's mail filesystem isn't mounted. But that's supposed to be normally prevented already if the mount root directory permissions are only writable by root. For now the mountpoint listing code and doveadm mount code still exists just in case people have some scripts using those. Those could be removed in v2.3. If we somehow figured out which mountpoints existed (not so easy because they could be only visible in userdb lookups for different users), we could maybe create some kind of a script that checks the permissions at startup. This would work with Linux at least: mkdir test mount / -o bind test ls -ld test/var/mail # assuming /var/mail mountpoint umount test

379175cfba8150d481d9898b78330b719d128d84 05-Mar-2015 Timo Sirainen <tss@iki.fi>

stats process/plugin redesign to be more modular. The visible functionality doesn't actually change with this patch yet, but it allows other plugins/services to add their own fields to stats process. For example auth process could send auth success/failures or auth cache hits/misses.

/dovecot/configure.ac /dovecot/src/Makefile.am /dovecot/src/lib-dovecot/Makefile.am /dovecot/src/lib-stats/Makefile.am /dovecot/src/lib-stats/stats-parser.c /dovecot/src/lib-stats/stats-parser.h /dovecot/src/lib-stats/stats.c /dovecot/src/lib-stats/stats.h mail-user.c mail-user.h /dovecot/src/plugins/imap-stats/Makefile.am /dovecot/src/plugins/imap-stats/imap-stats-plugin.c /dovecot/src/plugins/stats/Makefile.am /dovecot/src/plugins/stats/mail-stats-fill.c /dovecot/src/plugins/stats/mail-stats.c /dovecot/src/plugins/stats/mail-stats.h /dovecot/src/plugins/stats/stats-connection.c /dovecot/src/plugins/stats/stats-connection.h /dovecot/src/plugins/stats/stats-plugin.c /dovecot/src/plugins/stats/stats-plugin.h /dovecot/src/stats/Makefile.am /dovecot/src/stats/client-export.c /dovecot/src/stats/mail-command.c /dovecot/src/stats/mail-domain.c /dovecot/src/stats/mail-domain.h /dovecot/src/stats/mail-ip.c /dovecot/src/stats/mail-ip.h /dovecot/src/stats/mail-server-connection.c /dovecot/src/stats/mail-session.c /dovecot/src/stats/mail-session.h /dovecot/src/stats/mail-stats.c /dovecot/src/stats/mail-stats.h /dovecot/src/stats/mail-user.c /dovecot/src/stats/mail-user.h /dovecot/src/stats/main.c
1701b354e81ff1dfd0b6c7bb4412b8d9c2b9f986 17-Jan-2015 Timo Sirainen <tss@iki.fi>

lib-storage: Added mail_user_init_fs_settings() Also changed mailbox_list_init_fs() to use it internally.

645d76bbb742c74795a0b35fe159451c4afad8d8 13-Nov-2014 Timo Sirainen <tss@iki.fi>

lib-storage: Added "creator" for mail_user. This allows fixing stats plugin to update stats also for shared mailboxes. That's a bit complicated change though, so I'm not sure how soon it'll happen. But at least this change makes it possible more easily later on. Might have other uses too.

1e40531c1de45bc87e72a9d5866ff2af79b63ceb 15-Sep-2014 Timo Sirainen <tss@iki.fi>

lib-storage: Added mail_user_dup()

bff606130fa332dbf837569f922028b68f45fd61 09-Jul-2014 Timo Sirainen <tss@iki.fi>

lib-storage: Added struct mail_user.session_id

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.

5a9912dcadfd467c5ea54bdc3331eef359f0b1c5 08-Dec-2013 Timo Sirainen <tss@iki.fi>

lib-storage: Added mail_user->admin flag. The previous admin-flag used to mix up "admin user" and "admin tool", while this new purpose only means "admin user".

4f2fa2e5f5a27e1d59dd38fbbf38e420e006596d 21-Sep-2013 Timo Sirainen <tss@iki.fi>

imapc: Don't log unnecessary errors at deinit about aborted hiearchy separator lookup. The lookup is done asynchronously at startup. It doesn't matter if we never get around to finishing it.

10ccd0e45768923d69be459e87ef6cd2574cec60 11-Apr-2013 Timo Sirainen <tss@iki.fi>

Removed ambiguous mail_user.admin flag. dsync shouldn't sync mailboxes without +r ACL.

496184578081a201b6a4fb346070d2eb20e6f5de 27-Nov-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Added struct mail_user.nonexistent flag, which is filled by userdb lookup.

117a55d4260651770705ecb96f68be2dab03b99b 29-Oct-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Added struct mail_user.nonexistent flag, which is filled by userdb lookup.

9fd2181788a61500641c66aec0f8c746b19bf830 29-Oct-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Fixes to handling separation of private/shared attributes.

87ca4b209c10954826b878da165d303d9b4dc5a2 12-Oct-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Added mail_user_get_storage_class(), which auto-loads storage plugins. The auto-loading is done only if there's already a stub storage registered.

d74c9540cd64888055c4840a4544b1de4248e584 18-Sep-2012 Timo Sirainen <tss@iki.fi>

Backported parts of normalizer_func_t changes from v2.2 tree.

d9076f5939edf5d20a261494b1a861dcbb0d32e2 15-Sep-2012 Timo Sirainen <tss@iki.fi>

Replaced "decomposed titlecase" conversions with more generic normalizer function. Plugins can now change mail_user.default_normalizer. Specific searches can also use different normalizers by changing mail_search_context.normalizer.

/dovecot/src/doveadm/doveadm-mail-fetch.c /dovecot/src/lib-charset/charset-iconv.c /dovecot/src/lib-charset/charset-utf8.c /dovecot/src/lib-charset/charset-utf8.h /dovecot/src/lib-imap/imap-base-subject.c /dovecot/src/lib-mail/message-decoder.c /dovecot/src/lib-mail/message-decoder.h /dovecot/src/lib-mail/message-header-decode.c /dovecot/src/lib-mail/message-header-decode.h /dovecot/src/lib-mail/message-search.c /dovecot/src/lib-mail/message-search.h /dovecot/src/lib-mail/test-message-decoder.c /dovecot/src/lib-mail/test-message-header-decode.c index/index-search.c mail-storage-private.h mail-user.c mail-user.h /dovecot/src/lib/unichar.h /dovecot/src/plugins/fts-squat/fts-backend-squat.c /dovecot/src/plugins/fts/fts-api-private.h /dovecot/src/plugins/fts/fts-api.c /dovecot/src/plugins/fts/fts-build-mail.c
ab90f702ceedb7ba445a9a592be0b213b27cbafa 14-Sep-2012 Stephan Bosch <stephan@rename-it.nl>

Added support to perform token-based service process authentication. Creates hidden SASL method DOVECOT-TOKEN. This method is not available on the normal auth login socket and thus never presented to clients. Creates new auth socket type 'tokenlogin'. This otherwise normal login socket only offers authentication using the DOVECOT-TOKEN mechanism. Creates new token-login directory in base_dir to separate token logins from normal logins. This directory is otherwise completely identical to the normal login dir, i.e. it contains sockets for the service backends, used to chroot login processes to, etc. Makes default login socket configurable. Performs some minor changes to src/login-common to build very sparse protocols, e.g. avoid the need to implement methods that are not needed.

/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-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-settings.c /dovecot/src/auth/auth-token.c /dovecot/src/auth/auth-token.h /dovecot/src/auth/main.c /dovecot/src/auth/mech-dovecot-token.c /dovecot/src/auth/mech.h /dovecot/src/imap/main.c /dovecot/src/lib-master/master-login-auth.c /dovecot/src/lib-master/master-login-auth.h /dovecot/src/lib-master/master-login.c /dovecot/src/lib-master/master-login.h mail-storage-service.c mail-user.h /dovecot/src/login-common/client-common-auth.c /dovecot/src/login-common/client-common.c /dovecot/src/login-common/login-common.h /dovecot/src/login-common/main.c /dovecot/src/master/master-settings.c
4ee00532a265bdfb38539d811fcd12d51210ac35 19-Aug-2012 Timo Sirainen <tss@iki.fi>

Array API changed: ARRAY_DEFINE(name, type) -> ARRAY(type) name Easy way to update your existing code: perl -i -pe 's:ARRAY_DEFINE\(([^,]+), *([^)]+)\);:ARRAY($2) $1;:' **/*.[ch]

/dovecot/src/auth/auth-request-handler.c /dovecot/src/auth/auth-settings.c /dovecot/src/auth/auth-settings.h /dovecot/src/auth/auth-worker-server.c /dovecot/src/auth/auth.c /dovecot/src/auth/db-ldap.h /dovecot/src/auth/main.c /dovecot/src/auth/passdb-template.c /dovecot/src/auth/passdb.c /dovecot/src/auth/userdb-template.c /dovecot/src/auth/userdb.c /dovecot/src/config/config-parser-private.h /dovecot/src/config/config-parser.c /dovecot/src/dict/dict-connection.h /dovecot/src/dict/dict-settings.h /dovecot/src/director/director-test.c /dovecot/src/director/director.h /dovecot/src/director/mail-host.c /dovecot/src/director/main.c /dovecot/src/director/user-directory.c /dovecot/src/doveadm/doveadm-dump.c /dovecot/src/doveadm/doveadm-kick.c /dovecot/src/doveadm/doveadm-mail-altmove.c /dovecot/src/doveadm/doveadm-mail-fetch.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-table.c /dovecot/src/doveadm/doveadm-print.c /dovecot/src/doveadm/doveadm-server.h /dovecot/src/doveadm/doveadm-settings.h /dovecot/src/doveadm/doveadm-stats.c /dovecot/src/doveadm/doveadm-who.c /dovecot/src/doveadm/doveadm.c /dovecot/src/doveadm/dsync/dsync-mailbox-export.c /dovecot/src/doveadm/dsync/dsync-mailbox-import.c /dovecot/src/doveadm/dsync/dsync-mailbox-tree-private.h /dovecot/src/doveadm/dsync/dsync-mailbox-tree-sync.c /dovecot/src/doveadm/dsync/dsync-slave-pipe.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/imap-client.h /dovecot/src/imap/imap-commands-util.c /dovecot/src/imap/imap-commands.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-notify.h /dovecot/src/imap/imap-search.h /dovecot/src/indexer/worker-connection.c /dovecot/src/ipc/ipc-connection.h /dovecot/src/ipc/ipc-group.c /dovecot/src/lib-auth/auth-server-connection.h /dovecot/src/lib-dict/dict-memcached-ascii.c /dovecot/src/lib-dict/dict-redis.c /dovecot/src/lib-dict/dict-sql-settings.c /dovecot/src/lib-dict/dict-sql-settings.h /dovecot/src/lib-dict/dict-sql.c /dovecot/src/lib-dict/dict-transaction-memory.h /dovecot/src/lib-dict/dict.c /dovecot/src/lib-imap-client/imapc-client-private.h /dovecot/src/lib-imap-client/imapc-connection.c /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-index-modseq.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-export.c /dovecot/src/lib-index/mail-index-transaction-private.h /dovecot/src/lib-index/mail-index-transaction-view.c /dovecot/src/lib-index/mail-index-view-private.h /dovecot/src/lib-index/mail-transaction-log-view-private.h /dovecot/src/lib-lda/lmtp-client.c /dovecot/src/lib-lda/mail-deliver.h /dovecot/src/lib-mail/istream-attachment-connector.c /dovecot/src/lib-mail/istream-header-filter.c /dovecot/src/lib-mail/rfc2231-parser.c /dovecot/src/lib-mail/test-istream-attachment.c /dovecot/src/lib-master/anvil-client.c /dovecot/src/lib-master/ipc-client.c /dovecot/src/lib-master/master-instance.c /dovecot/src/lib-master/master-service-settings.c /dovecot/src/lib-master/mountpoint-list.c /dovecot/src/lib-settings/settings-parser.c /dovecot/src/lib-sql/driver-pgsql.c /dovecot/src/lib-sql/driver-sqlpool.c /dovecot/src/lib-sql/sql-api-private.h index/dbox-common/dbox-file.h index/dbox-multi/mdbox-map-private.h index/dbox-multi/mdbox-save.c index/dbox-multi/mdbox-storage-rebuild.c index/dbox-multi/mdbox-storage.h index/dbox-single/sdbox-save.c index/imapc/imapc-storage.h index/index-mail-binary.c index/index-mail-headers.c index/index-mail.h index/index-search-private.h index/index-storage.c index/index-sync-changes.c index/index-thread-finish.c index/maildir/maildir-keywords.c index/maildir/maildir-save.c index/mbox/mbox-sync-private.h list/mailbox-list-fs-iter.c list/mailbox-list-index-notify.c list/mailbox-list-maildir.c mail-search-register-human.c mail-search-register.c mail-storage-hooks.c mail-storage-private.h mail-storage-settings.h mail-user.h mailbox-keywords.c mailbox-list-iter.c mailbox-list-private.h mailbox-list.c mailbox-tree.c /dovecot/src/lib/array-decl.h /dovecot/src/lib/array.h /dovecot/src/lib/ioloop-epoll.c /dovecot/src/lib/ioloop-kqueue.c /dovecot/src/lib/ioloop-private.h /dovecot/src/lib/lib.h /dovecot/src/lib/module-context.h /dovecot/src/lib/priorityq.c /dovecot/src/lib/test-aqueue.c /dovecot/src/lib/test-array.c /dovecot/src/lib/var-expand.c /dovecot/src/lmtp/client.h /dovecot/src/lmtp/lmtp-proxy.c /dovecot/src/log/log-connection.c /dovecot/src/master/service-listen.c /dovecot/src/master/service-process-notify.c /dovecot/src/master/service.h /dovecot/src/plugins/acl/acl-backend-vfile.h /dovecot/src/plugins/acl/acl-cache.c /dovecot/src/plugins/expire/doveadm-expire.c /dovecot/src/plugins/expire/expire-set.c /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-lucene/lucene-wrapper.cc /dovecot/src/plugins/fts-solr/fts-backend-solr-old.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.c /dovecot/src/plugins/fts-squat/squat-uidlist.c /dovecot/src/plugins/fts/fts-api.c /dovecot/src/plugins/fts/fts-parser-script.c /dovecot/src/plugins/fts/fts-storage.h /dovecot/src/plugins/pop3-migration/pop3-migration-plugin.c /dovecot/src/plugins/quota/quota-private.h /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/quota/quota.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/virtual/virtual-mail.c /dovecot/src/plugins/virtual/virtual-search.c /dovecot/src/plugins/virtual/virtual-storage.h /dovecot/src/plugins/virtual/virtual-sync.c /dovecot/src/plugins/virtual/virtual-transaction.h /dovecot/src/pop3/pop3-client.c /dovecot/src/pop3/pop3-client.h /dovecot/src/replication/replicator/replicator-brain.c /dovecot/src/replication/replicator/replicator-queue.c /dovecot/src/ssl-params/main.c
e438c85a6b0f77889e25913bbbba808d6078282d 02-Jun-2012 Stephan Bosch <stephan@rename-it.nl>

Adds 'anonymous' field to struct mail_user; derived indirectly from userdb extra fields. Depends: none

447e086422f1ab7cc16833583ed70a4af7a84bc5 04-Mar-2012 Timo Sirainen <tss@iki.fi>

Initial implementation of dsync-based replication.

/dovecot/.hgignore /dovecot/configure.in /dovecot/src/Makefile.am /dovecot/src/doveadm/dsync/doveadm-dsync.c mail-user.h /dovecot/src/plugins/replication/Makefile.am /dovecot/src/plugins/replication/replication-plugin.c /dovecot/src/plugins/replication/replication-plugin.h /dovecot/src/replication/Makefile.am /dovecot/src/replication/aggregator/Makefile.am /dovecot/src/replication/aggregator/aggregator-settings.c /dovecot/src/replication/aggregator/aggregator-settings.h /dovecot/src/replication/aggregator/aggregator.c /dovecot/src/replication/aggregator/notify-connection.c /dovecot/src/replication/aggregator/notify-connection.h /dovecot/src/replication/aggregator/replicator-connection.c /dovecot/src/replication/aggregator/replicator-connection.h /dovecot/src/replication/replication-common.h /dovecot/src/replication/replicator/Makefile.am /dovecot/src/replication/replicator/doveadm-connection.c /dovecot/src/replication/replicator/doveadm-connection.h /dovecot/src/replication/replicator/notify-connection.c /dovecot/src/replication/replicator/notify-connection.h /dovecot/src/replication/replicator/replicator-brain.c /dovecot/src/replication/replicator/replicator-brain.h /dovecot/src/replication/replicator/replicator-queue.c /dovecot/src/replication/replicator/replicator-queue.h /dovecot/src/replication/replicator/replicator-settings.c /dovecot/src/replication/replicator/replicator-settings.h /dovecot/src/replication/replicator/replicator.c
e51bfe0db17f1a2e44932d0d6d3958ae409a8bcf 28-Feb-2012 Timo Sirainen <tss@iki.fi>

Show SEARCH=FUZZY in IMAP capabilities only when FTS backend actually supports it.

318ef3683d67683173f1b552cf5f9af4375b3017 01-Feb-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Abort index/control/alt root dir creation if mountpoint isn't mounted.

13b063ba3ea51256fd97d7fa883f14cb08842b0d 12-Dec-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Handle %{uid} and %{gid} expansion without relying on process's euid/egid.

a2150da2dc906c26a26219cbefbe28a119aafee2 10-Dec-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Added separate %{gid} expansion to mail_user. The default %{gid} probably works also, but it's more reliable to do this explicitly.

f534c0d42f1470fca8e4ff3493c94927bf600260 01-Sep-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Set struct mail_users.autocreated for raw/shared users.

a26b7e87b4157cfa800f9bcd8c4c044462d21268 21-Sep-2010 Timo Sirainen <tss@iki.fi>

lib-storage: If user->error is set during initialization, fail user creation.

55a14bce15b9f44441b5f56616d73651a294d770 15-Jul-2010 Timo Sirainen <tss@iki.fi>

Added mail_temp_dir setting, used by deliver and lmtp for creating temp mail files.

539977f9257bd8985be5a8093658da266ae9cd19 07-Jun-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Plugin API changed to run plugin functions in correct order. Previously the hooks were run in correct order, but the functions they overrode were run in reverse order. This caused problems when multiple plugins were used. --HG-- branch : HEAD

mail-storage-hooks.c mail-storage-hooks.h mail-storage-private.h mail-user.h mail.c mailbox-list-private.h /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/acl/acl-mailbox.c /dovecot/src/plugins/acl/acl-plugin.c /dovecot/src/plugins/acl/acl-plugin.h /dovecot/src/plugins/acl/acl-storage.c /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/fts-solr/fts-solr-plugin.c /dovecot/src/plugins/fts/fts-plugin.c /dovecot/src/plugins/fts/fts-plugin.h /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/listescape/listescape-plugin.c /dovecot/src/plugins/mbox-snarf/mbox-snarf-plugin.c /dovecot/src/plugins/notify/notify-storage.c /dovecot/src/plugins/quota/quota-plugin.c /dovecot/src/plugins/quota/quota-plugin.h /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/virtual/virtual-storage.c /dovecot/src/plugins/zlib/zlib-plugin.c
b16ee3cbbcd18cb86f2f73b5cc163ebfb995ffaf 25-May-2010 Timo Sirainen <tss@iki.fi>

lib-storage: mail_user.get_temp_prefix() method added. --HG-- branch : HEAD

c7819f72f3f9cbfa976830dc6f3190873469b901 27-Mar-2010 Timo Sirainen <tss@iki.fi>

lib-storage: If INBOX can't be opened/synced, log an error once. --HG-- branch : HEAD

dd7cbb32412c2f4d2d223af66672535bc1237246 07-Dec-2009 Timo Sirainen <tss@iki.fi>

lib-storage: Added mail_user_is_plugin_loaded(). --HG-- branch : HEAD

5666a3d6a7ea89362b8d9e8b39b15424cd9d6388 04-Dec-2009 Timo Sirainen <tss@iki.fi>

lib-storage: Plugin hook API changed to support per-user plugins within a process. --HG-- branch : HEAD

Makefile.am list/index-mailbox-list-sync.c list/index-mailbox-list.c mail-namespace.c mail-namespace.h mail-storage-private.h mail-storage.c mail-user.c mail-user.h mailbox-list-private.h mailbox-list.c /dovecot/src/lib/module-dir.c /dovecot/src/lib/module-dir.h /dovecot/src/lib/strfuncs.c /dovecot/src/lib/strfuncs.h /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/acl/acl-plugin.c /dovecot/src/plugins/acl/acl-plugin.h /dovecot/src/plugins/acl/acl-storage.c /dovecot/src/plugins/autocreate/autocreate-plugin.c /dovecot/src/plugins/autocreate/autocreate-plugin.h /dovecot/src/plugins/convert/convert-plugin.c /dovecot/src/plugins/convert/convert-plugin.h /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/expire/expire-plugin.h /dovecot/src/plugins/fts-lucene/fts-lucene-plugin.c /dovecot/src/plugins/fts-lucene/fts-lucene-plugin.h /dovecot/src/plugins/fts-solr/fts-solr-plugin.c /dovecot/src/plugins/fts-solr/fts-solr-plugin.h /dovecot/src/plugins/fts-squat/fts-squat-plugin.c /dovecot/src/plugins/fts-squat/fts-squat-plugin.h /dovecot/src/plugins/fts/fts-plugin.c /dovecot/src/plugins/fts/fts-plugin.h /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/imap-acl/imap-acl-plugin.c /dovecot/src/plugins/imap-acl/imap-acl-plugin.h /dovecot/src/plugins/imap-quota/imap-quota-plugin.c /dovecot/src/plugins/imap-quota/imap-quota-plugin.h /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.h /dovecot/src/plugins/listescape/listescape-plugin.c /dovecot/src/plugins/listescape/listescape-plugin.h /dovecot/src/plugins/mail-log/mail-log-plugin.c /dovecot/src/plugins/mail-log/mail-log-plugin.h /dovecot/src/plugins/mbox-snarf/mbox-snarf-plugin.c /dovecot/src/plugins/mbox-snarf/mbox-snarf-plugin.h /dovecot/src/plugins/notify/notify-plugin-private.h /dovecot/src/plugins/notify/notify-plugin.c /dovecot/src/plugins/notify/notify-plugin.h /dovecot/src/plugins/notify/notify-storage.c /dovecot/src/plugins/quota/quota-plugin.c /dovecot/src/plugins/quota/quota-plugin.h /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/trash/trash-plugin.h /dovecot/src/plugins/virtual/virtual-plugin.c /dovecot/src/plugins/virtual/virtual-plugin.h /dovecot/src/plugins/zlib/zlib-plugin.c /dovecot/src/plugins/zlib/zlib-plugin.h
2fb9ae42f9e36388ec6db24188b9108434043fd0 23-Oct-2009 Timo Sirainen <tss@iki.fi>

lib-storage: Changed APIs to fix reading settings for multiple users. --HG-- branch : HEAD

4da8c6cdefabd31262318c32da3c13de1d9ea953 22-Oct-2009 Timo Sirainen <tss@iki.fi>

Merged single and multi mail_storage_service_*() functions. --HG-- branch : HEAD

563273bdac80393af63b9520cbf4d24cc0efd028 03-Jun-2009 Timo Sirainen <tss@iki.fi>

mail storages can now be shared between namespaces. --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 /dovecot/src/lib-master/master-interface.h /dovecot/src/lib-master/master-service-settings.c /dovecot/src/lib-master/master-service.c /dovecot/src/lib-master/master-service.h mail-user.c 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
8d3278a82b964217d95c340ec6f82037cdc59d19 10-Apr-2009 Timo Sirainen <tss@iki.fi>

Added lib-master and mail-storage-service code that makes it easier to build new Dovecot binaries. Currently only the standalone applications (e.g. deliver) uses this. --HG-- branch : HEAD

/dovecot/configure.in /dovecot/src/Makefile.am /dovecot/src/deliver/Makefile.am /dovecot/src/deliver/deliver-settings.c /dovecot/src/deliver/deliver-settings.h /dovecot/src/deliver/deliver.c /dovecot/src/deliver/deliver.h /dovecot/src/deliver/smtp-client.c /dovecot/src/dict/main.c /dovecot/src/imap/Makefile.am /dovecot/src/imap/imap-settings.c /dovecot/src/imap/imap-settings.h /dovecot/src/imap/main.c /dovecot/src/lib-auth/auth-master.h /dovecot/src/lib-dovecot/Makefile.am /dovecot/src/lib-master/Makefile.am /dovecot/src/lib-master/master-service-private.h /dovecot/src/lib-master/master-service-settings.c /dovecot/src/lib-master/master-service-settings.h /dovecot/src/lib-master/master-service.c /dovecot/src/lib-master/master-service.h /dovecot/src/lib-master/syslog-util.c /dovecot/src/lib-master/syslog-util.h /dovecot/src/lib-settings/settings-parser.c /dovecot/src/lib-settings/settings-parser.h /dovecot/src/lib-sql/Makefile.am Makefile.am mail-namespace.c mail-storage-service.c mail-storage-service.h mail-storage-settings.c mail-storage-settings.h mail-user.c mail-user.h /dovecot/src/master/Makefile.am /dovecot/src/master/child-process.c /dovecot/src/plugins/convert/Makefile.am /dovecot/src/plugins/convert/convert-settings.c /dovecot/src/plugins/convert/convert-settings.h /dovecot/src/plugins/convert/convert-tool.c /dovecot/src/plugins/expire/Makefile.am /dovecot/src/plugins/expire/auth-client.c /dovecot/src/plugins/expire/expire-settings.c /dovecot/src/plugins/expire/expire-settings.h /dovecot/src/plugins/expire/expire-tool.c /dovecot/src/pop3/Makefile.am /dovecot/src/pop3/main.c /dovecot/src/pop3/pop3-settings.c /dovecot/src/pop3/pop3-settings.h /dovecot/src/util/Makefile.am
70ead6466f9baa8294e71fc2fba0a4f54f488b5e 26-Feb-2009 Timo Sirainen <tss@iki.fi>

Added mail_user_get_temp_prefix() and mail_storage_get_temp_prefix(). --HG-- branch : HEAD

0df9428baed48afaff90b4d4f03792d2fd756a43 02-Feb-2009 Timo Sirainen <tss@iki.fi>

Fixed plugins to work with config rewrite. --HG-- branch : HEAD

/dovecot/TODO mail-namespace.h mail-storage-settings.c mail-storage-settings.h mail-user.c mail-user.h mailbox-list.c mailbox-list.h /dovecot/src/master/mail-process.c /dovecot/src/master/master-settings.c /dovecot/src/plugins/acl/acl-backend.c /dovecot/src/plugins/acl/acl-lookup-dict.c /dovecot/src/plugins/acl/acl-lookup-dict.h /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/acl/acl-plugin.c /dovecot/src/plugins/acl/acl-storage.c /dovecot/src/plugins/autocreate/autocreate-plugin.c /dovecot/src/plugins/convert/Makefile.am /dovecot/src/plugins/convert/convert-plugin.c /dovecot/src/plugins/convert/convert-settings.c /dovecot/src/plugins/convert/convert-settings.h /dovecot/src/plugins/convert/convert-storage.c /dovecot/src/plugins/convert/convert-storage.h /dovecot/src/plugins/convert/convert-tool.c /dovecot/src/plugins/expire/Makefile.am /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/expire/expire-settings.c /dovecot/src/plugins/expire/expire-settings.h /dovecot/src/plugins/expire/expire-tool.c /dovecot/src/plugins/fts-solr/fts-backend-solr.c /dovecot/src/plugins/fts-solr/fts-solr-plugin.c /dovecot/src/plugins/fts-solr/fts-solr-plugin.h /dovecot/src/plugins/fts-squat/fts-backend-squat.c /dovecot/src/plugins/fts/fts-plugin.c /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/imap-acl/Makefile.am /dovecot/src/plugins/imap-acl/imap-acl-plugin.c /dovecot/src/plugins/imap-quota/imap-quota-plugin.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/listescape/listescape-plugin.c /dovecot/src/plugins/mail-log/mail-log-plugin.c /dovecot/src/plugins/mbox-snarf/mbox-snarf-plugin.c /dovecot/src/plugins/quota/quota-maildir.c /dovecot/src/plugins/quota/quota-plugin.c /dovecot/src/plugins/quota/quota-plugin.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
a64adf62fa33f2463a86f990217b0c9078531a40 28-Jan-2009 Timo Sirainen <tss@iki.fi>

Initial commit for config rewrite. --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-master-connection.c /dovecot/src/auth/auth-request-handler.c /dovecot/src/auth/auth-request.c /dovecot/src/auth/auth-settings.c /dovecot/src/auth/auth-settings.h /dovecot/src/auth/auth-worker-server.c /dovecot/src/auth/auth-worker-server.h /dovecot/src/auth/auth.c /dovecot/src/auth/auth.h /dovecot/src/auth/db-ldap.c /dovecot/src/auth/main.c /dovecot/src/auth/mech-anonymous.c /dovecot/src/auth/mech-digest-md5.c /dovecot/src/auth/mech-gssapi.c /dovecot/src/auth/mech-rpa.c /dovecot/src/auth/mech-winbind.c /dovecot/src/auth/mech.c /dovecot/src/auth/mech.h /dovecot/src/auth/passdb-cache.c /dovecot/src/auth/passdb-cache.h /dovecot/src/auth/passdb-passwd-file.c /dovecot/src/auth/passdb.c /dovecot/src/auth/passdb.h /dovecot/src/auth/userdb-passwd-file.c /dovecot/src/auth/userdb-prefetch.c /dovecot/src/auth/userdb.c /dovecot/src/auth/userdb.h /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/config-parser.c /dovecot/src/config/config-parser.h /dovecot/src/config/main.c /dovecot/src/config/settings-get.pl /dovecot/src/deliver/Makefile.am /dovecot/src/deliver/deliver-settings.c /dovecot/src/deliver/deliver-settings.h /dovecot/src/deliver/deliver.c /dovecot/src/deliver/deliver.h /dovecot/src/imap-login/Makefile.am /dovecot/src/imap-login/client-authenticate.c /dovecot/src/imap-login/client.c /dovecot/src/imap-login/imap-proxy.c /dovecot/src/imap/Makefile.am /dovecot/src/imap/client.c /dovecot/src/imap/client.h /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-capability.c /dovecot/src/imap/cmd-delete.c /dovecot/src/imap/cmd-id.c /dovecot/src/imap/cmd-idle.c /dovecot/src/imap/cmd-subscribe.c /dovecot/src/imap/common.h /dovecot/src/imap/imap-fetch-body.c /dovecot/src/imap/imap-settings.c /dovecot/src/imap/imap-settings.h /dovecot/src/imap/imap-sync.c /dovecot/src/imap/main.c /dovecot/src/lib-settings/Makefile.am /dovecot/src/lib-settings/settings-parser.c /dovecot/src/lib-settings/settings-parser.h Makefile.am index/cydir/cydir-storage.c index/dbox/Makefile.am index/dbox/dbox-file.c index/dbox/dbox-settings.c index/dbox/dbox-settings.h index/dbox/dbox-storage.c index/dbox/dbox-storage.h index/index-mail.c index/index-storage.c index/index-storage.h index/maildir/Makefile.am index/maildir/maildir-copy.c index/maildir/maildir-keywords.c index/maildir/maildir-save.c index/maildir/maildir-settings.c index/maildir/maildir-settings.h index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/maildir/maildir-uidlist.c index/mbox/Makefile.am index/mbox/mbox-lock.c index/mbox/mbox-mail.c index/mbox/mbox-save.c index/mbox/mbox-settings.c index/mbox/mbox-settings.h index/mbox/mbox-storage.c index/mbox/mbox-storage.h index/mbox/mbox-sync.c index/raw/raw-storage.c index/shared/shared-storage.c list/index-mailbox-list.c list/mailbox-list-fs-iter.c list/mailbox-list-fs.c list/mailbox-list-maildir.c list/subscription-file.c mail-namespace.c mail-namespace.h mail-storage-private.h mail-storage-settings.c mail-storage-settings.h mail-storage.c mail-storage.h mail-user.c mail-user.h mailbox-list-private.h mailbox-list.c mailbox-list.h /dovecot/src/lib/array-decl.h /dovecot/src/login-common/Makefile.am /dovecot/src/login-common/client-common.c /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/master.c /dovecot/src/login-common/sasl-server.c /dovecot/src/login-common/ssl-proxy-openssl.c /dovecot/src/master/Makefile.am /dovecot/src/master/auth-process.c /dovecot/src/master/child-process.c /dovecot/src/master/child-process.h /dovecot/src/master/dict-process.c /dovecot/src/master/listener.c /dovecot/src/master/listener.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-settings-defs.c /dovecot/src/master/master-settings.c /dovecot/src/master/master-settings.h /dovecot/src/master/ssl-init.c /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-squat/fts-backend-squat.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/mbox-snarf/mbox-snarf-plugin.c /dovecot/src/plugins/virtual/virtual-storage.c /dovecot/src/pop3-login/Makefile.am /dovecot/src/pop3-login/client-authenticate.c /dovecot/src/pop3-login/client.c /dovecot/src/pop3-login/pop3-proxy.c /dovecot/src/pop3/Makefile.am /dovecot/src/pop3/client.c /dovecot/src/pop3/client.h /dovecot/src/pop3/commands.c /dovecot/src/pop3/common.h /dovecot/src/pop3/main.c /dovecot/src/pop3/pop3-settings.c /dovecot/src/pop3/pop3-settings.h
94ce7e7700cda14a8342cb08e7285507b4b531da 19-Jan-2009 Timo Sirainen <tss@iki.fi>

hook_mail_namespaces_created() wasn't always called with all namespaces as parameter. --HG-- branch : HEAD

a443e5aaf632257bfd1e7aa9b3c42c09512bbe43 21-Nov-2008 Timo Sirainen <tss@iki.fi>

Quota works now properly with shared mailboxes. --HG-- branch : HEAD

67c47dbb3fde79218320fd38a45c33f61bbf3012 21-Nov-2008 Timo Sirainen <tss@iki.fi>

mail_user_*() now handles home directory lookups when necessary. Namespace owner is now a pointer to struct mail_user rather than a string. --HG-- branch : HEAD

3398d5e2b883812de5d569721c8294b581e1d9e6 20-Nov-2008 Timo Sirainen <tss@iki.fi>

Don't drop useless namespaces automatically while creating a new one. It may free namespaces that are still being used elsewhere. Rather do it explicitly at the beginning of each mailbox sync. --HG-- branch : HEAD

4654f788834c9d7920a351306b89cf5d1c21772e 07-Sep-2008 Timo Sirainen <tss@iki.fi>

Added initial support for shared mailboxes. Listing isn't supported yet. Each user gets their own hidden namespace created automatically when they're accessed the first time. --HG-- branch : HEAD

96f2533c48ce5def0004931606a2fdf275578880 30-Aug-2008 Timo Sirainen <tss@iki.fi>

Created mail_user_[try_]home_expand(). Used them for expanding mail directories. --HG-- branch : HEAD

d80f37f025593d959bdfa9c378915e4322f4f504 12-Aug-2008 Timo Sirainen <tss@iki.fi>

Forgot to add mail-user.* files in previous struct mail_user commit. --HG-- branch : HEAD