annotate TODO @ 9931:97d5c31dcc9e HEAD

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