Mercurial > dovecot > original-hg > dovecot-1.2
annotate TODO @ 8908:9b0f83479056 HEAD 1.2.rc1
Released v1.2.rc1.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 03 Apr 2009 13:58:12 -0400 |
parents | 6ab55d991765 |
children | 27a49c619a33 |
rev | line source |
---|---|
8831 | 1 - convert plugin: convert_pop3_uidl_format setting? so old %f uidls could be |
2 converted to dbox.. | |
8564
3c4934783aff
Mention SSL/TLS in "plaintext auth disallowed" error.
Timo Sirainen <tss@iki.fi>
parents:
8555
diff
changeset
|
3 - 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
|
4 one is down |
8555 | 5 - i_panic("Message count decreased") happens - why? |
8714
bbdbab5354d6
Implemented support for ESORT capability.
Timo Sirainen <tss@iki.fi>
parents:
8564
diff
changeset
|
6 - 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
|
7 imap_sync_deinit |
8555 | 8 - fts-solr: handle DELETE, RENAME |
9 - fsck -> log_file_tail_offset 2273345664 -> 996 -> | |
10 mail-transaction-log.c: line 341 (mail_transaction_log_set_mailbox_sync_pos): | |
11 assertion failed: (file_offset >= log->head->saved_tail_offset) | |
8488 | 12 - virtual: "Searched n% of the mailbox" gives broken numbers since |
8555 | 13 ctx->seq jumps around. And why is it also returned when fts is enabled |
14 along with "Indexed n% of the mailbox"? | |
8488 | 15 - how do shared mailboxes work with plugins? |
16 - expire: not too well. would require knowing the mapping between shared | |
17 namespace and the original user's namespace to avoid duplication. | |
18 - lazy-expunge, fts, etc.? | |
19 - dovecot-acl-list: | |
20 - how does it work with global acls? | |
21 - update immediately after SETACL: add/remove entries, update timestamps | |
22 - read the entire file to memory only once and keep it there, stat() later | |
23 to see if it has changed. if not, perhaps don't even bother stat()ing | |
24 dovecot-acl files? at least not that often.. | |
25 - add anonymous environment for anon logins | |
26 - fs quota: getquotaroot inbox vs. other-box should return different quotas | |
27 if two quotas are defined | |
28 - deliver: log mailbox name using utf8, not mutf7 | |
8158 | 29 - new primes code: are hash tables now being resized too often? |
30 - auth_log_prefix setting similar to mail_log_prefix | |
31 - LDAP attrs: uid=foo,uid=bar doesn't work | |
32 | |
8488 | 33 - easily limit master users to be able to only log as other users within |
34 their domain | |
8158 | 35 - thread indexes: if we expunge a duplicate message-id: and we have a sibling |
36 with identical message-id:, we can probably just move the children? | |
37 (unless there are non-sibling duplicates) | |
38 - SEARCH INTHREAD requires no thread sorting by date - don't do it | |
39 - CONDSTORE: use per-flag/per-keyword conflict checking | |
40 - QRESYNC: Drop expunges from the middle of given seq sets if possible | |
41 - use universal hash functions? | |
42 | |
8488 | 43 - expire plugin: log more with mail_debug=yes |
44 - expire-tool -v could log UID and expire timestamps and what messages got | |
45 expunged | |
8247 | 46 - dict quota: syncing may cause quota recalculation, which in turn syncs |
47 all mailboxes and then we'll assert-crash to avoid infinite looping | |
48 - fts-squat: support ORs | |
8158 | 49 - UIDVALIDITY changed while saving -> sync errors |
50 - mbox: copy to Trash, manually delete copied msg, change uidvalidity, | |
51 set nextuid=1, copy again -> error | |
52 - recent_uids assert at least with mbox | |
53 - quota fs: Should values returned by quota be divided by the actual | |
54 filesystem block size instead of hardcoded DEV_BSIZE? not with AIX.. | |
55 - mailbox list fs: Listing subscriptions with children return options doesn't | |
56 work unless iter_is_mailbox() returns the children flags | |
7502 | 57 - sieve-cmu.c crash: i_assert(buf->used - 1 == part->body_size.physical_size); |
7449 | 58 - convert plugin: Create a r/w lock for a file. It's read-locked if |
59 conversion isn't wanted and released when process dies. If conversion is | |
60 wanted and write-lock succeeds, conversion is done, if write-lock doesn't | |
61 succeed it fallbacks to using the old storage. When process is exiting it | |
62 again tries to write-lock and do the conversion. Add a parameter that | |
63 specifies if conversion should be done. | |
7259 | 64 - lucene: handle replacement chars? |
65 - squat: | |
7380 | 66 - wrong indexid |
67 - fts_build_init() assertion failed: (last_uid < last_uid_locked) | |
7259 | 68 - is locking done right? it reads header without file being locked? |
69 - split after ~8 bytes? | |
7391 | 70 - expunges are delayed until more mails are added |
7259 | 71 - test replacement chars (SEARCH / SORT / Squat) |
6987 | 72 |
7575 | 73 - dbox: |
74 - "File unexpectedly lost" doesn't get fixed by itself | |
75 - Fix support for multi-message files | |
7603 | 76 - Delete dovecot-keywords and dovecot-uidlist after all maildir files |
77 have been converted to native dbox | |
7449 | 78 - DEBUG: buffer overflow checking code probably doesn't handle a successful |
79 t_try_realloc() or pool_alloconly_realloc() properly | |
6987 | 80 - cache: compress when we can drop temporary fields. |
81 - new %modifier for reverse DNS lookups with a cache | |
82 - auth_gssapi_hostname = %Xl | |
83 - proxying would also want DNS lookups, but not reverse.. | |
8738 | 84 - ldap: |
85 - domain lookups which set the base for user lookup | |
86 - same attribute can't be used for multiple values. | |
87 - multiple attributes can't be merged to a single value. | |
88 - implement something like: | |
89 user_attrs { | |
90 uid = %{ldap:uidNumber} | |
91 home = %{ldap:homeDirectory} | |
92 quota_bytes = *:bytes=%{ldap:quota} | |
93 } | |
5621 | 94 |
7575 | 95 - Per-user options: |
96 - Deny deleting non-empty mailboxes | |
97 - Disable IDLE "still here" notifications | |
98 | |
6105 | 99 - maildir+pop3/deliver fast updates: |
100 - with locking enabled, pop3 could just keep the one and same sync lock and | |
101 do the whole thing using sync transaction | |
102 - don't update dovecot-uidlist if dovecot.index.cache doesn't exist / | |
103 there's nothing to cache | |
104 - if all messages are expunged and there are no unknown extensions in index, | |
105 unlink dovecot.index and rotate log and add some initial useful info to | |
106 the log (uidvalidity, nextuid) | |
5621 | 107 |
6105 | 108 - maildir |
6987 | 109 - don't allow more than 26 keywords |
6105 | 110 - physical separator could be configurable |
111 - deliver+maildir: if new mails are in new/ or cur/ they're not added to | |
112 dovecot-uidlist but newly saved mails are, so UIDs will be in wrong order | |
113 - maildir_copy_with_hardlinks: We're currently first hardlinking to tmp/ and | |
114 then rename()ing. This wouldn't be necessary if uidlist syncing noticed | |
115 that someone else already had added them to uidlist, and the existing UIDs | |
116 could be assigned to them in the index. | |
6754 | 117 - copying should copy already-cached data |
6105 | 118 - maildir_copy_preserve_filename=yes has a race condition causing "Append with |
119 UID n, but next_uid = y" errors when quota plugin is loaded. Practically | |
120 won't happen except in stress testing. | |
5621 | 121 |
6105 | 122 - mbox |
123 - UID renumbering doesn't really work after all? | |
124 - still problems with CRLF mboxes.. | |
125 | |
6987 | 126 - proxy: If remote server disconnects on login: |
127 login: tried to change state 2 -> 2 | |
6105 | 128 - logging consistency: |
129 http://www.dovecot.org/list/dovecot/2007-April/021532.html | |
130 - EXPUNGE command in read-only mailbox should give an error message if | |
131 there are messages marked as \Deleted? | |
132 - dovecot -o setting=something overriding | |
5557 | 133 - file_cache: we're growing the mmap in page size blocks, which is horribly |
134 slow if mremap() doesn't exist. | |
135 - login_max_processes_count shouldn't count proxying processes | |
136 | |
137 - Allow %variables in mail_chroot setting | |
138 - ssl_verify_client_cert isn't working if the SSL cert doesn't have CRL | |
139 | |
3087 | 140 - keywords: |
141 - add some limits to how many there can be | |
142 - don't return \* in PERMANENTFLAGS when we're full | |
143 - remove unused keywords? | |
2774 | 144 |
145 - caching | |
3904 | 146 - force bits should be used only for nonregistered fields |
147 - change envelope parsing not to use get_headers() so imap.envelope can | |
148 actually be cached without all the headers.. | |
6105 | 149 - if there's no other pressure for compression, we should do it when |
150 enough temp fields are ready to be dropped | |
3904 | 151 - we could try compressing same field values into a single |
152 location in cache file. | |
7259 | 153 - place some maximum limit of fields to cache file? maybe some soft and |
154 hard limits, so when soft limit is reached drop fields that have | |
155 been used only once. when hard limit is reached drop any fields to get | |
156 more space. all this to avoid cache file growing infinitely. | |
2774 | 157 |
3087 | 158 - mbox |
3904 | 159 - syncing existing indexes takes 4x longer than creating new one, why? |
160 - how well does dirty sync + status work? it reads the last mail every | |
161 time? not very good.. | |
162 - always add empty line. make the parser require it too? syncing should | |
163 make sure there always exists two LFs at end of file. raw-mbox-stream | |
164 should make sure the last message ends with LF even if it doesn't exist | |
165 in the file | |
166 - Quote "From ", unquote ">From " | |
4449 | 167 - COPY doesn't work to itself (lock assert crash, for now just disallowed) |
2143 | 168 |
169 - index | |
3087 | 170 - read-only support for mailboxes where we don't have write-access |
6105 | 171 - index file format changes: |
172 - pack UIDs to beginning of file with UID ranges | |
173 - use squat-like compressed uid ranges everywhere | |
6782 | 174 - write first extension intros in dovecot.index.log always with names |
175 - or better yet, drop the intro concept completely as it is now | |
176 - add "transaction boundaries" so we know which records belong to a | |
177 single transaction. | |
178 - only after that we can remove the transaction log offset | |
179 overwriting (otherwise we can get partial transactions in views) | |
2143 | 180 |
4449 | 181 - namespaces |
182 - namespaces: add new "auto_disable" flag so if the mailbox can't be opened | |
183 (eg. file doesn't exist), just ignore the problem and disable the | |
184 namespace | |
185 | |
186 - lib-storage | |
5557 | 187 - rename: allow moving between storages, as long as they're of same type |
4449 | 188 - x search charset asdf all -> should fail |
3087 | 189 |
190 - login | |
4449 | 191 - imap-login: Master sent reply with unknown tag 1. client closed |
192 connection at the exact same time master was logging it in? | |
193 see master_request_abort() | |
3087 | 194 - Digest-MD5: support integrity protection, and maybe crypting. Do it |
195 through login process like SSL is done? | |
196 - x login foo bar | |
197 x NO Authentication failed. | |
198 x login cras pass | |
199 * BYE Disconnected for inactivity. | |
200 ^ but it's not disconnecting! (buggy dovecot-auth not replying) | |
3744 | 201 probably because userdb lookup didn't reply, and fd was already sent |
202 for master.. should imap-login be handling it anymore?.. | |
3087 | 203 - imap-login: Authenticate PLAIN failed: Authentication failed: |
204 Authentication server isn't connected, try again later.. [127.0.0.1] | |
205 ^ NO Authentication failed. (should be Temporary login failure!) | |
206 - if auth process dies, login process should retry authentication if | |
207 possible. or if not, disconnect the client so it doesn't think the auth | |
208 failed. | |
474 | 209 |
3087 | 210 - auth |
8247 | 211 - v2.0: add auth_plugins setting, put all plugins into the same dir |
4449 | 212 - with blocking passdb we're not caching lookups if the password was wrong |
5557 | 213 - non-plaintext authentication doesn't support all features: |
214 - multiple passdbs don't work, only the first one is used | |
215 - auth cache's last_success password change check doesn't exist | |
6987 | 216 - allow returning multiple gids |
3087 | 217 - SIGHUP restarts auth processes .. but does it wait until they've finished |
218 with all requests? no. | |
219 - does dovecot-auth really break when it runs out of fds? | |
4449 | 220 - dovecot-auth should limit how fast authentication requests are allowed |
221 from login processes. especially if there's one login/connection the speed | |
3087 | 222 should be something like once/sec. also limit how fast to accept new |
223 connections. | |
224 - support read-only logins. user could with alternative password get only | |
225 read-access to mails so mails could be read relatively safely with | |
226 untrusted computers. Maybe always send [ALERT] about the previous | |
227 read-only login time with IP? | |
4449 | 228 - dovecot-auth workers: create a separate dovecot-pam worker which shares |
229 pretty much all code with dovecot-auth worker but isn't linked against | |
230 any libraries. or..? this might be difficult to do, especially because the | |
231 workers currently can handle any kind of passdb/userb requests. perhaps | |
232 there should be a completely separate simple PAM authenticator binary. | |
526 | 233 |
3087 | 234 - master |
235 - configurable syslog prefix | |
3450 | 236 - if there are duplicate settings, complain about it |
3087 | 237 |
238 - quota | |
239 - if dovecot-uidlist can't be written, assume the new mails have UIDs | |
240 beginning from uidlist.next_uid. Whenever mails are expunged, overwrite | |
241 the next_uid field with the current highest next_uid. Whenever we have | |
242 assumed UIDs and uidlist gets updated, throw the client out with | |
243 "inconsist mailbox". | |
244 | |
245 - ssl | |
246 - add setting: ssl_options = bitmask. by default we enable all openssl | |
247 workarounds, this could be used to disable some of them | |
248 - gnutls support isn't working | |
965 | 249 |
3087 | 250 - search |
6232 | 251 - message header search: we should ignore LWSP between two MIME blocks(?) |
252 - message_search_init() could accept multiple search keywords so we | |
1250 | 253 wouldn't need to call it separately for each one (so we wouldn't need |
254 to parse the message multiple times). | |
255 - could optionally support scanning inside file attachments and use | |
256 plugins to extract text out of them (word, excel, pdf, etc. etc.) | |
257 - Create our own extension: When searching with TEXT/BODY, return | |
258 the message text surrounding the keywords just like web search engines | |
259 do. like: SEARCH X-PRINT-MATCHES TEXT "hello" -> * SEARCH 1 "He said: | |
260 Hello world!" 2 "Hello, I'm ...". This would be especially useful with | |
261 the above attachment scanning. | |
0 | 262 |
3087 | 263 - general |
4449 | 264 - stop using atol(), atoi(), strtoul() etc. in places where we actually |
265 care about what they return, and rather create our own function which | |
266 checks if the input overflows the integer, and if so call i_fatal() | |
267 - LMTP server | |
268 - ability to build plugins statically into the binaries | |
3087 | 269 - ~/.dovecotrc to override system wide settings. namespace settings should |
270 override all the previous namespace settings instead of adding new. | |
271 - things break if next_uid gets to 2^32 | |
376
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
272 |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
273 capabilities: |
3087 | 274 - THREAD=ORDEREDSUBJECT - although pretty useless I'd think. |
376
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
275 - mailbox-referrals (rfc2193) |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
276 - this is useful whenever we would otherwise need to make the |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
277 connection ourself. for example load balancing and shared mailboxes |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
278 requiring another UID to run. |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
279 - this rfc defines no exact way for server to detect if client |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
280 supports referrals or not. I don't think there's much point in |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
281 supporting only referrals, as most clients don't support them. |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
282 Instead we should return referrals when we know that client |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
283 supports them, otherwise do the connecting ourself. If client |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
284 issues RLIST or RLSUB command, it's safe to assume it supports |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
285 referrals. |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
286 - for load balancing this works just fine, but what about shared |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
287 mailboxes which require different UID? If we login with our own |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
288 username, we end up with our own UID instead of what we wanted. |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
289 IMAP URLs don't support separated authorization id which would |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
290 have made this very easy.. We could give the "userid@group" as |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
291 userid, but clients probably treat it as different userid and |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
292 ask the password again. |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
293 - problems, problems, .. maybe not worth the trouble. |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
294 - drafts: |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
295 - http://www.imc.org/ids.html |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
296 - annotate (draft-ietf-imapext-annotate) |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
297 - per-message annotations. this will be major change. especially |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
298 because currently there's no suitable storage for them, and |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
299 they'll probably change all the time.. maybe if we moved into |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
300 berkeley db to store the .data file and these annotations. |
1178 | 301 - this is separate problem from index files. indexes are treated as |
302 temporary files, annotations are permanent data. we'd have to | |
303 support non-db way to do this too, which would probably be just a | |
304 simple (slow) text file. | |
5621 | 305 - use lib-dict probably |
306 - metadata (draft-daboo-imap-annotatemore) | |
376
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
307 - server and per-mailbox annotations. much easier than |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
308 per-message annotations, but they'd be easier to place into |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
309 db as well. |
5621 | 310 - lib-dict, again |
376
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
311 - binary (draft-nerenberg-imap-binary) |