History log of /dovecot/src/imap/imap-commands.h
Revision Date Author Comments Expand
9b2e48654bdf2ad716051954afcf18608e1ab5c9 13-Jun-2017 Sergey Kitov <sergey.kitov@open-xchange.com>

imap: command_stats_start call is added for unknown commands. This makes timing shown in reply to unknown commands correct

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

imap: Fix running time in tagged command replies. The timing information was updated only after command_exec() returned. Most of the commands were handled within a single command_exec() though, so at the time when tagline was sent the running_usecs was still zero. The msecs in ioloop timing was correct though, because it relied only on the command start timing info.

5ef28f68edef46f69961b19b7c1dcd8ec5a955e8 24-Aug-2015 Timo Sirainen <tss@iki.fi>

Added imap-hibernate process for gathering IDLEing imap processes. imap_hibernate_timeout setting controls how quickly the connection is moved from imap process to imap-hibernate process. Some IMAP extensions like NOTIFY, SEARCH=CONTEXT and COMPRESS aren't supported yet. There's also a new X-STATE command, which can be used to export the current IMAP connection state to a string and later on imported to get back to the original state (a quick resync feature for IMAP clients). However, this command is disabled for now due to the current code being unoptimized for untrusted input.

/dovecot/.hgignore /dovecot/configure.ac /dovecot/src/Makefile.am /dovecot/src/imap-hibernate/Makefile.am /dovecot/src/imap-hibernate/imap-client.c /dovecot/src/imap-hibernate/imap-client.h /dovecot/src/imap-hibernate/imap-hibernate-client.c /dovecot/src/imap-hibernate/imap-hibernate-client.h /dovecot/src/imap-hibernate/imap-hibernate-settings.c /dovecot/src/imap-hibernate/imap-master-connection.c /dovecot/src/imap-hibernate/imap-master-connection.h /dovecot/src/imap-hibernate/main.c Makefile.am cmd-idle.c cmd-x-state.c imap-client-hibernate.c imap-client.c imap-client.h imap-commands.c imap-commands.h imap-common.h imap-master-client.c imap-master-client.h imap-settings.c imap-settings.h imap-state.c imap-state.h main.c /dovecot/src/lib-storage/mail-user.c /dovecot/src/plugins/imap-zlib/imap-zlib-plugin.c
02c75e04c6ff80726bb59e3ea34a7995ad1f6f7c 02-Nov-2013 Timo Sirainen <tss@iki.fi>

imap: Added initial support for METADATA extension. For now this is enabled only when imap_metadata=yes setting is used. The setting will go away once the feature is complete. Also mail_attribute_dict must be set. TODO: - Metadata doesn't work for public namespaces. There should probably be a mail_attribute_public_dict setting for that. - There isn't any kind of quota or other limits - After ENABLE METADATA start sending untagged METADATA entries to clients - /shared/admin should probably return postmaster_address URL - Check if we handle ACLs correctly - RFC says that it SHOULD be possible to set METADATA entries to \NoSelect mailboxes. We probably will never allow this though.

f9511e684858bf5f6ac77ab12254b85b737beae8 15-Sep-2012 Stephan Bosch <stephan@rename-it.nl>

Added support for IMAP URLAUTH and URLAUTH=BINARY extensions Extends imap service with URLAUTH and URLAUTH=BINARY support: - Adds new commands URLFETCH, GENURLAUTH and RESETKEY. Creates imap-urlauth service in src/imap-urlauth. Functionality common to both the imap and imap-urlauth services is located in src/lib-imap-urlauth. TODO: - use mailbox GUIDs instead of names - doveadm command to delete stale urlauth entries? - add delay when attempting to access nonexistent user - create urlauth-worker queue, similar to how indexer-worker works (could we share code?..)

/dovecot/.hgignore /dovecot/README /dovecot/configure.in /dovecot/src/Makefile.am /dovecot/src/imap-urlauth/Makefile.am /dovecot/src/imap-urlauth/imap-urlauth-client.c /dovecot/src/imap-urlauth/imap-urlauth-client.h /dovecot/src/imap-urlauth/imap-urlauth-common.h /dovecot/src/imap-urlauth/imap-urlauth-login-settings.c /dovecot/src/imap-urlauth/imap-urlauth-login-settings.h /dovecot/src/imap-urlauth/imap-urlauth-login.c /dovecot/src/imap-urlauth/imap-urlauth-settings.c /dovecot/src/imap-urlauth/imap-urlauth-settings.h /dovecot/src/imap-urlauth/imap-urlauth-worker-settings.c /dovecot/src/imap-urlauth/imap-urlauth-worker-settings.h /dovecot/src/imap-urlauth/imap-urlauth-worker.c /dovecot/src/imap-urlauth/imap-urlauth.c Makefile.am cmd-genurlauth.c cmd-resetkey.c cmd-urlfetch.c imap-client.c imap-client.h imap-commands.c imap-commands.h imap-settings.c imap-settings.h main.c /dovecot/src/lib-imap-urlauth/Makefile.am /dovecot/src/lib-imap-urlauth/imap-urlauth-backend.c /dovecot/src/lib-imap-urlauth/imap-urlauth-backend.h /dovecot/src/lib-imap-urlauth/imap-urlauth-connection.c /dovecot/src/lib-imap-urlauth/imap-urlauth-connection.h /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-urlauth/imap-urlauth.c /dovecot/src/lib-imap-urlauth/imap-urlauth.h
51cbc45fc1ac5dde29bc2adbb175945df1b4f7d4 13-Aug-2012 Timo Sirainen <tss@iki.fi>

imap: Implemented NOTIFY extension. Requires mailbox_list_index=yes to work (and to show up in capabilities). SubscriptionChange event is still unimplemented.

a4b1620c956d136599b8d4beaf553cfd7195c416 16-Jul-2012 Timo Sirainen <tss@iki.fi>

imap: Updated MOVE implementation.

09bb14521074d5f4ad89b7cb7151cb10574cffef 20-Jun-2012 Timo Sirainen <tss@iki.fi>

imap: Implemented MOVE extension.

b69f4d33ffd8a505e2e6472a395026dc43f538ee 26-Aug-2011 Timo Sirainen <tss@iki.fi>

imap: Added hooks that can be run always before/after any command handler.

dcd4d96ba85264382f2f928f139607db87975f03 23-Nov-2009 Timo Sirainen <tss@iki.fi>

imap: Don't send NONEXISTENT resp code to non-delete operations. --HG-- branch : HEAD

5735ada0f82788ee1b5228978d5bd8dad5a04219 16-Jun-2009 Timo Sirainen <tss@iki.fi>

IMAP: Don't crash if IDLE command is pipelined after a long-running UID FETCH or UID SEARCH. --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 cmd-append.c cmd-copy.c cmd-create.c cmd-delete.c cmd-list.c cmd-rename.c cmd-select.c cmd-status.c cmd-subscribe.c imap-client.c imap-commands-util.c imap-commands-util.h imap-commands.h imap-status.c imap-status.h /dovecot/src/lda/main.c /dovecot/src/lib-lda/mail-deliver.c /dovecot/src/lib-storage/index/cydir/cydir-mail.c /dovecot/src/lib-storage/index/cydir/cydir-save.c /dovecot/src/lib-storage/index/cydir/cydir-storage.c /dovecot/src/lib-storage/index/cydir/cydir-sync.c /dovecot/src/lib-storage/index/dbox/dbox-map.c /dovecot/src/lib-storage/index/dbox/dbox-settings.c /dovecot/src/lib-storage/index/dbox/dbox-storage-rebuild.c /dovecot/src/lib-storage/index/dbox/dbox-storage.c /dovecot/src/lib-storage/index/dbox/dbox-storage.h /dovecot/src/lib-storage/index/dbox/dbox-sync-rebuild.c /dovecot/src/lib-storage/index/index-storage.c /dovecot/src/lib-storage/index/index-storage.h /dovecot/src/lib-storage/index/maildir/maildir-keywords.c /dovecot/src/lib-storage/index/maildir/maildir-storage.c /dovecot/src/lib-storage/index/maildir/maildir-storage.h /dovecot/src/lib-storage/index/maildir/maildir-sync-index.c /dovecot/src/lib-storage/index/maildir/maildir-uidlist.c /dovecot/src/lib-storage/index/maildir/maildir-util.c /dovecot/src/lib-storage/index/mbox/mbox-lock.c /dovecot/src/lib-storage/index/mbox/mbox-save.c /dovecot/src/lib-storage/index/mbox/mbox-storage.c /dovecot/src/lib-storage/index/mbox/mbox-storage.h /dovecot/src/lib-storage/index/raw/raw-storage.c /dovecot/src/lib-storage/index/shared/shared-list.c /dovecot/src/lib-storage/index/shared/shared-storage.c /dovecot/src/lib-storage/index/shared/shared-storage.h /dovecot/src/lib-storage/list/index-mailbox-list-sync.c /dovecot/src/lib-storage/list/index-mailbox-list.c /dovecot/src/lib-storage/list/mailbox-list-fs.c /dovecot/src/lib-storage/list/mailbox-list-maildir.h /dovecot/src/lib-storage/mail-namespace.c /dovecot/src/lib-storage/mail-namespace.h /dovecot/src/lib-storage/mail-storage-private.h /dovecot/src/lib-storage/mail-storage-settings.c /dovecot/src/lib-storage/mail-storage-settings.h /dovecot/src/lib-storage/mail-storage.c /dovecot/src/lib-storage/mail-storage.h /dovecot/src/lib-storage/mail-user.c /dovecot/src/lib-storage/mailbox-list-private.h /dovecot/src/lib-storage/mailbox-list.c /dovecot/src/lib-storage/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
08d6658a4e2ec8104cd1307f6baa75fdb07a24f8 05-May-2009 Mark Washenberger <none@none>

Renamed headers to prevent collision if they were flattened on an install. --HG-- branch : HEAD

/dovecot/src/auth/Makefile.am /dovecot/src/auth/auth-cache.c /dovecot/src/auth/auth-client-connection.c /dovecot/src/auth/auth-common.h /dovecot/src/auth/auth-master-connection.c /dovecot/src/auth/auth-request-handler.c /dovecot/src/auth/auth-request.c /dovecot/src/auth/auth-stream.c /dovecot/src/auth/auth-worker-client.c /dovecot/src/auth/auth-worker-server.c /dovecot/src/auth/auth.c /dovecot/src/auth/db-checkpassword.c /dovecot/src/auth/db-ldap.c /dovecot/src/auth/db-passwd-file.c /dovecot/src/auth/db-sql.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-digest-md5.c /dovecot/src/auth/mech-gssapi.c /dovecot/src/auth/mech-login.c /dovecot/src/auth/mech-ntlm.c /dovecot/src/auth/mech-otp-skey-common.c /dovecot/src/auth/mech-otp-skey-common.h /dovecot/src/auth/mech-otp.c /dovecot/src/auth/mech-plain-common.c /dovecot/src/auth/mech-plain-common.h /dovecot/src/auth/mech-plain.c /dovecot/src/auth/mech-rpa.c /dovecot/src/auth/mech-skey.c /dovecot/src/auth/mech-winbind.c /dovecot/src/auth/mech.c /dovecot/src/auth/passdb-blocking.c /dovecot/src/auth/passdb-bsdauth.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-passwd.c /dovecot/src/auth/passdb-shadow.c /dovecot/src/auth/passdb-sia.c /dovecot/src/auth/passdb-sql.c /dovecot/src/auth/passdb-vpopmail.c /dovecot/src/auth/passdb.c /dovecot/src/auth/userdb-blocking.c /dovecot/src/auth/userdb-checkpassword.c /dovecot/src/auth/userdb-ldap.c /dovecot/src/auth/userdb-nss.c /dovecot/src/auth/userdb-passwd-file.c /dovecot/src/auth/userdb-passwd.c /dovecot/src/auth/userdb-prefetch.c /dovecot/src/auth/userdb-sql.c /dovecot/src/auth/userdb-static.c /dovecot/src/auth/userdb-vpopmail.c /dovecot/src/auth/userdb.c Makefile.am cmd-append.c cmd-cancelupdate.c cmd-capability.c cmd-check.c cmd-close.c cmd-copy.c cmd-create.c cmd-delete.c cmd-enable.c cmd-examine.c cmd-expunge.c cmd-fetch.c cmd-id.c cmd-idle.c cmd-list.c cmd-logout.c cmd-lsub.c cmd-namespace.c cmd-noop.c cmd-rename.c cmd-search.c cmd-select.c cmd-sort.c cmd-status.c cmd-store.c cmd-subscribe.c cmd-thread.c cmd-uid.c cmd-unselect.c cmd-unsubscribe.c cmd-x-cancel.c imap-client.c imap-client.h imap-commands-util.c imap-commands-util.h imap-commands.c imap-commands.h imap-common.h imap-expunge.c imap-fetch-body.c imap-fetch.c imap-search-args.c imap-search.c imap-status.c imap-sync.c mail-storage-callbacks.c main.c /dovecot/src/plugins/imap-acl/imap-acl-plugin.c /dovecot/src/plugins/imap-quota/imap-quota-plugin.c /dovecot/src/pop3-login/client-authenticate.c /dovecot/src/pop3/Makefile.am /dovecot/src/pop3/main.c /dovecot/src/pop3/pop3-capability.h /dovecot/src/pop3/pop3-client.c /dovecot/src/pop3/pop3-client.h /dovecot/src/pop3/pop3-commands.c /dovecot/src/pop3/pop3-commands.h /dovecot/src/pop3/pop3-common.h