annotate TODO @ 2820:f3e7ce34721f HEAD

config.rpath isn't supposed to be here..
author Timo Sirainen <tss@iki.fi>
date Mon, 25 Oct 2004 21:50:04 +0300
parents 689e4235681f
children 12fc3c22ffe8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2774
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
1 - lock_method=dotlock, mmap_disable=no crashes in cache locking
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
2 - transaction log: when replacing log with a same sequence, we remove it from
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
3 log's file list, but we don't do anything to existing log views. this can
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
4 crash later in mail_transaction_log_view_set() because 'first' is from log
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
5 list, while we're comparing it into view->tail which it never is. also
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
6 overwriting it leaks memory..
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
7 - mbox: when we're updating flags with lazy writing, we're still parsing the
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
8 mbox, just not writing to it!
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
9 - mbox: always add empty line. make the parser require it too? syncing should
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
10 make sure there always exists two LFs at end of file. raw-mbox-stream should
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
11 make sure the last message ends with LF even if it doesn't exist in the file
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
12
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
13 if (sync_ctx.seen_first_mail &&
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
14 sync_ctx.base_uid_last != sync_ctx.next_uid-1 &&
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
15 ret == 0 && !sync_ctx.delay_writes) {
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
16 ^ doesn't work correctly with partial syncing?
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
17 - mail_index_lookup_ext() doesn't handle resizes between views. probably
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
18 needs size_t *size_r parameter added..
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
19 - get_field() doesn't work if it's not already cached
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
20 - we probably shouldn't do duplicate detection/fixing?.. or at least stat()
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
21 the old file before trying, because we might have just previously seen the
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
22 old file and then new file and then we try to fix it..
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
23
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
24 - mbox: how well does dirty sync + status work? it reads the last mail every
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
25 time? not very good..
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
26 - rawlog process gets stuck when imap dies:
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
27 send(1, 0xFFBFF4C8, 1024, 0) (sleeping...)
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
28 - subscribe: IMAP(anonymous): open(anonymous/mail/.temp...) failed: Permission denied
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
29 - we can mail_cache_add() same header multiple times..
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
30 - configurable syslog prefix
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
31 - SIGHUP restarts auth processes .. but does it wait until they've finished
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
32 with all requests?
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
33 - SIGHUP rather shouldn't restart listening sockets if they didn't change..
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
34 - dovecot-auth + ldap leaks?
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
35 - subscriptions file should contain namespace prefixes. at least optionally.
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
36 there's the subscriptions = yes setting now for namespaces.. do it so that
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
37 if prefix = "" has subscriptions, it contains prefixes. otherwise not.
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
38 - if auth process dies, login process should retry authentication if possible.
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
39 or if not, disconnect the client so it doesn't think the auth failed.
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
40 - mbox: syncing existing indexes takes 4x longer than creating new one, why?
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
41
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
42 - caching
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
43 - force bits should be used only for nonregistered fields
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
44 - change envelope parsing not to use get_headers() so imap.envelope can
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
45 actually be cached without all the headers..
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
46 - compression should drop fields with last_used <
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
47 (latest_mail_index_date - month)
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
48 - when parsing mbox or saving message, parse the mail through index-mail
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
49 so things gets saved into cache immediately
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
50
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
51 - maildir: hardlink copying doesn't update indexes
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
52
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
53 - dotlocking: stale_timeout should probably take into account how old the
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
54 file is.. so uses more time with more recent locks..
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
55
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
56 - COPY doesn't work to itself (lock assert crash)
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
57 - Create UW-IMAP like "DON'T DELETE THIS MESSAGE" message when mbox
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
58 gets empty
2143
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
59 - keep mbox lock for two extra seconds after sync
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
60 - move /var/mail/user to ~/mbox if ~/mbox exists.. supposedly this
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
61 could be useful if /var/mail doesn't have quota, but ~/mail does.
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
62 now, what do we then do if we can move only some of the mails?..
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
63 - if we can't create dotlock file for mbox, make sure it still can be
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
64 selected in read-only state
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
65
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
66 - index
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
67 - optimize initial left_idx in mail_index_lookup_uid_range()
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
68 - when referencing log files, open them immediately?
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
69 - if log file is lost, generate it from old and new index
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
70 - make sure when changing flags multiple times in transaction it goes ok.
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
71 especially replace + dirty flag
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
72
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
73 - post-login-sql-command
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
74 - add setting: ssl_options = bitmask. by default we enable all openssl
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
75 workarounds, this could be used to disable some of them
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
76
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
77 - open("/var/run/dovecot//ssl-parameters.dat", O_RDONLY|O_LARGEFILE) =-1 ENOENT
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
78 ^ loops forever
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
79
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
80 - don't return \* in PERMANENTFLAGS when we're full
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
81
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
82 - support read-only logins. user could with alternative password get only
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
83 read-access to mails so mails could be read relatively safely with
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
84 untrusted computers. Maybe always send [ALERT] about the previous
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
85 read-only login time with IP?
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
86 - ~/.dovecotrc to override system wide settings. namespace settings should
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
87 override all the previous namespace settings instead of adding new.
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
88
1553
25cef50e3b0e updated
Timo Sirainen <tss@iki.fi>
parents: 1418
diff changeset
89 - fix cygwin compile? _close and _read in *stream*.c fails.
25cef50e3b0e updated
Timo Sirainen <tss@iki.fi>
parents: 1418
diff changeset
90 - handle out of quota conditions:
25cef50e3b0e updated
Timo Sirainen <tss@iki.fi>
parents: 1418
diff changeset
91 - if dovecot-uidlist can't be written, assume the new mails have UIDs
25cef50e3b0e updated
Timo Sirainen <tss@iki.fi>
parents: 1418
diff changeset
92 beginning from uidlist.next_uid. Whenever mails are expunged, overwrite
25cef50e3b0e updated
Timo Sirainen <tss@iki.fi>
parents: 1418
diff changeset
93 the next_uid field with the current highest next_uid. Whenever we have
25cef50e3b0e updated
Timo Sirainen <tss@iki.fi>
parents: 1418
diff changeset
94 assumed UIDs and uidlist gets updated, throw the client out with
25cef50e3b0e updated
Timo Sirainen <tss@iki.fi>
parents: 1418
diff changeset
95 "inconsist mailbox".
25cef50e3b0e updated
Timo Sirainen <tss@iki.fi>
parents: 1418
diff changeset
96 - make sure all syscalls check for ENOSPACE (and ENOACCESS while at it)
1410
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
97 - NFS safety:
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
98 - .customflags: use rename(), but there's a problem when we have to remove
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
99 unused flags to make room for new ones. to fix that add new field in
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
100 the file, it would be set for flags which are currently unused. if that
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
101 field is set, .customflags must be locked before the flag is set to any
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
102 messages. but make sure there's no race conditions, we probably have to
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
103 wait a few seconds just to make sure no-one set a flag we want to remove
2143
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
104 - ESTALE
1410
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
105
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
106 - send client IP immediately after accept() to master process. make sure
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
107 master shows the IP if login dies unexpectedly. master should probably also
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
108 kill the login process if it doesn't kill itself soon enough.. or maybe just
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
109 log the IP immediately.
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
110
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
111 - ioloop-kqueue.c patch
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
112 - does dovecot-auth really break when it runs out of fds?
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
113
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
114 - should we support some non-tokenizing way to parse mail addresses? ..
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
115 eg. "foo ? bar <x@y>" would now show up as "foo? bar <x@y>"
1178
933c8f9c241f updated
Timo Sirainen <tss@iki.fi>
parents: 975
diff changeset
116
2774
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
117 - when mailbox is deleted/renamed and someone else had it open, we get
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
118 stat() error messages in log file.
1178
933c8f9c241f updated
Timo Sirainen <tss@iki.fi>
parents: 975
diff changeset
119
526
ab394352fcb3 updated
Timo Sirainen <tss@iki.fi>
parents: 497
diff changeset
120 - bugs
1178
933c8f9c241f updated
Timo Sirainen <tss@iki.fi>
parents: 975
diff changeset
121 - CREATE a, CREATE b, save mails into them, DELETE a, RENAME b a.
933c8f9c241f updated
Timo Sirainen <tss@iki.fi>
parents: 975
diff changeset
122 -> breaks if a+b have same UIDVALIDITY. We could update the
933c8f9c241f updated
Timo Sirainen <tss@iki.fi>
parents: 975
diff changeset
123 UIDVALIDITY for the renamed mailbox and all mailboxes under it.
933c8f9c241f updated
Timo Sirainen <tss@iki.fi>
parents: 975
diff changeset
124 Then return with tagged "OK [NEW-UIDVALIDITY 1234] Renamed". Assuming
933c8f9c241f updated
Timo Sirainen <tss@iki.fi>
parents: 975
diff changeset
125 other IMAP people agree to that.
526
ab394352fcb3 updated
Timo Sirainen <tss@iki.fi>
parents: 497
diff changeset
126
ab394352fcb3 updated
Timo Sirainen <tss@iki.fi>
parents: 497
diff changeset
127 - reliability fixes:
860
c3d0eddd6065 updated
Timo Sirainen <tss@iki.fi>
parents: 852
diff changeset
128 - limit folder hierarchy levels? user can now create eg. a/a/a/a/...
c3d0eddd6065 updated
Timo Sirainen <tss@iki.fi>
parents: 852
diff changeset
129 and then start renaming them from end to beginning, which probably will
c3d0eddd6065 updated
Timo Sirainen <tss@iki.fi>
parents: 852
diff changeset
130 at some point start causing syscall failures which will fill up logs.
1410
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
131 - dotlock overriding is racy, but it's pretty difficult to fix it. Also
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
132 overriding someone else's dotlock in shared folder isn't possible. These
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
133 could be fixed by having separate lock process running as root, which
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
134 would chown() the file for another uid and then unlink() it as that user.
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
135 One problem with that is that if malicious user sets setuid+execute bits
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
136 on for the file, he could run the file and get changed to the new uid.
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
137 That hopefully shouldn't matter much since the new uid should be user
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
138 with minimum possible privileges. Anyway, optional..
474
47d0c169bdba updated
Timo Sirainen <tss@iki.fi>
parents: 376
diff changeset
139
526
ab394352fcb3 updated
Timo Sirainen <tss@iki.fi>
parents: 497
diff changeset
140 - checks:
ab394352fcb3 updated
Timo Sirainen <tss@iki.fi>
parents: 497
diff changeset
141 - make sure SELECT rebuilds index properly when next_uid is near 32bit value
ab394352fcb3 updated
Timo Sirainen <tss@iki.fi>
parents: 497
diff changeset
142 - make sure connection limits work
1211
6fd1f2e82c9a updated
Timo Sirainen <tss@iki.fi>
parents: 1178
diff changeset
143 - check if some asserts should be changed into if/i_panic code, so that
6fd1f2e82c9a updated
Timo Sirainen <tss@iki.fi>
parents: 1178
diff changeset
144 disabling asserts would be possible
526
ab394352fcb3 updated
Timo Sirainen <tss@iki.fi>
parents: 497
diff changeset
145
ab394352fcb3 updated
Timo Sirainen <tss@iki.fi>
parents: 497
diff changeset
146 - enhancements:
852
a327862d07c0 updated
Timo Sirainen <tss@iki.fi>
parents: 795
diff changeset
147 - option to disable SORT, SEARCH and other memory/cpu-intensive features.
1211
6fd1f2e82c9a updated
Timo Sirainen <tss@iki.fi>
parents: 1178
diff changeset
148 defaults and per-user by dovecot-auth.
526
ab394352fcb3 updated
Timo Sirainen <tss@iki.fi>
parents: 497
diff changeset
149 - maildir could support also the dirty-flag in messages. files would be
ab394352fcb3 updated
Timo Sirainen <tss@iki.fi>
parents: 497
diff changeset
150 renamed "whenever there's time" (that'd require the indexer program, or
ab394352fcb3 updated
Timo Sirainen <tss@iki.fi>
parents: 497
diff changeset
151 forking and doing it in background)
634
339c176aba1e updated
Timo Sirainen <tss@iki.fi>
parents: 616
diff changeset
152 - OpenSSL: support generated DH parameters
1250
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
153 - SSL: Support password protected key files. Support reading the password
2143
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
154 from user at runtime (dovecot startssl or something). currently it just
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
155 hangs.
725
3bc6324e5ba3 updated
Timo Sirainen <tss@iki.fi>
parents: 707
diff changeset
156 - check with strace what dovecot does when evolution checks new mail,
3bc6324e5ba3 updated
Timo Sirainen <tss@iki.fi>
parents: 707
diff changeset
157 it's quite a lot. some things probably wouldn't need to be done
2143
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
158 (mkdirs inbox) and other things could be cached in memory.
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
159 - sort: we could create alternative indexes for different sort conditions.
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
160 sort code itself already supports this optimization.
965
6f005d5d9931 0.99.6 out
Timo Sirainen <tss@iki.fi>
parents: 892
diff changeset
161 - support zlib compressed mbox/maildir? mbox maybe just read-only.
1410
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
162 do it through istream-zlib wrapper
965
6f005d5d9931 0.99.6 out
Timo Sirainen <tss@iki.fi>
parents: 892
diff changeset
163 - THREAD=ORDEREDSUBJECT - although pretty useless I'd think.
6f005d5d9931 0.99.6 out
Timo Sirainen <tss@iki.fi>
parents: 892
diff changeset
164
6f005d5d9931 0.99.6 out
Timo Sirainen <tss@iki.fi>
parents: 892
diff changeset
165 - logging
1250
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
166 - Login: username 1.2.3.4:1025 5.6.7.8:993 imaps,compressed
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
167 - Logout: username 1.2.3.4:1025 5.6.7.8:993 imaps,compressed in:1000 out:1000000
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
168 - n failed login attepts (before failure or success, once in n seconds)
605
Timo Sirainen <tss@iki.fi>
parents: 537
diff changeset
169
Timo Sirainen <tss@iki.fi>
parents: 537
diff changeset
170 - lib-charset:
634
339c176aba1e updated
Timo Sirainen <tss@iki.fi>
parents: 616
diff changeset
171 - utf8_toupper() is a must. and a bit difficult if we want to do it right.
605
Timo Sirainen <tss@iki.fi>
parents: 537
diff changeset
172 - add support for other things than iconv() as well? we could reuse
Timo Sirainen <tss@iki.fi>
parents: 537
diff changeset
173 the code from cyrus or courier
795
bcf35cc1a56b updated
Timo Sirainen <tss@iki.fi>
parents: 725
diff changeset
174 - cache iconvs? they'd probably be faster if we just reset the
bcf35cc1a56b updated
Timo Sirainen <tss@iki.fi>
parents: 725
diff changeset
175 conversion instead of opening new one every time. and there will likely
bcf35cc1a56b updated
Timo Sirainen <tss@iki.fi>
parents: 725
diff changeset
176 be only one or two charsets which are used for nearly all conversions.
526
ab394352fcb3 updated
Timo Sirainen <tss@iki.fi>
parents: 497
diff changeset
177
852
a327862d07c0 updated
Timo Sirainen <tss@iki.fi>
parents: 795
diff changeset
178 - should we allow following symlinks in mbox/maildirs? they are now.
1250
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
179 - if we implement shared mailboxes with shared indexes, never do that or
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
180 others could symlink your personal mailboxes and see the indexes
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
181 created for it which may contain envelope etc. data
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
182 - this allows circular mailbox hierarchies which should be prevented by
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
183 eg. allowing max. 20 hierarchies.
852
a327862d07c0 updated
Timo Sirainen <tss@iki.fi>
parents: 795
diff changeset
184
1250
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
185 - index:
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
186 - we could try compressing same from/to/subject fields into a single
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
187 location in data file. requires larger changes..
1410
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
188 - Most messages are text/plain/7bit/us-ascii/no-other-content-type-params.
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
189 Instead of saving tons of nearly identical BODY/BODYSTRUCTURE fields
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
190 into cache, we could just set INDEX_MAIL_FLAG_TEXT_PLAIN_7BIT_ASCII bit
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
191 on and generate the bodystructure for such messages on the fly.
1250
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
192 - read-only support for mailboxes where we don't have write-access
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
193 - if .customflags is removed and Maildir files have custom flags, add
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
194 "unknown1" "unknown2" etc. flags to .customflags file for each found flag
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
195 - support storing message headers into indexes. this could be useful when
1410
ccb430d3b945 0.99.9 released
Timo Sirainen <tss@iki.fi>
parents: 1250
diff changeset
196 indexes are in local disk but actual mails are accessed through NFS.
1250
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
197 - if we wanted to support huge mailboxes with small memory usage, it'd now
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
198 be possible if we just instead of mmap()ing the whole index files would
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
199 have maybe 3-4 256k mmap()ed areas which we move based on the need.
2143
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
200 - should work fine with imap.index and imap.index.cache
1250
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
201 - log files aren't affected by mailbox size
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
202 - but, is it worth the trouble really? the OS can do all this itself,
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
203 only thing we're doing is keeping the processes virtual memory usage
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
204 small.
0
3b1985cbc908 Initial revision
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
205
376
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
206 - SEARCH:
1250
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
207 - message_body_search() could accept multiple search keywords so we
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
208 wouldn't need to call it separately for each one (so we wouldn't need
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
209 to parse the message multiple times).
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
210 - message_body_search() could support NULL MessagePart and the searching
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
211 could be done while parsing the message. this would need changes to
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
212 message_parse() as well.
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
213 - could optionally support scanning inside file attachments and use
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
214 plugins to extract text out of them (word, excel, pdf, etc. etc.)
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
215 - use a trie index for fast text searching, like cyrus squat?
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
216 - Create our own extension: When searching with TEXT/BODY, return
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
217 the message text surrounding the keywords just like web search engines
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
218 do. like: SEARCH X-PRINT-MATCHES TEXT "hello" -> * SEARCH 1 "He said:
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
219 Hello world!" 2 "Hello, I'm ...". This would be especially useful with
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
220 the above attachment scanning.
0
3b1985cbc908 Initial revision
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
221
1250
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
222 - general:
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
223 - sieve (rfc3028), we can use Cyrus Sieve
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
224 - rfc2231 continuation support
1553
25cef50e3b0e updated
Timo Sirainen <tss@iki.fi>
parents: 1418
diff changeset
225 - rfc2557 support for BODYSTRUCTURE, as specified by RFC3501
25cef50e3b0e updated
Timo Sirainen <tss@iki.fi>
parents: 1418
diff changeset
226 - lmtp server - is it needed? dovecot-deliver binary at least would be
25cef50e3b0e updated
Timo Sirainen <tss@iki.fi>
parents: 1418
diff changeset
227 useful
1250
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
228 - create indexer binary
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
229 - support Maildir++ quota
18
6491ac40cdf5 updated
Timo Sirainen <tss@iki.fi>
parents: 13
diff changeset
230
1250
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
231 - cleanups:
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
232 - check if t_push()/t_pop() should be added somewhere
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
233 - try to fix @UNSAFE code to use buffer API instead
1553
25cef50e3b0e updated
Timo Sirainen <tss@iki.fi>
parents: 1418
diff changeset
234 - subscription-file.c, custom_flags
1250
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
235 - [io]stream-file.c?
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
236 - grep for FIXME
0
3b1985cbc908 Initial revision
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
237
1250
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
238 - auth / login:
2143
11c1f1203b65 updated
Timo Sirainen <tss@iki.fi>
parents: 1585
diff changeset
239 - kchuid, SRP
1250
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
240 - Digest-MD5: support integrity protection, and maybe crypting. Do it
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
241 through login process like SSL is done?
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
242 - dovecot-auth should limit how fast authentication requests are allowed from
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
243 login processes. especially if there's one login/connection the speed
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
244 should be something like once/sec. also limit how fast to accept new
31510fc5e02f updates
Timo Sirainen <tss@iki.fi>
parents: 1211
diff changeset
245 connections.
2774
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
246 - if passdb = userdb, ask them both in one query and cache it. implement
689e4235681f updated
Timo Sirainen <tss@iki.fi>
parents: 2143
diff changeset
247 passwordcheck userdb using the caching.
376
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
248
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
249 capabilities:
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
250 - preferrably all should be possible to #ifdef away by a configure
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
251 option (--without-capabilities=acl,namespace,...)
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
252 - possibility to disable them from config file
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
253 - acl (rfc2086, draft-ietf-imapext-acl), namespace (rfc2342)
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
254 - probably do it like cyrus. "user.<username>" to access other
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
255 users, with "" defaulting to "user.<myself>". these should be
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
256 configurable however.
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
257 - shared namespaces? maybe configurable in config file
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
258 - easiest way to do ACL would be to use unix modes, but is that
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
259 useful at all? Well, ACL2 has a bit better support for that, so
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
260 maybe we could support it.
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
261 - otherwise gets a bit trickly, we could keep all mail in "imapmail"
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
262 group and 0600/0700 mode by default, but when mail is shared to others,
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
263 the group read/write access bits would be set. or alternatively we
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
264 could launch another imap process to handle it, which we should support
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
265 anyway. ACLs could be stored into ".acl" ascii file in each folder.
480
24a649e9c6d1 updated
Timo Sirainen <tss@iki.fi>
parents: 474
diff changeset
266 - support for private and shared flags, configurable by mailbox admin.
24a649e9c6d1 updated
Timo Sirainen <tss@iki.fi>
parents: 474
diff changeset
267 this isn't in any draft yet, but ACL2 author was going to create one.
24a649e9c6d1 updated
Timo Sirainen <tss@iki.fi>
parents: 474
diff changeset
268 [SHAREDFLAGS (...)] would specify which ones are shared, don't know yet
24a649e9c6d1 updated
Timo Sirainen <tss@iki.fi>
parents: 474
diff changeset
269 how they would be configured.
376
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
270 - quota (rfc2087, draft-cridland-imap-quota)
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
271 - give filesystem values only to admins
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
272 - support for Maildir++, probably no need to support more.
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
273 quota capability supports complex quota configuration, but if
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
274 no mailer supports them we probably shouldn't bother either
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
275 - id (rfc2971)
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
276 - 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
277 - separate pre/post-login settings
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
278 - 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
279 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
280 "Disconnected", etc.
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
281 - 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
282 especially before logging
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
283 - mailbox-referrals (rfc2193)
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
284 - 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
285 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
286 requiring another UID to run.
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
287 - 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
288 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
289 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
290 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
291 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
292 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
293 referrals.
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
294 - 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
295 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
296 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
297 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
298 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
299 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
300 ask the password again.
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
301 - problems, problems, .. maybe not worth the trouble.
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
302 - drafts:
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
303 - http://www.imc.org/ids.html
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
304 - annotate (draft-ietf-imapext-annotate)
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
305 - 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
306 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
307 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
308 berkeley db to store the .data file and these annotations.
1178
933c8f9c241f updated
Timo Sirainen <tss@iki.fi>
parents: 975
diff changeset
309 - this is separate problem from index files. indexes are treated as
933c8f9c241f updated
Timo Sirainen <tss@iki.fi>
parents: 975
diff changeset
310 temporary files, annotations are permanent data. we'd have to
933c8f9c241f updated
Timo Sirainen <tss@iki.fi>
parents: 975
diff changeset
311 support non-db way to do this too, which would probably be just a
933c8f9c241f updated
Timo Sirainen <tss@iki.fi>
parents: 975
diff changeset
312 simple (slow) text file.
376
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
313 - annotatemore (draft-daboo-imap-annotatemore)
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
314 - 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
315 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
316 db as well.
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
317 - binary (draft-nerenberg-imap-binary)
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
318 - perhaps not too useful. I'd like to make Dovecot fully
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
319 binary-safe though.
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
320 - view (draft-ietf-imapext-view)
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
321 - slow, complex, luckily draft expired almost two years ago.
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
322 i hope i don't have to implement this :)
fd1fc4cf11b7 updated with lots of new capability comments
Timo Sirainen <tss@iki.fi>
parents: 340
diff changeset
323 - can be done client-side just fine (evolution's virtual folders)