]> Pileus Git - ~andy/fetchmail/blob - TODO.txt
Prepare 6.5.0.beta1.
[~andy/fetchmail] / TODO.txt
1 Note that there is a separate todo.html with different content than this.
2
3 soon - MUST:
4 + multiple certs
5 + check alternative passed checks, fingerprints... for interactions
6 + do we support CRLs?
7 + optionally spawn a shell out with a pre-set environment so that users
8 can check their finger prints or certificates in arbitrary ways
9 (grarpamp)
10 + modified UTF-7 (RFC-3501 5.1.3) for mailbox names
11 - blacklist DigiNotar/Comodo/Türktrust hacks/certs, possibly with Chrome's serial#
12   list?
13 - check if wildcards from X.509 are handled as strictly as required by
14   the RFCs.
15 - audit if there are further untrusted data report_*() calls.
16 - Debian Bug #475239, MIME decoder may break up words (need to quote results)
17 - put bare IP addresses in brackets for SMTP (check if there are RFC
18   1123/5321/5322 differences)
19 - Fix further occurrences of SMTP reply code handling:
20    - for proper smtp_reponse caching of multiline codes (there are some)
21    - for stomping over control characters.
22 - check if smtpname and smtpaddress in particular work as advertised,
23   thread "Fetchmail with Postfix virtual users" around 2009-09-23 on
24   fetchmail-users@, by Joost Roeleveld and Gerard Seibert.
25 - virtual domain DOCUMENTATION (rewriting @example.com to
26   @virtual.example.com possible? Joost Roeleveld, thread "Fetchmail with
27   Postfix virtual users" around 2009-09-23 on fetchmail-users@).
28
29 soon - SHOULD:
30 - support NIL and strings where they are alternatives to literals
31 - Debian Bug #531589: fetchmail ignores SIGUSR1 in idle mode.
32   seems non-trivial to fix: in imap_idle(), we wait for untagged
33   responses, and may be deep in SSL_peek -- and that restarts the
34   underlying blocking read() from the socket, so we never break out of
35   the SSL_peek() with SIGUSR1.
36 - add repoll for all kinds of auth failures
37   (requires framework to track which auth failed in auto mode)
38 - SockOpen sometimes exits with errno == 0, confusing users (found with
39   Google RealTime on Twitter)
40 - make sure the man page completely lists all options (f. i. sslcertpath) in
41   the tables.
42 - allow \Deleted without \Seen, rf. 
43   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466299
44 - document IMAP4 ACL requirements
45 - CRYPTO: log configured server name on certificate mismatch (perhaps pay
46   attention to via entries and stuff like that)
47 - CRYPTO: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432618
48 - add To: header to warning mails (authfail for instance)
49 - Fix TOCTOU race around prc_filecheck*
50 - Read CAPABILITY from greeting if present, saves one round trip.
51 - Check if LAST argument is properly validated against message count.
52 - add Message-ID: header and other SHOULD headers to warning mails?
53 - report actual SMTP error with "SMTP listener refused delivery", sugg.
54   Richard Brooksby, fetchmail-users 2010-04-06.
55
56 soon - MAY:
57 - find a better replacement for sscanf parsing - we don't usually
58   detect errors in format strings such as "* %d FETCH " because we don't
59   check if the FETCH is (a) present, (b) consumed.
60 - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471176
61   => fetchmail: support utf-8 encoding in log file
62   Revisit http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=400719
63   => syslog messages are localised
64   http://lists.debian.org/debian-devel/2006/11/msg01068.html
65 - when logging to syslog, disable locale?
66 - Get rid of peeking in socket.c? MSG_PEEK seems non-portable.
67 - revise ticker, and add something like .........20%.... ... 100%
68   (suggested by Yue Wu)
69
70 questionable:
71 - Convert POP3 UIDs to X-UIDL?
72 - fetch IMAP message in one go (fetchmail-devel by Adam Simpkins
73   <simpkins@cisco.com> around Nov 2nd)?
74
75 - Properly free host/user entries (through C++ class instantiation and 
76   destructors...)
77 - Remove stupid options, such as spambounce, or deferred bounces for anything
78   but wrong addresses
79 - Do not ever guess envelope from content headers such as To:/Cc:/Resent-To: or
80   similar.
81 - Replace sscanf/fscanf by functions that do range checking
82   (strtol/strtoul), and make arguments unsigned long.
83 - drop LAST support
84 - use PS_PROTOCOL for pre-/post-connect command failures - 6.3 uses 
85   PS_SYNTAX, and that's not necessarily the case. At least if the 
86   command terminates with a signal, we should report PS_PROTOCOL.
87 - revisit maximum allowed rcfile permissions, fix inconsistency
88   (silently allowing g+x).
89 - help systematic debugging
90     - by making logging more strict (Postfix's msg_* as example??)
91     - by adding a --loggingtest or something that emits 
92       a set of test log messages at various severity levels, in order to 
93       make sure people get complete logs.
94     - by adding messages where fetchmail stuffed its output.
95 - Debian Bug #454291 fetchmail --quit: should check, that pid file 
96   really contains pid of fetchmail process (Dmitry Nezhevenko)
97   => use fcntl() lock?
98 - feature to skip first N or all messages upon first download, or fetch
99   last N.
100 - download only messages whose headers match a filter (by Toby, Usenet
101   Nov 2007 de.comm.software.mailserver
102   Message-ID: <1195033726.123704.296060@k79g2000hse.googlegroups.com>)
103 - feature request by Daniel Goering <g_daniel@gmx.net> on
104   fetchmail-devel 2007-11-15: populate .fetchids from current messages.
105   (it'll probably be useful to limit this to "all but the 10 latest" or
106   "all before date this-and-that")
107 - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374514
108   "Deleting fetchids file" vs. POP3 - probably unneeded if we use IMAP UIDs.
109 - CRYPTO: change SSL/TLS UI incompatibly, making it easier to use
110 - CRYPTO: allow selection of SSL/TLS Ciphers
111 - CRYPTO: perhaps switch to libgsasl and libgnutls (which doesn't talk SSLv2,
112   but we should abandon that anyways).
113 - CRYPTO: perhaps port to NSS? Check license and features and required procedure
114   changes. - Redhat Bugs #333741 (crypto consolidation), #346891 (port fetchmail to NSS)
115 - CRYPTO: remove sslfingerprint? too easily abused (see NEWS)
116 - CRYPTO: by default forbid cleartext or other compromising password
117   schemes over insecure connections?
118 - put more hints to the FAQ (should we call it FGA?) as first support place
119 - make sure we print socket error messages such as connection reset by
120   peer to hint users the problem is not in fetchmail
121 - require envelope option for multidrop ; if not found in header, defer message?
122 - > b) When the envelope header is specified, but it isn't found, a
123   > warning is logged and the mail is forwarded to the postmaster
124   > ("WARNING: Envelope header $HEADER found, cannot identify the
125   > recipient.  Forwarding to the postmaster")
126   Rob MacGregor 2007-03-16 Patch to the man page, fetchmail-devel@
127 - integrate Isaac Wilcox's test rig
128 - look at Tony Earnshaw's .spec file
129 - look at Gentoo patches
130 - remove dead replacement functions: strdup (Andreas Krennmair), ...
131 - more SMTP/LMTP error detail on message rejections even outside verbose mode.
132   Ian D. Allen, fetchmail-users. Two messages with examples.
133   What goes here? fetchmailrc location, server, port, user, folder, anything else?
134 - see if "AUTH SSH" can be made to work for POP3
135 - revisit BerliOS patches
136 - check recent list mail
137 - check Debian BTS and other bug trackers
138 - better logging (log all headers, log forward destination + method)
139 - check strict envelope N Received parsing,
140   see mail from Admin Att on fetchmail-users
141 - 6.3.4-pending-deletes.patch
142 - fetchmail -s with running daemon complains rather than silently
143   restarting daemon
144 - send warning message when connection fails?
145 - check FAQ O5 - do we really prefer From: over envelope?!?
146 - add code to allow safe authentication schemes if TLS fails
147 - make APOP an authenticator, integrate with regular auto authentication
148   but stuff it at the end
149 - CRYPTO: use SASL?
150 - make logfile more useful (redirect not only in daemon mode)
151 - close/reopen logfile on certain signals (for newsyslog/logrotate
152   support)
153 - for virtual mapping, we don't currently support local user aliases or 
154   regexp matching with replacement. This would be useful for hosting 
155   several virtual domains in one multidrop mailbox, as in 
156   qmail/courier's:
157
158   @one.example:bob-one
159   @two.example:bob-two
160
161   Result:
162   some@one.example maps to bob-one-some@serverdomain
163   another@two.example maps to bob-two-example@serverdomain
164
165   we can strip the bob-*, but but we don't support domain catchalls 
166   here, and we cannot currently delegate or rewrite the remaining 
167   one-* or two-* users in a useful way. All local parts of the upstream 
168   domains must be known and mapped in the configuration file.
169   (See fetchmail-users, Michelle Konzack, 2009-05-03, "4 multidrop but one 
170    destination server" and followup)
171
172   This probably entails some form of extended user mapping inside 
173   fetchmail, for map_name() in transact.c, and possibly 
174   find_server_names() ibidem.
175 - more verbose diagnostics, what, why, how, ... (what does fetchmail do, what
176   does it expect, what does it get instead, what does that mean, how can the
177   user fix it; references to the manual)
178
179 - grarpamp suggested, on the fetchmail list in later April 2013, more
180   config file flexibility and explicitness, by marking polls, hosts,
181   accounts.  See thread.
182
183 - more selection options, Debian Bug#705291.
184
185 - add a way to specify multiple fingerprints per host
186
187 - add a way to specify non-MD5 fingerprints per host. SHA1 can be told
188   from its mere length; other digest algorithms would require some sort
189   of prefix. We may require the prefix for SHA1, too, for clarity.
190
191 - more useful logging, suggested by Jerry, fetchmail-users, 17 May 2013
192   should include date, time, message-id, and 250 Ok message from
193   listener that got forwarded to.
194
195 - support to present/limit the ciphers and protocols used
196   ciphers: Martin Koeppe (mkoeppe at gmx dot de) 20130717 on
197   fetchmail-users list.
198   protocols: see recent Postfix versions
199
200 - add timestamps to local logfiles, proposed by Aaron Sloman
201   <A.Sloman at cs.bham.ac.uk> 2013-10-16
202
203 DOCUMENTATION:
204 - Add info whether Keywords are global, server or user keywords
205 - consolidate multidrop documentation
206 - HOWTO (on configuration, and on SSL in particular)