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. |
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] |
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. |
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. |
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.) |
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. |
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. |
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. |
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. |
1228c0604b8e21e170bba3e2060331599a378110 |
|
12-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Fixed mailbox_exists() to actually work.
This fixes problems with subscribing to mailboxes. |
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. |
d83e46e7cd1ffd76210823dadcac549124c96d4e |
|
10-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Initial support for local index files. |
31277bf6e9bdfec5c72739a95b6885b52a64deac |
|
12-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Mailbox listing code works now perfectly. |
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. |