Mercurial > dovecot > core-2.2
annotate TODO @ 15338:769be5b43fa6
Renamed configure.in to configure.ac.
Apparently automakes in future won't support configure.in anymore.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 29 Oct 2012 18:01:54 +0200 |
parents | 12cd194553a8 |
children | f5941f3ac762 |
rev | line source |
---|---|
15278 | 1 - LAYOUT=index: |
2 - force-resync should fix the index, finding any missing mailboxes, same | |
3 for when internally detecting the error | |
4 - see if there are any race conditions? and check other error handling | |
5 - after doing a lot of changes the list's memory pool keeps growing. | |
6 do an occasional re-parsing to clear the pool | |
7 - mailbox_update() needs to update also uidvalidity/guid | |
8 - quota recalc + dict-file [+acl?] assert-crashes in !indexing->syncing | |
9 - URLAUTH: if client tries to access nonexistent user, do a delay in | |
10 imap-urlauth-client.c (AFTER destroying the worker) | |
11 - special response in the control connection to make the imap-urlauth | |
12 master wait before starting a new worker | |
15338
769be5b43fa6
Renamed configure.in to configure.ac.
Timo Sirainen <tss@iki.fi>
parents:
15278
diff
changeset
|
13 - finish dsync rewrite |
769be5b43fa6
Renamed configure.in to configure.ac.
Timo Sirainen <tss@iki.fi>
parents:
15278
diff
changeset
|
14 - imaptest: add condstore, qresync tests |
14926
9c69df65af7b
Simplified hash table union now that it again works only with pointers.
Timo Sirainen <tss@iki.fi>
parents:
14865
diff
changeset
|
15 |
15278 | 16 - settings parsing is horribly bloaty |
14926
9c69df65af7b
Simplified hash table union now that it again works only with pointers.
Timo Sirainen <tss@iki.fi>
parents:
14865
diff
changeset
|
17 - doveadm: if running via doveadm-server and it fails, say something about |
9c69df65af7b
Simplified hash table union now that it again works only with pointers.
Timo Sirainen <tss@iki.fi>
parents:
14865
diff
changeset
|
18 error being in the log |
14753 | 19 - indexer-worker and maybe others (doveadm?) could support dropping privileges |
20 permanently when service_count=1. Note that LMTP can't with multiple RCPT | |
21 TOs. | |
22 - after reading whole message text, update has_nul-state to cache | |
14585 | 23 - FIFOs maybe should be counted as connections, but unlisten should |
24 unlink+reopen it in master? | |
14140 | 25 - lmtp client/proxy: Handle multiline replies better |
26 - recreate mailbox -> existing sessions log "indexid changed" error | |
13907 | 27 - add message/mime limits |
13677 | 28 - imapc: |
29 - prefetching to THREAD and SORT | |
30 - check all imap extensions and see if some don't work (condstore) | |
13900 | 31 - per-namespace imapc_* settings? create a way to "copy" a settings struct, |
32 so mail_storage_settings are copied to mail_namespace_settings. use the | |
33 change tracking to figure out what settings are namespace-specific. | |
13677 | 34 |
13900 | 35 - passdb, userdb { username_format } that doesn't permanently change |
36 the username | |
13470 | 37 - mdbox/sdbox index rebuild -> quota rebuild? |
13360 | 38 - solr separate attachments (patch) |
39 - sql connection pooling: Count lookup latencies, avoid servers with | |
13777 | 40 significantly higher latencies. optionally use the secondary server only |
41 as fallback | |
13360 | 42 - maildir_storage_sync_force() shouldn't do anything except find the new |
43 file, don't go expunging any more stuff or we could get recursively back to | |
44 where we started, and stuff would break | |
45 - imap: append/copy could trigger indexing (optionally) | |
46 - fuzzy: be fuzzy about date/size | |
12756 | 47 - mailbox list index: |
48 - with in-memory indexes be sure to refresh it more often | |
49 - refreshing could refresh only the parts that are actually requested, | |
50 e.g. % | |
51 - mailbox_get_metadata(guid) could be optimized | |
52 - virtual could use it to avoid keeping all mailboxes open | |
12586
a2780b694b2d
lib-storage: mailbox_alloc() now takes a virtual mailbox name and other related API changes.
Timo Sirainen <tss@iki.fi>
parents:
12579
diff
changeset
|
53 - check: |
a2780b694b2d
lib-storage: mailbox_alloc() now takes a virtual mailbox name and other related API changes.
Timo Sirainen <tss@iki.fi>
parents:
12579
diff
changeset
|
54 - dsyncing between two namespace separators is probably broken.. |
12579 | 55 - remove mail_deliver_session after all, do all the stuff transparently |
56 by hooking into mailbox_copy(). | |
57 - use this hook also to do the mail deduplication: 1) sort all destination | |
58 users, 2) create mail_user only once for each user, 3) remember in | |
59 src_mail the previously copied mail, 4) use that for mailbox_copy()ing | |
60 to following recipients | |
12551 | 61 - notify_sync() could have "what changed" struct with old/new flags |
12546 | 62 - maildir: copy dovecot-shared file from parent mailbox, not root. |
63 - if global ACL path points to a file instead of a directory, read all of | |
64 them from there. support wildcards in names. | |
65 | |
12476 | 66 - master passdb preserves userdb_* extra fields. should it preserve |
67 non-userdb_* extra fields too? | |
12400 | 68 - imap, pop3: if client init fails, wait a second or two before disconnecting |
69 client. | |
70 - doveadm search savedbefore 7d could be optimized in large mailboxes.. | |
12336 | 71 - mdbox: storage rebuilding could log about changes it does |
12400 | 72 - mdbox: broken extrefs header keeps causing index rebuilds |
12336 | 73 - cache: mail_cache_lookup() should be able to return mail_cache_add()ed |
74 fields even before they've been flushed to disk. this is useful when copying | |
75 messages and some plugin (e.g. mail_log) fetches some fields that are | |
76 already added to cache (to avoid opening and parsing the message) | |
12231 | 77 - doveadm -A <<EOF expunge + purge + EOF |
78 - sent, drafts: .Sent/dovecot.index: modseq_hdr.log_offset too large | |
12181 | 79 - mail_max_lock_timeout error could be reported more nicely, also ones coming |
80 from lib-index | |
81 - dsync: if mailbox is renamed due to it being invalid, its subscription | |
82 isn't renamed | |
12095 | 83 - sql pool: if async query is pending and sync query is sent and there |
84 are no more empty connections, it should flush the async query first | |
11683 | 85 - NTLMv1 and LM should be disabled if disable_plaintext_auth=yes |
11387 | 86 - SEARCH SENT*/HEADER/etc. doesn't seem optimized when using with TEXT/BODY |
12476 | 87 - dict sql: support ignoring some search key hierarchies (e.g. acl "anyone") |
11273 | 88 |
10479 | 89 - mdbox |
11485 | 90 - dotlocking: cleanup should delete stale *.lock files |
10968 | 91 - purging seems to be inefficient. run imaptest for a while, get >500 |
92 files, start purging, it's slow until there are about 100 files left, | |
93 then the rest is suddenly fast. | |
94 - make sure that when reading mdbox mails sequentially the data is being | |
95 read from disk in n kB blocks and reads cross mail boundaries and when | |
96 reading the next mail it uses the previously read data in buffer | |
10479 | 97 - Add some kind of checksum about data+metadata and use it when checking |
98 consistency | |
10798 | 99 - figure out a way to efficiently trigger purging when user has too much |
100 mail expunged (e.g. keep track of total storage size, trigger purging | |
101 when it's 2*quota limit) | |
102 - keep track of total bytes in dbox storage in map header. also if | |
103 possible keep track of refcount=0 bytes. use these to optimize checks. | |
104 - save some stuff to map index header so we don't need to keep retrying | |
105 it. like when saving the lowest file_id which to bother checking. | |
106 - test crash-fixing | |
107 - mail_index_fsck() should perhaps cause dbox to be resynced? | |
10968 | 108 - optimize away reading file header? |
10479 | 109 - maildir: out-of-disk-space failures apparently cause all kinds of |
110 problems, e.g. "Expunged message reappeared", "Duplicate file entry"? | |
10163 | 111 - deliver -r <address> used as autoreplies' From-address? |
112 - add fd limit checks/warnings | |
10546 | 113 - istream-seekable is inefficient. it shouldn't be reading the temp file |
114 immediately after writing to it | |
10968 | 115 - config process is handling requests too slowly. maybe add some caching. |
116 - maybe config should return all of the protocol/local/remote overrides | |
117 when requested? then the caller could do a single lookup at start and | |
118 merge them later internally. this would really help login processes. | |
119 - ipv6: auth penalty should begin from /64 and gradually grow to /48 if | |
120 necessary. and the same could be done for ipv4 as well.. | |
10052 | 121 |
9559 | 122 - dsync: |
11683 | 123 - check for uid conflicts in the middle of mailbox based on next existing |
124 message, not previous | |
10479 | 125 - subscriptions syncing doesn't handle mixed hierarchy separators |
10798 | 126 - Can't rename mailbox INBOX_019acf2169c5784b307f000074ccac23 to INBOX: Target mailbox already exists |
11683 | 127 - copying can't work in non-full mode unless source mailbox is modified |
128 in some way. possibly add some COPY records to transaction log in future? | |
129 - superfast mode: when syncing changes within a mailbox, use modseqs to | |
130 figure out what has changed similar to QRESYNC. | |
10052 | 131 |
10479 | 132 - lda: add some -h 'Header: value' parameter that adds/replaces header |
10163 | 133 - ldap: fix multiple-gid support somehow |
9459 | 134 - search: use mail_get_parts() only when it's already cached. if it's not, |
135 add it to cache afterwards. | |
9004
a5555606846b
Fixed plugins to work with config rewrite.
Timo Sirainen <tss@iki.fi>
parents:
9002
diff
changeset
|
136 - dict pooling |
9015 | 137 |
9000 | 138 /* currently non-external transactions can be applied multiple times, |
139 causing multiple increments. */ | |
140 //FIXME:i_assert((t->flags & MAIL_INDEX_TRANSACTION_FLAG_EXTERNAL) != 0); | |
141 ^ appears to work now though, probably because of the added syncing stuff.. | |
142 | |
143 - transaction log corruption should make sure dovecot.index is rewritten | |
144 and perhaps not delete the file. | |
145 - use backup index in mail_index_fsck() | |
146 | |
8564
3c4934783aff
Mention SSL/TLS in "plaintext auth disallowed" error.
Timo Sirainen <tss@iki.fi>
parents:
8555
diff
changeset
|
147 - proxying: support fallbacking to local (or other?) server if the first |
3c4934783aff
Mention SSL/TLS in "plaintext auth disallowed" error.
Timo Sirainen <tss@iki.fi>
parents:
8555
diff
changeset
|
148 one is down |
8555 | 149 - i_panic("Message count decreased") happens - why? |
8714
bbdbab5354d6
Implemented support for ESORT capability.
Timo Sirainen <tss@iki.fi>
parents:
8564
diff
changeset
|
150 - at least one backtrace shows client_destroy -> client_command_cancel -> |
bbdbab5354d6
Implemented support for ESORT capability.
Timo Sirainen <tss@iki.fi>
parents:
8564
diff
changeset
|
151 imap_sync_deinit |
8555 | 152 - fsck -> log_file_tail_offset 2273345664 -> 996 -> |
153 mail-transaction-log.c: line 341 (mail_transaction_log_set_mailbox_sync_pos): | |
154 assertion failed: (file_offset >= log->head->saved_tail_offset) | |
11765 | 155 - virtual: If last message matching INTHREAD rule gets expunged, the rest of |
156 the thread doesn't go away | |
8488 | 157 - how do shared mailboxes work with plugins? |
158 - lazy-expunge, fts, etc.? | |
11974 | 159 - listescape+acl can't handle shared mailboxes with escape chars |
8488 | 160 - dovecot-acl-list: |
161 - how does it work with global acls? | |
162 - update immediately after SETACL: add/remove entries, update timestamps | |
163 - read the entire file to memory only once and keep it there, stat() later | |
164 to see if it has changed. if not, perhaps don't even bother stat()ing | |
165 dovecot-acl files? at least not that often.. | |
166 - fs quota: getquotaroot inbox vs. other-box should return different quotas | |
167 if two quotas are defined | |
8158 | 168 - new primes code: are hash tables now being resized too often? |
169 - auth_log_prefix setting similar to mail_log_prefix | |
170 | |
171 - thread indexes: if we expunge a duplicate message-id: and we have a sibling | |
172 with identical message-id:, we can probably just move the children? | |
173 (unless there are non-sibling duplicates) | |
174 - SEARCH INTHREAD requires no thread sorting by date - don't do it | |
175 - CONDSTORE: use per-flag/per-keyword conflict checking | |
176 - QRESYNC: Drop expunges from the middle of given seq sets if possible | |
177 - use universal hash functions? | |
178 | |
179 - UIDVALIDITY changed while saving -> sync errors | |
180 - mbox: copy to Trash, manually delete copied msg, change uidvalidity, | |
181 set nextuid=1, copy again -> error | |
182 - recent_uids assert at least with mbox | |
183 - quota fs: Should values returned by quota be divided by the actual | |
184 filesystem block size instead of hardcoded DEV_BSIZE? not with AIX.. | |
7259 | 185 - squat: |
7380 | 186 - wrong indexid |
187 - fts_build_init() assertion failed: (last_uid < last_uid_locked) | |
7259 | 188 - is locking done right? it reads header without file being locked? |
189 - split after ~8 bytes? | |
7391 | 190 - expunges are delayed until more mails are added |
7259 | 191 - test replacement chars (SEARCH / SORT / Squat) |
6987 | 192 |
7449 | 193 - DEBUG: buffer overflow checking code probably doesn't handle a successful |
194 t_try_realloc() or pool_alloconly_realloc() properly | |
8738 | 195 - ldap: |
13324 | 196 - sasl bind + auth_bind=yes should probably be doing only sasl binds.. |
12400 | 197 - support multiple connections for doing auth binds |
8738 | 198 - domain lookups which set the base for user lookup |
14140 | 199 - multiple ldap values could be joined into one field with specified |
200 separator (e.g. mail_access_groups=%{ldap:gidNumber:,}) | |
8738 | 201 - implement something like: |
202 user_attrs { | |
203 uid = %{ldap:uidNumber} | |
204 home = %{ldap:homeDirectory} | |
205 quota_bytes = *:bytes=%{ldap:quota} | |
206 } | |
5621 | 207 |
9159
6324a79d3ee1
Initial commit for v2.0 master rewrite. Several features are still missing.
Timo Sirainen <tss@iki.fi>
parents:
9015
diff
changeset
|
208 - maildir+pop3 fast updates: |
6105 | 209 - with locking enabled, pop3 could just keep the one and same sync lock and |
210 do the whole thing using sync transaction | |
211 - don't update dovecot-uidlist if dovecot.index.cache doesn't exist / | |
212 there's nothing to cache | |
213 - if all messages are expunged and there are no unknown extensions in index, | |
214 unlink dovecot.index and rotate log and add some initial useful info to | |
215 the log (uidvalidity, nextuid) | |
5621 | 216 |
6105 | 217 - maildir |
6987 | 218 - don't allow more than 26 keywords |
5621 | 219 |
5557 | 220 - file_cache: we're growing the mmap in page size blocks, which is horribly |
221 slow if mremap() doesn't exist. | |
222 | |
3087 | 223 - keywords: |
224 - add some limits to how many there can be | |
225 - don't return \* in PERMANENTFLAGS when we're full | |
226 - remove unused keywords? | |
2774 | 227 |
11273 | 228 - mail caching |
3904 | 229 - force bits should be used only for nonregistered fields |
230 - change envelope parsing not to use get_headers() so imap.envelope can | |
231 actually be cached without all the headers.. | |
6105 | 232 - if there's no other pressure for compression, we should do it when |
233 enough temp fields are ready to be dropped | |
3904 | 234 - we could try compressing same field values into a single |
235 location in cache file. | |
7259 | 236 - place some maximum limit of fields to cache file? maybe some soft and |
237 hard limits, so when soft limit is reached drop fields that have | |
238 been used only once. when hard limit is reached drop any fields to get | |
239 more space. all this to avoid cache file growing infinitely. | |
2774 | 240 |
3087 | 241 - mbox |
11273 | 242 - UID renumbering doesn't really work after all? |
12476 | 243 - still problems with CRLF mboxes.. especially with broken Content-Length |
244 headers (pointing between CR-LF?) | |
3904 | 245 - syncing existing indexes takes 4x longer than creating new one, why? |
246 - how well does dirty sync + status work? it reads the last mail every | |
247 time? not very good.. | |
248 - always add empty line. make the parser require it too? syncing should | |
249 make sure there always exists two LFs at end of file. raw-mbox-stream | |
250 should make sure the last message ends with LF even if it doesn't exist | |
251 in the file | |
252 - Quote "From ", unquote ">From " | |
4449 | 253 - COPY doesn't work to itself (lock assert crash, for now just disallowed) |
2143 | 254 |
255 - index | |
3087 | 256 - read-only support for mailboxes where we don't have write-access |
6105 | 257 - index file format changes: |
10968 | 258 - split to "old" and "new" indexes and try to avoid loading "old" into |
259 memory until needed | |
6105 | 260 - pack UIDs to beginning of file with UID ranges |
261 - use squat-like compressed uid ranges everywhere | |
6782 | 262 - write first extension intros in dovecot.index.log always with names |
263 - or better yet, drop the intro concept completely as it is now | |
264 - add "transaction boundaries" so we know which records belong to a | |
265 single transaction. | |
266 - only after that we can remove the transaction log offset | |
267 overwriting (otherwise we can get partial transactions in views) | |
2143 | 268 |
3087 | 269 - login |
270 - Digest-MD5: support integrity protection, and maybe crypting. Do it | |
271 through login process like SSL is done? | |
474 | 272 |
3087 | 273 - auth |
4449 | 274 - with blocking passdb we're not caching lookups if the password was wrong |
5557 | 275 - non-plaintext authentication doesn't support all features: |
276 - multiple passdbs don't work, only the first one is used | |
277 - auth cache's last_success password change check doesn't exist | |
9459 | 278 - auth_cache_negative_ttl doesn't check password mismatches |
4449 | 279 - dovecot-auth should limit how fast authentication requests are allowed |
280 from login processes. especially if there's one login/connection the speed | |
3087 | 281 should be something like once/sec. also limit how fast to accept new |
282 connections. | |
283 - support read-only logins. user could with alternative password get only | |
284 read-access to mails so mails could be read relatively safely with | |
285 untrusted computers. Maybe always send [ALERT] about the previous | |
286 read-only login time with IP? | |
287 | |
288 - ssl | |
289 - add setting: ssl_options = bitmask. by default we enable all openssl | |
290 workarounds, this could be used to disable some of them | |
291 - gnutls support isn't working | |
965 | 292 |
3087 | 293 - search |
6232 | 294 - message header search: we should ignore LWSP between two MIME blocks(?) |
295 - message_search_init() could accept multiple search keywords so we | |
1250 | 296 wouldn't need to call it separately for each one (so we wouldn't need |
297 to parse the message multiple times). | |
298 - Create our own extension: When searching with TEXT/BODY, return | |
299 the message text surrounding the keywords just like web search engines | |
300 do. like: SEARCH X-PRINT-MATCHES TEXT "hello" -> * SEARCH 1 "He said: | |
301 Hello world!" 2 "Hello, I'm ...". This would be especially useful with | |
302 the above attachment scanning. | |
0 | 303 |
3087 | 304 - general |
305 - things break if next_uid gets to 2^32 |