History log of /dovecot/src/doveadm/doveadm-mail.h
Revision Date Author Comments Expand
e16f28d4b75e86b5e2d2ca8d3fd248f35f5051ef 24-Oct-2017 Stephan Bosch <stephan.bosch@dovecot.fi>

doveadm: mail: Removed redundant cur_username field from struct doveadm_mail_cmd_context.

2ff59d50fe18864f3532004fbbcd98f371a6e22f 24-Oct-2017 Stephan Bosch <stephan.bosch@dovecot.fi>

doveadm: mail: Removed redundant cur_client_ip field from struct doveadm_mail_cmd_context.

a435fb28fa05a589e40be2c313bd798f14846d06 24-Oct-2017 Stephan Bosch <stephan.bosch@dovecot.fi>

doveadm: mail: Removed struct doveadm_cmd_context function parameters that are now useless. It can be accessed from struct doveadm_mail_cmd_context.

1b58508a918279d773ef32518f5d5d933023c252 24-Oct-2017 Stephan Bosch <stephan.bosch@dovecot.fi>

doveadm: Changed command contexts to contain the input, output, and connection type values directly. Before, it used a direct pointer to the connection. It used also flags to indicate the connection type, which is now consolidated in the connection type enum.

9384ef699a57687ce6dbdae7d686181f4791b1e5 27-Feb-2017 Aki Tuomi <aki.tuomi@dovecot.fi>

doveadm: Fix allow-empty-mailbox-name handling It was supposed to be handled for metadata commands only. Broken in 26c41874cf6019c3e39f0ed630b2a07a92b2635f

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

doveadm: Added "mailbox path" command This allows easily printing a path for a mailbox, index, control dir, etc.

26c41874cf6019c3e39f0ed630b2a07a92b2635f 14-Sep-2016 Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi>

doveadm: allow access to server attributes via empty mailbox name

2593d6105ecd92f6cd874ed1e3c0faefb37e699b 08-Aug-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

doveadm: Fixed -A and -u wildcard handling with server connections.

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 client-connection.h doveadm-dsync.c doveadm-mail-index.c doveadm-mail-mailbox-status.c doveadm-mail.h doveadm-print-flow.c doveadm-print-pager.c doveadm-print-tab.c doveadm-print-table.c doveadm-stats.c dsync/dsync-brain-private.h dsync/dsync-ibc-private.h dsync/dsync-ibc-stream.c dsync/dsync-mailbox-export.c dsync/dsync-mailbox-import.c dsync/dsync-mailbox-tree.h server-connection.c /dovecot/src/imap-login/imap-login-client.h /dovecot/src/imap-urlauth/imap-urlauth-client.h /dovecot/src/imap-urlauth/imap-urlauth-login.c /dovecot/src/imap-urlauth/imap-urlauth-worker.c /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-idle.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-urlfetch.c /dovecot/src/imap/imap-client.h /dovecot/src/imap/imap-fetch-body.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-notify.h /dovecot/src/imap/imap-search.h /dovecot/src/imap/imap-sync.c /dovecot/src/indexer/indexer-client.c /dovecot/src/indexer/indexer-queue.h /dovecot/src/indexer/master-connection.c /dovecot/src/indexer/worker-connection.c /dovecot/src/ipc/ipc-connection.h /dovecot/src/lib-auth/auth-client-private.h /dovecot/src/lib-auth/auth-master.c /dovecot/src/lib-auth/auth-master.h /dovecot/src/lib-auth/auth-server-connection.h /dovecot/src/lib-compression/istream-bzlib.c /dovecot/src/lib-compression/istream-lz4.c /dovecot/src/lib-compression/istream-lzma.c /dovecot/src/lib-compression/istream-zlib.c /dovecot/src/lib-compression/ostream-bzlib.c /dovecot/src/lib-compression/ostream-lzma.c /dovecot/src/lib-compression/ostream-zlib.c /dovecot/src/lib-dict/dict-client.c /dovecot/src/lib-dict/dict-private.h /dovecot/src/lib-dict/dict-sql.c /dovecot/src/lib-fs/fs-api-private.h /dovecot/src/lib-http/http-client-private.h /dovecot/src/lib-http/http-header-parser.c /dovecot/src/lib-http/http-message-parser.h /dovecot/src/lib-http/http-request-parser.c /dovecot/src/lib-http/http-request.h /dovecot/src/lib-http/http-response.h /dovecot/src/lib-http/http-server-private.h /dovecot/src/lib-http/http-transfer-chunked.c /dovecot/src/lib-http/http-url.c /dovecot/src/lib-http/http-url.h /dovecot/src/lib-imap-client/imapc-connection.c /dovecot/src/lib-imap-storage/imap-metadata.c /dovecot/src/lib-imap-storage/imap-msgpart-url.c /dovecot/src/lib-imap-storage/imap-msgpart.c /dovecot/src/lib-imap-urlauth/imap-urlauth-connection.c /dovecot/src/lib-imap-urlauth/imap-urlauth-fetch.c /dovecot/src/lib-imap-urlauth/imap-urlauth-fetch.h /dovecot/src/lib-imap-urlauth/imap-urlauth-private.h /dovecot/src/lib-imap/imap-arg.h /dovecot/src/lib-imap/imap-parser.c /dovecot/src/lib-imap/imap-url.c /dovecot/src/lib-imap/imap-url.h /dovecot/src/lib-index/mail-cache-private.h /dovecot/src/lib-index/mail-cache-transaction.c /dovecot/src/lib-index/mail-index-private.h /dovecot/src/lib-index/mail-index-strmap.c /dovecot/src/lib-index/mail-index-sync-private.h /dovecot/src/lib-index/mail-index-sync.c /dovecot/src/lib-index/mail-index-transaction-private.h /dovecot/src/lib-index/mail-index-view-private.h /dovecot/src/lib-index/mail-index-view-sync.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-transaction-log-private.h /dovecot/src/lib-index/mail-transaction-log-view-private.h /dovecot/src/lib-index/mail-transaction-log.h /dovecot/src/lib-lda/duplicate.c /dovecot/src/lib-lda/lmtp-client.c /dovecot/src/lib-mail/istream-binary-converter.c /dovecot/src/lib-mail/istream-dot.c /dovecot/src/lib-mail/istream-header-filter.c /dovecot/src/lib-mail/message-decoder.c /dovecot/src/lib-mail/message-header-decode.c /dovecot/src/lib-mail/message-header-parser.c /dovecot/src/lib-mail/message-header-parser.h /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-search.c /dovecot/src/lib-master/ipc-server.c /dovecot/src/lib-master/master-instance.c /dovecot/src/lib-master/master-login-auth.c /dovecot/src/lib-master/master-login.c /dovecot/src/lib-master/master-login.h /dovecot/src/lib-master/master-service-private.h /dovecot/src/lib-master/master-service-settings-cache.c /dovecot/src/lib-master/master-service-settings.h /dovecot/src/lib-master/master-service.h /dovecot/src/lib-master/service-settings.h /dovecot/src/lib-sql/driver-cassandra.c /dovecot/src/lib-sql/driver-mysql.c /dovecot/src/lib-sql/driver-pgsql.c /dovecot/src/lib-sql/driver-sqlite.c /dovecot/src/lib-sql/sql-api-private.h /dovecot/src/lib-ssl-iostream/iostream-openssl.h /dovecot/src/lib-storage/index/cydir/cydir-save.c /dovecot/src/lib-storage/index/dbox-common/dbox-file.h /dovecot/src/lib-storage/index/dbox-common/dbox-save.h /dovecot/src/lib-storage/index/dbox-multi/mdbox-map-private.h /dovecot/src/lib-storage/index/dbox-multi/mdbox-map.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-storage.h /dovecot/src/lib-storage/index/imapc/imapc-list.h /dovecot/src/lib-storage/index/imapc/imapc-save.c /dovecot/src/lib-storage/index/imapc/imapc-storage.h /dovecot/src/lib-storage/index/imapc/imapc-sync.h /dovecot/src/lib-storage/index/index-mail.h /dovecot/src/lib-storage/index/index-rebuild.h /dovecot/src/lib-storage/index/index-search-private.h /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/index-sort-string.c /dovecot/src/lib-storage/index/index-thread-finish.c /dovecot/src/lib-storage/index/index-thread-private.h /dovecot/src/lib-storage/index/index-thread.c /dovecot/src/lib-storage/index/istream-mail.c /dovecot/src/lib-storage/index/maildir/maildir-copy.c /dovecot/src/lib-storage/index/maildir/maildir-keywords.c /dovecot/src/lib-storage/index/maildir/maildir-save.c /dovecot/src/lib-storage/index/maildir/maildir-storage.h /dovecot/src/lib-storage/index/maildir/maildir-sync.c /dovecot/src/lib-storage/index/maildir/maildir-uidlist.c /dovecot/src/lib-storage/index/mbox/istream-raw-mbox.c /dovecot/src/lib-storage/index/mbox/mbox-save.c /dovecot/src/lib-storage/index/mbox/mbox-storage.h /dovecot/src/lib-storage/index/mbox/mbox-sync-private.h /dovecot/src/lib-storage/index/pop3c/pop3c-client.c /dovecot/src/lib-storage/index/pop3c/pop3c-storage.h /dovecot/src/lib-storage/index/raw/raw-storage.h /dovecot/src/lib-storage/list/mailbox-list-fs-iter.c /dovecot/src/lib-storage/list/mailbox-list-index-notify.c /dovecot/src/lib-storage/list/mailbox-list-index-sync.h /dovecot/src/lib-storage/list/mailbox-list-index.h /dovecot/src/lib-storage/list/mailbox-list-iter.c /dovecot/src/lib-storage/list/mailbox-list-none.c /dovecot/src/lib-storage/mail-namespace.h /dovecot/src/lib-storage/mail-search-register.c /dovecot/src/lib-storage/mail-search.h /dovecot/src/lib-storage/mail-storage-private.h /dovecot/src/lib-storage/mail-storage-service.c /dovecot/src/lib-storage/mail-storage-service.h /dovecot/src/lib-storage/mail-storage.h /dovecot/src/lib-storage/mail-user.h /dovecot/src/lib-storage/mailbox-list-private.h /dovecot/src/lib-storage/mailbox-search-result-private.h /dovecot/src/lib-storage/mailbox-tree.c /dovecot/src/lib/buffer.c /dovecot/src/lib/connection.h /dovecot/src/lib/file-dotlock.c /dovecot/src/lib/file-dotlock.h /dovecot/src/lib/ioloop-private.h /dovecot/src/lib/istream-crlf.c /dovecot/src/lib/istream-file-private.h /dovecot/src/lib/istream-jsonstr.c /dovecot/src/lib/istream-mmap.c /dovecot/src/lib/istream-private.h /dovecot/src/lib/istream-tee.c /dovecot/src/lib/istream.h /dovecot/src/lib/mempool.h /dovecot/src/lib/module-dir.h /dovecot/src/lib/ostream-file-private.h /dovecot/src/lib/ostream-private.h /dovecot/src/lib/ostream.h /dovecot/src/lmtp/client.h /dovecot/src/lmtp/lmtp-proxy.c /dovecot/src/log/log-connection.c /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
c220c8cd341ee9ba78979397c5d33ccd98b5d19f 17-May-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

doveadm-mailbox: Add update subcommand

9990080334c292192954eecafbed47289f3549c3 29-Feb-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

doveadm-server: Drop privileges only temporarily when running mail commands. This allows running mail commands for multiple users within the same doveadm connection.

aaa1b6bb4cd2d7f8f4e7977d61176ea1c8f7e32b 28-Feb-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

doveadm: Changed v2 command APIs to be easier to use.

50e4970035d1278597d13cac6c5ae26e7af93025 26-Feb-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

doveadm: Pass through mail_storage_service_input fields in doveadm_cmd_attributes

4ae632e126d92dca465870ad5d7f9341025d6ba4 26-Feb-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

doveadm-copymove: Use ver2 structures

c874dcb48156e0225ea13d4b66ecfbd32b4fd44d 26-Feb-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

doveadm-search: Use ver2 structures

ae8c89c81de5d867bd1359fb9c438dd8771210c7 26-Feb-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

doveadm-import: Use ver2 structures

a893aaa999856b1ba6e4541890016767aaa283c7 26-Feb-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

doveadm-flags: Use ver2 structures

977f08d645b1779527c0938bbb848b61064839c3 26-Feb-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

doveadm-expunge: Use ver2 structures

e1d08b1c39c63de92f0e914064a508bbf6c6fcc5 26-Feb-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

doveadm-deduplicate: Use ver2 structures

844929a7bd6e9d21f0a8cdb3a19f4620a17cdeca 26-Feb-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

doveadm-altmove: Use ver2 structures

c45a841bee3f42ec6524b8f62c3fd457115c3f97 22-Feb-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

doveadm: Define DOVEADM_CMD_MAIL_USAGE_PREFIX, which v2 commands use as their usage prefix. This allows implementing the next changeset without kludging.

71f4549303dc1691382748a096c2ada9d2a1a9fe 22-Feb-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

doveadm-index: Use ver2 structures

5ba6009f4e5493c4e6be9ffb3134525004a7975c 22-Feb-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

doveadm-save: Use ver2 command structure

89d31290dab6e4bde08b8a118121f008154772e9 22-Feb-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

doveadm-fetch: Use ver2 structures

14102a0c5db8828ca8c7751ec96587fadc97a0bc 19-Feb-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

doveadm: Use char type for short options instead of a string. The ":" = "has parameters" can be determined from the type. Also removed "?" checks since it wasn't actually used.

0368f3b0ae3fc1ea892da5c5ec02c05c0c3989af 19-Feb-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

doveadm: Use ver2 structures for all "doveadm mailbox *" commands.

14af7be4aa26d55c341cd6efe32bb2add2c39830 19-Feb-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

doveadm: Add infrastructure for doveadm_cmd_ver2 Version 2 commands have named parameters, which also have types. This is especially useful for reading input from HTTP/JSON API. This also simplifies the parameter parsing for command line input. For v2.3 the plan is to replace all the old doveadm_cmds with this new version and get rid of the _ver2 suffixes. But for now we'll have two versions of commands. For backwards compatibility with old commands we have also implemented wrappers so that v2 structs can be defined and there's a function to convert the named parameters to old v1 style args[] string, so the old command handlers can still be run. This will also be removed in v2.3. This change also adds requirement for getopt_long(). It's already available in all the Linuxes and BSDs, so this shouldn't be too big of a requirement. Other systems can install it from an external library.

eff34528733a7893b2914a26023aac227ef4ae7f 16-Jun-2015 Timo Sirainen <tss@iki.fi>

doveadm: Added doveadm_killed_signo()

e4ba52b8290d366b5763df03be6709af3da0bc57 09-May-2015 Timo Sirainen <tss@iki.fi>

doveadm: Removed unused doveadm_mailbox_find_and_sync() function

344bb4abc3acb63d04131cb63f1503a6ca01fb40 08-May-2015 Timo Sirainen <tss@iki.fi>

dsync: Stop running if SIGINT/SIGTERM is received.

f7141101e27d766b695ef27726f755117332a58e 06-May-2015 Timo Sirainen <tss@iki.fi>

doveadm: Added -U <file> parameter for executing the command for all the users in the file. This is similar to -A parameter, but instead of getting the list of users from userdb they are read from the file. The file contains one username per line.

98e8f95ffee4eacca72b1bcf082f2c735592301b 06-May-2015 Timo Sirainen <tss@iki.fi>

doveadm-server: Invalid parameters for some commands caused crash at deinit handlers. deinit() can be called even if init() was never called.

e617d6e7db43c176502ac02b65d2dcb4d27103de 15-Feb-2015 Timo Sirainen <tss@iki.fi>

doveadm: Added "save" command to directly save mail to specified mailbox. The mail is read from stdin.

32c779d5d0b3dabc697408e6b5d9d2e652180b33 15-Feb-2015 Timo Sirainen <tss@iki.fi>

doveadm: Added support for mail commands to read an input stream (from stdin) This is done by calling doveadm_mail_get_input() from the command's init() function. Currently it reads the entire input into a seekable istream with hardcoded 5 minute timeout. The input stream sending works also through doveadm proxying. This could probably be used by dsync at some point to support proxying over doveadm proxies, but that would require some more work. Especially a flag for commands to specify that they allow non-blocking input streams.

42681892b206d13cb87a5f526d2bf4ff3f2f4af7 09-Feb-2015 Timo Sirainen <tss@iki.fi>

doveadm: Added comments to struct doveadm_mail_cmd_vfuncs

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

doveadm: Added missing error handling to various mail commands. This fixes assert-crash that happened when the commands failed, because they hadn't set any exit_code.

2c57ebc900742bd1119ef011b77b4910c4660cfa 23-Oct-2014 Timo Sirainen <tss@iki.fi>

doveadm: Added metadata set/unset/get/list commands.

1d082a46e1676e7ec13928d588c4a25e062713cc 06-Aug-2013 Timo Sirainen <tss@iki.fi>

doveadm-server: Include client's IP address in logs.

138495d02aa177230a9f1eaf90b720b4ce0f6544 18-Jun-2013 Timo Sirainen <tss@iki.fi>

doveadm: Added deduplicate command. By default it deduplicates only by GUIDs. With -m parameter it deduplicates by Message-Id: header.

6eb7938cd366fc087b39fc9a901e7de426131384 18-Jun-2013 Timo Sirainen <tss@iki.fi>

doveadm: Added "flags" command to modify messages' flags.

eed1ec3ac96fddb8d9e4fa2af6e760ee42801fb8 14-Apr-2013 Timo Sirainen <tss@iki.fi>

Linking error fix.

5685e60e62a8e0d368bd28a1526056f97bbba022 25-Mar-2013 Timo Sirainen <tss@iki.fi>

doveadm: Added "batch" command to run multiple mail commands. This only makes sense when the commands are run with -A or -u <usermask>, so that the commands are run for the same user before moving onto the next user.

0a9cb42cbb135e3200cbfbb657820304cca8ecb8 24-Feb-2013 Timo Sirainen <tss@iki.fi>

dsync: Added tcp:host[:port] target for syncing via doveadm-server.

2a15ce3abe14099b94535f6dfc2d4ee023a7c455 17-Jan-2013 Timo Sirainen <tss@iki.fi>

doveadm: Compiling fix

a8281b7c770f4a9a842b19303083fc7f6859e756 30-Nov-2012 Timo Sirainen <tss@iki.fi>

expire plugin: Don't crash when doveadm is run with proxying

a8fe899601735459641edae975c0fa08be8482e2 16-Sep-2012 Timo Sirainen <tss@iki.fi>

Removed all the "enum foo;" declarations. They didn't seem to be very standard. Old gcc versions warn about them and C++ code doesn't like them.

/dovecot/src/auth/passdb-cache.h /dovecot/src/config/config-request.h /dovecot/src/config/old-set-parser.h doveadm-mail-index.c doveadm-mail-iter.h doveadm-mail.c doveadm-mail.h doveadm-mailbox-list-iter.h dsync/dsync-mailbox-tree-fill.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-notify.c /dovecot/src/imap/imap-notify.c /dovecot/src/lib-imap/imap-util.h /dovecot/src/lib-index/mail-index-modseq.h /dovecot/src/lib-lda/mail-deliver.h /dovecot/src/lib-storage/Makefile.am /dovecot/src/lib-storage/index/imapc/imapc-sync.h /dovecot/src/lib-storage/index/maildir/maildir-sync.h /dovecot/src/lib-storage/list/mailbox-list-delete.h /dovecot/src/lib-storage/list/mailbox-list-index.h /dovecot/src/lib-storage/list/mailbox-list-subscriptions.h /dovecot/src/lib-storage/mailbox-list-iter.h /dovecot/src/lib-storage/mailbox-list-private.h /dovecot/src/lib-storage/mailbox-list.h /dovecot/src/plugins/notify/notify-plugin.h /dovecot/src/plugins/quota/quota-count.c /dovecot/src/plugins/virtual/virtual-config.c
cdfdb67422891a44fc7d9ace6bc1a00185fd3528 23-Aug-2012 Timo Sirainen <tss@iki.fi>

doveadm copy/move: Added "user" parameter to specify the source user.

01cb2914161db669195d3f611f13b9255aeb4c65 23-Aug-2012 Timo Sirainen <tss@iki.fi>

doveadm: Added "copy" command.

4ee00532a265bdfb38539d811fcd12d51210ac35 19-Aug-2012 Timo Sirainen <tss@iki.fi>

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

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

doveadm server now returns unknown users with -NOUSER error.

62d0db14d2c5008758983c28d242ec158baabf9e 02-Mar-2012 Timo Sirainen <tss@iki.fi>

doveadm: Added prerun() method for mail commands.

5fbccc935e3f7b916aa7c6e302a212821072e83a 12-Feb-2012 Timo Sirainen <tss@iki.fi>

doveadm: Improved error handling. Failures should now always have non-zero exit code. doveadm now uses sysexits.h exit codes in most places, although there are still a lot of places where it simply returns EX_TEMPFAIL even though something else might be better.

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

doveadm: Hide "dsync-server" from list of commands.

885a3c2287ae3e5827aa580ea06b231de38abb47 29-Dec-2011 Timo Sirainen <tss@iki.fi>

Merged dsync into "doveadm dsync". dsync symlink is installed for backwards compatibility.

/dovecot/.hgignore /dovecot/configure.in /dovecot/src/Makefile.am Makefile.am client-connection.c doveadm-mail.c doveadm-mail.h doveadm-settings.c doveadm-settings.h doveadm.c dsync/Makefile.am dsync/doveadm-dsync.c dsync/doveadm-dsync.h dsync/dsync-brain-msgs-new.c dsync/dsync-brain-msgs.c dsync/dsync-brain-private.h dsync/dsync-brain.c dsync/dsync-brain.h dsync/dsync-data.c dsync/dsync-data.h dsync/dsync-proxy-client.c dsync/dsync-proxy-server-cmd.c dsync/dsync-proxy-server.c dsync/dsync-proxy-server.h dsync/dsync-proxy.c dsync/dsync-proxy.h dsync/dsync-worker-local.c dsync/dsync-worker-private.h dsync/dsync-worker.c dsync/dsync-worker.h dsync/test-dsync-brain-msgs.c dsync/test-dsync-brain.c dsync/test-dsync-common.c dsync/test-dsync-common.h dsync/test-dsync-proxy-server-cmd.c dsync/test-dsync-proxy.c dsync/test-dsync-worker.c dsync/test-dsync-worker.h /dovecot/src/dsync/dsync.c
10b8040903b1d1591f1d44552ff466c8789b8814 07-Aug-2011 Timo Sirainen <tss@iki.fi>

doveadm-server: Many fixes to make it actually work properly.

5230375627245d0c7ceb636ad10b985f4444e49e 07-Aug-2011 Timo Sirainen <tss@iki.fi>

doveadm server: Fixed handling command parameters

72bc08129fb0aaec8144cc183a998ccc426fef9e 20-May-2011 Timo Sirainen <tss@iki.fi>

doveadm: Added support for using local/remote {} settings.

67cc1d2d8495c3effad6f639cd8468d0ac7ff198 20-May-2011 Timo Sirainen <tss@iki.fi>

doveadm: Added doveadm_proxy_port setting to make it work with proxying.

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

doveadm: Added "index" command to add unindexed messages into index/cache/fts. The caching adds only the fields that were previously added to the mailbox's caching decisions, so it won't do anything useful for mailboxes that user's client hasn't accessed yet.

b932ee7fbbec6e79b777dcc7ba613b9e99f8337b 23-Mar-2011 Timo Sirainen <tss@iki.fi>

doveadm: Added "move" command for moving mails between mailboxes.

636f017be100bce67d66fd3ae1544a47681efd33 01-Feb-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Mailbox virtual names are now in UTF-8 format, not IMAP mUTF-7. Plugins that use mailbox names in configuration now take them also as UTF-8 rather than mUTF-7.

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.

doveadm-mail-fetch.c doveadm-mail-mailbox-status.c doveadm-mail-search.c doveadm-mail.c 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 /dovecot/src/lib-storage/index/dbox-multi/mdbox-storage.c /dovecot/src/lib-storage/index/dbox-single/sdbox-storage.c /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/index-status.c /dovecot/src/lib-storage/index/index-storage.c /dovecot/src/lib-storage/index/index-storage.h /dovecot/src/lib-storage/index/maildir/maildir-storage.c /dovecot/src/lib-storage/index/mbox/mbox-storage.c /dovecot/src/lib-storage/list/index-mailbox-list-sync.c /dovecot/src/lib-storage/mail-storage-private.h /dovecot/src/lib-storage/mail-storage.c /dovecot/src/lib-storage/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
2cc88ff507e244faa63683f804833b321a62c665 23-Nov-2010 Timo Sirainen <tss@iki.fi>

doveadm server: Fixes to command/parameter handling.

88c816e8be4e1a29bca8b67d67a92c67a33f3795 18-Oct-2010 Timo Sirainen <tss@iki.fi>

doveadm: Added import command for importing mails from other storages.

354268abe5b47e263171aed3800c56f375a07355 18-Oct-2010 Timo Sirainen <tss@iki.fi>

doveadm: Call mail command's init() only after service storage is initialized.

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

doveadm: Added iterate_single_user mail context field.

71df09024cea5f2faa93da3bb9513ee96ba6bf22 23-Jul-2010 Timo Sirainen <tss@iki.fi>

doveadm: Added client/server architecture support for running mail commands. This is done when doveadm_worker_count is non-zero.

0779e926687b319fe1bcc0f1010ba7f88023e789 23-Jul-2010 Timo Sirainen <tss@iki.fi>

doveadm: Make a couple of functions global for future use.

1c633f71ec2060e5bfa500a97f34cd881a958ecd 23-Jul-2010 Timo Sirainen <tss@iki.fi>

doveadm: Code cleanup: Moved some functions to doveadm-util.[ch]

7ed711d973b319320da100d3e905ef7b99ed69d6 11-Jun-2010 Timo Sirainen <tss@iki.fi>

doveadm: Output is now written via "formatter" interface. The default can be changed with -f parameter. Currently implemented 3 formatters: flow, tab and table. --HG-- branch : HEAD

97437f768d1a3e6134fed1971202803fd250eef2 09-Jun-2010 Timo Sirainen <tss@iki.fi>

doveadm: Don't fail immediately if some mailbox can't be opened. --HG-- branch : HEAD

b8b085f7bc6f1c0367802a9f00062bbbd981690d 09-Jun-2010 Timo Sirainen <tss@iki.fi>

doveadm: Added mailbox status command. --HG-- branch : HEAD

7358272563d8ef77366447708ab0e58c0cff4151 09-Jun-2010 Timo Sirainen <tss@iki.fi>

doveadm: Mail commands now prefix each line with username if -A parameter is given. --HG-- branch : HEAD

bd417d416988d11a6b555b9aa57779e7ed976951 28-May-2010 Timo Sirainen <tss@iki.fi>

doveadm: Group subcommands into a single line in usage output. --HG-- branch : HEAD

767431e5084a037c4dbefdf30ebfa03c84b1f449 28-May-2010 Timo Sirainen <tss@iki.fi>

doveadm help and without parameters now writes output to stdout, otherwise stderr. --HG-- branch : HEAD

1db62753d9e3b5d71018889c8ef0a3722a307455 27-May-2010 Timo Sirainen <tss@iki.fi>

doveadm: mail commands can now be extended more easily by plugins. Also plugins can now override the list of -A users. --HG-- branch : HEAD

ecbbdf594f9329fc15a182bd6c7c4a7fb144ed74 13-May-2010 Timo Sirainen <tss@iki.fi>

doveadm: Added subscribe/unsubscribe commands. --HG-- branch : HEAD

e09c7dc961cb9cab04ec7cc79215c2f6318fbde0 13-May-2010 Timo Sirainen <tss@iki.fi>

doveadm mailbox *: Added -7 and -8 parameters to translate between mUTF7/UTF-8 mailbox names. --HG-- branch : HEAD

23878bd03d1de531e3261a25598beec621351910 13-May-2010 Timo Sirainen <tss@iki.fi>

doveadm: Changed mail command API to be more easily extensible. --HG-- branch : HEAD

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

doveadm help: Fixed to work with multi-word commands. --HG-- branch : HEAD

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

doveadm: Renamed "list" to "mailbox list" and added mailbox create/rename/delete. --HG-- branch : HEAD

cf63dc8723b971cc80638fccbf494d961cbafc7f 30-Apr-2010 Timo Sirainen <tss@iki.fi>

doveadm: Changed mail command handler API. This should help add some new future features. --HG-- branch : HEAD

c24a61b4d7fa494422013c1932c1bfd22347aaa6 30-Apr-2010 Timo Sirainen <tss@iki.fi>

doveadm: Added search command. --HG-- branch : HEAD

4eecd3e2aadb20768a60f701e329b4345d04430c 28-Apr-2010 Timo Sirainen <tss@iki.fi>

doveadm: Added expunge command. --HG-- branch : HEAD

97afa073e3e1e0301dc41173ec34beb08edcce50 28-Apr-2010 Timo Sirainen <tss@iki.fi>

doveadm: Reduced code duplication. --HG-- branch : HEAD

2649ea100281f64252f676202d8e3e575791d9a2 28-Apr-2010 Timo Sirainen <tss@iki.fi>

doveadm: Added list command for listing users' mailboxes. --HG-- branch : HEAD

5fb3f13537dffd15a31e997da133a721c0728af8 20-Apr-2010 Timo Sirainen <tss@iki.fi>

mdbox: Moving messages to alt storage is done done with doveadm altmove command. The command can take an arbitrary search query listing what messages should exist in alt storage. If the message has been copied to multiple mailboxes, the search query must match all the instances of the message. Since the search query can now be specified in command line, mdbox_altmove setting was also removed. --HG-- branch : HEAD

/dovecot/src/config/old-set-parser.c Makefile.am doveadm-mail-altmove.c doveadm-mail.c doveadm-mail.h /dovecot/src/lib-storage/index/dbox-multi/Makefile.am /dovecot/src/lib-storage/index/dbox-multi/mdbox-file-purge.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-file.h /dovecot/src/lib-storage/index/dbox-multi/mdbox-mail.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-map-private.h /dovecot/src/lib-storage/index/dbox-multi/mdbox-map.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-map.h /dovecot/src/lib-storage/index/dbox-multi/mdbox-purge.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-save.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-settings.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-settings.h /dovecot/src/lib-storage/index/dbox-multi/mdbox-storage.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-storage.h /dovecot/src/lib-storage/index/dbox-multi/mdbox-sync.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-sync.h
94ba4820927b906b333e39445c1508a29387c3aa 13-Apr-2010 Timo Sirainen <tss@iki.fi>

doveadm: Added initial code for fetch command. --HG-- branch : HEAD

096f030bbe60f09efb50ced1df2ad88c50b802de 07-Apr-2010 Timo Sirainen <tss@iki.fi>

doveadm: Added more consts to code. --HG-- branch : HEAD

a9efdb661eb7a8a33aacfdcc3486dcc675a21543 04-Apr-2010 Timo Sirainen <tss@iki.fi>

doveadm: Marked some functions ATTR_NORETURN. --HG-- branch : HEAD

0f9a8663b0ff6fe30389d02284a2b002c40914eb 26-Oct-2009 Timo Sirainen <tss@iki.fi>

doveadm: Fixed printing help for purge and force-resync commands. --HG-- branch : HEAD

a6ab8f00351265e35b79f3a22b1f5a4978ae5c35 08-Oct-2009 Timo Sirainen <tss@iki.fi>

Moved doveadm to a separate directory and made it a bit more easily extensible. --HG-- branch : HEAD