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