History log of /dovecot/src/lib-storage/mail-storage.h
Revision Date Author Comments Expand
8828d7a1e76b7d301bcd7385aa27c52512e855ce 13-Feb-2018 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Replace mail_transaction_commit_changes.changed with changes_mask This allows better finding out what changed in the transaction.

701a11e110c7a9857f908827612767fa0a9fdd37 13-Feb-2018 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Include mail-index.h from mail-storage.h This makes it a bit more acceptable to use mail-index.h API, without having to go through the lib-storage layer. This is also needed by the next patch to avoid duplicating the same enum in both lib-index and lib-storage layer.

722c012ccadcf1f63d70439a2564e77510b6dd86 17-Jan-2018 Aki Tuomi <aki.tuomi@dovecot.fi>

lib-storage: Set keyword based on attachment presence when saving If attachment is detected, use $HasAttachment, if not use $HasNoAttachment

c499c40caf37f766968a551909190c5b009a9b15 13-Dec-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Add mail.event

7d716afc5d775055d07b5cbc5093334ac36a9cac 05-Oct-2017 Stephan Bosch <stephan.bosch@dovecot.fi>

lib-storage: Created mailbox_alloc_delivery(), which initializes a mailbox for message delivery.

df97180092ae581323dc96c7795c737721e966a0 05-Oct-2017 Stephan Bosch <stephan.bosch@dovecot.fi>

lib-storage: Implemented new mailbox flag MAILBOX_FLAG_AUTO_SUBSCRIBE. When this flag is enabled, the mailbox is implicitly subscribed to when it is created automatically.

2d27ea5063099b1b2afb466d4db4d898b4a7fe2e 05-Oct-2017 Stephan Bosch <stephan.bosch@dovecot.fi>

lib-storage: Implemented new mailbox flag MAILBOX_FLAG_AUTO_CREATE. When this flag is enabled, the mailbox is automatically created when it is opened (if possible and appropriate).

9a19ae4b399557c0bba809bbf32221a4b8957e86 03-Oct-2017 Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi>

lib-storage: Remove obsolete mailbox_save_set_dest_mail()

0dab9cb35a976c49b28a11e28d5570f5191f1a7a 22-Sep-2017 Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi>

lib-storage: Add reason to mailbox_transaction_begin() Remove mailbox_transaction_set_reason().

/dovecot/src/doveadm/doveadm-mail-copymove.c /dovecot/src/doveadm/doveadm-mail-deduplicate.c /dovecot/src/doveadm/doveadm-mail-import.c /dovecot/src/doveadm/doveadm-mail-index.c /dovecot/src/doveadm/doveadm-mail-iter.c /dovecot/src/doveadm/doveadm-mail-mailbox-metadata.c /dovecot/src/doveadm/doveadm-mail-save.c /dovecot/src/doveadm/dsync/dsync-mailbox-export.c /dovecot/src/doveadm/dsync/dsync-mailbox-import.c /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/cmd-thread.c /dovecot/src/imap/imap-commands-util.c /dovecot/src/imap/imap-expunge.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-search.c /dovecot/src/imap/imap-state.c /dovecot/src/imap/imap-sync.c /dovecot/src/indexer/master-connection.c /dovecot/src/lda/main.c /dovecot/src/lib-imap-storage/imap-metadata.c /dovecot/src/lib-imap-storage/imap-msgpart-url.c /dovecot/src/lib-imap-urlauth/imap-urlauth-backend.c /dovecot/src/lib-lda/mail-deliver.c index/index-mailbox-size.c index/index-search-result.c index/index-status.c index/index-storage.c index/index-thread.c list/mailbox-list-index-status.c mail-autoexpunge.c mail-storage.c mail-storage.h /dovecot/src/lmtp/commands.c /dovecot/src/plugins/acl/doveadm-acl.c /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/fts-squat/fts-backend-squat.c /dovecot/src/plugins/imap-acl/imap-acl-plugin.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/mail-crypt/doveadm-mail-crypt.c /dovecot/src/plugins/mail-crypt/mail-crypt-acl-plugin.c /dovecot/src/plugins/mail-crypt/mail-crypt-key.c /dovecot/src/plugins/mail-crypt/test-mail-key.c /dovecot/src/plugins/pop3-migration/pop3-migration-plugin.c /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/snarf/snarf-plugin.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/virtual/virtual-sync.c /dovecot/src/plugins/virtual/virtual-transaction.c /dovecot/src/pop3/pop3-client.c /dovecot/src/pop3/pop3-commands.c
d1fbd2c264368d8b4c7139b96e3b21f45930b857 03-Apr-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Add mailbox_transaction_set_reason()

4b41218f9e09386ad5d8f279355aad1dfb64392d 03-Apr-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Add mailbox_set_reason() Use it to log a debug message when mailbox is being opened.

98c217499d578495e982ea6010ebff831e9669ae 23-Mar-2017 Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi>

lib-storage: Add mail_storage_get_last_internal_error() This returns the error given to mail_storage_set_critical().

dfaf420c473c810fee33f515d08b888826dd57bd 19-Feb-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Add mail.access_type

7204b8112e005ff81dcf628f7880ef1feed1effe 19-Feb-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Add mail.mail_stream_opened and .mail_metadata_accessed These allow determining after mail_*() calls how efficiently they were performed.

34f2590f3b5cd7c8a30379e9688cd3270e402099 19-Feb-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Clarify what MAIL_LOOKUP_ABORT_READ_MAIL means. It should maybe even be renamed to something clearer.

df71146c7f68895abd435857a88d596dc52f8001 14-Feb-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Add mailbox_save_get_dest_mail() This marks mailbox_save_set_dest_mail deprecated. It's not efficient to use since it frees the already-created dest_mail.

4945c8a753cdfa19fdedc62049a8ee1890618706 29-Jan-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Add struct mailbox_status.flags This is similar to permanent_flags, except it tells which flags can be changed at all in the session. Mainly it allows plugins to make changes to IMAP's untagged FLAGS reply.

771cb02c252db8d8c50a2f94e79a649a502cd817 24-Dec-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Update mail_get_headers() API comment The API was changed by 990d55ce3fc461eeacce3ef830b1c5dde5c3f150

61cae213dc69070c1cef266578057710e34e0d12 18-Nov-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Add support for storing "mail stubs" These allow treating a storage backend as a cache where the mail bodies don't necessarily exist.

2fc91862fa8b14dba1ab18c7c7a88e451df46ed0 03-Nov-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Fix doveadm search query parsing to use timezones correctly. When using a date string, e.g. "senton 25-Mar-2007" it should work the same way as IMAP does and show all mails whose sent date is on 25th, ignoring whatever the timezone is in the Date header (or in case of received/saved-date it would be using the timestamps in server's local timezone, again just like IMAP). When search with an exact UNIX timestamp or a time interval (e.g. "3 days"), it should be using UTC times for doing all comparisons.

21aaa6affb9f134112b75b5db737309fc35ef1cf 27-Oct-2016 Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi>

lib-storage: rename get_real_mail to get_backend_mail Also change the function signature so that it returns an int to indicate success or failure.

0206dc57f2c04da69599dea5816235cfeb2b897a 13-Aug-2016 Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi>

lib-storage: remove set_cache_corrupted_reason from mail_vfuncs Change set_cache_corrupted signature to what set_cache_corrupted_reason used to be.

bef286ce12035e3a047a4bb0cb8983afb14b7156 13-Aug-2016 Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi>

lib-storage: remove obsolete MAIL_FETCH_UIDL_FILE_NAME

2c8ca7e88ec881c473fb90e5f647c1f563877164 03-Aug-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Added mail_get_stream_because() and mail_get_hdr_stream_because() With mail_debug=yes each mail access is now logged with a reason. This can be helpful when figuring out why something isn't in dovecot.index.cache.

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
f8a63c14a4d2eed05019e5d8ed48fc3d8c976ed4 30-May-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Added MAILBOX_FLAG_DELETE_UNSAFE

6de6ec228a41275ddda972d4a554699ea75cd06d 28-Feb-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Added mail_set_cache_corrupted_reason()

19e161dd9e2c3a2ffc96ee8852bec0720cb30d1c 28-Dec-2015 Timo Sirainen <timo.sirainen@dovecot.fi>

dsync: Don't restrict what mailbox names can be created (except basic sanity checks) The mailbox names already exist on the other side, so we don't want to add arbitrary limits to them.

1ae5d61ec366fdb2f3c5b150ca378d6141b0f4bd 27-Nov-2015 Timo Sirainen <tss@iki.fi>

Added mailbox { autoexpunge } setting. This can be used to automatically expunge mails from specified mailboxes after they're old enough. The expunges are done when the user is being deinitialized. mailbox_list_index=yes should be enabled to have the best performance with this setting. Example: namespace inbox { mailbox Spam { auto = create special_use = \Junk autoexpunge = 30d } }

8ccb1a013b07e7ca37b7281732b78c042f128388 20-Oct-2015 Timo Sirainen <tss@iki.fi>

lib-storage/notify: Added MAILBOX_TRANSACTION_FLAG_NO_NOTIFY This flag could potentially apply for other things as well, not just notify plugin. In general anything that could do external notifications shouldn't do anything for transactions with this flag.

5eb85ec9546bac4eea7d78de8997920ba3debd30 30-Sep-2015 Timo Sirainen <tss@iki.fi>

lib-storage: Renamed MAIL_FETCH_UIDL_FILE_NAME to MAIL_FETCH_STORAGE_ID. Keep MAIL_FETCH_UIDL_FILE_NAME for backwards compatibility for now.

dae42444ac716f397a41f6f72c2581f304bb6e5b 10-Jul-2015 Timo Sirainen <tss@iki.fi>

lib-storage: Added MAILBOX_METADATA_PHYSICAL_SIZE If backend always uses the same virtual and physical sizes, this is implemented via the MAILBOX_METADATA_VIRTUAL_SIZE code. Otherwise it searches all the messages and sums up their physical sizes.

146f9076cd456ea1e9b3f8536456d9d3c962fadb 04-May-2015 Stephan Bosch <stephan@rename-it.nl>

mail-storage: Moved mailbox attributes API to separate module.

d81bbb6948b4d758e87206acb8da4cc4366fd478 19-Jan-2015 Timo Sirainen <tss@iki.fi>

lib-storage: Added mail_parse_human_timestamp() to parse human-writable timestamps. This isn't really the ideal location for the function, but since it uses both lib-settings and lib-imap, there's not any good location for it that I can think of..

52fbebc87d7ae4fc4585863d38cb87f166a6521a 16-Jan-2015 Timo Sirainen <tss@iki.fi>

lib-storage: Added MAIL_FETCH_BODY_SNIPPET.

e19e36fc3b92f4ddc207e7fd294fde0fcc8d06cc 09-Oct-2014 Timo Sirainen <tss@iki.fi>

lib-storage: Small comment update

97ae33602db7d5bc8eede82512a965d49ab8853b 12-Aug-2014 Timo Sirainen <tss@iki.fi>

lib-storage: Added mail_storage_last_error_push/pop()

15bfe73fb3988bb80e6afe6a60b9a715c7207600 02-May-2014 Timo Sirainen <tss@iki.fi>

lib-storage: mailbox_settings_find() now takes namespace parameter instead of user. This fixes an infinite (until stack gets full) loop with shared mailboxes: mail_namespace_find() -> mailbox_list_get_storage() -> mailbox_settings_find() -> mail_namespace_find() -> ...

541b251a99a55cb0fa2eaf02645a7c39ad997092 15-Apr-2014 Timo Sirainen <tss@iki.fi>

lib-storage: Replaced mail_get_real_mail() with mail_get_backend_mail() that can fail. For now the mail_get_real_mail() can still be used for backwards compatibility.

a646dafca8e58674de85442ae4a2811a8eece9f6 03-Dec-2013 Timo Sirainen <tss@iki.fi>

imap: Don't send [NOMODSEQ] on SELECT/EXAMINE reply when condstore hasn't been enabled yet. This is definitely the better behavior and was also clearly intended by the CONDSTORE RFC, although with some mixed language.

d1e843e77f4760e303c53d9fce10123fc8d230a1 17-Nov-2013 Timo Sirainen <tss@iki.fi>

dsync: Support syncing storages with 128bit GUIDs <-> string GUIDs.

0d29e73260eae647085dcaf08b73c207cd515929 16-Nov-2013 Timo Sirainen <tss@iki.fi>

lib-storage: API comment update

3a37fbef942ff122a59b91c8f6fc60858ea31661 17-Sep-2013 Timo Sirainen <tss@iki.fi>

lib-storage: Added a separate prefix for server metadata that aren't deleted with INBOX.

8f948b86dc78f36c454453d36ef62811ff59843f 12-Jun-2013 Timo Sirainen <tss@iki.fi>

Moved "INBOX can't be deleted" check from lib-storage to IMAP-specific code. Especially "doveadm backup" should be able to delete the INBOX if needed.

47ede56f4e6eebfe631a1f0febf74d7adcdbcd00 08-Jun-2013 Timo Sirainen <tss@iki.fi>

lib-storage: Added support for multiple storages per namespace.

9847ec56efa15fa063eea9988eee2d4ed9ec7d58 19-May-2013 Timo Sirainen <tss@iki.fi>

lib-storage: Added mailbox_status.have_save_guids.

75b6f320d3efe979f1994bb07e5eff05fd9f7d71 31-Mar-2013 Timo Sirainen <tss@iki.fi>

lib-storage: mailbox_get_status() no longer forces mailbox to be synced. This fixes copying messages with keywords to a virtual mailbox, where syncing happened too late and caused assert-crash (status was only used to lookup list of keywords). The crash could have been solved another way too, but it's probably better if automatic syncing isn't always performed. doveadm index -n parameter handling also relies on this behavior.

41e51b972f02e8b16c19fab9160294ea0a07c343 19-Mar-2013 Timo Sirainen <tss@iki.fi>

lib-storage: Mailbox attributes can now be accessed via istreams. The idea is to use istreams for larger values.

d261a383b3506e3e6a7b88ee3a8261f73d627d2b 19-Mar-2013 Timo Sirainen <tss@iki.fi>

lib-storage: Allow mailbox_attribute_set() to also unset values. This allows giving the last_change timestamp also when unsetting.

6cc4cce2078aca138fbce19305e69e77edcee614 19-Mar-2013 Timo Sirainen <tss@iki.fi>

lib-storage: mailbox_attribute_set() now uses struct mail_attribute_value. This allows settig the last_change value, as well as using streams and setting other flags in future.

50c617761ee9653bd44646a95178773a3686d62e 14-Mar-2013 Timo Sirainen <tss@iki.fi>

lib-storage: Changed mailbox_attribute_get/set() APIs to have a transaction and update index. The _get() doesn't currently actually use the transaction. It was mainly put there for future use where it could be useful. It's also possible that _iter() will need a transaction also. For now these decisions seem good enough.

03de962febfc2ac572f9e4029463c16d29c1ed55 24-Feb-2013 Timo Sirainen <tss@iki.fi>

lib-storage: Added MAIL_FETCH_REFCOUNT for getting mail's reference count. This is useful only for backends where mailbox_copy() increases the refcount. With maildir&sdbox it can be looked up from the file's link count. With mdbox the refcount is stored in the map index. Other formats don't currently implement this.

196124a7343c268c9edc018f86b98bd98401ea15 22-Feb-2013 Timo Sirainen <tss@iki.fi>

lib-storage: Make sure mailbox_get_open_status() can't be used with items that can fail.

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

lib-storage: Fixed assert-crash when saving mails if UIDs weren't assigned.

440b8b6666e62f80bb3aaca1e5e5c57fbf3bdcb0 11-Feb-2013 Timo Sirainen <tss@iki.fi>

lib-storage: Added MAILBOX_ATTRIBUTE_DOVECOT_PREFIX macro.

8b31f966d9688e07672ef1958dcbdb7686523c04 10-Feb-2013 Timo Sirainen <tss@iki.fi>

lib-storage: Added mailbox_status.have_guids flag

9c32eb25e7b90e753e0cd7b30f7a70e8ca9121d9 05-Feb-2013 Timo Sirainen <tss@iki.fi>

lib-storage: Changed mailbox_attribute_get() to return a struct for value. This allows returning flags for the values in future. Mainly readonly-flag for internal attributes and when restricted by ACL plugin.

f46885a5b78b15a8d2419f6e5d13b643bd85e41f 04-Jan-2013 Timo Sirainen <tss@iki.fi>

lib-storage: Added support for "private modseqs" for INDEXPVT index. Used by dsync (next commit).

1973c7c4f46abec48e1015823a304f17da35b2f6 08-Dec-2012 Timo Sirainen <tss@iki.fi>

imap: If mailbox doesn't have read ACL, hide APPENDUID/COPYUID resp-codes.

97155df79590b5d4b4a380d02e84470a0e179876 31-Oct-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Don't require mailbox to be synced for MAILBOX_METADATA_GUID lookup None of the mailbox formats currently require it, and lib-lda code assert-crashes with it since syncing is done with a transaction already open.

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

lib-storage: Make sure mailbox was synced at least once when getting status/metadata.

e53ab6c7081246c865917f9aa0eff031a08ad1e7 23-Oct-2012 Timo Sirainen <tss@iki.fi>

imap: URLFETCH BINARY BODYPARTSTRUCTURE returns binary-decoded line counts.

62041dfb7d6ac6e9c633a557075999cdfcff7bd5 13-Oct-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Added support to get/set/iterate mailbox attributes. The attributes are stored in a dict specified by mail_attribute_dict setting. The idea is to use this as storage for extensions that require per-mailbox key=value pairs, such as METADATA.

9357960a30d4936de5e261bf522d83f7d3f49986 24-Sep-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Added STATUS_CHECK_OVER_QUOTA for checking if user is over quota.

e9df0f285429d2b896ecdb4cd873d25e5e895620 25-Sep-2012 Timo Sirainen <tss@iki.fi>

Various cleanups to checking if mailbox name is valid.

71e88fae3be360e9a93b3398e743f99a6f05d2ed 10-Sep-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Removed rename_children parameter from mailbox_rename() The children are now always renamed. The only reason this feature was added in the first place was to make dsync's job easier, but this is no longer needed.

/dovecot/src/doveadm/doveadm-mail-mailbox.c /dovecot/src/doveadm/dsync/dsync-brain-mailbox-tree-sync.c /dovecot/src/imap/cmd-rename.c fail-mailbox.c index/imapc/imapc-list.c index/index-storage.c index/index-storage.h index/shared/shared-list.c list/mailbox-list-fs.c list/mailbox-list-index.c list/mailbox-list-maildir.c list/mailbox-list-none.c mail-storage-private.h mail-storage.c mail-storage.h mailbox-list-private.h /dovecot/src/plugins/acl/acl-mailbox.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/mail-log/mail-log-plugin.c /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/replication/replication-plugin.c
eef3caf6192c7e7f3779529644107fa35fd7468e 04-Sep-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Added mailbox_is_subscribed()

d6c06730a0a1ba6ac784d95eadc42c8c9a62661c 02-Sep-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Added MAILBOX_METADATA_BACKEND_NAMESPACE

3a85bb812999f5a748d5bc5752802ed0a64340bc 02-Sep-2012 Timo Sirainen <tss@iki.fi>

Comment update.

a81f332d8de01eb15213fdf5a4027d67424019db 02-Sep-2012 Timo Sirainen <tss@iki.fi>

Moved mailbox_equals() to lib-storage.

27a44fcfd8d19bffe0f267f20a2b5d3fe7600fdd 19-Aug-2012 Timo Sirainen <tss@iki.fi>

Removed CONTEXT_TYPE_SAFETY macro and reimplemented its functionality better. gcc/clang now gives a compiler error in many places if callback isn't exactly what was expected. It's also now much easier to add more of these checks.

/dovecot/src/anvil/anvil-connection.c /dovecot/src/auth/auth-request-handler.h /dovecot/src/auth/db-dict.c /dovecot/src/auth/db-ldap.c /dovecot/src/auth/db-sql.c /dovecot/src/config/config-connection.c /dovecot/src/doveadm/doveadm-mail-mailbox.c /dovecot/src/doveadm/doveadm-stats.c /dovecot/src/doveadm/doveadm.c /dovecot/src/imap/imap-fetch.h /dovecot/src/indexer/indexer-client.c /dovecot/src/lib-dns/dns-lookup.c /dovecot/src/lib-dns/dns-lookup.h /dovecot/src/lib-imap-storage/imap-msgpart.c /dovecot/src/lib-index/mail-index-util.c /dovecot/src/lib-lda/mail-send.c /dovecot/src/lib-mail/istream-header-filter.c /dovecot/src/lib-mail/istream-header-filter.h /dovecot/src/lib-mail/message-header-parser.h /dovecot/src/lib-mail/message-parser.h /dovecot/src/lib-mail/test-istream-header-filter.c /dovecot/src/lib-master/master-service.c /dovecot/src/lib-settings/settings.c /dovecot/src/lib-settings/settings.h /dovecot/src/lib-sql/sql-api.h index/dbox-multi/mdbox-purge.c index/dbox-multi/mdbox-storage-rebuild.c index/imapc/imapc-mail-fetch.c index/index-mail-binary.c index/index-mail.c index/index-search.c index/index-sort-string.c index/index-thread.c index/maildir/maildir-mail.c index/maildir/maildir-storage.h index/maildir/maildir-sync-index.c index/mbox/mbox-mail.c index/pop3c/pop3c-sync.c mail-search.h mail-storage.h mailbox-header.c /dovecot/src/lib/array.h /dovecot/src/lib/bsearch-insert-pos.c /dovecot/src/lib/bsearch-insert-pos.h /dovecot/src/lib/child-wait.h /dovecot/src/lib/connection.c /dovecot/src/lib/ioloop.h /dovecot/src/lib/istream.h /dovecot/src/lib/macros.h /dovecot/src/lib/module-dir.c /dovecot/src/lib/ostream.h /dovecot/src/lib/strfuncs.c /dovecot/src/lib/strfuncs.h /dovecot/src/lib/test-bsearch-insert-pos.c /dovecot/src/plugins/acl/acl-backend.c /dovecot/src/plugins/fts-squat/squat-uidlist.c /dovecot/src/plugins/pop3-migration/pop3-migration-plugin.c
6f691748802e32634fdfca2efa2a2058a47a4264 14-Aug-2012 Timo Sirainen <tss@iki.fi>

lib-storage: MAX_SORT_PROGRAM_SIZE was too small

306b3f41b05da642d87e7ca7a1496efce9f5902f 11-Aug-2012 Timo Sirainen <tss@iki.fi>

IMAP BINARY extension supports now FETCH BINARY command.

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 index/dbox-multi/mdbox-mail.c index/dbox-single/sdbox-mail.c index/dbox-single/sdbox-sync.c index/index-storage.c index/index-thread.c index/index-transaction.c index/maildir/maildir-mail.c index/maildir/maildir-sync.c index/maildir/maildir-uidlist.c index/mbox/mbox-lock.c index/mbox/mbox-lock.h index/mbox/mbox-mail.c index/mbox/mbox-save.c index/mbox/mbox-storage.c index/mbox/mbox-sync.c index/pop3c/pop3c-client.c list/subscription-file.c mail-storage.c mail-storage.h 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 /dovecot/src/login-common/client-common-auth.c /dovecot/src/login-common/client-common.h /dovecot/src/login-common/login-proxy.c /dovecot/src/login-common/ssl-proxy-gnutls.c /dovecot/src/login-common/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
a10ed8c47534b4c6b6bf2711ccfe577e720a47b4 23-Jun-2012 Timo Sirainen <tss@iki.fi>

Marked functions parameters that are allowed to be NULL. Some APIs were also changed. The non-obvious APIs where NULL parameter was changed to "" are master_service_init() and auth_master_user_list_init(). These checks can currently be enabled only on a patched clang: http://llvm.org/bugs/show_bug.cgi?id=6786

/dovecot/src/anvil/main.c /dovecot/src/auth/auth-master-connection.c /dovecot/src/auth/auth-master-connection.h /dovecot/src/auth/auth-request-handler.c /dovecot/src/auth/auth-request.c /dovecot/src/auth/auth-request.h /dovecot/src/auth/auth-settings.h /dovecot/src/auth/auth-stream.h /dovecot/src/auth/auth-worker-server.c /dovecot/src/auth/auth.c /dovecot/src/auth/auth.h /dovecot/src/auth/db-checkpassword.h /dovecot/src/auth/db-ldap.c /dovecot/src/auth/db-ldap.h /dovecot/src/auth/db-passwd-file.c /dovecot/src/auth/main.c /dovecot/src/auth/mech-anonymous.c /dovecot/src/auth/mech-apop.c /dovecot/src/auth/mech-cram-md5.c /dovecot/src/auth/mech-ntlm.c /dovecot/src/auth/mech-otp-skey-common.c /dovecot/src/auth/mech-plain-common.c /dovecot/src/auth/mech-rpa.c /dovecot/src/auth/mech-winbind.c /dovecot/src/auth/mech.c /dovecot/src/auth/password-scheme-otp.c /dovecot/src/auth/password-scheme.h /dovecot/src/auth/userdb-passwd.c /dovecot/src/auth/userdb-static.c /dovecot/src/auth/userdb.h /dovecot/src/config/config-parser-private.h /dovecot/src/config/config-request.h /dovecot/src/config/doveconf.c /dovecot/src/config/main.c /dovecot/src/dict/main.c /dovecot/src/director/director-connection.c /dovecot/src/director/director-test.c /dovecot/src/director/director.h /dovecot/src/dns/dns-client.c /dovecot/src/doveadm/doveadm-director.c /dovecot/src/doveadm/doveadm-log.c /dovecot/src/doveadm/doveadm-mail-fetch.c /dovecot/src/doveadm/doveadm-mail-iter.h /dovecot/src/doveadm/doveadm-mail-mailbox-status.c /dovecot/src/doveadm/dsync/doveadm-dsync.c /dovecot/src/doveadm/dsync/dsync-brain.c /dovecot/src/doveadm/dsync/dsync-mailbox-import.c /dovecot/src/doveadm/dsync/dsync-slave-io.c /dovecot/src/doveadm/main.c /dovecot/src/imap-login/client.c /dovecot/src/imap-login/client.h /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-expunge.c /dovecot/src/imap/imap-client.h /dovecot/src/imap/imap-commands-util.h /dovecot/src/imap/imap-expunge.h /dovecot/src/imap/imap-fetch-body.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-search.h /dovecot/src/imap/imap-sync.c /dovecot/src/indexer/indexer.c /dovecot/src/indexer/master-connection.c /dovecot/src/ipc/client.c /dovecot/src/ipc/main.c /dovecot/src/lib-auth/auth-client-request.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-dict/dict.h /dovecot/src/lib-dns/dns-lookup.h /dovecot/src/lib-imap-client/imapc-connection.h /dovecot/src/lib-imap-storage/imap-msgpart.c /dovecot/src/lib-imap/imap-base-subject.c /dovecot/src/lib-imap/imap-parser.c /dovecot/src/lib-imap/imap-parser.h /dovecot/src/lib-imap/imap-url.c /dovecot/src/lib-imap/imap-util.h /dovecot/src/lib-index/mail-cache-lookup.c /dovecot/src/lib-index/mail-cache-transaction.c /dovecot/src/lib-index/mail-index-alloc-cache.c /dovecot/src/lib-index/mail-index-alloc-cache.h /dovecot/src/lib-index/mail-index-map-hdr.c /dovecot/src/lib-index/mail-index-map.c /dovecot/src/lib-index/mail-index-util.h /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-lda/mail-deliver.h /dovecot/src/lib-lda/smtp-client.h /dovecot/src/lib-mail/istream-binary-converter.c /dovecot/src/lib-mail/istream-dot.c /dovecot/src/lib-mail/istream-header-filter.h /dovecot/src/lib-mail/message-header-parser.h /dovecot/src/lib-mail/message-parser.h /dovecot/src/lib-mail/message-part-serialize.c /dovecot/src/lib-mail/message-search.h /dovecot/src/lib-mail/message-size.c /dovecot/src/lib-mail/message-size.h /dovecot/src/lib-mail/rfc822-parser.h /dovecot/src/lib-mail/test-istream-header-filter.c /dovecot/src/lib-master/anvil-client.h /dovecot/src/lib-master/ipc-client.h /dovecot/src/lib-master/ipc-server.c /dovecot/src/lib-master/master-service-settings-cache.h /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/mountpoint-list.c /dovecot/src/lib-ntlm/ntlm-encrypt.c /dovecot/src/lib-ntlm/ntlm-encrypt.h /dovecot/src/lib-otp/otp-parse.c /dovecot/src/lib-settings/settings-parser.c /dovecot/src/lib-settings/settings.h /dovecot/src/lib-sql/driver-mysql.c /dovecot/src/lib-sql/driver-pgsql.c /dovecot/src/lib-sql/driver-sqlpool.c /dovecot/src/lib-sql/sql-api.c index/dbox-common/dbox-file-fix.c index/dbox-common/dbox-save.h index/dbox-common/dbox-storage.c index/dbox-common/dbox-sync-rebuild.c index/dbox-multi/mdbox-map.c index/dbox-multi/mdbox-storage.c index/dbox-multi/mdbox-storage.h index/dbox-multi/mdbox-sync.c index/dbox-single/sdbox-storage.c index/imapc/imapc-mail.c index/index-mail-headers.c index/index-mail.c index/index-mail.h index/index-search.c index/index-sort.c index/index-storage.h index/index-sync-changes.h index/maildir/maildir-filename-flags.c index/maildir/maildir-filename-flags.h index/maildir/maildir-mail.c index/maildir/maildir-save.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/maildir/maildir-sync-index.c index/maildir/maildir-sync.c index/maildir/maildir-sync.h index/maildir/maildir-uidlist.c index/maildir/maildir-uidlist.h index/maildir/maildir-util.c index/mbox/mbox-file.c index/mbox/mbox-lock.c index/mbox/mbox-mail.c index/mbox/mbox-storage.c index/mbox/mbox-sync-parse.c index/mbox/mbox-sync.c index/raw/raw-storage.c index/shared/shared-storage.c list/mailbox-list-delete.c list/mailbox-list-fs-iter.c list/mailbox-list-fs.c list/mailbox-list-index-status.c list/mailbox-list-index.c list/mailbox-list-maildir.c mail-namespace.h mail-search.h mail-storage-service.c mail-storage-service.h mail-storage.c mail-storage.h mail-thread.h mail.c mailbox-get.c mailbox-list-private.h mailbox-list.c mailbox-list.h mailbox-tree.c mailbox-tree.h /dovecot/src/lib-test/test-common.h /dovecot/src/lib/base64.h /dovecot/src/lib/buffer.h /dovecot/src/lib/child-wait.h /dovecot/src/lib/eacces-error.h /dovecot/src/lib/failures.c /dovecot/src/lib/file-dotlock.c /dovecot/src/lib/hash.c /dovecot/src/lib/hash.h /dovecot/src/lib/hash2.h /dovecot/src/lib/ioloop-notify-fd.h /dovecot/src/lib/ioloop.c /dovecot/src/lib/ioloop.h /dovecot/src/lib/iso8601-date.c /dovecot/src/lib/istream-base64-encoder.c /dovecot/src/lib/istream-chain.c /dovecot/src/lib/istream-chain.h /dovecot/src/lib/istream-crlf.c /dovecot/src/lib/istream-private.h /dovecot/src/lib/istream-seekable.h /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/macros.h /dovecot/src/lib/mkdir-parents.c /dovecot/src/lib/module-dir.h /dovecot/src/lib/network.c /dovecot/src/lib/network.h /dovecot/src/lib/ostream-private.h /dovecot/src/lib/ostream.c /dovecot/src/lib/ostream.h /dovecot/src/lib/restrict-access.h /dovecot/src/lib/safe-mkstemp.c /dovecot/src/lib/strfuncs.c /dovecot/src/lib/strfuncs.h /dovecot/src/lib/test-iso8601-date.c /dovecot/src/lib/uri-util.c /dovecot/src/lib/uri-util.h /dovecot/src/lib/var-expand.h /dovecot/src/lmtp/client.h /dovecot/src/lmtp/lmtp-proxy.h /dovecot/src/log/main.c /dovecot/src/login-common/client-common-auth.c /dovecot/src/login-common/login-proxy.c /dovecot/src/login-common/login-settings.h /dovecot/src/login-common/sasl-server.c /dovecot/src/login-common/ssl-proxy-openssl.c /dovecot/src/master/common.h /dovecot/src/plugins/acl/acl-backend-vfile-acllist.c /dovecot/src/plugins/acl/acl-plugin.h /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-lucene/lucene-wrapper.h /dovecot/src/plugins/fts-solr/solr-connection.c /dovecot/src/plugins/fts-squat/squat-trie.h /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/quota/quota-dirsize.c /dovecot/src/plugins/quota/quota-fs.c /dovecot/src/plugins/quota/quota-maildir.c /dovecot/src/plugins/quota/quota.c /dovecot/src/pop3/pop3-client.h /dovecot/src/replication/aggregator/aggregator.c /dovecot/src/replication/replicator/replicator.c /dovecot/src/ssl-params/main.c /dovecot/src/stats/mail-domain.h /dovecot/src/stats/mail-ip.h /dovecot/src/stats/mail-session.h /dovecot/src/stats/mail-user.h /dovecot/src/stats/main.c
02f884382018f4435407374a059407caa44c9239 20-Jun-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Added mailbox_move(), which is basically copy+expunge.

068da0f391ff8c633f629f5ab207331db8c3e987 04-May-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Added MAILBOX_TRANSACTION_FLAG_SYNC flag

33b469d1ca66dd2cc496d2d990b8b98e72952a29 19-Apr-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Added mailbox_delete_empty().

9617ac7078a17bd346fed69526861c3e7fd9d809 30-Mar-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Added mailbox_save_set_pop3_order() and implemented for Maildir.

900bb5e316d030cdebff7ee128ce65881dfb27f7 02-Mar-2012 Timo Sirainen <tss@iki.fi>

lib-storage: mail_transaction_commit_changes.changed=TRUE only when something actually changed.

9438ecaf1caee1bb33c8d7f638742875ac42c4e5 26-Feb-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Removed min_timeout parameter from mailbox_notify_changes() It's now internally taken from mailbox_idle_check_interval setting.

00aaafa8619b4e6aaf23f15d30c36f06ccb820bc 06-Jan-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Added mailbox_save_using_mail()

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

dsync: Update cache fields' decision and last_used fields explicitly. This makes v2.1's dsync incompatible with v2.0's when used in different servers.

ed354926406e28254b581f821bb052f38d9c14e8 02-Dec-2011 Timo Sirainen <tss@iki.fi>

Implemented IMAP SPECIAL-USE extension.

ecd69c4e8371853667e01b0c16d436ef7f7393e2 12-Oct-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Added mail_log_update_wanted_fields()

6df0ab0c1ab91f06b6418cb30eff44405a1b8f02 04-Oct-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Added mail_get_hdr_stream() and use it where possible. This makes it clearer for backends when it needs a message body instead of only message header.

421d30619384e72a27e2a5d13ff6525aff4d17fe 31-Aug-2011 Timo Sirainen <tss@iki.fi>

Redesigned mail precaching APIs. There's no longer a one monolithic mailbox_sync(MAILBOX_SYNC_FLAG_PRECACHE) call, but rather one mail_precache() call for each mail to be precached. This allows the callers to show the progress and in general is cleaner.

/dovecot/src/doveadm/doveadm-mail-index.c /dovecot/src/indexer/master-connection.c index/cydir/cydir-mail.c index/dbox-multi/mdbox-mail.c index/dbox-single/sdbox-mail.c index/imapc/imapc-mail.c index/index-mail.c index/index-mail.h index/index-status.c index/index-sync.c index/maildir/maildir-mail.c index/mbox/mbox-mail.c index/raw/raw-mail.c mail-storage-private.h mail-storage.h mail.c test-mail.c /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts/Makefile.am /dovecot/src/plugins/fts/fts-api-private.h /dovecot/src/plugins/fts/fts-build-mail.c /dovecot/src/plugins/fts/fts-build-mail.h /dovecot/src/plugins/fts/fts-build-mailbox.c /dovecot/src/plugins/fts/fts-build-private.h /dovecot/src/plugins/fts/fts-build-virtual.c /dovecot/src/plugins/fts/fts-build.h /dovecot/src/plugins/fts/fts-indexer.c /dovecot/src/plugins/fts/fts-indexer.h /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/fts/fts-storage.h /dovecot/src/plugins/virtual/virtual-mail.c /dovecot/src/plugins/virtual/virtual-storage.c
b1ba6a91bd73e1407865acd405814753dedd0121 30-Aug-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Added MAILBOX_TRANSACTION_FLAG_NO_CACHE_DEC and use it when precaching. The result is that "doveadm index" no longer changes caching decisions.

ab9a91eb05a54f7675e0bf861aca53f417e1980d 30-Aug-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Added MAILBOX_TRANSACTION_FLAG_NO_CACHE_DEC and use it when precaching. The result is that "doveadm index" no longer changes caching decisions.

4145cbac82bfc0c8bfeceeca0ef841700117930c 28-Aug-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Replaced MAILBOX_FLAG_KEEP_RECENT flag with reverse MAILBOX_FLAG_DROP_RECENT. Very few places actually want to drop recent flags, so this way is easier.

/dovecot/src/doveadm/doveadm-mail-import.c /dovecot/src/doveadm/doveadm-mail-index.c /dovecot/src/doveadm/doveadm-mail-iter.c /dovecot/src/doveadm/doveadm-mail-move.c /dovecot/src/doveadm/doveadm-mail.c /dovecot/src/dsync/dsync-worker-local.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/imap-commands-util.c /dovecot/src/imap/imap-status.c /dovecot/src/indexer/master-connection.c /dovecot/src/lib-lda/mail-deliver.c index/dbox-multi/mdbox-storage-rebuild.c index/index-sync.c index/maildir/maildir-save.c index/maildir/maildir-sync.c index/mbox/mbox-file.c index/mbox/mbox-sync.c list/index-mailbox-list.c list/mailbox-list-fs-iter.c mail-storage.h mailbox-guid-cache.c mailbox-list.c /dovecot/src/plugins/acl/doveadm-acl.c /dovecot/src/plugins/fts-lucene/lucene-wrapper.cc /dovecot/src/plugins/fts/fts-api.c /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/quota/quota-count.c /dovecot/src/plugins/snarf/snarf-plugin.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/virtual/virtual-storage.c /dovecot/src/plugins/virtual/virtual-sync.c /dovecot/src/pop3/pop3-client.c
de62ce819d59a529530da4b57be1b8d6dad13d6b 25-Aug-2011 Timo Sirainen <tss@iki.fi>

Moved GUID code to liblib. Use guid_128_t type consistently everywhere.

/dovecot/src/doveadm/doveadm-dump-index.c /dovecot/src/doveadm/doveadm-mail-fetch.c /dovecot/src/doveadm/doveadm-mail-mailbox-status.c /dovecot/src/doveadm/doveadm-mail-search.c /dovecot/src/dsync/dsync-brain-msgs.c /dovecot/src/dsync/dsync-data.c /dovecot/src/dsync/dsync-data.h /dovecot/src/dsync/dsync-worker-local.c /dovecot/src/dsync/test-dsync-brain-msgs.c /dovecot/src/dsync/test-dsync-common.c /dovecot/src/dsync/test-dsync-common.h /dovecot/src/dsync/test-dsync-proxy-server-cmd.c /dovecot/src/dsync/test-dsync-proxy.c /dovecot/src/imap/imap-status.c /dovecot/src/lib-index/mail-index-transaction-update.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-transaction-log.h /dovecot/src/lib-index/mailbox-log.h /dovecot/src/lib-index/test-mail-index-transaction-finish.c /dovecot/src/lib-index/test-mail-index-transaction-update.c /dovecot/src/lib-lda/mail-deliver.c /dovecot/src/lib-lda/mail-deliver.h /dovecot/src/lib-mail/mail-types.h index/dbox-common/dbox-file-fix.c index/dbox-common/dbox-save.c index/dbox-common/dbox-save.h index/dbox-multi/mdbox-save.c index/dbox-multi/mdbox-storage-rebuild.c index/dbox-multi/mdbox-storage.c index/dbox-multi/mdbox-storage.h index/dbox-multi/mdbox-sync.c index/dbox-single/sdbox-copy.c index/dbox-single/sdbox-file.c index/dbox-single/sdbox-save.c index/dbox-single/sdbox-storage.c index/dbox-single/sdbox-storage.h index/dbox-single/sdbox-sync-rebuild.c index/index-attachment.c index/index-mail.c index/index-search.c index/index-storage.c index/index-sync-changes.c index/index-sync-changes.h index/maildir/maildir-storage.c index/maildir/maildir-sync-index.c index/maildir/maildir-uidlist.c index/maildir/maildir-uidlist.h index/mbox/mbox-storage.c index/mbox/mbox-storage.h index/mbox/mbox-sync.c list/index-mailbox-list-status.c list/index-mailbox-list.h list/mailbox-list-fs.c mail-storage.c mail-storage.h mail.c mailbox-guid-cache.c mailbox-guid-cache.h mailbox-list-private.h mailbox-list.c mailbox-list.h test-mailbox-get.c /dovecot/src/lib/Makefile.am /dovecot/src/lib/guid.c /dovecot/src/lib/guid.h /dovecot/src/lmtp/client.c /dovecot/src/plugins/fts-lucene/doveadm-fts-lucene.c /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-lucene/lucene-wrapper.cc /dovecot/src/plugins/fts-lucene/lucene-wrapper.h /dovecot/src/plugins/fts/doveadm-dump-fts-expunge-log.c /dovecot/src/plugins/fts/fts-api-private.h /dovecot/src/plugins/fts/fts-api.c /dovecot/src/plugins/fts/fts-expunge-log.c /dovecot/src/plugins/fts/fts-expunge-log.h
20eafc2a848865ce7bf5e8c609e3b0bbd9077ec2 16-Aug-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Added MAILBOX_SYNC_FLAG_OPTIMIZE flag for triggering fts optimize. This is a pretty ugly kludge, since it does nothing when FTS isn't enabled..

6feb0ff583c425dbe5b77ad99bc5ecbd2e508f29 12-Aug-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Added mail_guid_128_hash/cmp()

bd4e36a8cd7257cca7d1434c49a1e343ed7c5100 11-Aug-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Added mailbox_alloc_guid() for opening mailbox by its GUID.

cff1f182205e674285cf3ff446a0dcf7afea277d 29-Jul-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Added auto_boxes parameter to mailbox_exists().

fd14806f879f6cd4f023750e0c4cac27a7f94fbb 26-Jul-2011 Timo Sirainen <tss@iki.fi>

s/search score/search relevancy/

64b61cd24d630223478ccbe1934b9f60f0881f59 14-Jun-2011 Timo Sirainen <tss@iki.fi>

Moved the main functionality from "doveadm index" to MAILBOX_SYNC_FLAG_PRECACHE This also allows plugins to hook into the sync and implement their own precaching easily. fts indexing is now done this way rather than kludging.

b59960aed0923004f21f2a00bc1c945084d2f851 23-May-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Export a list of permanent flags via mailbox_status(). Removed mailbox_allow_new_keywords(), since it's now included in the status structure. ACL plugin may limit what flags are permanent according to ACLs.

c7e14824e4e1ca9dc5d48d1eddc4a38d3041218f 05-May-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Added mail_parse().

7370fb9ff75b674f99059adf24502ee9ae7a47bc 05-May-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Added mail_is_cached()

1f47e475485571c27f7b1b18afa464db999ae64a 04-May-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Added MAIL_SORT_POP3_ORDER

e1eeb3be29afde2830c2b7ed594c6f1fef2f69dc 04-May-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Added MAIL_FETCH_POP3_ORDER special field and implemented for Maildir. The idea is that this specifies the order of messages when accessing via POP3. This is useful when migrating both POP3 and IMAP users from servers where their message ordering differes and they still want to be preserved.

d798962a54c5cda054d57a0cfc7e5f47dfa20f6e 31-Mar-2011 Timo Sirainen <tss@iki.fi>

Changed header/body searching to do search key charset translation earlier. This cleans up and simplifies error handling.

eef4ba0cc3e78f8c26804c1c9251a76580a41f0c 29-Mar-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Changed mailbox_search_*() API to return pointer struct mail. This reduces the flexibility, because now different mailbox_search_next() calls can't have different mail parameters with possibly different wanted_fields settings. This flexibility was never used though, and removing it gives a couple of benefits: * it's now easier for backends to implement prefetch and parallel search * usage is easier since mail_alloc()/mail_free() is no longer needed

/dovecot/src/doveadm/doveadm-mail-altmove.c /dovecot/src/doveadm/doveadm-mail-expunge.c /dovecot/src/doveadm/doveadm-mail-fetch.c /dovecot/src/doveadm/doveadm-mail-import.c /dovecot/src/doveadm/doveadm-mail-iter.c /dovecot/src/doveadm/doveadm-mail-iter.h /dovecot/src/doveadm/doveadm-mail-search.c /dovecot/src/dsync/dsync-worker-local.c /dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/imap-expunge.c /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 index/dbox-single/sdbox-storage.c index/imapc/imapc-search.c index/imapc/imapc-storage.h index/index-mail.c index/index-mail.h index/index-search-private.h index/index-search-result.c index/index-search.c index/index-status.c index/index-storage.h index/index-thread.c mail-storage-private.h mail-storage.c mail-storage.h test-mailbox.c /dovecot/src/plugins/fts-squat/fts-backend-squat.c /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/quota/quota-count.c /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/snarf/snarf-plugin.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/virtual/virtual-search.c /dovecot/src/plugins/virtual/virtual-storage.h /dovecot/src/plugins/virtual/virtual-sync.c /dovecot/src/pop3/pop3-client.c /dovecot/src/pop3/pop3-commands.c
4590a0c0a2606a0ad29d1e6e513ef2ba99abc926 25-Mar-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Fixed mailbox_get_expunges() to return GUIDs with all mailbox formats. Also added mailbox_get_expunged_uids() for use cases that don't really need GUIDs.

29337701451b9c9f9dd26b2aec23a31ab5203822 16-Mar-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Added min_first_recent_uid to struct mailbox_update. Implemented for dbox. Maildir/mbox needs some more code to make this work correctly.

97f6b32429970e5befdd777b4104598623a8c806 16-Mar-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Added first_recent_uid to struct mailbox_status.

c29216637957d4b3126c6929ac5ba98138256ce1 12-Feb-2011 Timo Sirainen <tss@iki.fi>

lib-storage: mailbox_exists() can now return if it's selectable or non-selectable.

c0a87e5f3316a57e6f915882fa1951d0fbb74a61 20-Jan-2011 Timo Sirainen <tss@iki.fi>

lib-storage: mailbox_alloc() now takes a virtual mailbox name and other related API changes. All storage_name <-> vname conversions now go through the same two mailbox_list methods. This has many benefits, such as: * listescape plugin is now much simpler and bugfree * allows changing lib-storage API to use UTF-8 mailbox names in future * allows creation of "mailbox aliases" plugin

/dovecot/TODO /dovecot/src/doveadm/doveadm-mail-import.c /dovecot/src/doveadm/doveadm-mail-iter.c /dovecot/src/doveadm/doveadm-mail-list-iter.c /dovecot/src/doveadm/doveadm-mail-mailbox.c /dovecot/src/doveadm/doveadm-mail.c /dovecot/src/dsync/dsync-worker-local.c /dovecot/src/imap/cmd-create.c /dovecot/src/imap/cmd-delete.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-namespace.c /dovecot/src/imap/cmd-rename.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-status.c /dovecot/src/imap/cmd-subscribe.c /dovecot/src/imap/imap-commands-util.c /dovecot/src/imap/imap-commands-util.h /dovecot/src/lib-lda/mail-deliver.c index/cydir/cydir-storage.c index/dbox-multi/mdbox-storage-rebuild.c index/dbox-multi/mdbox-storage.c index/dbox-multi/mdbox-storage.h index/dbox-single/sdbox-storage.c index/imapc/imapc-storage.c index/index-storage.c index/index-storage.h index/maildir/maildir-storage.c index/mbox/mbox-storage.c index/raw/raw-storage.c index/shared/shared-list.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-iter.c list/mailbox-list-maildir.c list/mailbox-list-maildir.h list/mailbox-list-none.c list/mailbox-list-subscriptions.c mail-namespace.c mail-namespace.h mail-search.c mail-storage-private.h mail-storage.c mail-storage.h mailbox-list-private.h mailbox-list.c mailbox-list.h test-mail-storage.h test-mailbox.c /dovecot/src/plugins/acl/acl-backend-vfile-acllist.c /dovecot/src/plugins/acl/acl-backend-vfile.c /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/autocreate/autocreate-plugin.c /dovecot/src/plugins/fts-solr/fts-backend-solr.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/listescape/listescape-plugin.c /dovecot/src/plugins/quota/quota-count.c /dovecot/src/plugins/quota/quota-maildir.c /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/quota/quota.c /dovecot/src/plugins/snarf/snarf-plugin.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/virtual/virtual-config.c /dovecot/src/plugins/virtual/virtual-storage.c /dovecot/src/pop3/pop3-client.c
11352dc3e4b29f3d2763c82f8ea4f99e8daf4fa3 20-Jan-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Added mailbox_get_last_*error() wrappers and use them.

/dovecot/src/doveadm/doveadm-mail-fetch.c /dovecot/src/doveadm/doveadm-mail-import.c /dovecot/src/doveadm/doveadm-mail-iter.c /dovecot/src/doveadm/doveadm-mail-mailbox.c /dovecot/src/doveadm/doveadm-mail.c /dovecot/src/dsync/dsync-worker-local.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/imap-commands-util.c /dovecot/src/imap/imap-status.c /dovecot/src/lda/main.c /dovecot/src/lib-lda/mail-deliver.c index/dbox-multi/mdbox-storage-rebuild.c index/maildir/maildir-storage.c mail-storage.c mail-storage.h /dovecot/src/lmtp/commands.c /dovecot/src/plugins/autocreate/autocreate-plugin.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/quota/quota-count.c /dovecot/src/plugins/snarf/snarf-plugin.c /dovecot/src/plugins/virtual/virtual-storage.c /dovecot/src/pop3/pop3-client.c
306cfd77100131c08b243de10f6d40500f4c27c6 20-Jan-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Replaced mailbox_list_get_name_status() with mailbox_exists().

d5bc636319181faeb20ed712714517dc032b2cc9 03-Jan-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Added mailbox_save_get_transaction().

51327f2489a4e0e615eb9f7d921473cf8512bb79 01-Jan-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Moved some items from mailbox_get_status() to a new mailbox_get_metadata(). The idea is now that all status items are tracked all the time after mailbox is opened and they can always be looked up without failure. The metadata items are looked up lazily and the lookups may fail at any time. mailbox_get_status() can be used after mailbox_alloc() to indicate that the mailbox doesn't necessarily have to be opened, just that the status fields get returned. If mailbox is already known to be open, mailbox_get_open_status() can be used. It never fails.

/dovecot/src/doveadm/doveadm-mail-fetch.c /dovecot/src/doveadm/doveadm-mail-mailbox-status.c /dovecot/src/doveadm/doveadm-mail-search.c /dovecot/src/doveadm/doveadm-mail.c /dovecot/src/doveadm/doveadm-mail.h /dovecot/src/dsync/dsync-worker-local.c /dovecot/src/imap/cmd-enable.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/imap-client.c /dovecot/src/imap/imap-client.h /dovecot/src/imap/imap-commands-util.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-search.c /dovecot/src/imap/imap-status.c /dovecot/src/imap/imap-status.h /dovecot/src/imap/imap-sync.c index/dbox-multi/mdbox-storage.c index/dbox-single/sdbox-storage.c index/index-search.c index/index-status.c index/index-storage.c index/index-storage.h index/maildir/maildir-storage.c index/mbox/mbox-storage.c list/index-mailbox-list-sync.c mail-storage-private.h mail-storage.c mail-storage.h /dovecot/src/plugins/fts-solr/fts-backend-solr.c /dovecot/src/plugins/fts-squat/fts-backend-squat.c /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/virtual/virtual-save.c /dovecot/src/plugins/virtual/virtual-storage.c /dovecot/src/plugins/virtual/virtual-sync.c /dovecot/src/pop3/pop3-client.c
afff56f1266ba321b115584141bbb056267f4818 01-Jan-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Added warning comments about mail_get_*header*utf8().

d3280fe317a4598c0868cc440e7a1191c06d0db3 29-Dec-2010 Timo Sirainen <tss@iki.fi>

lib-storage: mailbox_get_status() can now fail. It might have failed earlier also, but the errors were hidden from caller.

499fec3443374cc89fb8c83b8027c1614097d7a3 06-Dec-2010 Timo Sirainen <tss@iki.fi>

Moved fts/virtual plugin communication functions away from lib-storage.

4182d8cd818e76856a5a1e25b343fe5ddf69fd8e 06-Dec-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Simplified mailbox_keyword*() APIs. They are no longer struct mailbox methods, because they're always implemented as being wrappers to lib-index APIs anyway. Also mailbox_keywords_ref/unref() no longer take mailbox parameter.

8a13b020f90e080570658b18c042e7e352c8b14f 06-Dec-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Moved box->private_flags_mask to mailbox_get_private_flags_mask() This allows getting it lazily only when it's actually needed.

5ab855872dfa59c88e5c891592cfc7a0a74f6ff7 25-Oct-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Comment update to mail_get_stream()

cab9d33e9eecd2b173a973c7e78b14c753f295e5 15-Oct-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Added MAIL_STORAGE_FLAG_NO_AUTOVERIFY to skip checking storage root dir existence.

fa8f3c6818f6b900e078c8b0378abad486fadecb 01-Oct-2010 Timo Sirainen <tss@iki.fi>

mail-storage.h comments updated.

7fc0f80480063a9d4cb9e8c07b50db2a5627799e 22-Jul-2010 Timo Sirainen <tss@iki.fi>

Fixing my english: s/non-?existing/nonexistent/

de9d79337eca11a7f9c1cd476c74dfe4f09a4bd7 30-Jun-2010 Timo Sirainen <tss@iki.fi>

Removed mail_update_uid() / mail_index_update_uid(). It was working properly only with mdbox and there wasn't really a need for it. --HG-- branch : HEAD

/dovecot/src/doveadm/doveadm-dump-log.c /dovecot/src/lib-index/mail-index-sync-update.c /dovecot/src/lib-index/mail-index-transaction-export.c /dovecot/src/lib-index/mail-index-transaction-finish.c /dovecot/src/lib-index/mail-index-transaction-private.h /dovecot/src/lib-index/mail-index-transaction-update.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-transaction-log-file.c /dovecot/src/lib-index/mail-transaction-log.h /dovecot/src/lib-index/test-mail-index-transaction-finish.c /dovecot/src/lib-index/test-mail-index-transaction-update.c index/cydir/cydir-mail.c index/dbox-multi/mdbox-mail.c index/dbox-multi/mdbox-save.c index/dbox-single/sdbox-mail.c index/index-mail.c index/index-mail.h index/index-transaction.c index/maildir/maildir-mail.c index/maildir/maildir-save.c index/maildir/maildir-storage.h index/mbox/mbox-mail.c index/raw/raw-mail.c mail-storage-private.h mail-storage.h mail.c test-mail.c /dovecot/src/plugins/virtual/virtual-mail.c
fc40a9a002458e372ff4b9f6f4e15239520c0bcd 04-Jun-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Fixed accessing uncommitted saved mails with dsync dsync preserves uids, so uid==0 check won't work for detecting such mails. --HG-- branch : HEAD

9af6cc9ebc9986c1275ebdfa29c39e152af1557e 12-May-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Added mail_get_real_mail() that returns physical mail in a virtual mailbox. --HG-- branch : HEAD

35ba99e84f234a96bddb359264b64370757768de 12-May-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Added support for quickly getting mailbox's virtual size. --HG-- branch : HEAD

420040a5930a2b497e79ff0b5f59ba4b764a5b39 07-Apr-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Panic if deiniting storage before closing its mailboxes. --HG-- branch : HEAD

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

lib-storage: mail_get_parts() no longer returns const pointer. The struct message_part contained context-pointer and other APIs were using it, so the pointer really couldn't be const without casting it away sometimes. --HG-- branch : HEAD

16aef418492cb8d18c5196fd573a487177a9cab2 18-Feb-2010 Timo Sirainen <tss@iki.fi>

Added mail_guid_128_to_string(). Used it in several places. --HG-- branch : HEAD

2649b237dd4690575e75a30b2bf3b39ebd37b835 14-Feb-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Mailbox renaming API changed. --HG-- branch : HEAD

e5fd6dfd0a492e4708d4dbb7971d7fc5d7b8fd85 12-Feb-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Removed input parameter from mailbox_alloc(), added mailbox_open_stream() --HG-- branch : HEAD

/dovecot/src/doveadm/doveadm-mail.c /dovecot/src/dsync/dsync-worker-local.c /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-create.c /dovecot/src/imap/cmd-delete.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/imap-status.c /dovecot/src/lda/main.c /dovecot/src/lib-lda/mail-deliver.c index/cydir/cydir-storage.c index/dbox-common/dbox-storage.c index/dbox-multi/mdbox-storage-rebuild.c index/dbox-multi/mdbox-storage.c index/dbox-multi/mdbox-storage.h index/dbox-single/sdbox-storage.c index/dbox-single/sdbox-storage.h index/index-storage.c index/index-storage.h index/maildir/maildir-storage.c index/mbox/mbox-storage.c index/raw/raw-storage.c mail-storage-private.h mail-storage.c mail-storage.h test-mail-storage.h test-mailbox.c /dovecot/src/lmtp/commands.c /dovecot/src/plugins/autocreate/autocreate-plugin.c /dovecot/src/plugins/expire/expire-tool.c /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/mbox-snarf/mbox-snarf-plugin.c /dovecot/src/plugins/quota/quota-count.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/virtual/virtual-storage.c /dovecot/src/plugins/zlib/zlib-plugin.c /dovecot/src/pop3/pop3-client.c
fbd918f47f591f8084fd52b207ef29515ddd11b9 09-Feb-2010 Timo Sirainen <tss@iki.fi>

lib-storage: STATUS_GUID moved to mailbox_get_guid() that can fail. --HG-- branch : HEAD

61b0637759146621cbb7edcbd0b03a71cfd66dfe 09-Feb-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Mailbox deletion API changed. Mailbox deletion should now be free of race conditions. The actual file deletion code is now responsibility of mailbox_list backend. --HG-- branch : HEAD

/dovecot/src/dsync/dsync-worker-local.c /dovecot/src/imap/cmd-delete.c index/cydir/cydir-storage.c index/dbox-common/dbox-mail.h index/dbox-common/dbox-storage.c index/dbox-common/dbox-storage.h index/dbox-multi/mdbox-map.c index/dbox-multi/mdbox-map.h index/dbox-multi/mdbox-storage.c index/dbox-single/sdbox-storage.c index/index-storage.c index/index-storage.h index/index-transaction.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/mbox/mbox-storage.c index/raw/raw-storage.c index/shared/shared-list.c list/Makefile.am list/mailbox-list-delete.c list/mailbox-list-delete.h list/mailbox-list-fs.c list/mailbox-list-fs.h list/mailbox-list-maildir.c list/mailbox-list-maildir.h mail-copy.h mail-storage-private.h mail-storage.c mail-storage.h mailbox-list-private.h mailbox-list.c mailbox-list.h test-mailbox.c /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/acl/acl-mailbox.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/notify/notify-noop.c /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-storage.c /dovecot/src/plugins/virtual/virtual-storage.c
0bf480bb3496197a1849d3677ae83296c95c1302 07-Feb-2010 Timo Sirainen <tss@iki.fi>

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

e10d8b1291090c26b9ef499637e6e632485ca5be 07-Feb-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Split mailbox_close() and mailbox_free() functionality. --HG-- branch : HEAD

/dovecot/src/doveadm/doveadm-mail.c /dovecot/src/dsync/dsync-worker-local.c /dovecot/src/imap/cmd-append.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-logout.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-unselect.c /dovecot/src/imap/imap-client.c /dovecot/src/imap/imap-status.c /dovecot/src/lda/main.c /dovecot/src/lib-index/mail-index-alloc-cache.c /dovecot/src/lib-index/mail-index-alloc-cache.h /dovecot/src/lib-lda/mail-deliver.c index/dbox-multi/mdbox-storage-rebuild.c index/dbox-multi/mdbox-storage.c index/index-storage.c index/maildir/maildir-storage.c mail-storage.c mail-storage.h /dovecot/src/lmtp/client.c /dovecot/src/lmtp/commands.c /dovecot/src/plugins/autocreate/autocreate-plugin.c /dovecot/src/plugins/expire/expire-tool.c /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/mbox-snarf/mbox-snarf-plugin.c /dovecot/src/plugins/quota/quota-count.c /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/virtual/virtual-storage.c /dovecot/src/pop3/pop3-client.c
f2d4b98cf43a81aad9e38ac2aeaedc81dbdc8e50 17-Dec-2009 Timo Sirainen <tss@iki.fi>

mail-storage.h: Another comment update. --HG-- branch : HEAD

862540a368b0dc0ed3e4b36ae0fab57dc1853432 17-Dec-2009 Timo Sirainen <tss@iki.fi>

mail-storage.h: Updated comments, moved around functions. --HG-- branch : HEAD

2584e86cc2d8c31ba30a4109cf4ba09d1e37e28a 17-Dec-2009 Timo Sirainen <tss@iki.fi>

lib-storage: Changed mailbox_sync() and mailbox_sync_deinit() APIs. Although we're already in beta stage, this is simple enough of a change that it shouldn't matter much. Having syncing also return status information made the API ugly and the status information wasn't even wanted all that often. --HG-- branch : HEAD

/dovecot/src/doveadm/doveadm-mail.c /dovecot/src/dsync/dsync-worker-local.c /dovecot/src/imap/cmd-close.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/imap-status.c /dovecot/src/imap/imap-sync.c /dovecot/src/lda/main.c /dovecot/src/lib-lda/mail-deliver.c index/index-storage.h index/index-sync.c list/index-mailbox-list-sync.c mail-storage-private.h mail-storage.c mail-storage.h test-mailbox.c /dovecot/src/lmtp/commands.c /dovecot/src/plugins/expire/expire-tool.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/mbox-snarf/mbox-snarf-plugin.c /dovecot/src/plugins/quota/quota-count.c /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/virtual/virtual-sync.c /dovecot/src/pop3/pop3-client.c /dovecot/src/pop3/pop3-commands.c
2372e16bfae0a245bfde6e908cde0919aa11ee0b 17-Dec-2009 Timo Sirainen <tss@iki.fi>

Removed MAILBOX_SYNC_AUTO_STOP sync flag. It wasn't used anywhere. --HG-- branch : HEAD

9f19a50d5966643c4d1c5ca06868ac2ad31bc4d5 19-Nov-2009 Timo Sirainen <tss@iki.fi>

Transaction commits can now track how many uid/modseq updates were ignored. --HG-- branch : HEAD

f3bb2fbe87425dc89a839908985af496f7f65702 18-Nov-2009 Timo Sirainen <tss@iki.fi>

mailbox_search_next*() API changed to return bool. If search fails, it'll be noticed anyway by mailbox_search_deinit(). --HG-- branch : HEAD

/dovecot/src/dsync/dsync-worker-local.c /dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/imap-expunge.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-search.c index/index-search-result.c index/index-search.c index/index-storage.h index/index-thread.c mail-storage-private.h mail-storage.c mail-storage.h test-mailbox.c /dovecot/src/plugins/convert/convert-storage.c /dovecot/src/plugins/expire/expire-tool.c /dovecot/src/plugins/fts-squat/fts-backend-squat.c /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/mbox-snarf/mbox-snarf-plugin.c /dovecot/src/plugins/quota/quota-count.c /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/virtual/virtual-search.c /dovecot/src/plugins/virtual/virtual-storage.h /dovecot/src/plugins/virtual/virtual-sync.c /dovecot/src/pop3/pop3-client.c /dovecot/src/pop3/pop3-commands.c
eb0379e1485195211f8862a9640c0705326dcae7 17-Nov-2009 Timo Sirainen <tss@iki.fi>

lib-storage: Added support for listing/adding cache fields. --HG-- branch : HEAD

30d9ebeb1b74629f1ada541011fd41b8416ea2e0 05-Nov-2009 Timo Sirainen <tss@iki.fi>

lib-storage: Moved mail_generate_*() to be public functions. --HG-- branch : HEAD

00d43d5087b555c5c9c5667942ddf41d1b4ecb0f 19-Oct-2009 Timo Sirainen <tss@iki.fi>

imap: Implemented SORT=DISPLAY extension (draft-ietf-morg-sortdisplay-02). --HG-- branch : HEAD

225e82df5dd1e765f4e52b80c954558f00e5a7df 01-Sep-2009 Timo Sirainen <tss@iki.fi>

Added pop3_save_uidl setting. When UIDLs are sent to client, save them to dovecot-uidlist. This allows changing pop3_uidl_format without messages getting re-downloaded. It's also useful with virtual POP3 INBOX when UIDLs are based on IMAP UIDs that may not be as stable as in non-virtual INBOX. --HG-- branch : HEAD

c820b702d1eabfd5b029ac168fe769265e541561 29-Jul-2009 Timo Sirainen <tss@iki.fi>

Removed MAILBOX_GUID_SIZE macro, use MAIL_GUID_128_SIZE everywhere. They were required to be the same size anyway. --HG-- branch : HEAD

ad48319996942463675b53877092ab7e13a7a75a 29-Jul-2009 Timo Sirainen <tss@iki.fi>

Added ability to specify message's minimum modseq value. --HG-- branch : HEAD

/dovecot/src/lib-index/mail-index-modseq.c /dovecot/src/lib-index/mail-index-modseq.h /dovecot/src/lib-index/mail-index-sync-update.c /dovecot/src/lib-index/mail-index-transaction-export.c /dovecot/src/lib-index/mail-index-transaction-finish.c /dovecot/src/lib-index/mail-index-transaction-private.h /dovecot/src/lib-index/mail-index-transaction-update.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-transaction-log-append.c /dovecot/src/lib-index/mail-transaction-log-file.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.h /dovecot/src/lib-index/test-mail-index-transaction-finish.c /dovecot/src/lib-index/test-mail-index-transaction-update.c /dovecot/src/lib-index/test-mail-transaction-log-append.c /dovecot/src/lib-index/test-mail-transaction-log-view.c index/cydir/cydir-mail.c index/cydir/cydir-save.c index/dbox/dbox-mail.c index/dbox/dbox-save.c index/index-mail.c index/index-mail.h index/maildir/maildir-mail.c index/maildir/maildir-save.c index/mbox/mbox-mail.c index/mbox/mbox-save.c index/raw/raw-mail.c mail-storage-private.h mail-storage.c mail-storage.h mail.c test-mail.c /dovecot/src/plugins/virtual/virtual-mail.c /dovecot/src/plugins/virtual/virtual-save.c /dovecot/src/util/logview.c
bddd52cb7f3e5a894c080f60750aa76b5aeaf103 28-Jul-2009 Timo Sirainen <tss@iki.fi>

Added ability to change existing messages' UIDs with mail_[index_]update_uid(). --HG-- branch : HEAD

6acaa359928215b48e97373fb96a3dc326bbd65b 24-Jul-2009 Timo Sirainen <tss@iki.fi>

Added mailbox_backends_equal(). --HG-- branch : HEAD

96308127e006bb3b1108093bcf4cc1fd9481cb7a 24-Jul-2009 Timo Sirainen <tss@iki.fi>

mailbox_transaction_commit_get_uids() changed to _get_changes() with more generic API. Saved UIDs are no longer necessarily in a simple x:y range. --HG-- branch : HEAD

5785cfd5183086cbf18c6f1796021de92542e874 18-Jul-2009 Timo Sirainen <tss@iki.fi>

mail_guid_128_is_empty() is now a public function. --HG-- branch : HEAD

0f83592ccc280a29bdf01c4475805f6a4bad9abd 16-Jul-2009 Timo Sirainen <tss@iki.fi>

mail_generate_guid_128_hash() is now a public function. --HG-- branch : HEAD

0c909e3461607eadcd66f4eac69b7f34e37fccf1 14-Jul-2009 Timo Sirainen <tss@iki.fi>

Keep track of expunged messages' GUIDs and expose them via mailbox_get_expunges(). The message GUIDs are stored in expunge records to transaction log. Before doing the final expunge, Maildir and dbox verify that the GUID in expunge request matches the current actual GUID. The GUID is stored in 128 bit field. If the real GUID isn't 128 bit, the bits are taken from SHA1 of the GUID. --HG-- branch : HEAD

/dovecot/src/imap/imap-fetch.c /dovecot/src/lib-index/mail-index-sync-update.c /dovecot/src/lib-index/mail-index-sync.c /dovecot/src/lib-index/mail-index-transaction-export.c /dovecot/src/lib-index/mail-index-transaction-finish.c /dovecot/src/lib-index/mail-index-transaction-private.h /dovecot/src/lib-index/mail-index-transaction-update.c /dovecot/src/lib-index/mail-index-transaction-view.c /dovecot/src/lib-index/mail-index-transaction.c /dovecot/src/lib-index/mail-index-view-sync.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-transaction-log-append.c /dovecot/src/lib-index/mail-transaction-log-file.c /dovecot/src/lib-index/mail-transaction-log-view.c /dovecot/src/lib-index/mail-transaction-log.h /dovecot/src/lib-mail/mail-types.h index/dbox/dbox-file-fix.c index/dbox/dbox-file.c index/dbox/dbox-file.h index/dbox/dbox-map.c index/dbox/dbox-save.c index/dbox/dbox-storage-rebuild.c index/dbox/dbox-storage.c index/dbox/dbox-storage.h index/dbox/dbox-sync-file.c index/dbox/dbox-sync.c index/dbox/dbox-sync.h index/index-fetch.c index/index-mail.c index/index-storage.h index/index-sync-changes.c index/index-sync-changes.h index/maildir/maildir-sync-index.c index/mbox/mbox-sync.c mail-storage-private.h mail-storage.c mail-storage.h mail.c test-mailbox.c /dovecot/src/util/logview.c
64b5dcc136d6eb7ad90463e6cba9e16880ab52ad 07-Jul-2009 Timo Sirainen <tss@iki.fi>

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

0cce885512b836ce021260a58e7b4f099b36d0f1 30-Jun-2009 Timo Sirainen <tss@iki.fi>

Mailbox saving: Allow setting IMAP UID, POP3 UIDL and save date. Most of them aren't yet implemented by backends. --HG-- branch : HEAD

17ad2164c747cedbf81dae1893063e71a3df0356 26-Jun-2009 Timo Sirainen <tss@iki.fi>

Added support for creating/updating mailboxes with given metadata (guid, uid validity, etc). --HG-- branch : HEAD

/dovecot/src/imap/cmd-create.c /dovecot/src/lib-lda/mail-deliver.c index/cydir/cydir-storage.c index/dbox/dbox-save.c index/dbox/dbox-storage-rebuild.c index/dbox/dbox-storage.c index/dbox/dbox-storage.h index/dbox/dbox-sync-rebuild.c index/index-storage.c index/maildir/maildir-storage.c index/maildir/maildir-uidlist.c index/maildir/maildir-uidlist.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 mail-storage-private.h mail-storage.c mail-storage.h test-mail-storage.c test-mailbox.c /dovecot/src/plugins/acl/acl-mailbox.c /dovecot/src/plugins/acl/acl-storage.c /dovecot/src/plugins/autocreate/autocreate-plugin.c /dovecot/src/plugins/convert/convert-storage.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/listescape/listescape-plugin.c /dovecot/src/plugins/virtual/virtual-storage.c
48f9069853ebb59fd9fe22ab1647cf735e6bbe37 22-Jun-2009 Timo Sirainen <tss@iki.fi>

Added mailbox_save_copy_flags(). Use it wherever possible. --HG-- branch : HEAD

84ed9f8f3d0e5ed47607ef417618e49e4f865557 22-Jun-2009 Timo Sirainen <tss@iki.fi>

Added reference counting to struct mail_keywords and related APIs. --HG-- branch : HEAD

c0bfb67ba32064347bac3241f1aac9b8a809e2f1 15-Jun-2009 Timo Sirainen <tss@iki.fi>

Added support for mailbox GUIDs. --HG-- branch : HEAD

1d2b188f0eedc3cab6e27ceac5425a037f38042e 15-Jun-2009 Timo Sirainen <tss@iki.fi>

Mailbox opening and closing APIs changed. --HG-- branch : HEAD

/dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-close.c /dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-delete.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-unselect.c /dovecot/src/imap/imap-status.c /dovecot/src/lda/main.c /dovecot/src/lib-lda/mail-deliver.c index/cydir/cydir-storage.c index/cydir/cydir-storage.h index/cydir/cydir-sync.c index/dbox/dbox-file.c index/dbox/dbox-mail.c index/dbox/dbox-save.c index/dbox/dbox-storage-rebuild.c index/dbox/dbox-storage.c index/dbox/dbox-storage.h index/dbox/dbox-sync-rebuild.c index/dbox/dbox-sync.c index/index-storage.c index/index-storage.h index/index-thread.c index/maildir/maildir-copy.c index/maildir/maildir-keywords.c index/maildir/maildir-mail.c index/maildir/maildir-save.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/maildir/maildir-sync-index.c index/maildir/maildir-sync.c index/maildir/maildir-uidlist.c index/maildir/maildir-util.c index/mbox/mbox-file.c index/mbox/mbox-lock.c index/mbox/mbox-mail.c index/mbox/mbox-save.c index/mbox/mbox-storage.c index/mbox/mbox-storage.h index/mbox/mbox-sync-rewrite.c index/mbox/mbox-sync.c index/raw/raw-mail.c index/raw/raw-storage.c index/raw/raw-storage.h index/raw/raw-sync.c list/index-mailbox-list-sync.c mail-storage-private.h mail-storage.c mail-storage.h mailbox-list-private.h mailbox-list.c test-mail-storage.c test-mail-storage.h test-mailbox.c /dovecot/src/lmtp/commands.c /dovecot/src/plugins/acl/acl-mailbox.c /dovecot/src/plugins/acl/acl-plugin.h /dovecot/src/plugins/acl/acl-storage.c /dovecot/src/plugins/convert/convert-storage.c /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/expire/expire-tool.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/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-count.c /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/virtual/virtual-config.c /dovecot/src/plugins/virtual/virtual-storage.c /dovecot/src/plugins/virtual/virtual-storage.h /dovecot/src/plugins/virtual/virtual-sync.c /dovecot/src/plugins/zlib/zlib-plugin.c /dovecot/src/pop3/pop3-client.c /dovecot/src/util/doveadm.c
14ab4610b6038da6c5d0814fecabc6b74bc81a6b 05-Jun-2009 Timo Sirainen <tss@iki.fi>

Added mailbox_keywords_create_from_indexes(). --HG-- branch : HEAD

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

mail storages can now be shared between namespaces. --HG-- branch : HEAD

2615df45a8027948a474abe5e817b34b0499c171 03-Jun-2009 Timo Sirainen <tss@iki.fi>

Initial commit for making mail_storage:mailbox_list to be from 1:1 to n:n. This will allow namespaces to share the same storage and a single namespace to have multiple storages (multiple mailbox formats). Neither works currently, and this commit probably breaks some things. --HG-- branch : HEAD

/dovecot/src/config/settings-get.pl /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-create.c /dovecot/src/imap/cmd-delete.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-rename.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-status.c /dovecot/src/imap/cmd-subscribe.c /dovecot/src/imap/imap-client.c /dovecot/src/imap/imap-commands-util.c /dovecot/src/imap/imap-commands-util.h /dovecot/src/imap/imap-commands.h /dovecot/src/imap/imap-status.c /dovecot/src/imap/imap-status.h /dovecot/src/lda/main.c /dovecot/src/lib-lda/mail-deliver.c index/cydir/cydir-mail.c index/cydir/cydir-save.c index/cydir/cydir-storage.c index/cydir/cydir-sync.c index/dbox/dbox-map.c index/dbox/dbox-settings.c index/dbox/dbox-storage-rebuild.c index/dbox/dbox-storage.c index/dbox/dbox-storage.h index/dbox/dbox-sync-rebuild.c index/index-storage.c index/index-storage.h index/maildir/maildir-keywords.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/maildir/maildir-sync-index.c index/maildir/maildir-uidlist.c index/maildir/maildir-util.c index/mbox/mbox-lock.c index/mbox/mbox-save.c index/mbox/mbox-storage.c index/mbox/mbox-storage.h index/raw/raw-storage.c index/shared/shared-list.c index/shared/shared-storage.c index/shared/shared-storage.h list/index-mailbox-list-sync.c list/index-mailbox-list.c list/mailbox-list-fs.c list/mailbox-list-maildir.h 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 mailbox-list-private.h mailbox-list.c mailbox-list.h /dovecot/src/lmtp/commands.c /dovecot/src/plugins/acl/acl-api-private.h /dovecot/src/plugins/acl/acl-api.c /dovecot/src/plugins/acl/acl-api.h /dovecot/src/plugins/acl/acl-backend-vfile-acllist.c /dovecot/src/plugins/acl/acl-backend-vfile.c /dovecot/src/plugins/acl/acl-backend.c /dovecot/src/plugins/acl/acl-lookup-dict.c /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/acl/acl-mailbox.c /dovecot/src/plugins/acl/acl-plugin.h /dovecot/src/plugins/acl/acl-shared-storage.c /dovecot/src/plugins/acl/acl-storage.c /dovecot/src/plugins/acl/acl-storage.h /dovecot/src/plugins/autocreate/autocreate-plugin.c /dovecot/src/plugins/convert/convert-storage.c /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/expire/expire-tool.c /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-solr/fts-backend-solr.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/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-count.c /dovecot/src/plugins/quota/quota-dirsize.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/quota/quota.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/virtual/virtual-config.c /dovecot/src/plugins/virtual/virtual-mail.c /dovecot/src/plugins/virtual/virtual-storage.c /dovecot/src/plugins/virtual/virtual-storage.h /dovecot/src/plugins/zlib/zlib-plugin.c /dovecot/src/pop3/pop3-client.c /dovecot/src/util/doveadm.c
ebe6df72f1309135f02b6a4d2aef1e81a073f91c 29-Apr-2009 Timo Sirainen <tss@iki.fi>

Added struct mail.lookup_abort, which can be used to abort lookups that can't be done using cache. --HG-- branch : HEAD

a341c4cdbd4b93ba479f465ad3f569dc82f57312 14-Apr-2009 Timo Sirainen <tss@iki.fi>

Changed MAILBOX_OPEN_FAST meaning a bit. Don't use it where it's unnecessary. --HG-- branch : HEAD

82c70897a2d0e6144ecc56ca8e0eb9fff768f2c5 10-Apr-2009 Timo Sirainen <tss@iki.fi>

doveadm: Implemented force-resync functionality. --HG-- branch : HEAD

3e564425db51f3921ce4de11859777135fdedd15 10-Apr-2009 Timo Sirainen <tss@iki.fi>

Added mail_storage_purge() for dbox. dbox no longer calls it automatically at logout. --HG-- branch : HEAD

70ead6466f9baa8294e71fc2fba0a4f54f488b5e 26-Feb-2009 Timo Sirainen <tss@iki.fi>

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

bd4d0a1a7c0626452b8d82f37e3ec07267ac9896 06-Feb-2009 Timo Sirainen <tss@iki.fi>

Mail copying API changed to be based on save API. This allows extending it easily in future. --HG-- branch : HEAD

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
b8835b8a21c617ceb82ddc5a176243faf36aa8f7 30-Nov-2008 Timo Sirainen <tss@iki.fi>

fts: Added support for handling multiple namespaces. --HG-- branch : HEAD

3852872e6954b7132e637294132005e86b8ebd4a 29-Nov-2008 Timo Sirainen <tss@iki.fi>

Finished making full text search indexes work fast with virtual mailboxes. --HG-- branch : HEAD

ecdce39e5ef4b62eefa9f5818f17d153fd5d710a 23-Nov-2008 Timo Sirainen <tss@iki.fi>

Initial support for getting full text search working nicely with virtual mailboxes. --HG-- branch : HEAD

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

mailbox_open() now takes struct mail_storage ** so it can be changed. --HG-- branch : HEAD

f38854c96aef76e0c859df4e8f7303325b7ae8a1 19-Nov-2008 Timo Sirainen <tss@iki.fi>

mail_get_headers_utf8() and mail_get_first_header_utf8() return headers unfolded now. --HG-- branch : HEAD

04870054863757edf048c81dcce3c5e7dec453cd 16-Nov-2008 Timo Sirainen <tss@iki.fi>

ACLs: Initial support for "post" right. --HG-- branch : HEAD

ff3c528e094e75e3c6bc11af75ef84484d963ae9 16-Nov-2008 Timo Sirainen <tss@iki.fi>

IGNORE_ACLS should have been mailbox_open_flags, not mail_storage_flag. --HG-- branch : HEAD

ac4e6609cbdca594db1b1c02afb1e372ab22e060 16-Nov-2008 Timo Sirainen <tss@iki.fi>

Made CRITICAL_MSG* public to MAIL_ERRSTR_CRITICAL_MSG* in mail-error.h. --HG-- branch : HEAD

4321f6c969e7b8f6b243ff5bb6b8d297921676f6 15-Nov-2008 Timo Sirainen <tss@iki.fi>

Implemented imap-response-codes draft. --HG-- branch : HEAD

236bedf76e31651ea9fca63fbdc25be673819526 10-Oct-2008 Timo Sirainen <tss@iki.fi>

pop3+maildir: Make sure virtual sizes always get written to dovecot-uidlist file. --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

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

Typofix in comment. --HG-- branch : HEAD

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

Added struct mail_user and fixed the code to support multiple users per process. --HG-- branch : HEAD

/dovecot/src/deliver/deliver.c /dovecot/src/imap/client.c /dovecot/src/imap/client.h /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-namespace.c /dovecot/src/imap/cmd-subscribe.c /dovecot/src/imap/commands-util.c /dovecot/src/imap/main.c Makefile.am index/maildir/maildir-storage.c index/mbox/mbox-save.c index/mbox/mbox-storage.c mail-namespace.c mail-namespace.h mail-storage-private.h mail-storage.c mail-storage.h /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/convert/convert-plugin.c /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/expire-plugin.c /dovecot/src/plugins/expire/expire-tool.c /dovecot/src/plugins/imap-quota/imap-quota-plugin.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/quota/quota-count.c /dovecot/src/plugins/quota/quota-dict.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-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/virtual/virtual-config.c /dovecot/src/plugins/virtual/virtual-plugin.c /dovecot/src/plugins/virtual/virtual-plugin.h /dovecot/src/plugins/virtual/virtual-storage.c /dovecot/src/pop3/client.c /dovecot/src/pop3/client.h /dovecot/src/pop3/main.c
b19a1420da0618a10edf67c2cfd13c8c8633057a 07-Aug-2008 Timo Sirainen <tss@iki.fi>

Added the concept of Global UIDs that are preserved across copies. They can be fetched, searched and specified for the save API. dbox format supports them correctly, but with maildir the base filename is used so maildir_copy_preserve_filename=yes is required to preserve GUIDs when copying. --HG-- branch : HEAD

e3aeeb634245e80d4f643f8d2eea11d6b72336d8 07-Aug-2008 Timo Sirainen <tss@iki.fi>

mailbox_save_init() API was split to multiple functions. This allows adding more parameters easily in future. --HG-- branch : HEAD

e3796bfd2bc0fd5ba664893d346df9334a5b3af0 21-Jul-2008 Timo Sirainen <tss@iki.fi>

Added mailbox_keyword_is_valid(). --HG-- branch : HEAD

f95b3d29bc56f139c18c880aa574a0ca72b0cffb 19-Jul-2008 Timo Sirainen <tss@iki.fi>

struct mailbox_header_lookup_ctx can now be referenced/unreferenced so it can be shared among multiple struct mails. --HG-- branch : HEAD

a0c453a8edaec90fb0d945c874de0b1845bc7d7e 13-Jul-2008 Timo Sirainen <tss@iki.fi>

Added support for sorting by X-SCORE. Currently it's only set by fts-solr. --HG-- branch : HEAD

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

CONDSTORE: Return HIGHESTMODSEQ correctly even if indexes are in memory. --HG-- branch : HEAD

48270badadd82279bfe50ae3d187aea8b0b2b30e 21-Jun-2008 Timo Sirainen <tss@iki.fi>

CONDSTORE: STORE UNCHANGEDSINCE conflicts are now checked atomically. --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 mail-namespace.c mail-namespace.h mail-storage.c mail-storage.h mailbox-list.c 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 /dovecot/src/login-common/client-common.h /dovecot/src/login-common/login-proxy.c /dovecot/src/login-common/login-proxy.h /dovecot/src/login-common/ssl-proxy-openssl.c /dovecot/src/login-common/ssl-proxy.c /dovecot/src/login-common/ssl-proxy.h
06ff2a72c39cb34cc6425f17fc82c5e93fef2018 20-Jun-2008 Timo Sirainen <tss@iki.fi>

FETCH X-MAILBOX and SEARCH X-MAILBOX can be used with virtual mailboxes to find out the original mailbox. In non-virtual mailboxes they always just use the current mailbox name. --HG-- branch : HEAD

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

Added mailbox_search_result_build(). --HG-- branch : HEAD

17da42c31202b1b3e7e308121ea17d922c24da1b 11-Jun-2008 Timo Sirainen <tss@iki.fi>

QRESYNC: If MODSEQs were returned in FETCH replies but there are pending expunges, send a low enough HIGHESTMODSEQ reply to make sure the client will later see the expunges. --HG-- branch : HEAD

e76c494ad6535d3de314cc0d3ac7a44b06e53c4b 29-May-2008 Timo Sirainen <tss@iki.fi>

Maildir: If POP3 UIDL extra field is found from dovecot-uidlist, it's used instead of the default UIDL format (or X-UIDL: header). Patch by Nicholas Von Hollen @ Mailtrust. --HG-- branch : HEAD

408e5be344c9131fdebe771718a5bf49f88cc51c 07-Jun-2008 Timo Sirainen <tss@iki.fi>

Added mailbox_get_uid_range(). --HG-- branch : HEAD

5afa8e2edf4f313cd56e5909f92f39c3b5b7b4d3 07-Jun-2008 Timo Sirainen <tss@iki.fi>

Renamed mailbox_get_uids() to mailbox_get_seq_range(). --HG-- branch : HEAD

3dd0679b6f24be0287cc42d7a60bbf59cdf8b637 05-Jun-2008 Timo Sirainen <tss@iki.fi>

Implemented CONTEXT=SEARCH extension. --HG-- branch : HEAD

c4b376dd6e0c423006d7ac83a39253bcaf8e7c47 03-Jun-2008 Timo Sirainen <tss@iki.fi>

Make mail_search_args an independent structure that can be used for multiple separate searches. --HG-- branch : HEAD

/dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-expunge.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/cmd-search.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-sort.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/cmd-thread.c /dovecot/src/imap/imap-expunge.c /dovecot/src/imap/imap-expunge.h /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-sort.h /dovecot/src/imap/imap-thread.c /dovecot/src/imap/imap-thread.h index/index-search.c index/index-storage.h mail-search-build.c mail-search-build.h mail-search.c mail-search.h mail-storage-private.h mail-storage.c mail-storage.h /dovecot/src/plugins/convert/convert-storage.c /dovecot/src/plugins/expire/expire-tool.c /dovecot/src/plugins/fts-squat/fts-backend-squat.c /dovecot/src/plugins/fts/fts-search.c /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/fts/fts-storage.h /dovecot/src/plugins/mbox-snarf/mbox-snarf-plugin.c /dovecot/src/plugins/quota/quota-count.c /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/pop3/client.c /dovecot/src/pop3/commands.c
9293bf90039454f47e94e4ba3722a775cfa7d25c 16-Mar-2008 Timo Sirainen <tss@iki.fi>

Added MAILBOX_TRANSACTION_FLAG_REFRESH. Use it with STORE UNCHANGEDSINCE. --HG-- branch : HEAD

923eb3dde28e4d8841c14fd6b4a69635b7070c3e 15-Mar-2008 Timo Sirainen <tss@iki.fi>

Added QRESYNC support. --HG-- branch : HEAD

edcb2138d48afc1bfe81abcdfd6ad91163e4ee08 14-Mar-2008 Timo Sirainen <tss@iki.fi>

Added MAILBOX_SYNC_FLAG_EXPUNGE. --HG-- branch : HEAD

a2f250a332dfc1e6cd4ffd196c621eb9dbf7b8a1 15-Mar-2008 Timo Sirainen <tss@iki.fi>

Initial CONDSTORE support. --HG-- branch : HEAD

/dovecot/src/imap/client.c /dovecot/src/imap/client.h /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/cmd-search.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-status.c /dovecot/src/imap/imap-sync.c /dovecot/src/lib-imap/imap-util.c /dovecot/src/lib-imap/imap-util.h /dovecot/src/lib-index/Makefile.am /dovecot/src/lib-index/mail-index-map.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-keywords.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-transaction.c /dovecot/src/lib-index/mail-index-view-sync.c /dovecot/src/lib-index/mail-index.c /dovecot/src/lib-index/mail-index.h index/cydir/cydir-mail.c index/cydir/cydir-storage.c index/dbox/dbox-mail.c index/dbox/dbox-storage.c index/index-mail.c index/index-mail.h index/index-search.c index/index-status.c index/index-storage.c index/index-storage.h index/index-transaction.c index/maildir/maildir-mail.c index/maildir/maildir-storage.c index/mbox/mbox-mail.c index/mbox/mbox-storage.c index/raw/raw-mail.c index/raw/raw-storage.c mail-search-build.c mail-search.h mail-storage-private.h mail-storage.c mail-storage.h mail.c
c528dcedb15e0dd51ba4f923f3b580bfcc68c1cf 06-Mar-2008 Timo Sirainen <tss@iki.fi>

Added mailbox_transaction_get_mailbox() --HG-- branch : HEAD

3c607dfc707ff8246892108ac40a55957b4cde91 06-Mar-2008 Timo Sirainen <tss@iki.fi>

Added mailbox_transaction_get_mailbox() --HG-- branch : HEAD

838e367716bbd5e44b4a1691db9cbf72af53e9f0 14-Feb-2008 Timo Sirainen <tss@iki.fi>

Added mail_set_cache_corrupted() to rebuild the cache file and force recalculating the given field. --HG-- branch : HEAD

277506e6e05cdac79bacfb57e629e2fa0aa1ffdc 14-Feb-2008 Timo Sirainen <tss@iki.fi>

Added mail_set_cache_corrupted() to rebuild the cache file and force recalculating the given field. --HG-- branch : HEAD

389e0ad41d4dd6acf50f855ecd5f0651082c9f31 06-Jan-2008 Timo Sirainen <tss@iki.fi>

When syncing a mailbox, sync the view internally first completely and just get a list of messages that have changed. Then just have mailbox_sync_next() return flag updates from that list. This avoids duplicate notifications and also fixes some bugs in previous implementation. MAILBOX_SYNC_TYPE_KEYWORDS no longer exists, keyword changes are included in MAILBOX_SYNC_TYPE_FLAGS. --HG-- branch : HEAD

aa215ab623706463cea1d047f975ffe51d3f0c05 21-Dec-2007 Timo Sirainen <tss@iki.fi>

mail_get_physical_size() returns now the message stream's size and not the physical size on disk that varies. This fixes mbox issues and it's also more correct conceptually, because it doesn't return metadata size with other formats either. --HG-- branch : HEAD

a757f31393b9d6fc7760a9dec8363404ab3ae576 09-Dec-2007 Timo Sirainen <tss@iki.fi>

Added mail_get_keyword_indexes() --HG-- branch : HEAD

e1dff8512ee6f4e09b13a2abc46936f3250279ea 08-Nov-2007 Timo Sirainen <tss@iki.fi>

Removed MAILBOX_OPEN_MBOX_ONE_MSG_ONLY flag and handling. Raw storage replaced its functionality. --HG-- branch : HEAD

c8c42b11cefbd5dc4dfdf2721ade2ef82fe19e9c 03-Nov-2007 Timo Sirainen <tss@iki.fi>

Added MAILBOX_SYNC_FLAG_FIX_INCONSISTENT flag. mailbox_sync() uses it always. If view is invalid or view syncing causes the view to become invalid, the view is reopened. --HG-- branch : HEAD

63f36c2b47217fc2dc4ed49cfc1907311d5ed366 30-Sep-2007 Timo Sirainen <tss@iki.fi>

mailbox_transaction_commit*() doesn't sync the mailbox anymore, so it shouldn't take mailbox_sync_flags parameter either. --HG-- branch : HEAD

/dovecot/src/deliver/deliver.c /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-search.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/imap-expunge.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-sort.c /dovecot/src/imap/imap-sync.c /dovecot/src/imap/imap-thread.c index/index-storage.h index/index-transaction.c mail-storage-private.h mail-storage.c mail-storage.h /dovecot/src/plugins/acl/acl-mailbox.c /dovecot/src/plugins/convert/convert-storage.c /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/expire/expire-tool.c /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-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-count.c /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/pop3/client.c /dovecot/src/pop3/commands.c
0904411052cf2163d05623e14a914c1dcffbba33 25-Sep-2007 Timo Sirainen <tss@iki.fi>

Compiler warning fix --HG-- branch : HEAD

c3987d2749b958ab7b6d5f035d1a8375a4529af0 22-Sep-2007 Timo Sirainen <tss@iki.fi>

Added mailbox_sync() to easily synchronize a mailbox. --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 index/cydir/cydir-storage.h index/cydir/cydir-sync.h index/dbox/dbox-file.h index/dbox/dbox-index.h index/dbox/dbox-storage.h index/dbox/dbox-sync.h index/index-mail.h index/index-sort.h index/index-storage.h index/index-sync-changes.h index/maildir/maildir-filename.h index/maildir/maildir-keywords.h index/maildir/maildir-storage.h index/maildir/maildir-sync.h index/maildir/maildir-uidlist.h index/mbox/istream-raw-mbox.h index/mbox/mbox-file.h index/mbox/mbox-from.h index/mbox/mbox-lock.h index/mbox/mbox-md5.h index/mbox/mbox-storage.h index/mbox/mbox-sync-private.h list/index-mailbox-list.h list/mailbox-list-fs.h list/mailbox-list-maildir.h list/mailbox-list-subscriptions.h list/subscription-file.h mail-copy.h mail-error.h mail-namespace.h mail-search.h mail-storage-private.h mail-storage.h mailbox-list-private.h mailbox-list.h 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 /dovecot/src/login-common/client-common.h /dovecot/src/login-common/common.h /dovecot/src/login-common/login-proxy.h /dovecot/src/login-common/master.h /dovecot/src/login-common/sasl-server.h /dovecot/src/login-common/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
61f5256ef248d35459b53534ae428bf6d016e1c5 02-Sep-2007 Timo Sirainen <tss@iki.fi>

Changed mail_keywords creation APIs to take mailbox/index instead of transaction. --HG-- branch : HEAD

cb05ecbd96ddb5e53c1850d27434541138a3f284 02-Sep-2007 Timo Sirainen <tss@iki.fi>

mailbox_keywords_create() checks keyword validity now and returns failure if any of them are invalid. Added mailbox_keywords_create_valid() that only drops invalid keywords. Removed mbox and IMAP-specific keyword checks, they all use the same checking now. --HG-- branch : HEAD

83bb013a99f0936995f9c7a1077822662d8fefdb 12-Aug-2007 Timo Sirainen <tss@iki.fi>

mail_*() APIs changed to return int and return the actual data as pointer. Changed some code to do error handling a bit better. --HG-- branch : HEAD

/dovecot/src/deliver/deliver.c /dovecot/src/deliver/mail-send.c /dovecot/src/imap/imap-fetch-body.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-thread.c index/cydir/cydir-mail.c index/dbox/dbox-mail.c index/index-mail-headers.c index/index-mail.c index/index-mail.h index/index-search.c index/index-sort.c index/maildir/maildir-mail.c index/maildir/maildir-save.c index/mbox/mbox-mail.c mail-copy.c mail-storage-private.h mail-storage.h mail.c /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/expire/expire-tool.c /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/mail-log/mail-log-plugin.c /dovecot/src/plugins/quota/quota-count.c /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/quota/quota.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/pop3/client.c /dovecot/src/pop3/commands.c
c979eeda1f46483d9c963e265786b701d7683d77 12-Aug-2007 Timo Sirainen <tss@iki.fi>

mail_index_view_sync_next() and mailbox_sync_next() returns now bool. Renamed void mailbox_index_view_sync_end() to int mailbox_index_view_sync_commit(). --HG-- branch : HEAD

73b50eecfc31750a312e2f940023f522eb07178c 12-Aug-2007 Timo Sirainen <tss@iki.fi>

mail_index_lookup*() can't fail anymore. Changed several APIs not to return failure anymore. --HG-- branch : HEAD

/dovecot/src/deliver/deliver.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/imap-expunge.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-sync.c /dovecot/src/imap/imap-thread.c /dovecot/src/lib-index/mail-cache-lookup.c /dovecot/src/lib-index/mail-index-sync.c /dovecot/src/lib-index/mail-index-transaction-view.c /dovecot/src/lib-index/mail-index-transaction.c /dovecot/src/lib-index/mail-index-view-private.h /dovecot/src/lib-index/mail-index-view.c /dovecot/src/lib-index/mail-index.h index/cydir/cydir-save.c index/dbox/dbox-file.c index/dbox/dbox-save.c index/index-mail.c index/index-mail.h index/index-search.c index/index-sort.c index/index-sort.h index/maildir/maildir-save.c index/maildir/maildir-sync-index.c index/mbox/mbox-file.c index/mbox/mbox-save.c index/mbox/mbox-sync-parse.c index/mbox/mbox-sync-private.h index/mbox/mbox-sync.c list/index-mailbox-list-sync.c list/index-mailbox-list.c mail-storage-private.h mail-storage.h mail.c /dovecot/src/plugins/acl/acl-mailbox.c /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/expire/expire-tool.c /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/mail-log/mail-log-plugin.c /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/pop3/commands.c
88187ee880b4829443e0d55ea7d145d9d5880217 12-Aug-2007 Timo Sirainen <tss@iki.fi>

Removed explicit locking from views and maps. They were already locked all the time when they were used. Because of this change several functions can no longer fail, so they were changed to return void, and a lot of pointless error handling was removed. --HG-- branch : HEAD

/dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/imap-search.c /dovecot/src/imap/imap-status.c /dovecot/src/imap/imap-sync.c /dovecot/src/imap/imap-thread.c /dovecot/src/lib-index/mail-cache-compress.c /dovecot/src/lib-index/mail-cache-decisions.c /dovecot/src/lib-index/mail-index-map.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-keywords.c /dovecot/src/lib-index/mail-index-sync-update.c /dovecot/src/lib-index/mail-index-transaction-view.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.h /dovecot/src/lib-index/mailbox-list-index-sync.c index/cydir/cydir-sync.c index/dbox/dbox-mail.c index/dbox/dbox-sync-expunge.c index/dbox/dbox-sync-full.c index/dbox/dbox-sync.c index/index-fetch.c index/index-mail.c index/index-search.c index/index-status.c index/index-storage.c index/index-storage.h index/index-sync-changes.c index/index-sync.c index/index-transaction.c index/maildir/maildir-sync-index.c index/maildir/maildir-sync.c index/mbox/mbox-sync-parse.c index/mbox/mbox-sync.c list/index-mailbox-list-sync.c list/index-mailbox-list.c mail-storage-private.h mail-storage.c mail-storage.h /dovecot/src/plugins/fts-squat/fts-backend-squat.c /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c
ccec5f82349eae44087900c0e64ed1fd5a1a6fca 12-Aug-2007 Timo Sirainen <tss@iki.fi>

mailbox_transaction_commit_get_uids() now returns also UIDVALIDITY. It's the only usable way to get it returned correctly. Removed maildir-specific mailbox_get_status() handling, it's supposed to return the current state of the mailbox, not the latest state. It was useful only for returning non-zero UIDVALIDITY for newly created mailboxes, and that's no longer needed. --HG-- branch : HEAD

dce5a2719df4fc64a8762d2aa94ba98dcf9cd6fe 19-Jul-2007 Timo Sirainen <tss@iki.fi>

Added mail_get_first_header_utf8() and mail_get_headers_utf8(). --HG-- branch : HEAD

2dd39e478269d6fb0bb26d12b394aa30ee965e38 15-Jul-2007 Timo Sirainen <tss@iki.fi>

mail_storage.create() now returns error message string. Also fixed handling "/" and empty root paths. --HG-- branch : HEAD

5b23e70802d75333a77f90d21c15cd75dc4c4a0d 12-Jul-2007 Timo Sirainen <tss@iki.fi>

Added MAIL_STORAGE_FLAG_FSYNC_DISABLE and moved FSYNC_DISABLE environment handling elsewhere. --HG-- branch : HEAD

78855564b41b6c7de588a23685901b746b05d307 12-Jul-2007 Timo Sirainen <tss@iki.fi>

Added MAIL_STORAGE_FLAG_NFS_FLUSH_STORAGE and MAIL_STORAGE_FLAG_NFS_FLUSH_INDEX flags. Pass FLUSH_INDEX to index open flags. --HG-- branch : HEAD

87132ebf759dc7fe1f4b8aeb68c7d44be26eba42 12-Jul-2007 Timo Sirainen <tss@iki.fi>

Added MAIL_FETCH_NUL_STATE. Don't try to fetch cached flags now unless it's needed. --HG-- branch : HEAD

93350cbbf1deff6fbeaf83a05ea88c8f2a1fa34d 17-Jun-2007 Timo Sirainen <tss@iki.fi>

Removed MAILBOX_SYNC_FLAG_NO_NEWMAIL handling. --HG-- branch : HEAD

ff7056842f14fd3b30a2d327dfab165b9d15dd30 13-May-2007 Timo Sirainen <tss@iki.fi>

Error handling rewrite. --HG-- branch : HEAD

/dovecot/src/deliver/deliver.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/commands-util.c /dovecot/src/imap/imap-search.c Makefile.am index/cydir/cydir-save.c index/cydir/cydir-storage.c index/dbox/dbox-save.c index/dbox/dbox-storage.c index/dbox/dbox-uidlist.c index/index-search.c index/maildir/maildir-copy.c index/maildir/maildir-save.c index/maildir/maildir-storage.c index/maildir/maildir-uidlist.c index/maildir/maildir-util.c index/mbox/mbox-file.c index/mbox/mbox-lock.c index/mbox/mbox-save.c index/mbox/mbox-storage.c index/mbox/mbox-sync.c list/mailbox-list-fs-iter.c list/mailbox-list-fs.c list/mailbox-list-maildir.c list/subscription-file.c mail-error.c mail-error.h mail-storage-private.h mail-storage.c mail-storage.h mailbox-list-private.h mailbox-list.c mailbox-list.h /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/acl/acl-mailbox.c /dovecot/src/plugins/acl/acl-storage.c /dovecot/src/plugins/convert/convert-storage.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/quota/quota.c /dovecot/src/pop3/client.c
cc5f10a56e192268de110da9b382d04ddc178891 13-May-2007 Timo Sirainen <tss@iki.fi>

Removed mail_storage_set_list_error(). Handle the errors directly. --HG-- branch : HEAD

3ad00dce32374b049d72de5e70b41e32b3fa5b18 13-May-2007 Timo Sirainen <tss@iki.fi>

Removed alert_no_diskspace callback. It wasn't used anywhere. --HG-- branch : HEAD

cb44b8fd1fa5cac5a451c39245c878e1307c332c 13-May-2007 Timo Sirainen <tss@iki.fi>

lib-storage doesn't need the ability to return syntax errors. They should be checked before lib-storage is called. --HG-- branch : HEAD

4d2211dac61c615c5bdfd501ea54d46c89d41b0f 17-Apr-2007 Timo Sirainen <tss@iki.fi>

Added mailbox_transaction_commit_get_uids() which returns the UID range for saved/copied messages. --HG-- branch : HEAD

2423da95ee20fd4b3c260c1389cf2952d25f099c 17-Apr-2007 Timo Sirainen <tss@iki.fi>

Removed HAS_INBOX and SHARED_NAMESPACE flags from mail storage and mailbox list flags. They can be directly taken from struct mail_namespace. --HG-- branch : HEAD

e8490a52a1bc71bc53034e68f464435684ad810f 03-Apr-2007 Timo Sirainen <tss@iki.fi>

Moved namespace handling to lib-storage. Beginnings of namespace support for non-IMAP parts of Dovecot. --HG-- branch : HEAD

0a3b01714dadf97dcc7439ad4eeba690ab044966 30-Mar-2007 Timo Sirainen <tss@iki.fi>

Removed mail_storage_create_with_data(). mail_storage_create() with driver=NULL behaves the same way. Removed parameters from mail_storage.create(), they're now put into the storage structure before calling create(). --HG-- branch : HEAD

b039dabf4c53f72454e795930e7643b6e0e625f9 29-Mar-2007 Timo Sirainen <tss@iki.fi>

Moved delete/rename operations to mailbox_list API. Fixed mbox/maildir to work with either fs/maildir++ directory layout. They can be changed by appending :LAYOUT=fs|maildir++ to mail_location. --HG-- branch : HEAD

/dovecot/src/imap/cmd-delete.c /dovecot/src/imap/cmd-rename.c index/dbox/dbox-file.c index/dbox/dbox-storage.c index/dbox/dbox-storage.h index/dbox/dbox-sync-expunge.c index/dbox/dbox-sync-full.c index/dbox/dbox-uidlist.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/mbox/mbox-storage.c list/index-mailbox-list-sync.c list/mailbox-list-fs-iter.c list/mailbox-list-fs.c list/mailbox-list-maildir-iter.c list/mailbox-list-maildir.c mail-storage-private.h mail-storage.c mail-storage.h mailbox-list-private.h mailbox-list.c mailbox-list.h /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/acl/acl-mailbox.c /dovecot/src/plugins/acl/acl-storage.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/mail-log/mail-log-plugin.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
44dc970b18c4e2d06f34cb908924152156e4a45b 21-Mar-2007 Timo Sirainen <tss@iki.fi>

When copying/syncing a lot of mails, send "* OK Hang in there" replies to client every 15 seconds so it doesn't just timeout the connection. --HG-- branch : HEAD

8cab30d26412f21e814dba57814fa4b57b1d36e7 18-Jan-2007 Timo Sirainen <tss@iki.fi>

Removed mail_read_mmaped setting. It's a pretty useless setting and apparently it can also be buggy. --HG-- branch : HEAD

8887bf3757d51d73887dd20b1db3334d867d3817 28-Dec-2006 Timo Sirainen <tss@iki.fi>

Added dotlock_use_excl setting. --HG-- branch : HEAD

42507d758b053bb483de58fba55c73a9eb5d3fba 20-Dec-2006 Timo Sirainen <tss@iki.fi>

Dovecot is now able to execute multiple commands at the same time. Practically this means commands: FETCH, LIST, SEARCH and syncing output for all commands. For example it's possible that doing two FETCH commands at the same time makes their output mixed together. Non-blocking SEARCH is done by doing search for 20 mails at a time, and then checking if another command is pending. Also added X-CANCEL <tag> command to cancel running commands. --HG-- branch : HEAD

2cfe9983ce7a6280636ee12beccc2e865111967b 15-Dec-2006 Timo Sirainen <tss@iki.fi>

Replaced void *context from a lot of callbacks with the actual context type. Also added/fixed some context type checks. --HG-- branch : HEAD

/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-worker-client.c /dovecot/src/auth/auth-worker-server.c /dovecot/src/auth/db-ldap.c /dovecot/src/auth/db-sql.c /dovecot/src/auth/passdb-checkpassword.c /dovecot/src/auth/passdb-pam.c /dovecot/src/auth/passdb-sql.c /dovecot/src/auth/userdb-sql.c /dovecot/src/deliver/auth-client.c /dovecot/src/dict/dict-server.c /dovecot/src/imap-login/client-authenticate.c /dovecot/src/imap-login/client.c /dovecot/src/imap-login/client.h /dovecot/src/imap-login/imap-proxy.c /dovecot/src/imap/client.c /dovecot/src/imap/client.h /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-idle.c /dovecot/src/imap/imap-fetch-body.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-thread.c /dovecot/src/lib-auth/auth-client.c /dovecot/src/lib-auth/auth-server-connection.c /dovecot/src/lib-sql/driver-pgsql.c /dovecot/src/lib-sql/sql-api.h index/index-mail-headers.c index/index-mail.c index/index-mailbox-check.c index/index-search.c index/maildir/maildir-copy.c index/maildir/maildir-mail.c index/maildir/maildir-sync.c index/mbox/mbox-save.c mail-storage.c mail-storage.h /dovecot/src/lib/ioloop-notify-inotify.c /dovecot/src/lib/ioloop-notify-kqueue.c /dovecot/src/lib/ostream-file.c /dovecot/src/login-common/login-proxy.c /dovecot/src/login-common/ssl-proxy-gnutls.c /dovecot/src/login-common/ssl-proxy-openssl.c /dovecot/src/master/auth-process.c /dovecot/src/master/auth-process.h /dovecot/src/master/dict-process.c /dovecot/src/master/log.c /dovecot/src/master/login-process.c /dovecot/src/master/master-settings.c /dovecot/src/plugins/expire/auth-client.c /dovecot/src/pop3-login/client-authenticate.c /dovecot/src/pop3-login/client.c /dovecot/src/pop3-login/client.h /dovecot/src/pop3-login/pop3-proxy.c /dovecot/src/pop3/client.c /dovecot/src/util/rawlog.c
d9fdacd5fb3e07997e5c389739d2054f0c8441d8 06-Dec-2006 Timo Sirainen <tss@iki.fi>

Lock handling changes. Everything goes through file-lock API now and there's only a single enum listing the different lock methods. This change exposed some unneeded (or possibly even wrong?) unlock calls in index file handling which were fixed. --HG-- branch : HEAD

/dovecot/src/deliver/deliver.c /dovecot/src/imap/namespace.c /dovecot/src/lib-index/mail-cache-compress.c /dovecot/src/lib-index/mail-cache-private.h /dovecot/src/lib-index/mail-cache.c /dovecot/src/lib-index/mail-hash.c /dovecot/src/lib-index/mail-index-lock.c /dovecot/src/lib-index/mail-index-private.h /dovecot/src/lib-index/mail-index.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-transaction-log-private.h /dovecot/src/lib-index/mail-transaction-log.c index/dbox/dbox-storage.c index/index-storage.c index/index-storage.h index/maildir/maildir-storage.c index/mbox/mbox-lock.c index/mbox/mbox-storage.c list/index-mailbox-list.c mail-storage-private.h mail-storage.c mail-storage.h mailbox-list.c mailbox-list.h /dovecot/src/lib/file-lock.c /dovecot/src/lib/file-lock.h /dovecot/src/plugins/convert/convert-storage.c /dovecot/src/plugins/expire/expire-tool.c /dovecot/src/pop3/main.c
cafbfb142d25594144b99542c9d67f7484cad470 03-Dec-2006 Timo Sirainen <tss@iki.fi>

Added MAIL_STORAGE_FLAG_NO_AUTOCREATE flag which silently fails storage creation if the root directory doesn't exist. Otherwise the root dir is created. --HG-- branch : HEAD

5fb3bff645380804c9db2510940c41db6b8fdb01 25-Nov-2006 Timo Sirainen <tss@iki.fi>

Mailbox list indexing and related changes. Currently works only with maildir and mmap_disable=no. This allows doing STATUS to synced mailboxes without opening their index files at all. --HG-- branch : HEAD

/dovecot/src/deliver/deliver.c /dovecot/src/imap/Makefile.am /dovecot/src/imap/cmd-list.c /dovecot/src/imap/common.h /dovecot/src/imap/imap-sync.c /dovecot/src/imap/imap-thread.c /dovecot/src/imap/main.c /dovecot/src/imap/namespace.c /dovecot/src/lib-index/Makefile.am /dovecot/src/lib-index/mailbox-list-index-private.h /dovecot/src/lib-index/mailbox-list-index-sync.c /dovecot/src/lib-index/mailbox-list-index.c /dovecot/src/lib-index/mailbox-list-index.h index/dbox/dbox-storage.c index/dbox/dbox-sync.c index/dbox/dbox-transaction.c index/index-status.c index/index-storage.c index/index-storage.h index/index-sync.c index/maildir/maildir-copy.c index/maildir/maildir-save.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/maildir/maildir-sync.c index/maildir/maildir-sync.h index/maildir/maildir-transaction.c index/maildir/maildir-util.c index/mbox/mbox-storage.c index/mbox/mbox-sync.c index/mbox/mbox-transaction.c list/Makefile.am list/index-mailbox-list-sync.c list/index-mailbox-list.c list/index-mailbox-list.h list/mailbox-list-fs-iter.c list/mailbox-list-fs.c list/mailbox-list-fs.h list/mailbox-list-maildir-iter.c list/mailbox-list-maildir.c list/mailbox-list-maildir.h mail-storage-private.h mail-storage.c mail-storage.h mailbox-list-private.h mailbox-list.c mailbox-list.h mailbox-tree.c register/Makefile.am /dovecot/src/plugins/convert/convert-storage.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/pop3/client.c /dovecot/src/pop3/common.h /dovecot/src/pop3/main.c
a27e065f1a1f91c7fbdf7c2ea1c387441af0cbb3 16-Nov-2006 Timo Sirainen <tss@iki.fi>

Initial code for separation of mailbox accessing and directory layout handling. It's not yet possible to change the default layouts though. --HG-- branch : HEAD

/dovecot/configure.in /dovecot/src/deliver/Makefile.am /dovecot/src/imap/Makefile.am /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-subscribe.c /dovecot/src/imap/commands-util.c /dovecot/src/imap/main.c Makefile.am index/dbox/Makefile.am index/dbox/dbox-list.c index/dbox/dbox-storage.c index/dbox/dbox-storage.h index/index-storage.c index/index-storage.h index/maildir/Makefile.am index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/maildir/maildir-uidlist.c index/mbox/Makefile.am index/mbox/mbox-list.c index/mbox/mbox-storage.c index/mbox/mbox-storage.h list/.cvsignore list/mailbox-list-fs-iter.c list/mailbox-list-fs.c list/mailbox-list-fs.h list/mailbox-list-maildir-iter.c list/mailbox-list-maildir.c list/mailbox-list-maildir.h list/subscription-file.c list/subscription-file.h mail-storage-private.h mail-storage.c mail-storage.h mailbox-list-private.h mailbox-list.c mailbox-list.h mailbox-tree.h register/.cvsignore register/Makefile.am subscription-file/Makefile.am /dovecot/src/plugins/acl/Makefile.am /dovecot/src/plugins/acl/acl-plugin.c /dovecot/src/plugins/acl/acl-plugin.h /dovecot/src/plugins/acl/acl-storage.c /dovecot/src/plugins/convert/Makefile.am /dovecot/src/plugins/convert/convert-storage.c /dovecot/src/plugins/expire/Makefile.am /dovecot/src/plugins/quota/quota-maildir.c /dovecot/src/pop3/Makefile.am
df8a8bb3ce466273ef4239ed0ad7069348e59514 09-Oct-2006 Timo Sirainen <tss@iki.fi>

If the mail environment data contains mail format prefix, don't do any kind of autodetection. Practically this means that mbox:/var/mail/user doesn't work anymore. --HG-- branch : HEAD

afef93fb6343cb44e9d0aca6a03f4626f97b9d49 17-Sep-2006 Timo Sirainen <tss@iki.fi>

mail_set_uid() now returns 0 = expunged, 1 = ok. --HG-- branch : HEAD

b811d88426068f2b959642e20348bfeeb9a6356d 17-Sep-2006 Timo Sirainen <tss@iki.fi>

Added mail_storage_get_mailbox_index_dir(). --HG-- branch : HEAD

355584df8bebece27e066a863eef81a765fb55b7 07-Aug-2006 Timo Sirainen <tss@iki.fi>

Added MAILBOX_OPEN_MBOX_ONE_MSG_ONLY flag for mailbox_open() which makes it ignore all but the first From-line in a mbox. This kludge is required for deliver which builds a temporary mbox stream from the input. Later it should be fixed to use some plain-mailbox format instead of mbox. --HG-- branch : HEAD

f5b3800ae5a411e6d6b60f372550f838696155b1 06-Aug-2006 Timo Sirainen <tss@iki.fi>

MAILBOX_LIST_INBOX flag conflicted with MAILBOX_LIST_CHILDREN flag, causing problems. --HG-- branch : HEAD

90adcaa0a00eba29b7fbd50ca66be11c8d086d6a 29-Jun-2006 Timo Sirainen <timo.sirainen@movial.fi>

Added mail_get_save_date() and some cleanups. --HG-- branch : HEAD

8d80659e504ffb34bb0c6a633184fece35751b18 28-Jun-2006 Timo Sirainen <tss@iki.fi>

Array API redesigned to work using unions. It now provides type safety without having to enable DEBUG, as long as the compiler supports typeof(). Its API changed a bit. It now allows directly accessing the array contents, although that's not necessarily recommended. Changed existing array usage to be type safe in a bit more places. Removed array_t completely. Also did s/modifyable/modifiable/. --HG-- branch : HEAD

/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-worker-server.c /dovecot/src/auth/mech-gssapi.c /dovecot/src/auth/userdb-static.c /dovecot/src/dict/dict-server.c /dovecot/src/imap/client.h /dovecot/src/imap/cmd-list.c /dovecot/src/imap/commands-util.c /dovecot/src/imap/commands-util.h /dovecot/src/imap/commands.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-fetch.h /dovecot/src/lib-auth/auth-client.c /dovecot/src/lib-dict/dict.c /dovecot/src/lib-imap/imap-base-subject.c /dovecot/src/lib-index/mail-cache-compress.c /dovecot/src/lib-index/mail-cache-lookup.c /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-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-view.c /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-mail/mail-types.h /dovecot/src/lib-mail/message-body-search.c /dovecot/src/lib-mail/message-header-search.c /dovecot/src/lib-sql/driver-mysql.c /dovecot/src/lib-sql/sql-api-private.h /dovecot/src/lib-sql/sql-api.c index/dbox/dbox-keywords.c index/dbox/dbox-save.c index/dbox/dbox-storage.h index/dbox/dbox-sync-expunge.c index/dbox/dbox-sync-full.c index/dbox/dbox-sync.c index/dbox/dbox-sync.h index/dbox/dbox-uidlist.c index/dbox/dbox-uidlist.h index/index-mail-headers.c index/index-mail.c index/index-mail.h index/index-sort.c index/index-storage.h index/index-sync.c index/maildir/maildir-keywords.c index/maildir/maildir-save.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/maildir/maildir-sync.c index/maildir/maildir-uidlist.c index/mbox/mbox-save.c index/mbox/mbox-sync-parse.c index/mbox/mbox-sync-private.h index/mbox/mbox-sync-rewrite.c index/mbox/mbox-sync-update.c index/mbox/mbox-sync.c mail-storage-private.h mail-storage.c mail-storage.h /dovecot/src/lib/array-decl.h /dovecot/src/lib/array.h /dovecot/src/lib/buffer.c /dovecot/src/lib/buffer.h /dovecot/src/lib/ioloop-epoll.c /dovecot/src/lib/istream.c /dovecot/src/lib/istream.h /dovecot/src/lib/lib.h /dovecot/src/lib/module-dir.c /dovecot/src/lib/seq-range-array.c /dovecot/src/lib/seq-range-array.h /dovecot/src/lib/str.c /dovecot/src/lib/str.h /dovecot/src/master/mail-process.c /dovecot/src/master/master-settings.h /dovecot/src/plugins/acl/acl-backend-vfile.c /dovecot/src/plugins/acl/acl-cache.c /dovecot/src/plugins/acl/acl-mailbox.c /dovecot/src/plugins/acl/acl-plugin.h /dovecot/src/plugins/quota/quota-dirsize.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/zlib/zlib-plugin.c
a04cd96888653891272a512f7735121193af7b35 08-Jun-2006 Timo Sirainen <timo.sirainen@movial.fi>

Changed mail-storage API to do the mail sorting internally. Optimized it internally to keep a 32bit sort_id field in index for each used primary sort condition. Practically this should mean less disk I/O, memory and CPU usage when SORT command is used. --HG-- branch : HEAD

a12399903f415a7e14c2816cffa2f7a09dcbb097 15-May-2006 Timo Sirainen <timo.sirainen@movial.fi>

Added mail_set_uid() to select a mail by UID. --HG-- branch : HEAD

2ebeb22b9a8a8bb7fbe2f2e2908478a220792b87 09-May-2006 Timo Sirainen <timo.sirainen@movial.fi>

Changed mailbox_save_*() API a bit: Moved the struct mail *dest_mail to save_init() instead of being in save_finish(). This way you can request wanted fields from the mail while it's being saved. With maildir the message is being parsed at the same time as it's being saved, and the results are stored into cache file. --HG-- branch : HEAD

d67ac5f76cc02c227f4997878bb4aef48ee298fa 09-Apr-2006 Timo Sirainen <tss@iki.fi>

Added MAILBOX_OPEN_KEEP_LOCKED flag to mailbox opening and implemented it for mbox and maildir. It keeps the mailbox locked the whole time until mailbox_close() is called. --HG-- branch : HEAD

e4c90f0b88e40a8f92b8f5e1f1a3ea701e5c965c 27-Feb-2006 Timo Sirainen <timo.sirainen@movial.fi>

Moved mailbox_list_flags to struct mailbox_list_context so plugins can see the flags more easily. --HG-- branch : HEAD

4981827cb5e32cf767b7b0e3070137e6b36f42af 22-Feb-2006 Timo Sirainen <timo.sirainen@movial.fi>

mailbox_save_init() supports now returning failure. Quota plugin now checks if mail is too large in mailbox_save_init() hook. APPEND fails before giving "+ OK" reply if mailbox_save_init() failed. Also fixed some APPEND failure cases where the next command was eaten away. --HG-- branch : HEAD

defb12ecd360df672ffb2f4dbf4d1218a0a9549c 22-Feb-2006 Timo Sirainen <timo.sirainen@movial.fi>

Make life easier for plugins: - Added MAILBOX_OPEN_SAVEONLY flag for mailbox_open(), which is set when mailbox is opened only for append/copy - Added a couple of MAIL_STORAGE_ERR_* string defines that should be used when giving visible errors to clients - Added failed-flag for mailbox_list_context, which plugins can directly set to make mail_storage_mailbox_list_deinit() return failure - Added mail_storage_get_mailbox_path() and mail_storage_get_mailbox_control_dir() to return locations for mailbox directories Also be more strict when validating mailbox names. --HG-- branch : HEAD

6303fb1055fd85c3e3ca9320bc5754186dbd3a5a 02-Feb-2006 Timo Sirainen <tss@iki.fi>

Moved mailbox flag and lock method parsing to lib-storage. --HG-- branch : HEAD

d5cebe7f98e63d4e2822863ef2faa4971e8b3a5d 14-Jan-2006 Timo Sirainen <tss@iki.fi>

deinit, unref, destroy, close, free, etc. functions now take a pointer to their data pointer, and set it to NULL. This makes double-frees less likely to cause security holes. --HG-- branch : HEAD

/dovecot/src/auth/auth-cache.c /dovecot/src/auth/auth-cache.h /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-listener.c /dovecot/src/auth/auth-master-listener.h /dovecot/src/auth/auth-module.c /dovecot/src/auth/auth-module.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-worker-client.h /dovecot/src/auth/auth-worker-server.c /dovecot/src/auth/auth.c /dovecot/src/auth/auth.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/db-sql.c /dovecot/src/auth/db-sql.h /dovecot/src/auth/main.c /dovecot/src/auth/mech-gssapi.c /dovecot/src/auth/passdb-cache.c /dovecot/src/auth/passdb-checkpassword.c /dovecot/src/auth/passdb-ldap.c /dovecot/src/auth/passdb-pam.c /dovecot/src/auth/passdb-passwd-file.c /dovecot/src/auth/passdb-sql.c /dovecot/src/auth/passdb.c /dovecot/src/auth/password-scheme.c /dovecot/src/auth/userdb-ldap.c /dovecot/src/auth/userdb-passwd-file.c /dovecot/src/auth/userdb-sql.c /dovecot/src/auth/userdb.c /dovecot/src/dict/dict-cache.c /dovecot/src/dict/dict-server.c /dovecot/src/dict/main.c /dovecot/src/imap-login/client-authenticate.c /dovecot/src/imap-login/client.c /dovecot/src/imap-login/imap-proxy.c /dovecot/src/imap/client.c /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-close.c /dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-delete.c /dovecot/src/imap/cmd-idle.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-logout.c /dovecot/src/imap/cmd-search.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-status.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/cmd-unselect.c /dovecot/src/imap/imap-expunge.c /dovecot/src/imap/imap-fetch-body.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-sort.c /dovecot/src/imap/imap-sync.c /dovecot/src/imap/imap-thread.c /dovecot/src/imap/main.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-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-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-bodystructure.c /dovecot/src/lib-imap/imap-envelope.c /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-index/mail-cache-compress.c /dovecot/src/lib-index/mail-cache.c /dovecot/src/lib-index/mail-cache.h /dovecot/src/lib-index/mail-index-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-view.c /dovecot/src/lib-index/mail-index-transaction.c /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-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/message-body-search.c /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-settings/settings.c /dovecot/src/lib-sql/driver-mysql.c /dovecot/src/lib-sql/driver-pgsql.c /dovecot/src/lib-sql/sql-api.c /dovecot/src/lib-sql/sql-api.h index/dbox/dbox-file.c index/dbox/dbox-list.c index/dbox/dbox-save.c index/dbox/dbox-sync-expunge.c index/dbox/dbox-sync.c index/dbox/dbox-uidlist.c index/index-mail-headers.c index/index-mail.c index/index-mailbox-check.c index/index-search.c index/index-storage.c index/index-sync.c index/index-transaction.c index/maildir/maildir-keywords.c index/maildir/maildir-save.c index/maildir/maildir-sync.c index/maildir/maildir-uidlist.c index/mbox/istream-raw-mbox.c index/mbox/mbox-file.c index/mbox/mbox-list.c index/mbox/mbox-mail.c index/mbox/mbox-save.c index/mbox/mbox-storage.c index/mbox/mbox-sync-parse.c index/mbox/mbox-sync-rewrite.c index/mbox/mbox-sync.c mail-copy.c mail-storage.c mail-storage.h mail.c subscription-file/subscription-file.c /dovecot/src/lib/buffer.c /dovecot/src/lib/buffer.h /dovecot/src/lib/file-cache.c /dovecot/src/lib/file-cache.h /dovecot/src/lib/hash.c /dovecot/src/lib/hash.h /dovecot/src/lib/ioloop-notify-dn.c /dovecot/src/lib/ioloop.c /dovecot/src/lib/ioloop.h /dovecot/src/lib/istream-limit.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/module-dir.c /dovecot/src/lib/module-dir.h /dovecot/src/lib/ostream-crlf.c /dovecot/src/lib/ostream-file.c /dovecot/src/lib/ostream.c /dovecot/src/lib/ostream.h /dovecot/src/lib/str.c /dovecot/src/lib/str.h /dovecot/src/login-common/login-proxy.c /dovecot/src/login-common/main.c /dovecot/src/login-common/master.c /dovecot/src/login-common/ssl-proxy-openssl.c /dovecot/src/master/auth-process.c /dovecot/src/master/dict-process.c /dovecot/src/master/log.c /dovecot/src/master/login-process.c /dovecot/src/master/main.c /dovecot/src/master/ssl-init.c /dovecot/src/plugins/imap-quota/imap-quota-plugin.c /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/zlib/zlib-plugin.c /dovecot/src/pop3-login/client-authenticate.c /dovecot/src/pop3-login/client.c /dovecot/src/pop3-login/pop3-proxy.c /dovecot/src/pop3/client.c /dovecot/src/pop3/commands.c /dovecot/src/pop3/main.c /dovecot/src/util/rawlog.c
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 index/dbox/dbox-list.c index/dbox/dbox-mail.c index/dbox/dbox-save.c index/dbox/dbox-storage.c index/dbox/dbox-storage.h index/dbox/dbox-sync-expunge.c index/dbox/dbox-sync.c index/dbox/dbox-sync.h index/dbox/dbox-uidlist.c index/index-mail-headers.c index/index-mail.c index/index-mailbox-check.c index/index-search.c index/index-storage.c index/index-storage.h index/index-sync.c index/maildir/maildir-copy.c index/maildir/maildir-list.c index/maildir/maildir-mail.c index/maildir/maildir-save.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/maildir/maildir-sync.c index/maildir/maildir-uidlist.c index/maildir/maildir-uidlist.h index/mbox/istream-raw-mbox.c index/mbox/istream-raw-mbox.h index/mbox/mbox-file.c index/mbox/mbox-file.h index/mbox/mbox-list.c index/mbox/mbox-lock.c index/mbox/mbox-mail.c index/mbox/mbox-md5.c index/mbox/mbox-save.c index/mbox/mbox-storage.c index/mbox/mbox-storage.h index/mbox/mbox-sync-parse.c index/mbox/mbox-sync-private.h index/mbox/mbox-sync-rewrite.c index/mbox/mbox-sync-update.c index/mbox/mbox-sync.c index/mbox/mbox-transaction.c mail-search.c mail-search.h mail-storage-private.h mail-storage.c mail-storage.h mailbox-tree.c mailbox-tree.h subscription-file/subscription-file.c 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 /dovecot/src/login-common/client-common.c /dovecot/src/login-common/client-common.h /dovecot/src/login-common/common.h /dovecot/src/login-common/main.c /dovecot/src/login-common/master.c /dovecot/src/login-common/master.h /dovecot/src/login-common/sasl-server.c /dovecot/src/login-common/ssl-proxy-gnutls.c /dovecot/src/login-common/ssl-proxy-openssl.c /dovecot/src/login-common/ssl-proxy.c /dovecot/src/login-common/ssl-proxy.h /dovecot/src/master/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
c13f3df87bc8ec1fb279fc0ffa6e8517f74dc07c 06-Oct-2005 Timo Sirainen <tss@iki.fi>

Added flags and keywords parameters to mailbox_copy() in case they're wanted to be changed while copying. --HG-- branch : HEAD

822b71c04ddd61cb08a0104f9e58f55334725e2a 30-Sep-2005 Timo Sirainen <tss@iki.fi>

Added MAILBOX_OPEN_NO_INDEX_FILES flag and made streamed mboxes by default also indexed. --HG-- branch : HEAD

137ea7ca34005345aa2304a940149b7f3774d727 07-Aug-2005 Timo Sirainen <tss@iki.fi>

s/occured/occurred/ --HG-- branch : HEAD

/dovecot/doc/auth-protocol.txt /dovecot/doc/index.txt /dovecot/src/auth/Makefile.am /dovecot/src/auth/auth-master-connection.c /dovecot/src/auth/auth-request-handler.c /dovecot/src/auth/auth-request.c /dovecot/src/auth/auth-request.h /dovecot/src/auth/auth-worker-client.c /dovecot/src/auth/passdb-blocking.c /dovecot/src/auth/passdb-checkpassword.c /dovecot/src/auth/passdb.h /dovecot/src/auth/userdb-blocking.c /dovecot/src/auth/userdb-ldap.c /dovecot/src/auth/userdb-passdb.c /dovecot/src/auth/userdb-passwd-file.c /dovecot/src/auth/userdb-passwd.c /dovecot/src/auth/userdb-sql.c /dovecot/src/auth/userdb-static.c /dovecot/src/auth/userdb-vpopmail.c /dovecot/src/auth/userdb.c /dovecot/src/auth/userdb.h /dovecot/src/imap/client.h /dovecot/src/imap/cmd-idle.c /dovecot/src/lib-imap/imap-parser.h /dovecot/src/lib-mail/message-parser.h /dovecot/src/lib-sql/sql-api.h index/maildir/maildir-sync.c mail-storage.c mail-storage.h subscription-file/subscription-file.h /dovecot/src/lib/file-cache.h /dovecot/src/lib/istream.h /dovecot/src/lib/read-full.h /dovecot/src/lib/strfuncs.c /dovecot/src/lib/write-full.h /dovecot/src/login-common/ssl-proxy-gnutls.c /dovecot/src/login-common/ssl-proxy.h
ab0155cbec1286e1cd00a0e01d78e0f3ca34cea6 29-Jul-2005 Timo Sirainen <tss@iki.fi>

Added separate "temporary error" flag for mail_storage_get_last_error(). --HG-- branch : HEAD

878d69326d44013f83641d7a81ed8ae3e4996f15 12-Jul-2005 Timo Sirainen <tss@iki.fi>

Removed no-diskspace flag from status reply. It wasn't working and we're going to be using alert_no_diskspace callback anyway when it does work properly. --HG-- branch : HEAD

bf661a542d17273066e720b4f75868a1ff975a4c 03-Apr-2005 Timo Sirainen <tss@iki.fi>

Moved several getenv()s from lib-storage to main code. deliver binary was missing several getenvs.. --HG-- branch : HEAD

bb10ebcf076c959c752f583746d83805d7686df8 02-Apr-2005 Timo Sirainen <tss@iki.fi>

Keywords are now stored in X-Keywords headers in mbox. Did several related API changes to get better performance. --HG-- branch : HEAD

/dovecot/src/imap/client.h /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/commands-util.c /dovecot/src/imap/commands-util.h /dovecot/src/lib-index/mail-index-private.h /dovecot/src/lib-index/mail-index-sync-keywords.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-transaction.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 index/index-mail.c index/index-mail.h index/index-status.c index/index-storage.c index/index-storage.h index/mbox/mbox-save.c index/mbox/mbox-sync-parse.c index/mbox/mbox-sync-private.h index/mbox/mbox-sync-rewrite.c index/mbox/mbox-sync-update.c index/mbox/mbox-sync.c mail-storage.h /dovecot/src/lib/array.h
87460b08cb97b31cde640d4975a6aa2c1d0e7226 29-Mar-2005 Timo Sirainen <tss@iki.fi>

Renamed mail_get_header() to mail_get_first_header() and mail_gets_headers() to mail_get_header_stream(). Added new mail_get_headers() which returns NULL-terminated string list of all found headers. --HG-- branch : HEAD

04ab375449dd97eed50ada88dd0df2abab01cfee 29-Mar-2005 Timo Sirainen <tss@iki.fi>

Added input stream parameter to mailbox_open(). With mbox it now allows opening a read-only mbox using a stream. --HG-- branch : HEAD

fdc557286bc9f92c5f3bb49096ff6e2bcec0ea79 15-Mar-2005 Timo Sirainen <tss@iki.fi>

Major mail-storage API changes. It's now a bit cleaner and much more plugin friendly. Removed proxy_mailbox* stuff, they were difficult to use and there's now much easier way to replace them. --HG-- branch : HEAD

/dovecot/src/deliver/deliver.c /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-search.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/common.h /dovecot/src/imap/imap-expunge.c /dovecot/src/imap/imap-fetch-body.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-sort.c /dovecot/src/imap/imap-sync.c /dovecot/src/imap/imap-thread.c /dovecot/src/imap/main.c /dovecot/src/imap/namespace.c Makefile.am index/index-fetch.c index/index-mail-headers.c index/index-mail.c index/index-mail.h index/index-search.c index/index-storage.c index/index-storage.h index/index-transaction.c index/maildir/maildir-copy.c index/maildir/maildir-mail.c index/maildir/maildir-save.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/maildir/maildir-transaction.c index/mbox/mbox-mail.c index/mbox/mbox-save.c index/mbox/mbox-storage.c index/mbox/mbox-storage.h index/mbox/mbox-transaction.c mail-copy.c mail-copy.h mail-storage-private.h mail-storage.c mail-storage.h mail.c proxy-mail-storage.c proxy-mail-storage.h proxy-mail.c proxy-mail.h proxy-mailbox.c proxy-mailbox.h /dovecot/src/pop3/client.c /dovecot/src/pop3/commands.c
e9a655e36757b0acf550ec5914559d111036decb 15-Mar-2005 Timo Sirainen <tss@iki.fi>

Include transaction pointer in struct mail. --HG-- branch : HEAD

294f1a51763015cda0e2d874c5027d6fe7a2cd54 14-Mar-2005 Timo Sirainen <tss@iki.fi>

Renamed oe6-fetch-no-newmail workaround to delay-newmail and changed it to work more like the name says: only newmail notifications are skipped and not only for FETCH command. --HG-- branch : HEAD

faed8babca9914257f34fb2e603d74016d563b2d 05-Feb-2005 Timo Sirainen <tss@iki.fi>

Internal changes in how keywords are handled. struct mail_keywords isn't automatically freed anymore, added *_keywords_free() for that. --HG-- branch : HEAD

41e1c7380edda701719d8ce1fb4d465d2ec4c84d 10-Jan-2005 Timo Sirainen <tss@iki.fi>

Keyword fixes. --HG-- branch : HEAD

8d630c15a8ed6f85553467c3a231a273defca5f6 29-Dec-2004 Timo Sirainen <tss@iki.fi>

Added mail_debug setting. Moved full_filesystem_access from global variable to flag in mail_create*() functions. --HG-- branch : HEAD

16c89b1260c9d07c01c83a9219424d3727069b2e 26-Dec-2004 Timo Sirainen <tss@iki.fi>

Initial support for keywords. Syncing to mbox/maildir doesn't work yet. --HG-- branch : HEAD

/dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/commands-util.c /dovecot/src/imap/commands-util.h /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-sync.c /dovecot/src/lib-imap/imap-util.c /dovecot/src/lib-imap/imap-util.h /dovecot/src/lib-index/Makefile.am /dovecot/src/lib-index/mail-index-private.h /dovecot/src/lib-index/mail-index-sync-keywords.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-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.c /dovecot/src/lib-index/mail-transaction-log.h /dovecot/src/lib-index/mail-transaction-util.c /dovecot/src/lib-mail/mail-types.h index/index-mail.c index/index-mail.h index/index-search.c index/index-status.c index/index-storage.c index/index-storage.h index/index-sync.c index/maildir/maildir-copy.c index/maildir/maildir-mail.c index/maildir/maildir-save.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/maildir/maildir-sync.c index/maildir/maildir-util.c index/mbox/mbox-mail.c index/mbox/mbox-save.c index/mbox/mbox-storage.c index/mbox/mbox-storage.h index/mbox/mbox-sync-private.h index/mbox/mbox-sync-update.c index/mbox/mbox-sync.c mail-copy.c mail-storage-private.h mail-storage.c mail-storage.h proxy-mail.c proxy-mailbox.c /dovecot/src/pop3/client.c /dovecot/src/pop3/commands.c
366d6311c9d5bac6613e3cd64619eb878adce9ec 19-Dec-2004 Timo Sirainen <tss@iki.fi>

Added %f pop3_uidl_format for maildir. Patch by Andrey Panin. --HG-- branch : HEAD

00f5efa3156ab6a0b4f21e8c703d0eb816cf3091 15-Dec-2004 Timo Sirainen <tss@iki.fi>

Added pop3_uidl_format setting. --HG-- branch : HEAD

e5ee67f18b03015c88b579c8c1f17ebe6ce19b76 24-Sep-2004 Timo Sirainen <tss@iki.fi>

Split sync_flag_full into sync_flag_full_read and _write. Closing mailbox now always writes changes. --HG-- branch : HEAD

e7a0e520d57efa969c075a391e6e6b98e5fa8293 11-Sep-2004 Timo Sirainen <tss@iki.fi>

Added MAILBOX_LIST_INBOX flag. Do the special cased INBOX handling only if it's set. --HG-- branch : HEAD

b2c1349cf07410aefab0f5b17153af9e5cfcf48f 29-Aug-2004 Timo Sirainen <tss@iki.fi>

Added sync flags parameter to mailbox_transaction_commit(), so EXPUNGE can do a full sync with dirty syncing enabled. --HG-- branch : HEAD

f1901fd21906911f7be075c965ac882f6a87b4c3 28-Aug-2004 Timo Sirainen <tss@iki.fi>

Added mbox_dirty_syncs setting which delays re-reading the whole mbox when it's changed. --HG-- branch : HEAD

d67fde1a8ebc1d85704c5986d8f93aae97eccef3 28-Aug-2004 Timo Sirainen <tss@iki.fi>

Added mail.get_physical_size(). --HG-- branch : HEAD

a423d985ba7261661475811c22b21b80ec765a71 21-Aug-2004 Timo Sirainen <tss@iki.fi>

Changed mail saving API to be nonblocking. --HG-- branch : HEAD

21be4f711d3bab82a783273189a8bbca44a84c5d 15-Aug-2004 Timo Sirainen <tss@iki.fi>

oops, shouldn't have committed these --HG-- branch : HEAD

2767104d81e97a109f0aa9758792bfa1da325a97 15-Aug-2004 Timo Sirainen <tss@iki.fi>

We never do blocking reads/writes to network anymore. Changed imap and pop3 processes to use a single I/O loop. Not much tested yet, and currently LIST/LSUB may eat too much memory and APPEND eats all CPU. --HG-- branch : HEAD

/dovecot/src/auth/auth-client-connection.c /dovecot/src/auth/auth-master-connection.c /dovecot/src/auth/password-scheme.c /dovecot/src/imap-login/client-authenticate.c /dovecot/src/imap-login/client.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-fetch.c /dovecot/src/imap/cmd-idle.c /dovecot/src/imap/cmd-search.c /dovecot/src/imap/common.h /dovecot/src/imap/imap-fetch-body-section.c /dovecot/src/imap/imap-fetch-body.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-messageset.c /dovecot/src/imap/imap-messageset.h /dovecot/src/imap/imap-search.c /dovecot/src/imap/imap-search.h /dovecot/src/imap/imap-thread.c /dovecot/src/imap/mail-storage-callbacks.c /dovecot/src/imap/main.c /dovecot/src/lib-auth/auth-server-connection.c /dovecot/src/lib-auth/auth-server-request.c /dovecot/src/lib-mail/istream-header-filter.c /dovecot/src/lib-mail/istream-header-filter.h /dovecot/src/lib-mail/message-send.c /dovecot/src/lib-mail/message-send.h index/index-mail-headers.c index/index-mail.c index/index-storage.c index/maildir/maildir-save.c index/mbox/istream-raw-mbox.c index/mbox/mbox-lock.c index/mbox/mbox-save.c mail-storage.h /dovecot/src/lib/Makefile.am /dovecot/src/lib/alarm-hup.c /dovecot/src/lib/alarm-hup.h /dovecot/src/lib/file-lock.c /dovecot/src/lib/iostream-internal.h /dovecot/src/lib/iostream.c /dovecot/src/lib/istream-data.c /dovecot/src/lib/istream-file.c /dovecot/src/lib/istream-limit.c /dovecot/src/lib/istream-mmap.c /dovecot/src/lib/istream.c /dovecot/src/lib/istream.h /dovecot/src/lib/lib.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/strfuncs.c /dovecot/src/lib/strfuncs.h /dovecot/src/pop3-login/client-authenticate.c /dovecot/src/pop3-login/client.c /dovecot/src/pop3/client.c /dovecot/src/pop3/client.h /dovecot/src/pop3/commands.c
84f80d9231b6ddc80ebfae425fd3674620fdf746 22-Jul-2004 Timo Sirainen <tss@iki.fi>

Moved namespace and hierarchy separator handling to imap-specific code. LIST now shows non-hidden namespaces in the LIST reply. --HG-- branch : HEAD

e015e2f7e7f48874495f9df8b0dd192b7ffcb5cc 18-Jul-2004 Timo Sirainen <tss@iki.fi>

Header caching redesigned. New design allows caching decisions per field, so they can be divided to temporary/permanent. Cached headers are now always returned in original order, old code didn't guarantee it. Some other caching changes. (still missing code to store changes in caching decisions) --HG-- branch : HEAD

/dovecot/src/imap/imap-fetch-body-section.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-sort.c /dovecot/src/imap/imap-thread.c /dovecot/src/lib-imap/imap-bodystructure.c /dovecot/src/lib-index/Makefile.am /dovecot/src/lib-index/mail-cache-compress.c /dovecot/src/lib-index/mail-cache-decisions.c /dovecot/src/lib-index/mail-cache-fields.c /dovecot/src/lib-index/mail-cache-lookup.c /dovecot/src/lib-index/mail-cache-private.h /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-mail/istream-header-filter.c /dovecot/src/lib-mail/istream-header-filter.h index/index-mail-headers.c index/index-mail.c index/index-mail.h index/index-search.c index/index-storage.c index/index-storage.h index/maildir/maildir-storage.c index/mbox/mbox-mail.c index/mbox/mbox-storage.c mail-storage-private.h mail-storage.c mail-storage.h proxy-mail.c proxy-mailbox.c
d756ebcfa96bd7cff02097c8f26df9df368b81b1 12-Jul-2004 Timo Sirainen <tss@iki.fi>

Broke mailbox_sync() into iterator. --HG-- branch : HEAD

/dovecot/src/imap/Makefile.am /dovecot/src/imap/client.h /dovecot/src/imap/cmd-idle.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-status.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/commands-util.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-sync.c /dovecot/src/imap/imap-sync.h /dovecot/src/imap/mail-storage-callbacks.c /dovecot/src/lib-imap/imap-util.c /dovecot/src/lib-imap/imap-util.h index/index-mailbox-check.c index/index-status.c index/index-storage.h index/index-sync.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/maildir/maildir-sync.c index/mbox/mbox-storage.c index/mbox/mbox-storage.h index/mbox/mbox-sync.c mail-storage-private.h mail-storage.c mail-storage.h proxy-mailbox.c /dovecot/src/pop3/client.c /dovecot/src/pop3/mail-storage-callbacks.c
fa45f3f1ad423381ba07056e415ffc4d6449f089 10-Jul-2004 Timo Sirainen <tss@iki.fi>

Split client_workarounds to imap_ and pop3_ ones. Added outlook-no-nuls POP3 workaround. --HG-- branch : HEAD

33d63688ed8b26dc333e3c2edbfb2fe6e412604d 23-Jun-2004 Timo Sirainen <tss@iki.fi>

Added a framework for getting POP3 UIDL strings from mail-storage. The default still is uidvalidity.uid. Added beginnings of overriding it from X-UIDL header in mbox. --HG-- branch : HEAD

f597dd4f7addf247fc1a51a48f762caebc096849 20-Jun-2004 Timo Sirainen <tss@iki.fi>

Moved enum mail_thread_type to imap --HG-- branch : HEAD

345212e8f61ebf14ff4f80df26df9e655eb5121e 20-Jun-2004 Timo Sirainen <tss@iki.fi>

mailbox_save() and mailbox_copy() functions can now return the saved mail so it can be immediately queried. Implemented UIDPLUS extension using it. Maildir implementation missing, so it crashes with it for now.. APPEND with mbox now doesn't require resyncing the mailbox since it updates indexes directly. --HG-- branch : HEAD

/dovecot/configure.in /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-close.c /dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-expunge.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-status.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/lib-index/mail-index-transaction.c /dovecot/src/lib-index/mail-index.h index/index-mail.c index/index-search.c index/maildir/maildir-copy.c index/maildir/maildir-save.c index/maildir/maildir-storage.h index/mbox/mbox-lock.c index/mbox/mbox-mail.c index/mbox/mbox-save.c index/mbox/mbox-storage.h index/mbox/mbox-sync-parse.c index/mbox/mbox-sync-private.h index/mbox/mbox-sync-rewrite.c index/mbox/mbox-sync-update.c index/mbox/mbox-sync.c index/mbox/mbox-transaction.c mail-save.c mail-save.h mail-storage-private.h mail-storage.c mail-storage.h
54f9cedf212e30f690e8c7487374f2ea890494c6 25-May-2004 Timo Sirainen <tss@iki.fi>

Send recent counter changes when it actually changes. --HG-- branch : HEAD

c282435b57b6f9696fc12d99ea70468b7bdfe24c 23-May-2004 Timo Sirainen <tss@iki.fi>

Added pop3_mails_keep_recent option. Fixed recent assert crash. --HG-- branch : HEAD

d8b77aef97e89f1ccc5cbdaef77be9052279e35f 02-May-2004 Timo Sirainen <tss@iki.fi>

s/custom flags/keywords/ --HG-- branch : HEAD

/dovecot/src/imap/client.c /dovecot/src/imap/client.h /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/commands-util.c /dovecot/src/imap/commands-util.h /dovecot/src/imap/common.h /dovecot/src/imap/mail-storage-callbacks.c /dovecot/src/imap/main.c /dovecot/src/lib-imap/imap-util.c /dovecot/src/lib-imap/imap-util.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.c /dovecot/src/lib-index/mail-index-view-sync.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-transaction-log.h /dovecot/src/lib-mail/mail-types.h index/index-fetch.h index/index-mail.c index/index-search.c index/index-status.c index/index-storage.c index/index-storage.h index/maildir/maildir-save.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/maildir/maildir-sync.c index/maildir/maildir-util.c index/mbox/mbox-save.c index/mbox/mbox-storage.c index/mbox/mbox-sync-private.h index/mbox/mbox-sync-update.c mail-storage-private.h mail-storage.c mail-storage.h proxy-mailbox.c /dovecot/src/pop3/mail-storage-callbacks.c
31ddc75584c5cde53d2e78a737587f2e7fdcb0d2 28-Apr-2004 Timo Sirainen <tss@iki.fi>

Forced locking to be right with mprotect()ing index file. Support for disabling mmap for indexes, and disabling just mmap+write(). --HG-- branch : HEAD

/dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-status.c /dovecot/src/imap/common.h /dovecot/src/imap/imap-search.h /dovecot/src/imap/main.c /dovecot/src/lib-index/mail-index-lock.c /dovecot/src/lib-index/mail-index-private.h /dovecot/src/lib-index/mail-index-reset.c /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.c index/index-search.c index/index-status.c index/index-storage.c index/maildir/maildir-sync.c mail-storage.h /dovecot/src/master/mail-process.c /dovecot/src/master/master-settings.c /dovecot/src/master/master-settings.h /dovecot/src/pop3/client.c
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834 27-Apr-2004 Timo Sirainen <tss@iki.fi>

importing new index code. mbox still broken. --HG-- branch : HEAD

/dovecot/configure.in /dovecot/src/imap/Makefile.am /dovecot/src/imap/client.c /dovecot/src/imap/cmd-append.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-expunge.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/cmd-idle.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-logout.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-unselect.c /dovecot/src/imap/commands-util.c /dovecot/src/imap/imap-expunge.c /dovecot/src/imap/imap-expunge.h /dovecot/src/imap/imap-fetch-body-section.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-messageset.c /dovecot/src/imap/imap-messageset.h /dovecot/src/imap/imap-search.c /dovecot/src/imap/imap-search.h /dovecot/src/imap/imap-sort.c /dovecot/src/imap/imap-thread.c /dovecot/src/imap/mail-storage-callbacks.c /dovecot/src/imap/namespace.c /dovecot/src/lib-imap/imap-util.c /dovecot/src/lib-imap/imap-util.h /dovecot/src/lib-index/Makefile.am /dovecot/src/lib-index/mail-cache-compress.c /dovecot/src/lib-index/mail-cache-lookup.c /dovecot/src/lib-index/mail-cache-old.c /dovecot/src/lib-index/mail-cache-private.h /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-reset.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-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-index/mail-transaction-util.c /dovecot/src/lib-index/mail-transaction-util.h /dovecot/src/lib-index/maildir/Makefile.am /dovecot/src/lib-index/mbox/Makefile.am /dovecot/src/lib-mail/Makefile.am /dovecot/src/lib-mail/mail-types.h /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-parser.h Makefile.am index/Makefile.am index/index-copy.c index/index-expunge.c index/index-expunge.h index/index-fetch.c index/index-mail-headers.c index/index-mail.c index/index-mail.h index/index-mailbox-check.c index/index-messageset.c index/index-messageset.h index/index-search.c index/index-status.c index/index-storage.c index/index-storage.h index/index-sync.c index/index-transaction.c index/index-update-flags.c index/maildir/Makefile.am index/maildir/maildir-copy.c index/maildir/maildir-expunge.c index/maildir/maildir-list.c index/maildir/maildir-mail.c index/maildir/maildir-save.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/maildir/maildir-sync.c index/maildir/maildir-transaction.c index/maildir/maildir-uidlist.c index/maildir/maildir-uidlist.h index/maildir/maildir-util.c index/mbox/Makefile.am index/mbox/istream-raw-mbox.c index/mbox/istream-raw-mbox.h index/mbox/mbox-expunge.c index/mbox/mbox-from.c index/mbox/mbox-from.h index/mbox/mbox-list.c index/mbox/mbox-save.c index/mbox/mbox-sync-header.c index/mbox/mbox-sync-parse.c index/mbox/mbox-sync-private.h index/mbox/mbox-sync-rewrite.c index/mbox/mbox-sync-update.c index/mbox/mbox-sync.c mail-save.c mail-save.h mail-search.h mail-storage-private.h mail-storage.c mail-storage.h proxy-mail-storage.c proxy-mail-storage.h proxy-mail.c proxy-mailbox.c proxy-mailbox.h register/Makefile.am subscription-file/Makefile.am subscription-file/subscription-file.c subscription-file/subscription-file.h /dovecot/src/lib/Makefile.am /dovecot/src/lib/compat.h /dovecot/src/lib/file-dotlock.c /dovecot/src/lib/file-lock.c /dovecot/src/lib/istream-data.c /dovecot/src/lib/istream-file.c /dovecot/src/lib/istream-limit.c /dovecot/src/lib/istream-mmap.c /dovecot/src/lib/macros.h /dovecot/src/lib/network.c /dovecot/src/lib/read-full.c /dovecot/src/lib/read-full.h /dovecot/src/lib/write-full.c /dovecot/src/lib/write-full.h /dovecot/src/pop3/client.c /dovecot/src/pop3/commands.c /dovecot/src/pop3/mail-storage-callbacks.c
b1f57b7183fe44d7d7ba30b944d3de1f015b9253 26-Oct-2003 Timo Sirainen <tss@iki.fi>

Removed fetch_init/fetch_next from mail-storage. search_* makes it unnecessary --HG-- branch : HEAD

df1db5e1dde18b87fa78bd846b736c67c46406fd 26-Oct-2003 Timo Sirainen <tss@iki.fi>

Moved copy() method from struct mail to struct mailbox - the context parameter makes sense only to destination mailbox handler. --HG-- branch : HEAD

00bb3f3db48a9e80a633a7c4d3d768b8ff1a72c5 15-Sep-2003 Timo Sirainen <tss@iki.fi>

CREATE mailbox/ with maildir now creates the mailbox instead of ignoring it. --HG-- branch : HEAD

9f80875e1e574a61bf5834535a8c328b5ceb13eb 24-Aug-2003 Timo Sirainen <tss@iki.fi>

IDLE uses now IO_*_NOTIFY to get instant notifying of mails. --HG-- branch : HEAD

62da0b5f36c26088e524b0bd062eb0772607aadd 24-Aug-2003 Timo Sirainen <tss@iki.fi>

Added oe6-fetch-redundant-msgset workaround. --HG-- branch : HEAD

f8f0ce3973b9fec8a7ec0422df6c67f3e2a3f96d 14-Aug-2003 Timo Sirainen <tss@iki.fi>

Removed get_address() and get_first_mailbox() from mail interface. --HG-- branch : HEAD

b37634f5bf23ff8c72b88ef6966fd5c730017419 11-Aug-2003 Timo Sirainen <tss@iki.fi>

Maildir syncing works now without requiring base filenames to be in index cache file. Also message flag updates with +FLAGS and -FLAGS works correctly now if another client had just changed it's flags. --HG-- branch : HEAD

6789ed17e7ca4021713507baf0dcf6979bb42e0c 06-Aug-2003 Timo Sirainen <tss@iki.fi>

Index cache file rewrite. It's not finished yet and mbox support is completely broken. But it's getting difficult to maintain outside cvs :) --HG-- branch : HEAD

/dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/imap-fetch-body-section.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-search.c /dovecot/src/imap/imap-thread.c /dovecot/src/lib-imap/imap-envelope.c /dovecot/src/lib-imap/imap-envelope.h /dovecot/src/lib-index/Makefile.am /dovecot/src/lib-index/mail-cache.c /dovecot/src/lib-index/mail-cache.h /dovecot/src/lib-index/mail-custom-flags.c /dovecot/src/lib-index/mail-index-compress.c /dovecot/src/lib-index/mail-index-data.c /dovecot/src/lib-index/mail-index-data.h /dovecot/src/lib-index/mail-index-fsck.c /dovecot/src/lib-index/mail-index-open.c /dovecot/src/lib-index/mail-index-rebuild.c /dovecot/src/lib-index/mail-index-update-cache.c /dovecot/src/lib-index/mail-index-update.c /dovecot/src/lib-index/mail-index.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/maildir/Makefile.am /dovecot/src/lib-index/maildir/maildir-build.c /dovecot/src/lib-index/maildir/maildir-expunge.c /dovecot/src/lib-index/maildir/maildir-index.c /dovecot/src/lib-index/maildir/maildir-index.h /dovecot/src/lib-index/maildir/maildir-open.c /dovecot/src/lib-index/maildir/maildir-sync.c /dovecot/src/lib-index/maildir/maildir-uidlist.c /dovecot/src/lib-index/maildir/maildir-update-flags.c /dovecot/src/lib-index/mbox/Makefile.am /dovecot/src/lib-index/mbox/mbox-append.c /dovecot/src/lib-index/mbox/mbox-index.c /dovecot/src/lib-index/mbox/mbox-index.h /dovecot/src/lib-index/mbox/mbox-open.c /dovecot/src/lib-index/mbox/mbox-rebuild.c /dovecot/src/lib-index/mbox/mbox-rewrite.c /dovecot/src/lib-index/mbox/mbox-sync-full.c /dovecot/src/lib-index/mbox/mbox-sync.c index/index-expunge.c index/index-fetch.c index/index-mail.c index/index-mail.h index/index-search.c index/index-storage.c index/index-storage.h index/maildir/maildir-copy.c mail-search.c mail-search.h mail-storage.h proxy-mailbox.c /dovecot/src/pop3/client.c /dovecot/src/pop3/commands.c
b728c54e411fd1964195497572ab7066138206cb 27-Jul-2003 Timo Sirainen <tss@iki.fi>

Mail storages support now configurable namespace prefix and hierarchy separator. Subscription file handling needs some more thought. --HG-- branch : HEAD

05ea76547573aec80f1b58654bce7b850dd99501 27-Jul-2003 Timo Sirainen <tss@iki.fi>

API change: Mailbox list sorting must now always done by storage itself if it's needed. Maildir listing rewritten. --HG-- branch : HEAD

ff1c87522054d080d68b0123373d989a8991aa2a 26-Jul-2003 Timo Sirainen <tss@iki.fi>

API changes: Don't keep variables in mailbox class. --HG-- branch : HEAD

dbb1fb1c51727e2050792f8c333b212e22a36d69 26-Jul-2003 Timo Sirainen <tss@iki.fi>

API change for expunging messages. Not exactly what I wanted, but good enough. --HG-- branch : HEAD

4b9441132b03149cce54b8fbaabb6bbcc10b899e 23-Jul-2003 Timo Sirainen <tss@iki.fi>

Explicit lock() method for mailbox. --HG-- branch : HEAD

6389aeec8c26b585e583c364b48ad12adf741898 23-Jul-2003 Timo Sirainen <tss@iki.fi>

API change for updating message flags. --HG-- branch : HEAD

dfbf03518468bee9a2ca54c104a9be71b38d4436 23-Jul-2003 Timo Sirainen <tss@iki.fi>

API change for copying messages. --HG-- branch : HEAD

290d0477ac0fed6e0c5faa17d55364a971696923 15-Jul-2003 Timo Sirainen <tss@iki.fi>

index_mmap_invalidate = yes now invalidate memory maps before accessing them. Setting this on should fix some problems with OpenBSD. It should also make it possible to use index files over NFS as long as lock daemon is used. It might be such a good idea however. --HG-- branch : HEAD

868772ffa3756090710d239f5a75cf20d3399760 15-Jun-2003 Timo Sirainen <tss@iki.fi>

Only NOOP and CHECK will now always do a real mailbox sync. Other commands will also do it but no often than once in 5 seconds. Also with maildir we don't anymore try to sync it before running commands since syncing is now done automatically whenever we try to access a file that doesn't exist. --HG-- branch : HEAD

/dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-capability.c /dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/cmd-search.c /dovecot/src/imap/cmd-sort.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/cmd-thread.c /dovecot/src/imap/commands-util.c /dovecot/src/imap/commands-util.h /dovecot/src/lib-index/mail-index-open.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/maildir/maildir-index.h /dovecot/src/lib-index/maildir/maildir-rebuild.c /dovecot/src/lib-index/maildir/maildir-sync.c /dovecot/src/lib-index/mbox/mbox-index.h /dovecot/src/lib-index/mbox/mbox-rewrite.c /dovecot/src/lib-index/mbox/mbox-sync.c index/index-copy.c index/index-expunge.c index/index-fetch.c index/index-search.c index/index-status.c index/index-storage.h index/index-sync.c index/index-update-flags.c index/maildir/maildir-copy.c index/mbox/mbox-save.c mail-storage.h
6e0054c2e5efc526df6287da368335680a856714 04-Jun-2003 Timo Sirainen <tss@iki.fi>

IMAP protocol doesn't allow server to send NULs to client. Send ascii #128 instead. --HG-- branch : HEAD

934d42dec29def3fc2b070932f2a7247ec2eea8a 17-May-2003 Timo Sirainen <tss@iki.fi>

Maildir: CONTROL=<dir> in MAIL environment now specifies where to save .customflags and dovecot-uidlist files. This can be useful if the main mail directory is under hard quota. --HG-- branch : HEAD

18d788657cff0fc3905b6a484d33c8c9fc2b9eba 11-Apr-2003 Timo Sirainen <tss@iki.fi>

minor memory leak/cleanup fixes --HG-- branch : HEAD

ae2bf8e61d24887e8cb1398258c01ab8b40c3cdc 09-Mar-2003 Timo Sirainen <tss@iki.fi>

mbox: CREATE mailbox/ now mkdir()s it. --HG-- branch : HEAD

977de65fe54e23ff5675d5e16cfcfdf06cea1a9b 24-Feb-2003 Timo Sirainen <tss@iki.fi>

Added support for CHILDREN and LISTEXT extensions. --HG-- branch : HEAD

ce555be496d79e08ca1e0230bf08b502fbf7c56e 20-Feb-2003 Timo Sirainen <tss@iki.fi>

Removed list-sort workarounds. It's pretty much needed for maildir listing. Also added some more complexity and kludging to make everything work correctly. --HG-- branch : HEAD

88ade75211d86266619d50aab44ccbdb7a151cbe 20-Feb-2003 Timo Sirainen <tss@iki.fi>

workaround: outlook-idle --HG-- branch : HEAD

b79fcd97b1ce9b413139f71170dc821d3ee3bdee 19-Feb-2003 Timo Sirainen <tss@iki.fi>

Rewrote LIST, LSUB and subscription file handling. LIST replies aren't sorted anymore by default, it can be enabled with client_workarounds = list-sort. --HG-- branch : HEAD

0a7960a132c0f034e0fc0cf722adc119e98833d7 14-Feb-2003 Timo Sirainen <tss@iki.fi>

oe6 workaround enum was 0 which didn't really work.. --HG-- branch : HEAD

d1bcee48225783610f0f6f639973677dd72b884a 13-Feb-2003 Timo Sirainen <tss@iki.fi>

Support for IDLE extension. --HG-- branch : HEAD

50933e4d608a259c49e72775284a5f9df985de84 11-Feb-2003 Timo Sirainen <tss@iki.fi>

Added mail_full_filesystem_access setting. Some of the setting variable types were declared wrong and caused Dovecot to crash if they were set in config file. --HG-- branch : HEAD

1c55875d04c444f12bdc3248d533331fdba4e95d 10-Feb-2003 Timo Sirainen <tss@iki.fi>

Added client_workarounds setting, with currently one workaround for OE6. --HG-- branch : HEAD

7c424aa51c956c628e3512055841aa2f9eef4833 27-Jan-2003 Timo Sirainen <tss@iki.fi>

Function typedefs now define them as functions, not function pointers. --HG-- branch : HEAD

/dovecot/src/auth/passwd-file.c /dovecot/src/imap/client.h /dovecot/src/imap/commands.c /dovecot/src/imap/commands.h /dovecot/src/imap/imap-sort.c /dovecot/src/imap/imap-thread.c /dovecot/src/lib-index/mail-index-update.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/maildir/maildir-sync.c /dovecot/src/lib-mail/message-content-parser.c /dovecot/src/lib-mail/message-content-parser.h /dovecot/src/lib-mail/message-header-decode.c /dovecot/src/lib-mail/message-header-decode.h /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-parser.h /dovecot/src/lib-mail/message-tokenize.c /dovecot/src/lib-mail/message-tokenize.h index/maildir/maildir-list.c index/mbox/mbox-list.c mail-storage.h subscription-file/subscription-file.c subscription-file/subscription-file.h /dovecot/src/lib/failures.c /dovecot/src/lib/failures.h /dovecot/src/lib/hash.c /dovecot/src/lib/hash.h /dovecot/src/login/ssl-proxy-openssl.c
8ec4e32c9c886c777954c7b9d99fc5d9250b3805 22-Jan-2003 Timo Sirainen <tss@iki.fi>

Support for MULTIAPPEND extension. COPY now behaves like spec says - if it fails, none of the messages are copied. maildir_copy_with_hardlinks didn't actually work. --HG-- branch : HEAD

5ce2084ada06ade9f44fc2914c34658e9a842dc1 20-Jan-2003 Timo Sirainen <tss@iki.fi>

mail-storage.h interface changes, affects pretty much everything. FETCH, SEARCH, SORT and THREAD handling were pretty much moved from lib-storage/ to imap/ so adding non-index storages would be much easier now. Also POP3 server can now be easily implemented with lib-storage. Not too well tested, and at least one major problem: partial fetching is _slow_. --HG-- branch : HEAD

/dovecot/src/imap/Makefile.am /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/cmd-search.c /dovecot/src/imap/cmd-sort.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/cmd-thread.c /dovecot/src/imap/commands-util.c /dovecot/src/imap/commands-util.h /dovecot/src/imap/imap-fetch-body-section.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-sort.h /dovecot/src/imap/imap-thread.c /dovecot/src/imap/imap-thread.h /dovecot/src/lib-imap/Makefile.am /dovecot/src/lib-imap/imap-envelope.c /dovecot/src/lib-imap/imap-message-cache.c /dovecot/src/lib-imap/imap-message-cache.h /dovecot/src/lib-index/mail-index-data.c /dovecot/src/lib-mail/message-address.c /dovecot/src/lib-mail/message-address.h /dovecot/src/lib-mail/message-body-search.c /dovecot/src/lib-mail/message-body-search.h /dovecot/src/lib-mail/message-date.c /dovecot/src/lib-mail/message-date.h /dovecot/src/lib-mail/message-parser.h /dovecot/src/lib-mail/message-send.c /dovecot/src/lib-mail/message-send.h /dovecot/src/lib-mail/message-size.h /dovecot/src/lib-mail/message-tokenize.h Makefile.am index/Makefile.am index/index-copy.c index/index-fetch.c index/index-fetch.h index/index-messageset.c index/index-messageset.h index/index-msgcache.c index/index-search.c index/index-sort.c index/index-sort.h index/index-storage.c index/index-storage.h index/index-update-flags.c index/maildir/maildir-copy.c index/maildir/maildir-save.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/mbox/mbox-save.c index/mbox/mbox-storage.c index/mbox/mbox-storage.h mail-search.c mail-search.h mail-sort.h mail-storage.h mail-thread.h /dovecot/src/lib/strfuncs.c /dovecot/src/lib/strfuncs.h
f923659c0e5298263d80622c99f4dc4132b4675b 11-Jan-2003 Timo Sirainen <tss@iki.fi>

Naming change for function typedefs. --HG-- branch : HEAD

/dovecot/src/auth/auth-cyrus-sasl2.c /dovecot/src/auth/auth-digest-md5.c /dovecot/src/auth/auth-plain.c /dovecot/src/auth/auth.c /dovecot/src/auth/auth.h /dovecot/src/auth/cookie.h /dovecot/src/auth/userinfo-passwd-file.c /dovecot/src/imap/client.c /dovecot/src/imap/client.h /dovecot/src/imap/cmd-list.c /dovecot/src/imap/commands.c /dovecot/src/imap/commands.h /dovecot/src/lib-imap/imap-message-cache.c /dovecot/src/lib-index/mail-index-update.c /dovecot/src/lib-index/mail-index-util.c /dovecot/src/lib-index/mail-index.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/maildir/maildir-sync.c /dovecot/src/lib-index/mbox/mbox-append.c /dovecot/src/lib-index/mbox/mbox-index.c /dovecot/src/lib-index/mbox/mbox-index.h /dovecot/src/lib-index/mbox/mbox-lock.c /dovecot/src/lib-index/mbox/mbox-rewrite.c /dovecot/src/lib-index/mbox/mbox-sync-full.c /dovecot/src/lib-mail/message-content-parser.c /dovecot/src/lib-mail/message-content-parser.h /dovecot/src/lib-mail/message-header-decode.c /dovecot/src/lib-mail/message-header-decode.h /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-parser.h /dovecot/src/lib-mail/message-tokenize.c /dovecot/src/lib-mail/message-tokenize.h index/index-copy.c index/index-messageset.c index/index-messageset.h index/index-update-flags.c index/maildir/maildir-copy.c index/maildir/maildir-list.c index/maildir/maildir-storage.h index/mbox/mbox-list.c index/mbox/mbox-storage.h mail-search.c mail-search.h mail-sort.c mail-storage.h mail-thread.c subscription-file/subscription-file.c subscription-file/subscription-file.h /dovecot/src/lib/failures.c /dovecot/src/lib/failures.h /dovecot/src/lib/file-lock.c /dovecot/src/lib/file-lock.h /dovecot/src/lib/hash.c /dovecot/src/lib/hash.h /dovecot/src/lib/ioloop-internal.h /dovecot/src/lib/ioloop-poll.c /dovecot/src/lib/ioloop-select.c /dovecot/src/lib/ioloop.c /dovecot/src/lib/ioloop.h /dovecot/src/lib/iostream-internal.h /dovecot/src/lib/iostream.c /dovecot/src/lib/istream-data.c /dovecot/src/lib/istream-file.c /dovecot/src/lib/istream-mmap.c /dovecot/src/lib/istream.c /dovecot/src/lib/istream.h /dovecot/src/lib/ostream-file.c /dovecot/src/lib/ostream.c /dovecot/src/lib/ostream.h /dovecot/src/login/auth-connection.c /dovecot/src/login/auth-connection.h /dovecot/src/login/common.h /dovecot/src/login/master.c /dovecot/src/login/master.h /dovecot/src/master/auth-process.c /dovecot/src/master/auth-process.h /dovecot/src/master/ssl-init.c
fd4632d0060b2e9eef513b544ccff1e26d1fc222 08-Jan-2003 Timo Sirainen <tss@iki.fi>

THREAD=REFERENCES implementation. Doesn't crash, but I'm not sure how correct replies it produces :) --HG-- branch : HEAD

ef217a40ec3cc7aa7ce2c2b4ba36a44510c982e9 05-Jan-2003 Timo Sirainen <tss@iki.fi>

"ISO C forbids forward references to enum types" --HG-- branch : HEAD

c0435c854a0e7246373b9752d163095cc4fbe985 05-Jan-2003 Timo Sirainen <tss@iki.fi>

Naming style changes, finally got tired of most of the typedefs. Also the previous enum -> macro change reverted so that we don't use the highest bit anymore, that's incompatible with old indexes so they will be rebuilt. --HG-- branch : HEAD

/dovecot/configure.in /dovecot/src/auth/auth-digest-md5.c /dovecot/src/auth/auth-interface.h /dovecot/src/auth/auth-plain.c /dovecot/src/auth/auth.c /dovecot/src/auth/auth.h /dovecot/src/auth/common.h /dovecot/src/auth/cookie.c /dovecot/src/auth/cookie.h /dovecot/src/auth/login-connection.c /dovecot/src/auth/login-connection.h /dovecot/src/auth/main.c /dovecot/src/auth/master.c /dovecot/src/auth/userinfo-pam.c /dovecot/src/auth/userinfo-passwd-file.c /dovecot/src/auth/userinfo-passwd.c /dovecot/src/auth/userinfo-passwd.h /dovecot/src/auth/userinfo-shadow.c /dovecot/src/auth/userinfo-vpopmail.c /dovecot/src/auth/userinfo.c /dovecot/src/auth/userinfo.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-list.c /dovecot/src/imap/cmd-login.c /dovecot/src/imap/cmd-logout.c /dovecot/src/imap/cmd-lsub.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-uid.c /dovecot/src/imap/cmd-unsubscribe.c /dovecot/src/imap/commands-util.c /dovecot/src/imap/commands-util.h /dovecot/src/imap/commands.h /dovecot/src/imap/common.h /dovecot/src/imap/mail-storage-callbacks.c /dovecot/src/imap/main.c /dovecot/src/imap/rawlog.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-imap/imap-base-subject.h /dovecot/src/lib-imap/imap-bodystructure.c /dovecot/src/lib-imap/imap-bodystructure.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-message-cache.c /dovecot/src/lib-imap/imap-message-cache.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-imap/imap-util.c /dovecot/src/lib-imap/imap-util.h /dovecot/src/lib-index/mail-custom-flags.c /dovecot/src/lib-index/mail-custom-flags.h /dovecot/src/lib-index/mail-index-compress.c /dovecot/src/lib-index/mail-index-data.c /dovecot/src/lib-index/mail-index-data.h /dovecot/src/lib-index/mail-index-fsck.c /dovecot/src/lib-index/mail-index-open.c /dovecot/src/lib-index/mail-index-update-cache.c /dovecot/src/lib-index/mail-index-update.c /dovecot/src/lib-index/mail-index-util.c /dovecot/src/lib-index/mail-index-util.h /dovecot/src/lib-index/mail-index.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-lockdir.c /dovecot/src/lib-index/mail-lockdir.h /dovecot/src/lib-index/mail-modifylog.c /dovecot/src/lib-index/mail-modifylog.h /dovecot/src/lib-index/mail-tree-redblack.c /dovecot/src/lib-index/mail-tree.c /dovecot/src/lib-index/mail-tree.h /dovecot/src/lib-index/maildir/maildir-build.c /dovecot/src/lib-index/maildir/maildir-index.c /dovecot/src/lib-index/maildir/maildir-index.h /dovecot/src/lib-index/maildir/maildir-open.c /dovecot/src/lib-index/maildir/maildir-rebuild.c /dovecot/src/lib-index/maildir/maildir-sync.c /dovecot/src/lib-index/maildir/maildir-update.c /dovecot/src/lib-index/mbox/mbox-append.c /dovecot/src/lib-index/mbox/mbox-from.c /dovecot/src/lib-index/mbox/mbox-index.c /dovecot/src/lib-index/mbox/mbox-index.h /dovecot/src/lib-index/mbox/mbox-lock.c /dovecot/src/lib-index/mbox/mbox-lock.h /dovecot/src/lib-index/mbox/mbox-open.c /dovecot/src/lib-index/mbox/mbox-rebuild.c /dovecot/src/lib-index/mbox/mbox-rewrite.c /dovecot/src/lib-index/mbox/mbox-sync-full.c /dovecot/src/lib-index/mbox/mbox-sync.c /dovecot/src/lib-mail/Makefile.am /dovecot/src/lib-mail/message-address.c /dovecot/src/lib-mail/message-address.h /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-date.c /dovecot/src/lib-mail/message-date.h /dovecot/src/lib-mail/message-header-decode.c /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-part-serialize.h /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-mail/message-tokenize.c /dovecot/src/lib-mail/message-tokenize.h /dovecot/src/lib-mail/quoted-printable.c /dovecot/src/lib-mail/quoted-printable.h /dovecot/src/lib-mail/rfc822-address.h /dovecot/src/lib-mail/rfc822-date.h index/index-copy.c index/index-expunge.c index/index-fetch-section.c index/index-fetch.c index/index-fetch.h index/index-mailbox-check.c index/index-messageset.c index/index-messageset.h index/index-msgcache.c index/index-save.c index/index-search.c index/index-sort.c index/index-sort.h index/index-status.c index/index-storage.c index/index-storage.h index/index-sync.c index/index-update-flags.c index/maildir/maildir-copy.c index/maildir/maildir-expunge.c index/maildir/maildir-list.c index/maildir/maildir-save.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/mbox/mbox-expunge.c index/mbox/mbox-list.c index/mbox/mbox-save.c index/mbox/mbox-storage.c index/mbox/mbox-storage.h mail-search.c mail-search.h mail-sort.c mail-sort.h mail-storage.c mail-storage.h subscription-file/subscription-file.c subscription-file/subscription-file.h /dovecot/src/lib/base64.c /dovecot/src/lib/base64.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/env-util.c /dovecot/src/lib/failures.h /dovecot/src/lib/hash.c /dovecot/src/lib/hash.h /dovecot/src/lib/hex-binary.c /dovecot/src/lib/hex-binary.h /dovecot/src/lib/imem.c /dovecot/src/lib/imem.h /dovecot/src/lib/ioloop-internal.h /dovecot/src/lib/ioloop-poll.c /dovecot/src/lib/ioloop-select.c /dovecot/src/lib/ioloop.c /dovecot/src/lib/ioloop.h /dovecot/src/lib/iostream-internal.h /dovecot/src/lib/iostream.c /dovecot/src/lib/istream-data.c /dovecot/src/lib/istream-file.c /dovecot/src/lib/istream-internal.h /dovecot/src/lib/istream-mmap.c /dovecot/src/lib/istream.c /dovecot/src/lib/istream.h /dovecot/src/lib/lib.h /dovecot/src/lib/macros.h /dovecot/src/lib/md5.c /dovecot/src/lib/md5.h /dovecot/src/lib/mempool-alloconly.c /dovecot/src/lib/mempool-datastack.c /dovecot/src/lib/mempool-system.c /dovecot/src/lib/mempool.h /dovecot/src/lib/network.c /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/str.c /dovecot/src/lib/str.h /dovecot/src/lib/strescape.c /dovecot/src/lib/strescape.h /dovecot/src/lib/strfuncs.c /dovecot/src/lib/strfuncs.h /dovecot/src/login/auth-connection.c /dovecot/src/login/auth-connection.h /dovecot/src/login/client-authenticate.c /dovecot/src/login/client-authenticate.h /dovecot/src/login/client.c /dovecot/src/login/client.h /dovecot/src/login/main.c /dovecot/src/login/master.c /dovecot/src/login/master.h /dovecot/src/login/ssl-proxy-gnutls.c /dovecot/src/login/ssl-proxy-openssl.c /dovecot/src/master/auth-process.c /dovecot/src/master/auth-process.h /dovecot/src/master/common.h /dovecot/src/master/imap-process.c /dovecot/src/master/login-process.c /dovecot/src/master/main.c /dovecot/src/master/master-interface.h /dovecot/src/master/settings.c /dovecot/src/master/settings.h /dovecot/src/master/ssl-init.c
e89ddfaacafceb0bf30d4d6188125c819fdea8cf 02-Jan-2003 Timo Sirainen <tss@iki.fi>

comment updates --HG-- branch : HEAD

162677af0091c924cb7266e23978e342982f7d05 01-Jan-2003 Timo Sirainen <tss@iki.fi>

Storage can now specify if errors should be sent to user as BAD or NO. Some changes to messageset parsing as specified by latest IMAP4rev1 draft. Bad charset error is prefixed with [BADCHARSET]. Fixed a crash in SEARCH the last commit in it caused. --HG-- branch : HEAD

a8767e3a8dd08bb782f05dacf2c8877f3cba644e 20-Dec-2002 Timo Sirainen <tss@iki.fi>

Added :INDEX=<dir> for both Maildir and mbox to specify different location where to store index files. This would allow keeping mailboxes accessible through NFS but still keep the indexes in fast local disk. Did also some other related cleanups and minor fixes. --HG-- branch : HEAD

/dovecot/doc/mail-storages.txt /dovecot/dovecot-example.conf /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/maildir/maildir-index.c /dovecot/src/lib-index/maildir/maildir-index.h /dovecot/src/lib-index/maildir/maildir-open.c /dovecot/src/lib-index/maildir/maildir-rebuild.c /dovecot/src/lib-index/maildir/maildir-sync.c /dovecot/src/lib-index/mbox/mbox-append.c /dovecot/src/lib-index/mbox/mbox-index.c /dovecot/src/lib-index/mbox/mbox-lock.c /dovecot/src/lib-index/mbox/mbox-rebuild.c /dovecot/src/lib-index/mbox/mbox-rewrite.c /dovecot/src/lib-index/mbox/mbox-sync-full.c /dovecot/src/lib-index/mbox/mbox-sync.c index/maildir/maildir-copy.c index/maildir/maildir-expunge.c index/maildir/maildir-save.c index/maildir/maildir-storage.c index/mbox/mbox-expunge.c index/mbox/mbox-list.c index/mbox/mbox-save.c index/mbox/mbox-storage.c mail-storage.h /dovecot/src/lib/unlink-directory.c
c427ac2a7005cd865267107023ba0038d761104d 20-Dec-2002 Timo Sirainen <tss@iki.fi>

Support for separate location of mbox INBOX folder. --HG-- branch : HEAD

ecc81625167ed96c04c02aa190a1ea5baa65b474 06-Dec-2002 Timo Sirainen <tss@iki.fi>

Renamed IBuffer and OBuffer to IStream and OStream which describes their functionality better. I tried to keep the variable names and comments also sensible. --HG-- branch : HEAD

/dovecot/src/auth/login-connection.c /dovecot/src/auth/master.c /dovecot/src/auth/userinfo-passwd-file.c /dovecot/src/imap/client.c /dovecot/src/imap/client.h /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/cmd-search.c /dovecot/src/imap/cmd-sort.c /dovecot/src/imap/mail-storage-callbacks.c /dovecot/src/lib-imap/imap-bodystructure.c /dovecot/src/lib-imap/imap-bodystructure.h /dovecot/src/lib-imap/imap-envelope.c /dovecot/src/lib-imap/imap-message-cache.c /dovecot/src/lib-imap/imap-message-cache.h /dovecot/src/lib-imap/imap-parser.c /dovecot/src/lib-imap/imap-parser.h /dovecot/src/lib-index/mail-index-update-cache.c /dovecot/src/lib-index/mail-index-update.c /dovecot/src/lib-index/mail-index-util.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/maildir/maildir-index.h /dovecot/src/lib-index/maildir/maildir-open.c /dovecot/src/lib-index/maildir/maildir-update.c /dovecot/src/lib-index/mbox/mbox-append.c /dovecot/src/lib-index/mbox/mbox-index.c /dovecot/src/lib-index/mbox/mbox-index.h /dovecot/src/lib-index/mbox/mbox-lock.c /dovecot/src/lib-index/mbox/mbox-open.c /dovecot/src/lib-index/mbox/mbox-rebuild.c /dovecot/src/lib-index/mbox/mbox-rewrite.c /dovecot/src/lib-index/mbox/mbox-sync-full.c /dovecot/src/lib-index/mbox/mbox-sync.c /dovecot/src/lib-mail/message-body-search.c /dovecot/src/lib-mail/message-body-search.h /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-parser.h /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 index/index-copy.c index/index-fetch-section.c index/index-fetch.c index/index-fetch.h index/index-msgcache.c index/index-save.c index/index-search.c index/index-sort.c index/index-sort.h index/index-storage.h index/maildir/maildir-save.c index/maildir/maildir-storage.h index/mbox/mbox-expunge.c index/mbox/mbox-save.c index/mbox/mbox-storage.h mail-sort.c mail-storage.h /dovecot/src/lib/Makefile.am /dovecot/src/lib/ibuffer-file.c /dovecot/src/lib/ibuffer-internal.h /dovecot/src/lib/ibuffer-mmap.c /dovecot/src/lib/ibuffer.c /dovecot/src/lib/ibuffer.h /dovecot/src/lib/iobuffer-internal.h /dovecot/src/lib/iostream-internal.h /dovecot/src/lib/iostream.c /dovecot/src/lib/istream-data.c /dovecot/src/lib/istream-file.c /dovecot/src/lib/istream-internal.h /dovecot/src/lib/istream-mmap.c /dovecot/src/lib/istream.c /dovecot/src/lib/istream.h /dovecot/src/lib/lib.h /dovecot/src/lib/obuffer-file.c /dovecot/src/lib/obuffer-internal.h /dovecot/src/lib/obuffer.c /dovecot/src/lib/obuffer.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/login/auth-connection.c /dovecot/src/login/client-authenticate.c /dovecot/src/login/client.c /dovecot/src/login/client.h /dovecot/src/master/auth-process.c /dovecot/src/master/login-process.c /dovecot/src/master/settings.c
55a7410569737197afb302b07b488973324b0cc5 04-Dec-2002 Timo Sirainen <tss@iki.fi>

First implementation of SORT extension. String comparing still not up to spec, so we don't advertise it in capability string yet. The code supports getting the data partially pre-sorted to reduce memory usage and make it faster. So, in future we could use this by creating sorted binary trees. Also moved mail-storage-register.c into it's own .a lib to fix circular dependencies. --HG-- branch : HEAD

c2bb1764c359ce85a7f7f789ead11dd613ff9769 25-Nov-2002 Timo Sirainen <tss@iki.fi>

Locking changes triggered a bit larger cleanup :) If we have to wait for a lock longer, the client is now notified about it every 30 seconds. Also if mailbox opening fails because of lock timeout, we won't overwrite the index anymore. Finally user gets a clear error message about lock timeout instead of "internal error". --HG-- branch : HEAD

/dovecot/TODO /dovecot/src/imap/Makefile.am /dovecot/src/imap/client.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/mail-storage-callbacks.c /dovecot/src/imap/mailbox-sync.c /dovecot/src/lib-index/mail-custom-flags.c /dovecot/src/lib-index/mail-index-open.c /dovecot/src/lib-index/mail-index-util.c /dovecot/src/lib-index/mail-index-util.h /dovecot/src/lib-index/mail-index.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-modifylog.c /dovecot/src/lib-index/maildir/maildir-index.c /dovecot/src/lib-index/mbox/mbox-index.c /dovecot/src/lib-index/mbox/mbox-lock.c index/index-copy.c index/index-expunge.c index/index-fetch.c index/index-messageset.c index/index-search.c index/index-status.c index/index-storage.c index/index-storage.h index/index-sync.c index/index-update-flags.c index/maildir/maildir-copy.c index/maildir/maildir-storage.c index/mbox/mbox-save.c index/mbox/mbox-storage.c mail-storage.h subscription-file/subscription-file.c /dovecot/src/lib/file-lock.c /dovecot/src/lib/file-lock.h
d8e43743157d05e416eb5d3b45cddb3b3122dc07 03-Nov-2002 Timo Sirainen <tss@iki.fi>

SEARCH CHARSET support. Currently we do it through iconv() and only ASCII characters are compared case-insensitively. --HG-- branch : HEAD

85eee5da111b2d6260f446bce3fba529e4294c3c 02-Nov-2002 Timo Sirainen <tss@iki.fi>

Mostly mbox locking/syncing fixes. Still some problems though. --HG-- branch : HEAD

/dovecot/src/imap/cmd-close.c /dovecot/src/lib-index/mail-index-open.c /dovecot/src/lib-index/mail-index-update-cache.c /dovecot/src/lib-index/mail-index.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-tree.c /dovecot/src/lib-index/maildir/maildir-index.h /dovecot/src/lib-index/maildir/maildir-sync.c /dovecot/src/lib-index/mbox/mbox-index.c /dovecot/src/lib-index/mbox/mbox-index.h /dovecot/src/lib-index/mbox/mbox-lock.c /dovecot/src/lib-index/mbox/mbox-rewrite.c /dovecot/src/lib-index/mbox/mbox-sync-full.c /dovecot/src/lib-index/mbox/mbox-sync.c index/index-copy.c index/index-expunge.c index/index-fetch.c index/index-search.c index/index-status.c index/index-storage.c index/index-storage.h index/index-sync.c index/index-update-flags.c index/maildir/maildir-copy.c index/mbox/mbox-expunge.c index/mbox/mbox-storage.c index/mbox/mbox-storage.h mail-storage.h
201108608e6686d3e9dce9b95678a814122b6471 24-Oct-2002 Timo Sirainen <tss@iki.fi>

Fixes to timezone handling which were handling quite badly. added ioloop_timezone which gets updated with ioloop_time. Changed some GMT references to UTC. Timezone offsets are in minutes now everywhere instead of seconds. Fixes for unsigned time_t. --HG-- branch : HEAD

1d0bb7bd8d4bcb68ace58e2a0f9c17744c3e56ac 20-Oct-2002 Timo Sirainen <tss@iki.fi>

Modify log now stores the changes in ranges, so store 1:100 doesn't generate 100 entries but just one. For single message changes this takes 8 bytes unneededly though, that could be fixed but for extra complexity so I don't think it's worth it. Also a change in sync-interface, expunge event no longer gets UID. It's not currently needed and I don't see any rfcs/drafts wanting it either. It's removed mostly because the log ranges makes it impossible to get it. --HG-- branch : HEAD

10ffe25023df7de97803cd94cc3ad97ff1c986a7 19-Oct-2002 Timo Sirainen <tss@iki.fi>

MailStorage interface change. We now let storage call several sync-functions whenever it wants instead of forcing it through sync() function. This now allows us to send client FLAGS and PERMANENTFLAGS messages whenever new custom flags are added. Also EXPUNGE command now goes nicely through expunge() function (which CLOSE used) instead of through flag in sync(). "Out of disk space" alert is also sent now whenever it happens, before it was sent only when opening mailbox. Message set parser now complains when referencing mail sequences outside the possible range. Modify log before sent flags/expunges changes to client even if it didn't know about those messages yet. Also some other smaller cleanups. Beginnings of fixing APPEND and COPY when trying to store mails into selected mailbox. Before this didn't work too well or simply broke things. Still broken, needs a bit more changes.. --HG-- branch : HEAD

/dovecot/src/imap/Makefile.am /dovecot/src/imap/client.h /dovecot/src/imap/cmd-append.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-expunge.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/cmd-noop.c /dovecot/src/imap/cmd-search.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/commands-util.c /dovecot/src/imap/commands-util.h /dovecot/src/lib-imap/imap-util.c /dovecot/src/lib-imap/imap-util.h /dovecot/src/lib-index/mail-custom-flags.c /dovecot/src/lib-index/mail-custom-flags.h /dovecot/src/lib-index/mail-index.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-modifylog.c index/index-expunge.c index/index-fetch.c index/index-fetch.h index/index-messageset.c index/index-search.c index/index-status.c index/index-storage.c index/index-storage.h index/index-sync.c index/index-update-flags.c index/maildir/maildir-expunge.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/mbox/mbox-expunge.c index/mbox/mbox-storage.c index/mbox/mbox-storage.h mail-storage.h
b646fdb90f75ab80ea7feca42fa2e1f8e788b004 14-Oct-2002 Timo Sirainen <tss@iki.fi>

Split IOBuffer into mmaped IBuffer, file IBuffer, memory data IBuffer and file OBuffer. --HG-- branch : HEAD

/dovecot/src/auth/login-connection.c /dovecot/src/auth/master.c /dovecot/src/auth/userinfo-passwd-file.c /dovecot/src/imap/client.c /dovecot/src/imap/client.h /dovecot/src/imap/cmd-append.c /dovecot/src/imap/main.c /dovecot/src/lib-imap/imap-bodystructure.c /dovecot/src/lib-imap/imap-bodystructure.h /dovecot/src/lib-imap/imap-envelope.c /dovecot/src/lib-imap/imap-message-cache.c /dovecot/src/lib-imap/imap-message-cache.h /dovecot/src/lib-imap/imap-parser.c /dovecot/src/lib-imap/imap-parser.h /dovecot/src/lib-index/mail-index-update-cache.c /dovecot/src/lib-index/mail-index-update.c /dovecot/src/lib-index/mail-index-util.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/maildir/maildir-index.h /dovecot/src/lib-index/maildir/maildir-open.c /dovecot/src/lib-index/maildir/maildir-update.c /dovecot/src/lib-index/mbox/mbox-append.c /dovecot/src/lib-index/mbox/mbox-fsck.c /dovecot/src/lib-index/mbox/mbox-index.c /dovecot/src/lib-index/mbox/mbox-index.h /dovecot/src/lib-index/mbox/mbox-open.c /dovecot/src/lib-index/mbox/mbox-rebuild.c /dovecot/src/lib-index/mbox/mbox-rewrite.c /dovecot/src/lib-index/mbox/mbox-sync.c /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-parser.h /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 index/index-copy.c index/index-fetch-section.c index/index-fetch.c index/index-fetch.h index/index-msgcache.c index/index-save.c index/index-search.c index/index-storage.h index/maildir/maildir-save.c index/maildir/maildir-storage.h index/mbox/mbox-expunge.c index/mbox/mbox-save.c index/mbox/mbox-storage.h mail-storage.h /dovecot/src/lib/Makefile.am /dovecot/src/lib/compat.c /dovecot/src/lib/compat.h /dovecot/src/lib/data-stack.c /dovecot/src/lib/ibuffer-data.c /dovecot/src/lib/ibuffer-file.c /dovecot/src/lib/ibuffer-internal.h /dovecot/src/lib/ibuffer-mmap.c /dovecot/src/lib/ibuffer.c /dovecot/src/lib/ibuffer.h /dovecot/src/lib/iobuffer-internal.h /dovecot/src/lib/iobuffer.c /dovecot/src/lib/iobuffer.h /dovecot/src/lib/lib.h /dovecot/src/lib/network.c /dovecot/src/lib/network.h /dovecot/src/lib/obuffer-file.c /dovecot/src/lib/obuffer-internal.h /dovecot/src/lib/obuffer.c /dovecot/src/lib/obuffer.h /dovecot/src/login/auth-connection.c /dovecot/src/login/client-authenticate.c /dovecot/src/login/client.c /dovecot/src/login/client.h /dovecot/src/master/auth-process.c /dovecot/src/master/login-process.c /dovecot/src/master/settings.c
43ae45b90718684dbbd67a240e60c52cbc6496ba 09-Oct-2002 Timo Sirainen <tss@iki.fi>

changed all "temporary memory pool" references to "data stack" --HG-- branch : HEAD

ac50d909882a95e3012a186c577ddecb2d3f310f 29-Sep-2002 Timo Sirainen <tss@iki.fi>

Modify log fixes. STORE and SEARCH didn't handle properly message sequence numbers when some in the middle were externally deleted. --HG-- branch : HEAD

135dddafc7290890b2305596418bb4fb3b0c7494 27-Sep-2002 Timo Sirainen <tss@iki.fi>

Send RECENT after all EXISTS replies. Check for new mail in mailbox after each FETCH, STORE and SEARCH commands and notify about it with EXISTS. --HG-- branch : HEAD

2fce6f365c7871e4f2914750130421d6b257d963 25-Sep-2002 Timo Sirainen <tss@iki.fi>

When selecting a mailbox and we're out of disk space, send ALERT to user telling about it. --HG-- branch : HEAD

7913b62dac8e4928226bc5eba59b01675cdb0018 23-Sep-2002 Timo Sirainen <tss@iki.fi>

Added fast-flag for mailbox opening, which doesn't do any index compressing or cache updating. This flag is set when mailbox is opened by APPEND, COPY or STATUS (ie. not SELECT/EXAMINE). --HG-- branch : HEAD

6697a923d6768bf8d71f87f80b90747cf6870753 08-Sep-2002 Timo Sirainen <tss@iki.fi>

move size_t fixes --HG-- branch : HEAD

/dovecot/src/auth/auth-digest-md5.c /dovecot/src/auth/auth-interface.h /dovecot/src/auth/auth-plain.c /dovecot/src/auth/login-connection.c /dovecot/src/auth/userinfo-passwd-file.c /dovecot/src/imap/client.c /dovecot/src/imap/cmd-append.c /dovecot/src/lib-imap/imap-envelope.c /dovecot/src/lib-imap/imap-envelope.h /dovecot/src/lib-imap/imap-message-cache.c /dovecot/src/lib-imap/imap-parser.c /dovecot/src/lib-imap/imap-util.c /dovecot/src/lib-index/mail-custom-flags.c /dovecot/src/lib-index/mail-hash.c /dovecot/src/lib-index/mail-index-data.c /dovecot/src/lib-index/mail-index-data.h /dovecot/src/lib-index/mail-index-update.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/maildir/maildir-build.c /dovecot/src/lib-index/mbox/mbox-append.c /dovecot/src/lib-index/mbox/mbox-from.c /dovecot/src/lib-index/mbox/mbox-index.c /dovecot/src/lib-index/mbox/mbox-index.h /dovecot/src/lib-index/mbox/mbox-rewrite.c /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-part-serialize.h /dovecot/src/lib-mail/message-send.c /dovecot/src/lib-mail/message-size.c /dovecot/src/lib-mail/rfc822-date.c /dovecot/src/lib-mail/rfc822-tokenize.c /dovecot/src/lib-mail/rfc822-tokenize.h index/index-fetch-section.c index/index-save.c index/index-search.c index/index-storage.h index/maildir/maildir-save.c index/maildir/maildir-storage.h index/mbox/mbox-save.c index/mbox/mbox-storage.h mail-storage.h subscription-file/subscription-file.c /dovecot/src/lib/base64.c /dovecot/src/lib/base64.h /dovecot/src/login/auth-connection.c /dovecot/src/login/client-authenticate.c /dovecot/src/login/ssl-proxy.c
58b8f5023718a1afcdae25dc418b5a31c4502d64 29-Aug-2002 Timo Sirainen <tss@iki.fi>

Custom flags are now shown in FLAGS and PERMANENTFLAGS lists after SELECT. It also warns if there's for some reason a duplicate index number in custom flags file. --HG-- branch : HEAD

ec9d382ea6adbf2c8a0e5dd304acb629ebed3203 27-Aug-2002 Timo Sirainen <tss@iki.fi>

Introduced uoff_t which is the unsigned-equilevant of off_t. This was needed to be able to handle off_t overflows properly. Also changed a few unsigned int fields into uoff_t so we should now support >2G mails if uoff_t is 64bit. Also fixed several potential integer overflows. --HG-- branch : HEAD

/dovecot/acconfig.h /dovecot/configure.in /dovecot/src/imap/cmd-fetch.c /dovecot/src/lib-imap/imap-bodystructure.c /dovecot/src/lib-imap/imap-envelope.c /dovecot/src/lib-imap/imap-message-cache.c /dovecot/src/lib-imap/imap-message-cache.h /dovecot/src/lib-imap/imap-parser.c /dovecot/src/lib-imap/imap-parser.h /dovecot/src/lib-index/mail-hash.c /dovecot/src/lib-index/mail-hash.h /dovecot/src/lib-index/mail-index-compress.c /dovecot/src/lib-index/mail-index-data.c /dovecot/src/lib-index/mail-index-data.h /dovecot/src/lib-index/mail-index-fsck.c /dovecot/src/lib-index/mail-index-update.c /dovecot/src/lib-index/mail-index.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-messageset.c /dovecot/src/lib-index/mail-modifylog.c /dovecot/src/lib-index/maildir/maildir-sync.c /dovecot/src/lib-index/mbox/mbox-append.c /dovecot/src/lib-index/mbox/mbox-from.c /dovecot/src/lib-index/mbox/mbox-fsck.c /dovecot/src/lib-index/mbox/mbox-open.c /dovecot/src/lib-index/mbox/mbox-rebuild.c /dovecot/src/lib-index/mbox/mbox-sync.c /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-parser.h /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 flags-file/flags-file.c index/index-fetch-section.c index/index-fetch.c index/index-save.c index/index-search.c mail-storage.h /dovecot/src/lib/iobuffer.c /dovecot/src/lib/iobuffer.h /dovecot/src/lib/lib.h /dovecot/src/lib/strfuncs.c /dovecot/src/lib/temp-string.c /dovecot/src/master/main.c
468bb8fbe53f28a18a47b8dc6761171d5d8ce706 24-Aug-2002 Timo Sirainen <tss@iki.fi>

mbox fixes, not fully working yet but almost :) --HG-- branch : HEAD

4027c1f2c7a848dfe657d7cf8771a3067003c903 22-Aug-2002 Timo Sirainen <tss@iki.fi>

"Critical errors" aren't displayed to users anymore, ie. anything that is not a predefined human readable error message is written into log file and user gets only "Internal error [timestamp]". --HG-- branch : HEAD

1215bc4d7e747846f282cf710e61f3768e69238d 22-Aug-2002 Timo Sirainen <tss@iki.fi>

s/user_data/context/ and some s/Data/Context/ --HG-- branch : HEAD

/dovecot/src/auth/auth-digest-md5.c /dovecot/src/auth/auth-plain.c /dovecot/src/auth/auth.c /dovecot/src/auth/auth.h /dovecot/src/auth/cookie.c /dovecot/src/auth/cookie.h /dovecot/src/auth/login-connection.c /dovecot/src/auth/main.c /dovecot/src/auth/master.c /dovecot/src/imap/client.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/commands-util.c /dovecot/src/lib-imap/imap-bodystructure.c /dovecot/src/lib-imap/imap-message-cache.c /dovecot/src/lib-imap/imap-message-cache.h /dovecot/src/lib-index/mail-index-update.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-messageset.c /dovecot/src/lib-index/mail-messageset.h /dovecot/src/lib-index/maildir/maildir-sync.c /dovecot/src/lib-index/mbox/mbox-append.c /dovecot/src/lib-index/mbox/mbox-fsck.c /dovecot/src/lib-mail/message-content-parser.c /dovecot/src/lib-mail/message-content-parser.h /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-parser.h /dovecot/src/lib-mail/rfc822-tokenize.c /dovecot/src/lib-mail/rfc822-tokenize.h flags-file/flags-file.c flags-file/flags-file.h index/index-copy.c index/index-fetch-section.c index/index-fetch.c index/index-fetch.h index/index-search.c index/index-storage.c index/index-storage.h index/index-sync.c index/index-update-flags.c index/maildir/maildir-copy.c index/maildir/maildir-expunge.c index/maildir/maildir-list.c index/maildir/maildir-storage.h index/mbox/mbox-expunge.c index/mbox/mbox-list.c index/mbox/mbox-storage.h mail-search.c mail-search.h mail-storage.h subscription-file/subscription-file.c subscription-file/subscription-file.h /dovecot/src/lib/hash.c /dovecot/src/lib/hash.h /dovecot/src/lib/iobuffer.c /dovecot/src/lib/iobuffer.h /dovecot/src/lib/ioloop-internal.h /dovecot/src/lib/ioloop-poll.c /dovecot/src/lib/ioloop-select.c /dovecot/src/lib/ioloop.c /dovecot/src/lib/ioloop.h /dovecot/src/login/auth-connection.c /dovecot/src/login/auth-connection.h /dovecot/src/login/client-authenticate.c /dovecot/src/login/client.c /dovecot/src/login/client.h /dovecot/src/login/main.c /dovecot/src/login/master.c /dovecot/src/login/master.h /dovecot/src/login/ssl-proxy.c /dovecot/src/master/auth-process.c /dovecot/src/master/auth-process.h /dovecot/src/master/login-process.c /dovecot/src/master/main.c
e403d34ae6904cd8d9f72345a2f2dc017d3b46aa 22-Aug-2002 Timo Sirainen <tss@iki.fi>

Message data is parsed in blocks (no longer entirely mmap()ed). Several IOBuffer changes. All mixed signed/unsigned comparisions were fixed so code can now be compiled with gcc's -W flag. mbox support is broken currently, and there's most likely several other problems too. --HG-- branch : HEAD

/dovecot/configure.in /dovecot/src/auth/auth-digest-md5.c /dovecot/src/auth/login-connection.c /dovecot/src/auth/userinfo-passwd-file.c /dovecot/src/auth/userinfo.h /dovecot/src/imap/client.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/cmd-list.c /dovecot/src/lib-imap/imap-bodystructure.c /dovecot/src/lib-imap/imap-bodystructure.h /dovecot/src/lib-imap/imap-message-cache.c /dovecot/src/lib-imap/imap-message-cache.h /dovecot/src/lib-imap/imap-message-send.c /dovecot/src/lib-imap/imap-message-send.h /dovecot/src/lib-imap/imap-parser.c /dovecot/src/lib-index/Makefile.am /dovecot/src/lib-index/mail-hash.c /dovecot/src/lib-index/mail-index-data.c /dovecot/src/lib-index/mail-index-fsck.c /dovecot/src/lib-index/mail-index-update.c /dovecot/src/lib-index/mail-index.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-modifylog.c /dovecot/src/lib-index/maildir/maildir-build.c /dovecot/src/lib-index/maildir/maildir-index.c /dovecot/src/lib-index/maildir/maildir-index.h /dovecot/src/lib-index/maildir/maildir-open.c /dovecot/src/lib-index/maildir/maildir-sync.c /dovecot/src/lib-index/maildir/maildir-update.c /dovecot/src/lib-index/mbox/mbox-append.c /dovecot/src/lib-index/mbox/mbox-fsck.c /dovecot/src/lib-index/mbox/mbox-index.c /dovecot/src/lib-index/mbox/mbox-index.h /dovecot/src/lib-index/mbox/mbox-open.c /dovecot/src/lib-index/mbox/mbox-sync.c /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-parser.h /dovecot/src/lib-mail/message-size.c /dovecot/src/lib-mail/message-size.h flags-file/flags-file.c index/index-copy.c index/index-fetch-section.c index/index-fetch.c index/index-save.c index/index-search.c index/maildir/maildir-storage.c index/mbox/mbox-save.c index/mbox/mbox-storage.c mail-storage.c mail-storage.h subscription-file/subscription-file.c /dovecot/src/lib/compat.c /dovecot/src/lib/compat.h /dovecot/src/lib/imem.c /dovecot/src/lib/imem.h /dovecot/src/lib/iobuffer.c /dovecot/src/lib/iobuffer.h /dovecot/src/lib/mmap-util.c /dovecot/src/lib/strfuncs.c /dovecot/src/lib/strfuncs.h /dovecot/src/login/auth-connection.c /dovecot/src/master/settings.c
66251e6ab31e5cc153fe5cae608e416dacafe9cd 08-Aug-2002 Timo Sirainen <tss@iki.fi>

Initial revision --HG-- branch : HEAD

/dovecot/.cvsignore /dovecot/.inslog2 /dovecot/AUTHORS /dovecot/COPYING.LGPL /dovecot/Makefile.am /dovecot/NEWS /dovecot/README /dovecot/TODO /dovecot/acconfig.h /dovecot/autogen.sh /dovecot/configure.in /dovecot/doc/.cvsignore /dovecot/doc/Makefile.am /dovecot/doc/auth.txt /dovecot/doc/design.txt /dovecot/doc/index.txt /dovecot/doc/multiaccess.txt /dovecot/doc/nfs.txt /dovecot/dovecot-example.conf /dovecot/src/.cvsignore /dovecot/src/Makefile.am /dovecot/src/auth/.cvsignore /dovecot/src/auth/Makefile.am /dovecot/src/auth/auth-digest-md5.c /dovecot/src/auth/auth-interface.h /dovecot/src/auth/auth-plain.c /dovecot/src/auth/auth.c /dovecot/src/auth/auth.h /dovecot/src/auth/common.h /dovecot/src/auth/cookie.c /dovecot/src/auth/cookie.h /dovecot/src/auth/login-connection.c /dovecot/src/auth/login-connection.h /dovecot/src/auth/main.c /dovecot/src/auth/master.c /dovecot/src/auth/userinfo-pam.c /dovecot/src/auth/userinfo-passwd-file.c /dovecot/src/auth/userinfo-passwd.c /dovecot/src/auth/userinfo-passwd.h /dovecot/src/auth/userinfo-shadow.c /dovecot/src/auth/userinfo.c /dovecot/src/auth/userinfo.h /dovecot/src/imap/.cvsignore /dovecot/src/imap/.psrc /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-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-list.c /dovecot/src/imap/cmd-login.c /dovecot/src/imap/cmd-logout.c /dovecot/src/imap/cmd-lsub.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-status.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/cmd-subscribe.c /dovecot/src/imap/cmd-uid.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/common.h /dovecot/src/imap/main.c /dovecot/src/lib-imap/.cvsignore /dovecot/src/lib-imap/Makefile.am /dovecot/src/lib-imap/imap-bodystructure.c /dovecot/src/lib-imap/imap-bodystructure.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-message-cache.c /dovecot/src/lib-imap/imap-message-cache.h /dovecot/src/lib-imap/imap-message-send.c /dovecot/src/lib-imap/imap-message-send.h /dovecot/src/lib-imap/imap-parser.c /dovecot/src/lib-imap/imap-parser.h /dovecot/src/lib-imap/imap-util.c /dovecot/src/lib-imap/imap-util.h /dovecot/src/lib-index/.cvsignore /dovecot/src/lib-index/Makefile.am /dovecot/src/lib-index/mail-hash.c /dovecot/src/lib-index/mail-hash.h /dovecot/src/lib-index/mail-index-data.c /dovecot/src/lib-index/mail-index-data.h /dovecot/src/lib-index/mail-index-fsck.c /dovecot/src/lib-index/mail-index-update.c /dovecot/src/lib-index/mail-index-util.c /dovecot/src/lib-index/mail-index-util.h /dovecot/src/lib-index/mail-index.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-lockdir.c /dovecot/src/lib-index/mail-lockdir.h /dovecot/src/lib-index/mail-messageset.c /dovecot/src/lib-index/mail-messageset.h /dovecot/src/lib-index/mail-modifylog.c /dovecot/src/lib-index/mail-modifylog.h /dovecot/src/lib-index/maildir/.cvsignore /dovecot/src/lib-index/maildir/Makefile.am /dovecot/src/lib-index/maildir/maildir-build.c /dovecot/src/lib-index/maildir/maildir-index.c /dovecot/src/lib-index/maildir/maildir-index.h /dovecot/src/lib-index/maildir/maildir-open.c /dovecot/src/lib-index/maildir/maildir-rebuild.c /dovecot/src/lib-index/maildir/maildir-sync.c /dovecot/src/lib-index/maildir/maildir-update.c /dovecot/src/lib-index/mbox/.cvsignore /dovecot/src/lib-index/mbox/Makefile.am /dovecot/src/lib-index/mbox/mbox-append.c /dovecot/src/lib-index/mbox/mbox-fsck.c /dovecot/src/lib-index/mbox/mbox-index.c /dovecot/src/lib-index/mbox/mbox-index.h /dovecot/src/lib-index/mbox/mbox-lock.c /dovecot/src/lib-index/mbox/mbox-lock.h /dovecot/src/lib-index/mbox/mbox-open.c /dovecot/src/lib-index/mbox/mbox-rebuild.c /dovecot/src/lib-index/mbox/mbox-sync.c /dovecot/src/lib-mail/.cvsignore /dovecot/src/lib-mail/Makefile.am /dovecot/src/lib-mail/message-content-parser.c /dovecot/src/lib-mail/message-content-parser.h /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-parser.h /dovecot/src/lib-mail/message-size.c /dovecot/src/lib-mail/message-size.h /dovecot/src/lib-mail/rfc822-address.c /dovecot/src/lib-mail/rfc822-address.h /dovecot/src/lib-mail/rfc822-date.c /dovecot/src/lib-mail/rfc822-date.h /dovecot/src/lib-mail/rfc822-tokenize.c /dovecot/src/lib-mail/rfc822-tokenize.h .cvsignore Makefile.am flags-file/.cvsignore flags-file/Makefile.am flags-file/flags-file.c flags-file/flags-file.h index/.cvsignore index/Makefile.am index/index-copy.c index/index-expunge.c index/index-fetch-section.c index/index-fetch.c index/index-fetch.h index/index-save.c index/index-search.c index/index-status.c index/index-storage.c index/index-storage.h index/index-sync.c index/index-update-flags.c index/maildir/.cvsignore index/maildir/Makefile.am index/maildir/maildir-copy.c index/maildir/maildir-expunge.c index/maildir/maildir-list.c index/maildir/maildir-save.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/mbox/.cvsignore index/mbox/Makefile.am index/mbox/mbox-expunge.c index/mbox/mbox-list.c index/mbox/mbox-save.c index/mbox/mbox-storage.c index/mbox/mbox-storage.h mail-search.c mail-search.h mail-storage.c mail-storage.h subscription-file/.cvsignore subscription-file/Makefile.am subscription-file/subscription-file.c subscription-file/subscription-file.h /dovecot/src/lib/.cvsignore /dovecot/src/lib/Makefile.am /dovecot/src/lib/base64.c /dovecot/src/lib/base64.h /dovecot/src/lib/compat.c /dovecot/src/lib/compat.h /dovecot/src/lib/failures.c /dovecot/src/lib/failures.h /dovecot/src/lib/fdpass.c /dovecot/src/lib/fdpass.h /dovecot/src/lib/gmtoff.c /dovecot/src/lib/gmtoff.h /dovecot/src/lib/hash.c /dovecot/src/lib/hash.h /dovecot/src/lib/hex-binary.c /dovecot/src/lib/hex-binary.h /dovecot/src/lib/hostpid.c /dovecot/src/lib/hostpid.h /dovecot/src/lib/imem.c /dovecot/src/lib/imem.h /dovecot/src/lib/iobuffer.c /dovecot/src/lib/iobuffer.h /dovecot/src/lib/ioloop-internal.h /dovecot/src/lib/ioloop-poll.c /dovecot/src/lib/ioloop-select.c /dovecot/src/lib/ioloop.c /dovecot/src/lib/ioloop.h /dovecot/src/lib/lib-signals.c /dovecot/src/lib/lib-signals.h /dovecot/src/lib/lib.c /dovecot/src/lib/lib.h /dovecot/src/lib/macros.h /dovecot/src/lib/md5.c /dovecot/src/lib/md5.h /dovecot/src/lib/mempool-allocfree.c /dovecot/src/lib/mempool-allocfree.h /dovecot/src/lib/mempool-alloconly.c /dovecot/src/lib/mempool-system.c /dovecot/src/lib/mempool.c /dovecot/src/lib/mempool.h /dovecot/src/lib/mmap-util.c /dovecot/src/lib/mmap-util.h /dovecot/src/lib/network.c /dovecot/src/lib/network.h /dovecot/src/lib/primes.c /dovecot/src/lib/primes.h /dovecot/src/lib/randgen.c /dovecot/src/lib/randgen.h /dovecot/src/lib/restrict-access.c /dovecot/src/lib/restrict-access.h /dovecot/src/lib/strfuncs.c /dovecot/src/lib/strfuncs.h /dovecot/src/lib/temp-mempool.c /dovecot/src/lib/temp-mempool.h /dovecot/src/lib/temp-string.c /dovecot/src/lib/temp-string.h /dovecot/src/lib/unlink-directory.c /dovecot/src/lib/unlink-directory.h /dovecot/src/lib/unlink-lockfiles.c /dovecot/src/lib/unlink-lockfiles.h /dovecot/src/login/.cvsignore /dovecot/src/login/.psrc /dovecot/src/login/Makefile.am /dovecot/src/login/auth-connection.c /dovecot/src/login/auth-connection.h /dovecot/src/login/client-authenticate.c /dovecot/src/login/client-authenticate.h /dovecot/src/login/client.c /dovecot/src/login/client.h /dovecot/src/login/common.h /dovecot/src/login/main.c /dovecot/src/login/master.c /dovecot/src/login/master.h /dovecot/src/login/ssl-proxy.c /dovecot/src/login/ssl-proxy.h /dovecot/src/master/.cvsignore /dovecot/src/master/.psrc /dovecot/src/master/Makefile.am /dovecot/src/master/auth-process.c /dovecot/src/master/auth-process.h /dovecot/src/master/common.h /dovecot/src/master/imap-process.c /dovecot/src/master/login-process.c /dovecot/src/master/login-process.h /dovecot/src/master/main.c /dovecot/src/master/master-interface.h /dovecot/src/master/settings.c /dovecot/src/master/settings.h /dovecot/stamp.h.in