bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
6fc40674e5a33787ae7fcd47a77a77ea20977994 |
|
28-Oct-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
global: Rename client_connection_type to doveadm_connection_type |
d29c67900d3d104e24ed213ed4a10d204decdf18 |
|
28-Oct-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Reorder includes
This makes next commit possible |
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. |
1d12457b69c81eb520e0abe38ace5f49143cca0d |
|
04-Oct-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-mail: Handle parse_arg return value
Invalid parameters did not cause error.
Broken in fa6b2cbb3 |
204ee6ed414f5e4eeb6f6c10763b55daf56f11ac |
|
19-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: start relying on [io]_stream_unref(NULL) being a no-op
Cleanup performed with the following semantic patch:
@@
expression E;
@@
- if (E != NULL) {
- i_stream_unref(&E);
- }
+ i_stream_unref(&E);
@@
expression E;
@@
- if (E != NULL) {
- o_stream_unref(&E);
- }
+ o_stream_unref(&E); |
cfc6ae77ffef274f79a24b1d944b2b59dc444905 |
|
07-Aug-2017 |
Sergey Kitov <sergey.kitov@open-xchange.com> |
doveadm: mailbox_list_index_very_dirty_syncs disabled for force-resync
prerun of cmd force-resync sets mailbox_list_index_very_dirty_syncs to
no for mail_storage_service_user befor mail_user is allocated. |
bd08111562ba47977349b8ef6a9119c9472e5728 |
|
07-Apr-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm force-resync: Skip autocreated mailboxes that don't exist yet.
Since they don't exist, there's nothing to resync in them either.
This avoids unnecessarily creating them. |
61cf001f1944d92eb25f113ba4c08985d6e30d53 |
|
03-Apr-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Add mailbox_set_reason() calls
Added to the most important places. |
bf7dc750b95039981c0e9d728f313d50cf38a156 |
|
23-Mar-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
global: Log internal storage error on failure |
d4847b921058734e0668bc7690465c91523d9ec0 |
|
23-Mar-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
global: Log mailbox_list internal errors |
bb0484f2d26a985e42688597e455cf49578ab2a1 |
|
15-Mar-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Do not crash doveadm-server if input file missing
save commands expects valid input file for it to work,
if we are not running for cli, and input file is not
provided, provide EINVAL error to caller via i_stream_error. |
10ac3345fef3976ef573122de2a58a50c2fa63ce |
|
15-Mar-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
lib-storage & imap: add MAIL_ERROR_UNAVAILABLE as [UNAVAILABLE]
[UNAVAILABLE] is defined in RFC 5530 and we were just missing a MAIL_ERROR_*
constant to make use of it. |
967efe37d1f10a28c0a086cc5919d4ce8917bed8 |
|
27-Feb-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Ensure -- is added to command line before positional arguments
This prevents parser from choking on dash. |
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 |
eb318ea05532d2e54ed3bfc89bc15dcf1adae838 |
|
22-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Replace mail_storage_service_user_free() with _unref() |
a0cd302bcb827678f9c9c2ca1d0a3f0d3c0b3563 |
|
19-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add explicit MAIL_ERROR_LOOKUP_ABORT error
The MAIL_ERROR_NOTPOSSIBLE was a bit too generic to assume to mean the same
thing. It doesn't look like there are any external plugins that break
because of this change. |
2898ad0028a9b0c30df96dd6b68930fd4dc57527 |
|
19-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add MAIL_ERROR_LIMIT |
b4adb461ce12bf578d2d70806b205cf3cbf1a51d |
|
19-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Add explicit mail_storage_init/deinit() calls
This mainly prevents losing hooks that were registered by doveadm plugins.
Otherwise what happens is:
- mail_plugins are unloaded and they unregister their hooks
- doveadm plugins (e.g. doveadm_sieve) are NOT unloaded
- mail_storage_deinit() frees all the registered hooks
- next mail_storage_init() initializes all new hooks
- All mail_plugins are loaded and they register again their hooks
- doveadm plugins are NOT re-loaded or re-initialized, so their existing
hooks were lost. |
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. |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
efe78d3ba24fc866af1c79b9223dc0809ba26cad |
|
24-Dec-2016 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro.
Used the following script:
C_FILES=`git ls-files *.c`
H_FILES=`git ls-files *.h`
for F in "$C_FILES $H_FILES"; do
echo "$F"
perl -p -i -e 's/safe_memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero_safe(&$1)/g' $F
perl -p -i -e 's/safe_memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero_safe($1)/g' $F
perl -p -i -e 's/memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero(&$1)/g' $F
perl -p -i -e 's/memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero($1)/g' $F
done |
2ac5f36aa7c2e7a07ba8815d43a6d7483f62e74c |
|
16-Dec-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Change string position/length from unsigned int to size_t
Mainly to avoid truncating >4GB strings, which might potentially cause
some security holes. Normally there are other limits, which prevent such
excessive strings from being created in the first place.
I'm sure this didn't find everything. Maybe everything could be found with
compiler warnings. -Wconversion kind of does it, but it gives way too many
unnecessary warnings.
These were mainly found with:
grep " = strlen"
egrep "unsigned int.*(size|len)" |
b0e6a65a4b3971c6e00c97c8be19222165899cb7 |
|
14-Dec-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-mail: Set exit code to EX_TEMPFAIL on timeout
When running `doveadm save` command on proxy/director
and the remote command execution times out, exit code
must be set to EX_TEMPFAIL.
Fixes Panic: file doveadm-mail.c: line 405 (doveadm_mail_next_user):
assertion failed: (ctx->exit_code != 0) |
d83aa942767d377dadce82bb25a46aa96959b42b |
|
21-Oct-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Rewind input early enough
Command input needs to be rewinded earlier
in doveadm_mail_next_user. |
7f74811b78f8915e73dffc88bb49009e98b6846d |
|
09-Oct-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Make sure i_stream_read() calls handle 0 and -2 return values correctly. |
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. |
65a8a3c66787f164a94b67adf38da33b0c2aa519 |
|
08-Aug-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Pass connection to mail context |
b3db9827bde9c51f75e4c8c1ce554a65e3430c43 |
|
07-Aug-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Extra safety - initialize cmd_input_fd to -1
Just to be sure it's never attempted to be accessed as 0 (stdin) before
being initialized. (It didn't happen with current code as far as I know.) |
e93184a9055c2530366dfe617e07199603c399dd |
|
06-Jun-2016 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib: remove autoclose parameter from [io]_stream_create_fd
Use [io]_stream_create_fd_autoclose() for autoclose. |
61d3fd14828b68d789f3df73d1dbed56e37b7931 |
|
30-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: mail_storage_service_next() now returns error string. |
4fecb0a09c4d5d0300b047bfd9df5166ee555c9b |
|
27-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Fixed sending command -parameters to doveadm-server |
c220c8cd341ee9ba78979397c5d33ccd98b5d19f |
|
17-May-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-mailbox: Add update subcommand |
1c0e48030437be3c28ff0c25c87164a0ce86bc5a |
|
26-Apr-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm -u: Use mail_storage_service_all_init_mask() |
9ba5c4965ca244efeeb525229f1293ef52a4bf3a |
|
31-Mar-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-mail: Honor -u flag on v1 commands |
c3ffcb7ee7316e43df0cffb9b32891fc574cfa72 |
|
30-Mar-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-mail: Initialize missing cmd context username
Fixes assert-crash in doveadm_mail_single_user() |
4af926f5dfea2ba2ddce225fb46f3d04a8d777a1 |
|
30-Mar-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-mail: Don't lose rip/lip/lport/rport in passdb lookups for doveadm TCP connections |
315aa3cca6a8cbfb0913a32c86512086ddfee48b |
|
29-Mar-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Fixed reading USER environment for v1 commands. |
edbc6fe7fd5aaac2d0526bd1c688ceb0189349d5 |
|
29-Mar-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Fixed adding username header to commands iterating through multiple users. |
32e1486f96dbbfadbf47aeb4c57e596ba5548078 |
|
29-Mar-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm-server: v2 mail commands weren't doing a userdb lookup. |
7b98fc3ad1392e60f750211538fa8e502755e63e |
|
23-Mar-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Getting user from USER environment wasn't done in the right place.
doveadm_mail_cmdline_init() is also called when parsing commands from
doveadm-server. The USER environment is supposed to be read only from
doveadm command line. |
a18da4410dcd47ab8d9b40c09a76a54fa55b9c86 |
|
29-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Renamed long parameter names. |
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. |
fa6b2cbb3f78e2a28270b42102741c1cf1c81aa4 |
|
28-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-mail: Rename ctx to mctx to separate from cctx |
aaa1b6bb4cd2d7f8f4e7977d61176ea1c8f7e32b |
|
28-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Changed v2 command APIs to be easier to use. |
cabf4c96e2d6fbd90d33f6aa63320407f26f9c34 |
|
28-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Minor code cleanup - use arg-> instead of argv[i]. |
da7c6d7313c044b60a415061f2d1787889724336 |
|
26-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Fixed parsing field/flag/file parameters. |
50e4970035d1278597d13cac6c5ae26e7af93025 |
|
26-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Pass through mail_storage_service_input fields in doveadm_cmd_attributes |
2d83aa5eebd1bb710ca2fc21316b89442f027f3d |
|
26-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-flags: Support giving flags as an array. |
4ae632e126d92dca465870ad5d7f9341025d6ba4 |
|
26-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-copymove: Use ver2 structures |
76160a8259273a4388970041d5acde6152e349ba |
|
26-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Fully populate mail_cmd in ver2 wrapper |
c874dcb48156e0225ea13d4b66ecfbd32b4fd44d |
|
26-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-search: Use ver2 structures |
949c3973edcf50aebf4b9039cf151e6ba601e849 |
|
26-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-purge: Use ver2 structures |
f2c25ca2e1872b407b5b0f6be30513f43dce4e01 |
|
26-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-force-resync: 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 |
cd75585e26420cef09cc699c6e02ab46e21937d1 |
|
26-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Remove return value from ver2 cmd() - doveadm_exit_code is enough |
bef3447d29acf374bbae54bc7d6bba2583c6d5ea |
|
22-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Fixed usage printing for ver2 commands |
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 |
0d55fdfbc174e9393f9ecf86b9111f8a031e8750 |
|
22-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Added support for "file" parameters |
bce90a4f190198d487ba686fbffd96c29954f2f8 |
|
22-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Fixed double-free when using -F parameter |
f8e3a08ae260b8b18acdd80bf8e68f19361b4a27 |
|
22-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Fixed memory leaks when ver2 command parsing fails with invalid parameter. |
13607902e5899698826a777f165d0afa8f766ac1 |
|
22-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-mail: Fixed common parameters to use correct names as in DOVEADM_CMD_MAIL_COMMON |
89d31290dab6e4bde08b8a118121f008154772e9 |
|
22-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-fetch: Use ver2 structures |
778087c26fc528b58ef28c97d2941e599a20cf83 |
|
22-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Add kludge to support field array to fieldstr conversion |
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. |
374fed59cd85a2e1a42a86e20d9c8d3b2a12a604 |
|
19-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: If user lookup fails, log an error but don't kill the process. |
aa1561ec78178dc233e82235a86180d86304da62 |
|
19-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Code cleanup - Removed passing through unnecessary argv parameter |
1d689069fcd18f777b5f52736b150a79232eb48a |
|
19-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Code cleanup - move code to doveadm_mail_cmd_exec()
No functional changes. |
34fe9f3e658bf4b8ce1658540a89b6c81e35b18a |
|
28-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Enable SIGINT and SIGTERM signal handler for all doveadm mail commands.
Most importantly this allows stopping dsync. |
82130fea452f0bed0deb41405ccfedbf674e0e6c |
|
22-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Make sure all mail storage hooks are freed at deinit. |
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3 |
|
12-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: freshen copyright
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/' |
814bf67459ad405a157af0b8940602024d7fadfe |
|
23-Sep-2015 |
Teemu Huovila <teemu.huovila@dovecot.fi> |
Remove now-unnecessary direct stdlib.h #includes. |
22b88a9dd1e60537373bf11606a22ba648572136 |
|
07-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
doveadm: Make sure we can't accidentally add duplicate getopt args. |
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. |
24072b49beff674d7c04c60e088a29a28882d727 |
|
06-May-2015 |
Timo Sirainen <tss@iki.fi> |
doveadm: Changed -U to -F
Otherwise -U collides with doveadm sync -U parameter. -F isn't currently
used by anything. |
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. |
55257755b28e6fb73a4d285fa5d8e5ac33ad055a |
|
24-Apr-2015 |
Timo Sirainen <tss@iki.fi> |
doveadm-server: Fixed returning command input stream when its data was already in the input stream. |
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. |
a03f2228e59a9be1d87402be8980af92ea2876ba |
|
09-Feb-2015 |
Timo Sirainen <tss@iki.fi> |
doveadm: Reverted changeset 3b89f2f4ffb3, which avoided calling init() for proxied commands.
The init() is required for all commands that print something, because
otherwise the doveadm_print_header*() isn't called and the commands crash.
The reason for the original change was that some commands' init() attempted
to do too much work on the proxy, which ended up failing. So looks like the
proper fix is to just remove this kind of extra work from init(). |
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. |
ded274d94e795765b1d2e76da2ea74b22fbcd1d5 |
|
19-Jan-2015 |
Timo Sirainen <tss@iki.fi> |
doveadm: If mailbox list iteration fails, log the error reason. |
7cb128dc4cae2a03a742f63ba7afee23c78e3af0 |
|
05-Jan-2015 |
Phil Carmody <phil@dovecot.fi> |
global: freshen copyright
Robomatically:
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/'
Happy 2015 everyone!
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
8b7feed47b94d484b3e7e0aef2b78ea09433aeaa |
|
05-Dec-2014 |
Timo Sirainen <tss@iki.fi> |
doveadm: Avoid calling init() in doveadm binary if the command is sent to doveadm-server.
The init() is still always called when -A or -u *wildcards* are used though.
I'm not sure if that can be delayed. At least all commands should be
verified that they don't rely on the current init() location. |
2c57ebc900742bd1119ef011b77b4910c4660cfa |
|
23-Oct-2014 |
Timo Sirainen <tss@iki.fi> |
doveadm: Added metadata set/unset/get/list commands. |
54f559f2e69ea1498e3ccfa7b65d16d9a622c391 |
|
15-Sep-2014 |
Timo Sirainen <tss@iki.fi> |
dsync: Moved doveadm-specific code to doveadm directory. |
2ed2459dbd183bb371da4a0aecb2d2b74ae7c815 |
|
15-Aug-2014 |
Timo Sirainen <tss@iki.fi> |
Handle "out of disk space" and "out of user quota" as separate cases.
"Out of disk space" is a temporary error that should be logged as error and
the failure should be sent to user as "Internal server error".
Obsolete the use of MAIL_ERROR_NOSPACE and MAIL_ERRSTR_NO_SPACE. Use the
clearer MAIL_ERROR_NOQUOTA and MAIL_ERRSTR_NO_QUOTA instead. |
ba5c8b0ae7460752adaf911901bf263788f62c72 |
|
27-May-2014 |
Phil Carmody <phil@dovecot.fi> |
various - trivial NULL-related sparse cleanups
These zero-alikes are all pointers, so should explicitly be NULL.
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
1d082a46e1676e7ec13928d588c4a25e062713cc |
|
06-Aug-2013 |
Timo Sirainen <tss@iki.fi> |
doveadm-server: Include client's IP address in logs. |
4dc81fe17cc3aca2e8e9ccb988f90bae12ca2ad0 |
|
12-Jul-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mail_storage_service_all_init() no longer returns total number of users.
In preperation for removing the count functionality, since it requires
reading all the users into memory for it to work.
This also required removing the /total from verbosity counter with
doveadm -A. |
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. |
949fa97a4ab5c62e4db73c3973e35ae3b73a2b23 |
|
06-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
Avoid using mail_namespace.storage directly. |
8c072aac2949d0c840162d1a1d334e8367fd2993 |
|
11-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
doveadm: Don't use MAILBOX_LIST_ITER_RAW_LIST when listing mailboxes.
That skips ACLs and mailbox list. There's really no good reason to use that
by default. |
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. |
5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294 |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Oops :) Update copyrights to 2013 without breaking all .c files. |
cca4ba2a504d70a9fe9fee37f8433997359de52c |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2013. |
56b134799a457fd55830355f4c8d746d6bb5206f |
|
04-Dec-2012 |
Timo Sirainen <tss@iki.fi> |
imap: Fixed handling FETCH BINARY for broken content. |
9b706b345064ce8e8a657f54633f009a101298ea |
|
29-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
If prefix="" namespace isn't defined, autocreate it as an unusable namespace.
This avoids having to handle mail_namespace_find() errors all over the
place. Instead now the mailbox accesses will simply fail. |
ca4526e3b5fbf5ea3dd477a2098522a44c9ac52c |
|
12-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
i_set_failure_prefix() now takes printf-like parameters.
This avoids using t_strdup_printf() with it, which was done very commonly. |
bd63b5b860658b01b1f46f26d406e1e4a9dc019a |
|
11-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Plugin ABI version checking improvements.
Previously the plugin version was checked against the version string
returned by the currently running Dovecot master process, not necessarily
the same as the binary. Also version_ignore=yes setting skipped the version
check entirely.
Now there's a new DOVECOT_ABI_VERSION macro that can (at least in theory) be
updated only when the ABI actually changes. The version is in format
"2.2.ABIv1(2.2.15)", where the (2.2.15) would be the actual Dovecot version
number that gets ignored when comparing the strings.
Also now the plugin version is compared to the actually running binary's
ABI, not the master's version, and it can't be ignored with a setting. |
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. |
3e0bae44b65f5c46989fcef3d1e07203f496327e |
|
02-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed enum namespace_type to enum mail_namespace_type |
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. |
402e999a878e0cc41a0afb830fea0a93afc75f0d |
|
11-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed struct mailbox_info.name to vname. |
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. |
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. |
290ce42a1a0cd87e7b60041b702b65a7808d2234 |
|
27-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
doveadm: Allow subcommands to specify '+' getopt parameter. |
e6825aad56997fb86f9ff5638639393aeb9eab59 |
|
16-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
doveadm force-resync: Don't skip autocreated mailboxes (especially INBOX).
This fixes rebuilding indexes for mdbox that has all mailbox indexes
deleted. |
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. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
1caad3c1f52233fbd51472514fd9331be729d9e5 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
doveadm: Changes for previous expire plugin changes to actually work. |
db45f4628801836b9b20d2d3954e9bae4b1b50bd |
|
09-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
doveadm force-resync: Support wildcards in mailbox names. |
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. |
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. |
5dbce18878f3dd9fbbe4dbb1490e99922f9b5af6 |
|
07-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
doveadm-server: More fixes |
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 |
5512d420d826a2f9d4e7cb4e4919e1864fe688b0 |
|
06-Jun-2011 |
Timo Sirainen <tss@iki.fi> |
Use SA_RESTART flag for signals wherever possible.
Only SIGTERM (and SIGINT for standalone programs) shouldn't use it. |
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. |
66ed2ab5234e0fdb1acef4f9bee2226248ee0117 |
|
20-May-2011 |
Timo Sirainen <tss@iki.fi> |
doveadm: Set service=doveadm for userdb lookup. |
36b402281f1af8b386d874353865963fc42b2f2b |
|
10-May-2011 |
Timo Sirainen <tss@iki.fi> |
doveadm mailbox status: Don't assert-crash at exit if syncing a mailbox fails. |
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. |
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. |
b932ee7fbbec6e79b777dcc7ba613b9e99f8337b |
|
23-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
doveadm: Added "move" command for moving mails between mailboxes. |
2e37d45867d081db150ab78dad303b9077aea24f |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
183bea41fa640dc8117f3eb45ff935cd81377a84 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
2f414d71a0c7c857485c8e4bd2fb1d9f13c894ec |
|
28-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
doveadm: Unload plugins only after calling command's deinit() function.
This fixes a crash on deinit when using a plugin that hooks into
user.deinit(). |
218153e0aa44a115a2dacab8510fb8de7e1cb78e |
|
28-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
doveadm: Memory leak fix. |
1be788012c84ada7b1e9703bf6eee46c36a84208 |
|
11-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
doveadm: Previous mailbox create -s fix broke -A/-u parameters.
Fixed now properly the root cause: -S parameter was handled as -s by getopt. |
76ed4f853c23243bfd60ad63226847b9773003e7 |
|
09-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
doveadm: Fixed giving parameters to mail commands. |
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. |
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 |
11352dc3e4b29f3d2763c82f8ea4f99e8daf4fa3 |
|
20-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_get_last_*error() wrappers and use them. |
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. |
8bce86e7b76eece615398c1a4c47b84440afd663 |
|
24-Nov-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: -s was already used by some mailbox commands, renamed to -S.
Also added -S to usage output. |
d5ef38077adbff5b3e4d0b3c94a2057581dc78b6 |
|
23-Nov-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: Moved -s parameter among -u/-A parameters, since it's only used by mail commands. |
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. |
554badea1f0259a505e1fd2c276c6caa7495090a |
|
16-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: Give binary name to plugin loading code so it can give better error messages. |
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. |
29666594233e23edd98f8ee0fb5763dd2b094b09 |
|
22-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: When priting help to some command, exit with status 1. |
1a4a64638ad5ed020daa8beac7636967dcaf27b5 |
|
07-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: Changed "user doesn't exist" error message.
--HG--
branch : HEAD |
1236ddd36a57c7437b3851e0e0756333da20d946 |
|
21-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: Mail commands assert-crashed when using -u wildcards.
--HG--
branch : HEAD |
09304bdc1e5e416aa343802732a15064f49495cc |
|
21-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: Output flushing fixes.
--HG--
branch : HEAD |
4f79049854ca6a69453deb5487f2b722fdae3e35 |
|
17-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: Don't crash when mail command that doesn't print anything uses -A.
--HG--
branch : HEAD |
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 |
dd6c57fab41ae6730473cd5b261c134f2f6ae00c |
|
28-May-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: Detect '?' also as wildcard character in usernames.
--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 |
2e44673dfd467a069c4b34760fa2fcfeefa74449 |
|
28-May-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: force-resync now fails if mailbox name isn't valid UTF-8
--HG--
branch : HEAD |
e18bb5ce6081efeb6bdcb6711ef9c0607f301e90 |
|
28-May-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm force-resync: Get mailbox name as UTF-8.
--HG--
branch : HEAD |
2e57fc359c4520bb6ddba32095475e5f518c4066 |
|
27-May-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: -u parameter now allows wildcards for usernames.
--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 |
78ab753927acf4466f38e4a50694be3f4c4cc9ab |
|
13-May-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: Don't crash when giving only first word of multi-word command.
--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 |
84078771687fabf75819918f0f3aecdc3ed08b36 |
|
07-May-2010 |
Timo Sirainen <tss@iki.fi> |
Mail search register getting API change to fix a doveadm crash bug.
--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 |
e2ec00bf2f79c7b4130994661afafd0f490db81e |
|
30-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: Fixed empty usage_args checks.
--HG--
branch : HEAD |
8f269b0fe8b6692c2c25bb36eb5b11c64fc2070b |
|
30-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: If command is known not to take any parameters, give error if any are given.
--HG--
branch : HEAD |
ff4ec35014310044f27c7d11ba9fdb53319d7157 |
|
30-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: Added support for multi-word commands.
--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 |
cdf294e5cceee81d58c8477c7c28d9ad6b55c36a |
|
28-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Added "fields to fetch" parameter.
--HG--
branch : HEAD |
8732bdd21579472feb40da8ffc99b8fd3b341417 |
|
28-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Added support for fetching mails from multiple mailboxes.
--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 |
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 |
b90ac7f1d3145928bcbec77763cad75fdb8a0aa8 |
|
07-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: Mail commands now take username as -u parameter and all with -A.
If -u or -a isn't given, use the current user's settings (without userdb
lookup).
--HG--
branch : HEAD |
a9efdb661eb7a8a33aacfdcc3486dcc675a21543 |
|
04-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: Marked some functions ATTR_NORETURN.
--HG--
branch : HEAD |
3b22894b8805b186c73d8b754001e8d7e944be85 |
|
31-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
Added support for userdb lookup to fail with a reason (many API changes).
--HG--
branch : HEAD |
c8db6510668370033aadaaaa0b8afc908c044185 |
|
16-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: Continue going through users if one user's init fails.
--HG--
branch : HEAD |
57ff998a443881c8959a8e65f6325cf19fefc1d0 |
|
16-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
mail_storage_service_lookup*() now separates userdb lookup and user setting errors.
--HG--
branch : HEAD |
4909421ac41e143fe07a235c0d11e9f0452d716b |
|
08-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: Added support for plugins.
--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 |
e10d8b1291090c26b9ef499637e6e632485ca5be |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Split mailbox_close() and mailbox_free() functionality.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--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 |
5296198635718c9bf5b2f972c9d5be52092d3d58 |
|
18-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
doveadm: Added global -v (verbose) and -D (debug) options.
Removed "doveadm <mail command> -v".
--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 |
1c846dfafac3093058d5b7c60f9bcef1d17c4783 |
|
23-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
doveadm: When iterating through all users, don't drop privileges permanently.
--HG--
branch : HEAD |
4da8c6cdefabd31262318c32da3c13de1d9ea953 |
|
22-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Merged single and multi mail_storage_service_*() functions.
--HG--
branch : HEAD |
acc039dfc0b0f4588cf2feec04727b61e1c672a1 |
|
09-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
dovecotpw binary is now accessed via "doveadm pw".
--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 |