Mercurial > dovecot > core-2.2
annotate TODO @ 11485:e9fed6359699 HEAD
TODO updated.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 04 Jun 2010 21:40:17 +0100 |
parents | 7b8bd33c96f9 |
children | 93c3d6a46446 |
rev | line source |
---|---|
11485 | 1 - maildir: sometimes rm -rf Maildir;imaptest logout=0 gives |
2 Error: Opening INBOX failed: Mailbox doesn't exist: INBOX | |
11387 | 3 - director: |
4 - user list iter should skip expired records | |
5 - sequence stuff is unused.. | |
11485 | 6 - master shouldn't stop it when idling |
11387 | 7 |
8 - SEARCH SENT*/HEADER/etc. doesn't seem optimized when using with TEXT/BODY | |
11273 | 9 |
10 07:00 < Faxe> Info: dovecot: uidnext changed from -> to, has the wrong | |
11 variables assigned: | |
12 07:00 < Faxe> Info: dovecot: uidnext changed 81528 -> 81463 | |
13 07:00 < Faxe> (copy one mail and sync again) | |
14 07:00 < Faxe> Info: dovecot: uidnext changed 81529 -> 81528 | |
15 - same for highestmodseq, ~/m/dsync-v_mirror.txt | |
10968 | 16 |
11273 | 17 - solr: crashes if expunge is done while search is indexing |
18 | |
19 - mdbox: existing INBOX dir in alt_path -> can't create INBOX. | |
20 do storage rebuild instead | |
10968 | 21 - single-dbox: |
22 - we get back to sdbox_sync_file() over and over again when expunging.. | |
23 especially with a broken guid expunge, it doesn't go away. | |
24 - fts-solr: handle DELETE, RENAME. use mailbox GUIDs (optionally) | |
10546 | 25 |
10619 | 26 - virtual: removed messages don't get expunged unless EXPUNGE is issued in |
27 same session. otherwise they get forgotten and never removed. | |
10479 | 28 - mdbox |
11485 | 29 - dotlocking: cleanup should delete stale *.lock files |
10968 | 30 - purging seems to be inefficient. run imaptest for a while, get >500 |
31 files, start purging, it's slow until there are about 100 files left, | |
32 then the rest is suddenly fast. | |
33 - make sure that when reading mdbox mails sequentially the data is being | |
34 read from disk in n kB blocks and reads cross mail boundaries and when | |
35 reading the next mail it uses the previously read data in buffer | |
10479 | 36 - Add some kind of checksum about data+metadata and use it when checking |
37 consistency | |
10798 | 38 - figure out a way to efficiently trigger purging when user has too much |
39 mail expunged (e.g. keep track of total storage size, trigger purging | |
40 when it's 2*quota limit) | |
41 - keep track of total bytes in dbox storage in map header. also if | |
42 possible keep track of refcount=0 bytes. use these to optimize checks. | |
43 - save some stuff to map index header so we don't need to keep retrying | |
44 it. like when saving the lowest file_id which to bother checking. | |
45 - test crash-fixing | |
46 - mail_index_fsck() should perhaps cause dbox to be resynced? | |
10968 | 47 - optimize away reading file header? |
10479 | 48 - maildir: out-of-disk-space failures apparently cause all kinds of |
49 problems, e.g. "Expunged message reappeared", "Duplicate file entry"? | |
50 - quota_warn: add $QUOTA_LIMIT environment or %variable parameter | |
10163 | 51 - deliver -r <address> used as autoreplies' From-address? |
52 - add fd limit checks/warnings | |
10546 | 53 - istream-seekable is inefficient. it shouldn't be reading the temp file |
54 immediately after writing to it | |
10968 | 55 - config process is handling requests too slowly. maybe add some caching. |
56 - maybe config should return all of the protocol/local/remote overrides | |
57 when requested? then the caller could do a single lookup at start and | |
58 merge them later internally. this would really help login processes. | |
59 - ipv6: auth penalty should begin from /64 and gradually grow to /48 if | |
60 necessary. and the same could be done for ipv4 as well.. | |
10052 | 61 |
9559 | 62 - dsync: |
10968 | 63 - DSYNC_MAILBOX_FLAG_DELETED_DIR isn't handled at all |
10479 | 64 - subscriptions syncing doesn't handle mixed hierarchy separators |
10798 | 65 - are \noselect mailboxes replicated correctly? |
66 - Can't rename mailbox INBOX_019acf2169c5784b307f000074ccac23 to INBOX: Target mailbox already exists | |
10479 | 67 - copying: does it work correctly with non-full syncs? |
10798 | 68 - "backup mode" where one side is read-only and other side gets forced |
69 everything exactly as they're in read-only side, even if backup side had | |
70 done some changes of its own | |
10546 | 71 - superfast mode |
10052 | 72 |
10479 | 73 - lda: add some -h 'Header: value' parameter that adds/replaces header |
10163 | 74 - ldap: fix multiple-gid support somehow |
10052 | 75 - PERMANENTFLAGS returns () with readonly mailboxes, even when private flag |
76 changes are allowed (because index is stored elsewhere) | |
9459 | 77 - search: use mail_get_parts() only when it's already cached. if it's not, |
78 add it to cache afterwards. | |
9235
2e2b957f1cca
Implemented anvil service, which is used to implement mail_max_userip_connections.
Timo Sirainen <tss@iki.fi>
parents:
9159
diff
changeset
|
79 - move ssl proxying code to lib-master |
10798 | 80 - proxy: verify ssl cert's cname |
9004
a5555606846b
Fixed plugins to work with config rewrite.
Timo Sirainen <tss@iki.fi>
parents:
9002
diff
changeset
|
81 - dict pooling |
9015 | 82 |
9000 | 83 /* currently non-external transactions can be applied multiple times, |
84 causing multiple increments. */ | |
85 //FIXME:i_assert((t->flags & MAIL_INDEX_TRANSACTION_FLAG_EXTERNAL) != 0); | |
86 ^ appears to work now though, probably because of the added syncing stuff.. | |
87 | |
88 - transaction log corruption should make sure dovecot.index is rewritten | |
89 and perhaps not delete the file. | |
90 - use backup index in mail_index_fsck() | |
91 | |
8564
3c4934783aff
Mention SSL/TLS in "plaintext auth disallowed" error.
Timo Sirainen <tss@iki.fi>
parents:
8555
diff
changeset
|
92 - 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
|
93 one is down |
8555 | 94 - i_panic("Message count decreased") happens - why? |
8714
bbdbab5354d6
Implemented support for ESORT capability.
Timo Sirainen <tss@iki.fi>
parents:
8564
diff
changeset
|
95 - 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
|
96 imap_sync_deinit |
8555 | 97 - fsck -> log_file_tail_offset 2273345664 -> 996 -> |
98 mail-transaction-log.c: line 341 (mail_transaction_log_set_mailbox_sync_pos): | |
99 assertion failed: (file_offset >= log->head->saved_tail_offset) | |
8488 | 100 - virtual: "Searched n% of the mailbox" gives broken numbers since |
8555 | 101 ctx->seq jumps around. And why is it also returned when fts is enabled |
102 along with "Indexed n% of the mailbox"? | |
8488 | 103 - how do shared mailboxes work with plugins? |
104 - lazy-expunge, fts, etc.? | |
105 - dovecot-acl-list: | |
106 - how does it work with global acls? | |
107 - update immediately after SETACL: add/remove entries, update timestamps | |
108 - read the entire file to memory only once and keep it there, stat() later | |
109 to see if it has changed. if not, perhaps don't even bother stat()ing | |
110 dovecot-acl files? at least not that often.. | |
10798 | 111 - add anonymous environment for anon logins (for managesieve mainly) |
8488 | 112 - fs quota: getquotaroot inbox vs. other-box should return different quotas |
113 if two quotas are defined | |
9159
6324a79d3ee1
Initial commit for v2.0 master rewrite. Several features are still missing.
Timo Sirainen <tss@iki.fi>
parents:
9015
diff
changeset
|
114 - lda: log mailbox name using utf8, not mutf7 |
8158 | 115 - new primes code: are hash tables now being resized too often? |
116 - auth_log_prefix setting similar to mail_log_prefix | |
117 - LDAP attrs: uid=foo,uid=bar doesn't work | |
118 | |
8488 | 119 - easily limit master users to be able to only log as other users within |
120 their domain | |
8158 | 121 - thread indexes: if we expunge a duplicate message-id: and we have a sibling |
122 with identical message-id:, we can probably just move the children? | |
123 (unless there are non-sibling duplicates) | |
124 - SEARCH INTHREAD requires no thread sorting by date - don't do it | |
125 - CONDSTORE: use per-flag/per-keyword conflict checking | |
126 - QRESYNC: Drop expunges from the middle of given seq sets if possible | |
127 - use universal hash functions? | |
128 | |
129 - UIDVALIDITY changed while saving -> sync errors | |
130 - mbox: copy to Trash, manually delete copied msg, change uidvalidity, | |
131 set nextuid=1, copy again -> error | |
132 - recent_uids assert at least with mbox | |
133 - quota fs: Should values returned by quota be divided by the actual | |
134 filesystem block size instead of hardcoded DEV_BSIZE? not with AIX.. | |
135 - mailbox list fs: Listing subscriptions with children return options doesn't | |
136 work unless iter_is_mailbox() returns the children flags | |
7259 | 137 - lucene: handle replacement chars? |
138 - squat: | |
11273 | 139 - support ORs |
7380 | 140 - wrong indexid |
141 - fts_build_init() assertion failed: (last_uid < last_uid_locked) | |
7259 | 142 - is locking done right? it reads header without file being locked? |
143 - split after ~8 bytes? | |
7391 | 144 - expunges are delayed until more mails are added |
7259 | 145 - test replacement chars (SEARCH / SORT / Squat) |
6987 | 146 |
7449 | 147 - DEBUG: buffer overflow checking code probably doesn't handle a successful |
148 t_try_realloc() or pool_alloconly_realloc() properly | |
6987 | 149 - new %modifier for reverse DNS lookups with a cache |
150 - auth_gssapi_hostname = %Xl | |
151 - proxying would also want DNS lookups, but not reverse.. | |
8738 | 152 - ldap: |
153 - domain lookups which set the base for user lookup | |
154 - same attribute can't be used for multiple values. | |
155 - multiple attributes can't be merged to a single value. | |
156 - implement something like: | |
157 user_attrs { | |
158 uid = %{ldap:uidNumber} | |
159 home = %{ldap:homeDirectory} | |
160 quota_bytes = *:bytes=%{ldap:quota} | |
161 } | |
5621 | 162 |
9159
6324a79d3ee1
Initial commit for v2.0 master rewrite. Several features are still missing.
Timo Sirainen <tss@iki.fi>
parents:
9015
diff
changeset
|
163 - maildir+pop3 fast updates: |
6105 | 164 - with locking enabled, pop3 could just keep the one and same sync lock and |
165 do the whole thing using sync transaction | |
166 - don't update dovecot-uidlist if dovecot.index.cache doesn't exist / | |
167 there's nothing to cache | |
168 - if all messages are expunged and there are no unknown extensions in index, | |
169 unlink dovecot.index and rotate log and add some initial useful info to | |
170 the log (uidvalidity, nextuid) | |
5621 | 171 |
6105 | 172 - maildir |
6987 | 173 - don't allow more than 26 keywords |
6105 | 174 - physical separator could be configurable |
9159
6324a79d3ee1
Initial commit for v2.0 master rewrite. Several features are still missing.
Timo Sirainen <tss@iki.fi>
parents:
9015
diff
changeset
|
175 - lda+maildir: if new mails are in new/ or cur/ they're not added to |
6105 | 176 dovecot-uidlist but newly saved mails are, so UIDs will be in wrong order |
10798 | 177 - maildir_copy_with_hardlinks: copy already-cached data |
5621 | 178 |
5557 | 179 - file_cache: we're growing the mmap in page size blocks, which is horribly |
180 slow if mremap() doesn't exist. | |
181 | |
182 - ssl_verify_client_cert isn't working if the SSL cert doesn't have CRL | |
11273 | 183 - configurable syslog prefix |
5557 | 184 |
3087 | 185 - keywords: |
186 - add some limits to how many there can be | |
187 - don't return \* in PERMANENTFLAGS when we're full | |
188 - remove unused keywords? | |
2774 | 189 |
11273 | 190 - mail caching |
191 - compress when we can drop temporary fields. | |
3904 | 192 - force bits should be used only for nonregistered fields |
193 - change envelope parsing not to use get_headers() so imap.envelope can | |
194 actually be cached without all the headers.. | |
6105 | 195 - if there's no other pressure for compression, we should do it when |
196 enough temp fields are ready to be dropped | |
3904 | 197 - we could try compressing same field values into a single |
198 location in cache file. | |
7259 | 199 - place some maximum limit of fields to cache file? maybe some soft and |
200 hard limits, so when soft limit is reached drop fields that have | |
201 been used only once. when hard limit is reached drop any fields to get | |
202 more space. all this to avoid cache file growing infinitely. | |
2774 | 203 |
3087 | 204 - mbox |
11273 | 205 - UID renumbering doesn't really work after all? |
206 - still problems with CRLF mboxes.. | |
3904 | 207 - syncing existing indexes takes 4x longer than creating new one, why? |
208 - how well does dirty sync + status work? it reads the last mail every | |
209 time? not very good.. | |
210 - always add empty line. make the parser require it too? syncing should | |
211 make sure there always exists two LFs at end of file. raw-mbox-stream | |
212 should make sure the last message ends with LF even if it doesn't exist | |
213 in the file | |
214 - Quote "From ", unquote ">From " | |
4449 | 215 - COPY doesn't work to itself (lock assert crash, for now just disallowed) |
2143 | 216 |
217 - index | |
3087 | 218 - read-only support for mailboxes where we don't have write-access |
6105 | 219 - index file format changes: |
10968 | 220 - split to "old" and "new" indexes and try to avoid loading "old" into |
221 memory until needed | |
6105 | 222 - pack UIDs to beginning of file with UID ranges |
223 - use squat-like compressed uid ranges everywhere | |
6782 | 224 - write first extension intros in dovecot.index.log always with names |
225 - or better yet, drop the intro concept completely as it is now | |
226 - add "transaction boundaries" so we know which records belong to a | |
227 single transaction. | |
228 - only after that we can remove the transaction log offset | |
229 overwriting (otherwise we can get partial transactions in views) | |
2143 | 230 |
4449 | 231 - namespaces |
232 - namespaces: add new "auto_disable" flag so if the mailbox can't be opened | |
233 (eg. file doesn't exist), just ignore the problem and disable the | |
234 namespace | |
235 | |
236 - lib-storage | |
237 - x search charset asdf all -> should fail | |
3087 | 238 |
239 - login | |
240 - Digest-MD5: support integrity protection, and maybe crypting. Do it | |
241 through login process like SSL is done? | |
242 - if auth process dies, login process should retry authentication if | |
243 possible. or if not, disconnect the client so it doesn't think the auth | |
244 failed. | |
474 | 245 |
3087 | 246 - auth |
4449 | 247 - with blocking passdb we're not caching lookups if the password was wrong |
5557 | 248 - non-plaintext authentication doesn't support all features: |
249 - multiple passdbs don't work, only the first one is used | |
250 - auth cache's last_success password change check doesn't exist | |
9459 | 251 - auth_cache_negative_ttl doesn't check password mismatches |
3087 | 252 - SIGHUP restarts auth processes .. but does it wait until they've finished |
253 with all requests? no. | |
4449 | 254 - dovecot-auth should limit how fast authentication requests are allowed |
255 from login processes. especially if there's one login/connection the speed | |
3087 | 256 should be something like once/sec. also limit how fast to accept new |
257 connections. | |
258 - support read-only logins. user could with alternative password get only | |
259 read-access to mails so mails could be read relatively safely with | |
260 untrusted computers. Maybe always send [ALERT] about the previous | |
261 read-only login time with IP? | |
262 | |
263 - quota | |
264 - if dovecot-uidlist can't be written, assume the new mails have UIDs | |
265 beginning from uidlist.next_uid. Whenever mails are expunged, overwrite | |
266 the next_uid field with the current highest next_uid. Whenever we have | |
267 assumed UIDs and uidlist gets updated, throw the client out with | |
268 "inconsist mailbox". | |
269 | |
270 - ssl | |
271 - add setting: ssl_options = bitmask. by default we enable all openssl | |
272 workarounds, this could be used to disable some of them | |
273 - gnutls support isn't working | |
965 | 274 |
3087 | 275 - search |
6232 | 276 - message header search: we should ignore LWSP between two MIME blocks(?) |
277 - message_search_init() could accept multiple search keywords so we | |
1250 | 278 wouldn't need to call it separately for each one (so we wouldn't need |
279 to parse the message multiple times). | |
280 - could optionally support scanning inside file attachments and use | |
281 plugins to extract text out of them (word, excel, pdf, etc. etc.) | |
282 - Create our own extension: When searching with TEXT/BODY, return | |
283 the message text surrounding the keywords just like web search engines | |
284 do. like: SEARCH X-PRINT-MATCHES TEXT "hello" -> * SEARCH 1 "He said: | |
285 Hello world!" 2 "Hello, I'm ...". This would be especially useful with | |
286 the above attachment scanning. | |
0 | 287 |
3087 | 288 - general |
289 - things break if next_uid gets to 2^32 |