bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
50ba09cd2ed065d01d51580656ab4fa8b748e915 |
|
14-Dec-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: Don't skip listing "INBOX" when INBOX/ namespace prefix is used.
The INBOX was still listed as part of the autocreated mailboxes, unless
MAILBOX_LIST_ITER_NO_AUTO_BOXES was used. |
18b3f4706292b5c555a6d336ddec3724d7d73768 |
|
15-Nov-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-storage: imapc - use MAILBOX_LIST_PROP_NO_LIST_INDEX
mailbox list index does not work with imapc, so disable it.
Panic: file mail-storage.c: line 1858 (mailbox_get_metadata): assertion failed: ((items & MAILBOX_METADATA_GUID) == 0 || !guid_128_is_empty(metadata_r->guid)) |
b1390ca0b99308661de4fc9ce9644daaacf1117e |
|
01-Nov-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-storage: imapc - Fix spelling mistakes
Original work by @jsoref |
12c57531519d66e237e865c6ee3f7eadfe148550 |
|
05-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Remove dead code
Found with clang static analyzer. |
d82a985d9a1532b14cfb45166cdb0883752420e2 |
|
12-Jun-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: If mailbox iteration fails, make sure error message isn't lost. |
a2dd3a0de99582744b3d45141cb4d8846054941a |
|
12-Jun-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: Don't reconnect on DELETE if auth failure was already seen. |
77ea60d15c146644da5428e8109e8fa6571af6dd |
|
12-Jun-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: Remove root_sep_lookup_failed cache
The auth_failed_* should already be enough for this. This removal also
fixes the storage error message to be auth_failed_reason when possible. |
be21b9e65a37c29995899f7923f6d7e5771dc3ad |
|
12-Jun-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: Change auth_failed boolean to more specific auth_failed_state
Since we now rely on auth_failed_state being initialized to zero,
explicitly set IMAPC_COMMAND_STATE_OK to be defined as 0. |
a76f1c806e9ac7d8e0d652dfaef5035d0c677892 |
|
12-Jun-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: Remove auth_failed check from imapc_list_get_storage_name()
Reverts 9949dc3649ac7a00289f6bf0662c793bee3d4286. It doesn't seem to be
actually needed at least now, and it's breaking:
* SELECT INBOX -> failure due to remote server being down
* SELECT INBOX -> NO [CANNOT] Invalid mailbox name: Name is empty |
a384b1fccb51884e8afe0f571420961851a2149d |
|
19-May-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Explicitly name function pointers in mailbox lists
This allows adding more fields to struct mailbox_list_vfuncs without
compiler warnings. |
d15de28720491cd9bdf3f6734aaea66c271bbbd3 |
|
24-Apr-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: include imapc-client.h in imapc-storage.h
It was already required to be able to successfully include imapc-storage.h. |
e00612b245b41cc47a5c6214794c415aaa8c91b7 |
|
24-Apr-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: Make sure client is logged in when checking capabilities
Especially with imapc_features=delay-login the capability could have been
looked at before the client was even connected. |
a34e0eb3d4ad728b29a03d4db242306cc996c388 |
|
05-Apr-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-storage: Set internal error in imapc_list_get_hierarchy_sep |
9949dc3649ac7a00289f6bf0662c793bee3d4286 |
|
05-Apr-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-storage: Return empty value in imapc_list_get_storage_name on auth error
Avoids clobbering authentication error. |
1f31b38b6668439f0ee135c150dd2a71c2fa54c9 |
|
05-Apr-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-storage: Do not clobber error with imapc |
34b724d1d7e50b1ab24267a3b6fc089b1147c1ab |
|
23-Mar-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-storage: Add and use default mailbox iterator
The idea is to allow mail plugins to see also the non-existent
autoboxes by feeding them thru the iterator.
Fixes problem where autocreated boxes are not seen by ACL
plugin. |
d35da39e688b94bb7e9adc6c865a45004c64a506 |
|
19-Mar-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: Use LOGOUT to cleanly disconnect from server.
This makes it clearer in the remote server's logs whether the disconnection
was intentional or not.
Use a hardcoded 5 second timeout for LOGOUT. It should be enough time for
the server to finish sending the tagged reply. |
64a36868b6e11c91da3d051d581e1a52c6da2f43 |
|
30-Jan-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: Allow using LAYOUT=none without crashing. |
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 |
b80e0097ab96ca62d1b9ddf4b2d7b7c77c745307 |
|
17-Dec-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: Log server disconnection error only once. |
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)" |
33525312d3f45995686aa0b538dea1cd6eb936e2 |
|
16-Dec-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Deduplicate code into mailbox_list_settings_init_defaults() |
431fb3b0f8c6817da6235825250c91159bb182a3 |
|
18-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: Use struct mail_namespace.user_set |
1c62887aa7a5f0c6b9c5b956176a6e3182777fa0 |
|
18-Oct-2016 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
imapc: don't mix positional and designated initialization |
06116e6a19bc4916ddf349108e59e38eda83d533 |
|
12-Apr-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: Mark most of the commands retriable. |
461bcfc20fb32b086b83a38e4aa7f1e5351bbcc7 |
|
12-Apr-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: If root separator lookup fails, fail all further lookups.
We already returned a potentially wrong separator (since there's no way to
return error), so we don't want to continue and possibly make things worse. |
2a7a7f69b2b2d22b2dbca60917accabddd252255 |
|
12-Apr-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: Added missing error handling to subscriptions list refreshing. |
6e2bb07ff164bbac054cc53a4b4ca0d8aee909d1 |
|
14-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: Fixed mailbox name escaping for CREATE, DELETE, RENAME, SUBSCRIBE, UNSUBSCRIBE |
f97b503210435b74de3b26cba07315cbc9ea1dfc |
|
14-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: Fixed escaping/unescaping mailbox names.
This fixes accessing mailbox names with '%' (the escape_char). It also fixes
local namespace separator being different from the remote separator. |
be3b9374c9cd7f5fbe1e9f9280ed483286dcc04b |
|
14-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: Don't duplicate standard mailbox flags in LIST replies.
We added the standard \NoSelect, \NonExistent, \NoInferiors and \Subscribed
to special_use string, which caused them to be sent duplicated. |
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/' |
948b685d8df8f0e7b62aac21c9ab89959fa2d926 |
|
27-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
imapc: Fixed crash if imapc_host or imapc_password setting was missing.
Instead of giving a nice error message about it.
Found by Coverity. |
ae9b70a446dccba3160fb0df332f84ef98825604 |
|
26-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
imapc: Fixed handling escape-char
The current code should now handle all kinds of mailbox names correctly, including:
~/foo
%7e/bar |
2d0c822bc1541a01f046a3f5d013644df2db71d5 |
|
24-Jun-2015 |
Timo Sirainen <tss@iki.fi> |
imapc: Fixed check to see if prefix!="" in previous commit. |
7882e10fda89fa20148b23415110123819b6662b |
|
23-Jun-2015 |
Timo Sirainen <tss@iki.fi> |
imapc: Don't return mailbox list entries that would result in name="".
So basically don't return namespace prefix if imapc_list_prefix="". |
9a717bf84366bdd2ee25f95c49ffc911999dbd1f |
|
23-Jun-2015 |
Timo Sirainen <tss@iki.fi> |
imapc: If login is aborted at deinit, don't log an error. |
535646abe6823fae109563fdff8718a201ad67cc |
|
19-Mar-2015 |
Timo Sirainen <tss@iki.fi> |
imapc: Don't wait for login to succeed at mailbox list creation.
The failure will be visible in the next command. This wait was here mainly
for imap, but cbdfca7d24a6 implements the wait in imap process directly.
Other (current) protocols don't need such wait at all.
Most importantly this change allows doveadm to handle imapc login failures
by seeing them as MAIL_ERROR_PERM errors when listing mailboxes or opening a
mailbox. This allows it to return a different exit code from temporary
failure (which it is not). |
ce7c2091ca9f19a13c835d1d522832a73f7cfaa0 |
|
18-Mar-2015 |
Timo Sirainen <tss@iki.fi> |
imapc: If authentication fails, preserve the error message as storage/list error.
This isn't very helpful yet, because the mailbox list creation itself fails. |
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> |
bf684c50bc1c85994e9c65ebf5269fbd18daaa64 |
|
24-Sep-2014 |
Timo Sirainen <tss@iki.fi> |
imapc: If connection isn't in selected state when deleting mailbox, don't try to UNSELECT it. |
7586eb9be41bf2de90790ab1c50ba6bfb85402b4 |
|
21-Mar-2014 |
Timo Sirainen <tss@iki.fi> |
imapc: Cache LIST replies for a while to be able to immediately ask for mailbox flags/existence.
Besides giving better performance, this will fix bugs in some servers where
LISTing a single mailbox doesn't necessarily return it. (In this case a
mailbox named "in" wasn't returned, but I think Dovecot has had bugs related
to this also.) |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
f38430b14630064704cf061d23d5bc94828ca085 |
|
03-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
imapc: Fixed assert-crash when listing INBOX and imapc_list_prefix was set. |
d15b2fc29cc14709a36503d21bfb0488ee6f4006 |
|
22-Sep-2013 |
Timo Sirainen <tss@iki.fi> |
imapc: Don't crash if imapc_password is missing. |
4f2fa2e5f5a27e1d59dd38fbbf38e420e006596d |
|
21-Sep-2013 |
Timo Sirainen <tss@iki.fi> |
imapc: Don't log unnecessary errors at deinit about aborted hiearchy separator lookup.
The lookup is done asynchronously at startup. It doesn't matter if we never
get around to finishing it. |
9a7f22e2c14b507e6044e5534df978a0c3b638d0 |
|
19-Sep-2013 |
Timo Sirainen <tss@iki.fi> |
imapc: Abort pending commands before any deinitialization to avoid crashes. |
8e1dbcb9b249c37d00b420705777b103ffa6145d |
|
10-Jul-2013 |
Timo Sirainen <tss@iki.fi> |
imapc: Reorganize code so that imapc_list works without imapc_storage.
Most importantly fixes crashes when imapc_list is trying to lookup hierarchy
separator before storage is created. |
9bc29938d8df24e64db865cba3b03d6c6cd95237 |
|
10-Jul-2013 |
Timo Sirainen <tss@iki.fi> |
imapc: Code cleanup: Don't access imapc settings via storage. |
1729508f04e6c3271790c72c0c3710e647134bce |
|
13-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
imapc: Fixed list iteration when namespace and backend separators differed. |
5c6952568475b1c42866d1a6d3dbdff2ff5b438d |
|
06-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
imapc: Minor code cleanup |
3ec969c5cee55a7b08ab5c5bf7afae310176e2bd |
|
06-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
imapc: If imapc isn't the inbox=yes namespace, do the login and initial LIST in background. |
d95ad2a90cbec4489c8a6398780afce8e767d18a |
|
06-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
imapc: When deleting a mailbox, unselect the current one just in case they're the same. |
d80391da062e6603b144283b89bbd7036cc867bd |
|
06-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
imapc: Index dirs were being wrongly deleted when imapc_list_prefix was set. |
53e8881f41752bbef1dc2fdd7cd6730a7d065b4d |
|
01-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
imapc: If imapc_list_prefix is set, don't skip it in filesystem paths.
Most importantly this fixes the index path when accessing the
imapc_list_prefix mailbox itself (so the indexes won't be in the mail root
dir, where they don't get deleted when mailbox is deleted). |
cb3a5950b05ae83b5f26a18e9b04c22922e034a6 |
|
01-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
imapc: Return correct mailbox list flags for the imapc prefix mailbox itself. |
d9a4e66f0d0310f24a0b21c874b4b243f55df819 |
|
01-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
imapc: Allow accessing the imapc_list_prefix itself. |
44bce572c4f730ec2603bf2dbb2442574843faf7 |
|
01-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
imapc: Don't assert-crash when trying to access imapc_list_prefix itself. |
2b0fe8606fc0d980b63d9150a8f1cadebe0cc6d6 |
|
26-May-2013 |
Timo Sirainen <tss@iki.fi> |
imapc: Pass through SPECIAL-USE LIST flags if imapc is in INBOX namespace. |
607bca75bfd27ec94c87d412434fdf708c7d312b |
|
04-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
imapc: Don't assert-crash when ACL plugin tries to lookup "" mailbox. |
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. |
0db42260be85e797aa9909a29b20296996f52e75 |
|
06-Nov-2012 |
Timo Sirainen <tss@iki.fi> |
Reverted 269104a0821b (Build imapc and pop3c always as plugins.)
This is no longer needed now that lib-ssl-iostream can be linked without
linking openssl. |
69af83d4e6c2c5c825a17edd7a41a4fb014caa8f |
|
12-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added support for "broken_char" setting for escaping invalid mailbox names.
This is currently enabled only for imapc backend, where '~' character is
used for it.
Most importantly this allows migrating mailboxes from other IMAP servers
that contain mailbox names that Dovecot's imapc backend couldn't otherwise
access. |
917498e6f84969d2b93410c1e479735abe8e0ed7 |
|
12-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added optional mailbox_list.init(), which can check for failure.
"index" backend now gives a nice error message instead of crashing when
mailbox_list_index=no |
83b97bc7787aa31094bafbf5e08e2a491c84a851 |
|
12-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Build imapc and pop3c always as plugins.
This avoids having to link openssl library to all binaries that use
lib-storage. It appears that simply by linking with openssl causes each
such process to use 100-200 kB of more memory. With 10k imap processes this
is 1-2 GB of wasted memory.
The imapc and pop3c are still registered as stubs, and their plugins are
automatically loaded when needed. |
9fc97c8aa8190df87624d214bcc5d0b5362bec93 |
|
26-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_get_path() and friends can now return an error.
An upcoming "index" mailbox_list backend uses mailbox GUIDs as the directory
names. Doing a name => GUID lookup may fail, so the path lookup may fail.
This is a somewhat annoying change and perhaps it can be removed in future,
but for now it looks like it can't be avoided. |
3d6fdafca17c073606b63745ca8638e035e871f4 |
|
25-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed mailbox_list.create_mailbox_dir() virtual function.
It really didn't need to be virtual. Some storages didn't care about it,
others wanted it to work basically the same. |
442b4c6c0d69e04297c00beb1a06da9855cb5ebe |
|
25-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed mailbox list backend-specific mailbox name/pattern validation.
The virtual name validity is independent of the backend. The physical name
is always used for paths in filesystem, so it can also be verified with
common code. Backend's mailbox_dir and storage's internal directories can
also be checked. There's nothing else left really. |
71e88fae3be360e9a93b3398e743f99a6f05d2ed |
|
10-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed rename_children parameter from mailbox_rename()
The children are now always renamed. The only reason this feature was added
in the first place was to make dsync's job easier, but this is no longer
needed. |
aecc59fc5c5cc32de1f7c5ba3e1575b79197a3df |
|
28-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
imapc: If imapc_list_prefix=INBOX, don't treat INBOX/INBOX as the INBOX itself. |
8854395cdd21ca521b37ce669f3acb8445792b20 |
|
13-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox-list-notify API for tracking changes in all mailboxes.
Requires mailbox_list_index=yes to work. |
402e999a878e0cc41a0afb830fea0a93afc75f0d |
|
11-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed struct mailbox_info.name to vname. |
c518217cf3f462bd8b4915d5b10384aa1c91cefc |
|
10-May-2012 |
Timo Sirainen <tss@iki.fi> |
imapc: Use imapc_list_prefix also for listing subscriptions |
b3a3a66f6a945a651912242520821facd1b8289d |
|
25-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
imapc: List INBOX for inbox=yes namespace even imapc_list_prefix is set. |
3f506d46babfdf82cdd9fab8d4682f626cbe1d2a |
|
23-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
imapc: Fixed imapc_list_prefix setting to work with INBOX. |
9908c7e3f7ab3fb673ecaa22421fa5fa432740e4 |
|
22-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
imapc: Don't list mailboxes that don't match list patterns. |
51b9807b22a0342064cc6c7583cd229ebe47eb87 |
|
22-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
imapc: Nonexistent mailboxes were returned as selectable mailboxes. |
b08822564e0fcb8f3eafd2e4be06ae2efedff0cd |
|
20-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
imapc: Added imapc_list_prefix setting to limit what mailboxes are accessed. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
e8c279de6e9e7eeb1212d09277a28efa0a3e3f5c |
|
02-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
imapc: Crashfix related to recent maildir_name/mailbox_dir_name changes. |
1f1165262640fd6750a94d84c34b48479a14286b |
|
21-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: When searching for unused index dirs, ignore any ACLs.
This also fixes a crash. |
7ff6268cc35102675d73d44d680bed13d0709f7b |
|
02-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added pool to struct mailbox_list_iterate_context. |
ee773c0f958c570060a6688e6cafa8eb1288faf2 |
|
04-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: When doing a LIST, delete any extra local mailbox (index) directories. |
7cf1c7dd3dfd989cba1ed32a8e17c1b031c4629b |
|
04-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Don't use separate indexes/ directory anymore. Fixes/cleanups to make it possible. |
8e69d321c4996ea341f21bdebcf7741e2df885db |
|
04-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Index files weren't deleted when mailbox was deleted. |
81d3c215bb1fdbda2cf7ccd9519f6b4fd03c3791 |
|
07-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Command sending API changed to be more extensible. |
6ac48a4295edbeb6b962700be3c563ad015c0a4e |
|
05-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Memory leak fixes. |
3e1292580af593079e8b6429bdd90db379da0e9a |
|
13-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Handle \Noselect flag properly for untagged LSUB replies. |
1228c0604b8e21e170bba3e2060331599a378110 |
|
12-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Fixed mailbox_exists() to actually work.
This fixes problems with subscribing to mailboxes. |
2dc23f3416724163cc5d7162c577a8ed9f985fed |
|
11-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Fixes to handling non-empty imapc namespace prefix. |
e925d6db5ff447811ca9c5825581a6d8d3218958 |
|
09-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: More fixes to listing mailbox names. |
4bb24a20bb017b6e3301d6a8e961a08aa71cf10f |
|
09-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Another try at fixing mUTF-7 mailbox names. |
56956c0bba7b2bf734699ed198a1b2ad84a494cf |
|
08-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Use mUTF-7 for mailbox names. |
d71c50fd398c1785e9b84f89e97f35ad13382d14 |
|
07-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Place index files under root_dir/indexes/ directory. |
b720f55c568cce0a1c8c2be74e588b66bb467e82 |
|
07-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Connect to server immediately at startup and lookup hierarchy separator.
If connecting to server fails, this makes it fail earlier. Also we don't
have to worry about what to do later if hierarchy separator lookup fails. |
f4547bcf28276dace40a4d10952e48b1046f6e57 |
|
06-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Don't crash when trying to use imapc's subscription list for another namespace. |
0b25846ba794ce19536a24d4065beaf2a0bd9464 |
|
30-Apr-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_delete() for a symlink now removes the symlink instead of expunging mails. |
d83e46e7cd1ffd76210823dadcac549124c96d4e |
|
10-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Initial support for local index files. |
29371e68adc180501454783b44ec8e43b4e6ddc1 |
|
28-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Use multiple client connections when necessary. Some other fixes. |
31277bf6e9bdfec5c72739a95b6885b52a64deac |
|
12-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Mailbox listing code works now perfectly. |
4ba962c3e78f140facdcfb1e093c4c46de75ae24 |
|
11-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Changed mailbox_list.subscriptions_refresh() API to be more flexible.
The new API makes it easier implement subscriptions=no to a backend that
doesn't use the regular subscriptions file. |
b13f738e8eb3f24dc2abf2c804f954b4d864ac6f |
|
02-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Cleaned up subscription listing internally.
The subscription listing code is now mostly separated from the mailbox
listing code. |
9f46aa48a9982567a37bb08dd95af8bee5100c7e |
|
02-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Made struct mailbox_list_iterate_context usable for plugins. |
dfaefeabae939803ceb8c503101e86b5496541d1 |
|
01-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Don't force a root directory to exist. |
de0170faf63cbbc4ac90b16d8a17b779d9fac4c8 |
|
31-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Fixed LIST/LSUB handling. |
51130f00bbd1e119ec042d63c148a78ac06ab85e |
|
23-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Fixed mailbox deletion and some error handling. Code cleanups. |
c5c71245fec4331d6598376f0ff2f3b9d4372cc8 |
|
21-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Code cleanups and fixes. |
90de49eb151c2be7655ce6aef5aa3b58295d5c84 |
|
20-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Added support for LIST/LSUB. |