Mercurial > dovecot > original-hg > dovecot-1.2
annotate TODO @ 7239:0e8339ad1932 HEAD
convert-tool returned inverted exit status.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 13 Feb 2008 20:23:11 +0200 |
parents | 1869c4827e86 |
children | 2aa39f1e3993 f01d8d387447 |
rev | line source |
---|---|
7180 | 1 - quota causing dovecot.index.cache files to be created with pop3 |
2 - save cancelled -> cache still tried to be updated | |
3 - configure --docdir doesn't work now | |
7072 | 4 - pipelining: commands that require output should do a delayed sync until |
5 there are no transactions, instead of just immediately returning OK | |
6 - SORT/SEARCH: Replace invalid input with #fffd. Make sure squat doesn't | |
7 index it. | |
6987 | 8 - stat() failed with index cache file /home/tss/dbox/INBOX/dbox-Mails/dovecot.index.cache: No such file or directory |
7072 | 9 - squat: handle expunges, nfs support |
6987 | 10 - fts lucene broken |
11 | |
12 - fix listescape plugin | |
13 - cache: compress when we can drop temporary fields. | |
14 - POP3 UIDL caching | |
15 - ACL: "foo/bar" in public namespace -> LIST "" % doesn't show "foo" | |
16 - new %modifier for reverse DNS lookups with a cache | |
17 - auth_gssapi_hostname = %Xl | |
18 - proxying would also want DNS lookups, but not reverse.. | |
7072 | 19 - ldap domain lookups which set the base for user lookup |
5621 | 20 |
6105 | 21 - maildir+pop3/deliver fast updates: |
22 - with locking enabled, pop3 could just keep the one and same sync lock and | |
23 do the whole thing using sync transaction | |
24 - don't update dovecot-uidlist if dovecot.index.cache doesn't exist / | |
25 there's nothing to cache | |
26 - if all messages are expunged and there are no unknown extensions in index, | |
27 unlink dovecot.index and rotate log and add some initial useful info to | |
28 the log (uidvalidity, nextuid) | |
5621 | 29 |
6105 | 30 - maildir |
6987 | 31 - don't allow more than 26 keywords |
6105 | 32 - physical separator could be configurable |
33 - setting flags to same as they already are causes unnecessary | |
34 rename()s with identical parameters | |
35 - deliver+maildir: if new mails are in new/ or cur/ they're not added to | |
36 dovecot-uidlist but newly saved mails are, so UIDs will be in wrong order | |
37 - maildir_copy_with_hardlinks: We're currently first hardlinking to tmp/ and | |
38 then rename()ing. This wouldn't be necessary if uidlist syncing noticed | |
39 that someone else already had added them to uidlist, and the existing UIDs | |
40 could be assigned to them in the index. | |
6754 | 41 - copying should copy already-cached data |
6105 | 42 - maildir_copy_preserve_filename=yes has a race condition causing "Append with |
43 UID n, but next_uid = y" errors when quota plugin is loaded. Practically | |
44 won't happen except in stress testing. | |
5621 | 45 |
6105 | 46 - mbox |
47 - UID renumbering doesn't really work after all? | |
48 - still problems with CRLF mboxes.. | |
49 | |
50 - Mailbox list indexes | |
51 - Should probably check dovecot.index.log stamp/size too so that non-zero | |
52 recent counters get reset | |
53 - Why are updates so slow? | |
54 - Support for FS layout | |
55 | |
5557 | 56 - threading: (all done?) |
57 - duplicate: mark original as rebuild | |
58 - re-parent (also reparenting to root): mark as rebuild | |
59 - unref: if refcount drops to zero, set children's parent=0 (can happen | |
60 if there are only grandchildren and dummy children) | |
61 - mail-hash: stat() and reopen if needed | |
62 - subjects: group roots togethere already while gathering subjects. then | |
63 go through them and sort them to get their sent date. then start writing | |
64 the nodes out. sorting needs to these cases: | |
65 1) root is dummy -> just sort their children. if there are dummies | |
66 they're skipped and their children ascend | |
67 2) root is non-dummy -> there are no dummies at all in the thread. | |
68 the root has the oldest date in the thread. after the root if there | |
69 are re: or fwd: messages they're children to the root. if there are | |
70 more messages after that, a new dummy parent needs to be created, | |
71 and the rest of the messages need to be sorted before sending | |
72 | |
6987 | 73 - mail_log: log appends. support from and subject fields |
74 - proxy: If remote server disconnects on login: | |
75 login: tried to change state 2 -> 2 | |
6105 | 76 - logging consistency: |
77 http://www.dovecot.org/list/dovecot/2007-April/021532.html | |
78 - EXPUNGE command in read-only mailbox should give an error message if | |
79 there are messages marked as \Deleted? | |
80 - dovecot -o setting=something overriding | |
5557 | 81 - file_cache: we're growing the mmap in page size blocks, which is horribly |
82 slow if mremap() doesn't exist. | |
83 - login_max_processes_count shouldn't count proxying processes | |
84 | |
85 - Allow %variables in mail_chroot setting | |
86 - something should be done to umask setting. we should be creating files with | |
87 0666 or 0777 and rely on umask, but we shouldn't do that unless we're sure | |
88 that the umask is the wanted one (ie. imap/pop3 process wasn't started | |
89 directly) | |
90 - ssl_verify_client_cert isn't working if the SSL cert doesn't have CRL | |
91 | |
3087 | 92 - keywords: |
93 - add some limits to how many there can be | |
94 - don't return \* in PERMANENTFLAGS when we're full | |
95 - remove unused keywords? | |
2774 | 96 |
97 - caching | |
3904 | 98 - force bits should be used only for nonregistered fields |
99 - change envelope parsing not to use get_headers() so imap.envelope can | |
100 actually be cached without all the headers.. | |
6105 | 101 - if there's no other pressure for compression, we should do it when |
102 enough temp fields are ready to be dropped | |
3904 | 103 - we could try compressing same field values into a single |
104 location in cache file. | |
2774 | 105 |
3087 | 106 - mbox |
4449 | 107 - dirty state should be stored to index (with mbox_very_dirty_syncs) |
108 - after some locking timeouts: mbox-lock.c: line 518 (mbox_lock): | |
109 assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type != F_RDLCK) | |
110 - controldir for mboxes too and place subscriptions file there? | |
3904 | 111 - syncing existing indexes takes 4x longer than creating new one, why? |
112 - how well does dirty sync + status work? it reads the last mail every | |
113 time? not very good.. | |
114 - always add empty line. make the parser require it too? syncing should | |
115 make sure there always exists two LFs at end of file. raw-mbox-stream | |
116 should make sure the last message ends with LF even if it doesn't exist | |
117 in the file | |
118 - Quote "From ", unquote ">From " | |
4449 | 119 - COPY doesn't work to itself (lock assert crash, for now just disallowed) |
2143 | 120 - if we can't create dotlock file for mbox, make sure it still can be |
121 selected in read-only state | |
122 | |
123 - index | |
124 - if log file is lost, generate it from old and new index | |
3087 | 125 - read-only support for mailboxes where we don't have write-access |
6105 | 126 - index file format changes: |
127 - pack UIDs to beginning of file with UID ranges | |
128 - use squat-like compressed uid ranges everywhere | |
6782 | 129 - write first extension intros in dovecot.index.log always with names |
130 - or better yet, drop the intro concept completely as it is now | |
131 - add "transaction boundaries" so we know which records belong to a | |
132 single transaction. | |
133 - only after that we can remove the transaction log offset | |
134 overwriting (otherwise we can get partial transactions in views) | |
2143 | 135 |
4449 | 136 - namespaces |
137 - namespaces: add new "auto_disable" flag so if the mailbox can't be opened | |
138 (eg. file doesn't exist), just ignore the problem and disable the | |
139 namespace | |
140 | |
141 - lib-storage | |
5557 | 142 - rename: allow moving between storages, as long as they're of same type |
4449 | 143 - x search charset asdf all -> should fail |
3087 | 144 - should we allow following symlinks in mbox/maildirs? they are now. |
145 - if we implement shared mailboxes with shared indexes, never do that or | |
146 others could symlink your personal mailboxes and see the indexes | |
147 created for it which may contain envelope etc. data | |
148 - this allows circular mailbox hierarchies which should be prevented by | |
149 eg. allowing max. 20 hierarchies. | |
150 | |
151 - login | |
4449 | 152 - when pipelining login command + post-login commands, login process should |
153 pass the command to imap/pop3 process (at least one pop3 client does this) | |
154 - imap-login: Master sent reply with unknown tag 1. client closed | |
155 connection at the exact same time master was logging it in? | |
156 see master_request_abort() | |
3087 | 157 - Digest-MD5: support integrity protection, and maybe crypting. Do it |
158 through login process like SSL is done? | |
159 - x login foo bar | |
160 x NO Authentication failed. | |
161 x login cras pass | |
162 * BYE Disconnected for inactivity. | |
163 ^ but it's not disconnecting! (buggy dovecot-auth not replying) | |
3744 | 164 probably because userdb lookup didn't reply, and fd was already sent |
165 for master.. should imap-login be handling it anymore?.. | |
3087 | 166 - imap-login: Authenticate PLAIN failed: Authentication failed: |
167 Authentication server isn't connected, try again later.. [127.0.0.1] | |
168 ^ NO Authentication failed. (should be Temporary login failure!) | |
169 - if auth process dies, login process should retry authentication if | |
170 possible. or if not, disconnect the client so it doesn't think the auth | |
171 failed. | |
172 - send client IP immediately after accept() to master process. make sure | |
173 master shows the IP if login dies unexpectedly. master should probably | |
174 also kill the login process if it doesn't kill itself soon enough.. or | |
175 maybe just log the IP immediately. | |
474 | 176 |
3087 | 177 - auth |
4449 | 178 - with blocking passdb we're not caching lookups if the password was wrong |
5557 | 179 - non-plaintext authentication doesn't support all features: |
180 - multiple passdbs don't work, only the first one is used | |
181 - auth cache's last_success password change check doesn't exist | |
6987 | 182 - allow returning multiple gids |
3087 | 183 - SIGHUP restarts auth processes .. but does it wait until they've finished |
184 with all requests? no. | |
185 - does dovecot-auth really break when it runs out of fds? | |
4449 | 186 - dovecot-auth should limit how fast authentication requests are allowed |
187 from login processes. especially if there's one login/connection the speed | |
3087 | 188 should be something like once/sec. also limit how fast to accept new |
189 connections. | |
190 - support read-only logins. user could with alternative password get only | |
191 read-access to mails so mails could be read relatively safely with | |
192 untrusted computers. Maybe always send [ALERT] about the previous | |
193 read-only login time with IP? | |
4449 | 194 - dovecot-auth workers: create a separate dovecot-pam worker which shares |
195 pretty much all code with dovecot-auth worker but isn't linked against | |
196 any libraries. or..? this might be difficult to do, especially because the | |
197 workers currently can handle any kind of passdb/userb requests. perhaps | |
198 there should be a completely separate simple PAM authenticator binary. | |
526 | 199 |
3087 | 200 - master |
201 - configurable syslog prefix | |
3450 | 202 - if there are duplicate settings, complain about it |
3087 | 203 |
204 - quota | |
205 - if dovecot-uidlist can't be written, assume the new mails have UIDs | |
206 beginning from uidlist.next_uid. Whenever mails are expunged, overwrite | |
207 the next_uid field with the current highest next_uid. Whenever we have | |
208 assumed UIDs and uidlist gets updated, throw the client out with | |
209 "inconsist mailbox". | |
210 | |
211 - ssl | |
212 - add setting: ssl_options = bitmask. by default we enable all openssl | |
213 workarounds, this could be used to disable some of them | |
214 - gnutls support isn't working | |
965 | 215 |
3087 | 216 - search |
6232 | 217 - message header search: we should ignore LWSP between two MIME blocks(?) |
218 - message_search_init() could accept multiple search keywords so we | |
1250 | 219 wouldn't need to call it separately for each one (so we wouldn't need |
220 to parse the message multiple times). | |
221 - could optionally support scanning inside file attachments and use | |
222 plugins to extract text out of them (word, excel, pdf, etc. etc.) | |
223 - Create our own extension: When searching with TEXT/BODY, return | |
224 the message text surrounding the keywords just like web search engines | |
225 do. like: SEARCH X-PRINT-MATCHES TEXT "hello" -> * SEARCH 1 "He said: | |
226 Hello world!" 2 "Hello, I'm ...". This would be especially useful with | |
227 the above attachment scanning. | |
0 | 228 |
4449 | 229 - deliver |
5557 | 230 - recipient_delimiter setting so user+mailbox@domain works directly |
4449 | 231 |
3087 | 232 - general |
4449 | 233 - stop using atol(), atoi(), strtoul() etc. in places where we actually |
234 care about what they return, and rather create our own function which | |
235 checks if the input overflows the integer, and if so call i_fatal() | |
3087 | 236 - rfc2231 continuation support (useless?) |
1553 | 237 - rfc2557 support for BODYSTRUCTURE, as specified by RFC3501 |
4449 | 238 - LMTP server |
239 - ability to build plugins statically into the binaries | |
3087 | 240 - ~/.dovecotrc to override system wide settings. namespace settings should |
241 override all the previous namespace settings instead of adding new. | |
242 - 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
|
243 |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
244 capabilities: |
4449 | 245 - preferrably all should be implemented as plugins |
376
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
246 - possibility to disable them from config file |
3087 | 247 - THREAD=ORDEREDSUBJECT - although pretty useless I'd think. |
5621 | 248 - acl (rfc4314) |
376
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
249 - id (rfc2971) |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
250 - must be configurable what gets sent, default to only name=Dovecot |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
251 - separate pre/post-login settings |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
252 - optionally log configured parts of the client information, but only |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
253 once, probably at the same time as logging "Logged in", |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
254 "Disconnected", etc. |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
255 - remember to force truncating values longer than 30 chars, |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
256 especially before logging |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
257 - mailbox-referrals (rfc2193) |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
258 - 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
|
259 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
|
260 requiring another UID to run. |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
261 - 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
|
262 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
|
263 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
|
264 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
|
265 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
|
266 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
|
267 referrals. |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
268 - 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
|
269 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
|
270 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
|
271 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
|
272 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
|
273 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
|
274 ask the password again. |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
275 - problems, problems, .. maybe not worth the trouble. |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
276 - drafts: |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
277 - http://www.imc.org/ids.html |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
278 - annotate (draft-ietf-imapext-annotate) |
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
279 - 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
|
280 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
|
281 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
|
282 berkeley db to store the .data file and these annotations. |
1178 | 283 - this is separate problem from index files. indexes are treated as |
284 temporary files, annotations are permanent data. we'd have to | |
285 support non-db way to do this too, which would probably be just a | |
286 simple (slow) text file. | |
5621 | 287 - use lib-dict probably |
288 - metadata (draft-daboo-imap-annotatemore) | |
376
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
289 - 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
|
290 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
|
291 db as well. |
5621 | 292 - lib-dict, again |
376
fd1fc4cf11b7
updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents:
340
diff
changeset
|
293 - binary (draft-nerenberg-imap-binary) |