]> Pileus Git - ~andy/fetchmail/blob - TODO.txt
Cleanup: change " \n" to "\n" where appropriate.
[~andy/fetchmail] / TODO.txt
1 Note that there is a separate todo.html with different content than this.
2
3 soon - MUST:
4 - Debian Bug #475239, MIME decoder may break up words (need to quote results)
5 - put bare IP addresses in brackets for SMTP (check if there are RFC
6   1123/5321/5322 differences)
7 - Debian Bug #531589: fetchmail ignores SIGUSR1 in idle mode.
8 - Fix further occurrences of SMTP reply code handling:
9    - for proper smtp_reponse caching of multiline codes (there are some)
10    - for stomping over control characters.
11 - check if smtpname and smtpaddress in particular work as advertised,
12   thread "Fetchmail with Postfix virtual users" around 2009-09-23 on
13   fetchmail-users@, by Joost Roeleveld and Gerard Seibert.
14 - virtual domain DOCUMENTATION (rewriting @example.com to
15   @virtual.example.com possible? Joost Roeleveld, thread "Fetchmail with
16   Postfix virtual users" around 2009-09-23 on fetchmail-users@).
17
18 soon - SHOULD:
19 - make sure the man page completely lists all options (f. i. sslcertpath) in
20   the tables.
21 - allow \Deleted without \Seen, rf. 
22   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466299
23 - document IMAP4 ACL requirements
24 - CRYPTO: log configured server name on certificate mismatch (perhaps pay
25   attention to via entries and stuff like that)
26 - CRYPTO: BerliOS Bug #11576, thread on fetchmail users "Invalid SSL certificate" by
27   Philip Susi, SSL negotiation does not use ERR_error_string(3ssl) to report
28   errors in a readable way, we just report socket errors with no good reason.
29 - CRYPTO: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432618
30   * write a table of combinations of TLS/SSL options
31 - add To: header to warning mails (authfail for instance)
32 - Fix TOCTOU race around prc_filecheck*
33 - Read CAPABILITY from greeting if present, saves one round trip.
34 - Check if LAST argument is properly validated against message count.
35 - find a solution for the "invalid header" discards message problem
36   (escape headers and stuff reminder into body)
37 - add Message-ID: header and other SHOULD headers to warning mails?
38
39 soon - MAY:
40 - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471176
41   => fetchmail: support utf-8 encoding in log file
42   Revisit http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=400719
43   => syslog messages are localised
44   http://lists.debian.org/debian-devel/2006/11/msg01068.html
45 - when logging to syslog, disable locale?
46 - Get rid of peeking in socket.c? MSG_PEEK seems non-portable.
47 - revise ticker, and add something like .........20%.... ... 100%
48   (suggested by Yue Wu)
49
50 questionable:
51 - Convert POP3 UIDs to X-UIDL?
52 - fetch IMAP message in one go (fetchmail-devel by Adam Simpkins
53   <simpkins@cisco.com> around Nov 2nd)?
54
55 6.4:
56 - Remove stupid options, such as spambounce, or deferred bounces for anything
57   but wrong addresses
58 - Do not ever guess envelope from content headers such as To:/Cc:/Resent-To: or
59   similar.
60 - Replace sscanf/fscanf by functions that do range checking
61   (strtol/strtoul), and make arguments unsigned long.
62 - drop LAST support
63 - use PS_PROTOCOL for pre-/post-connect command failures - 6.3 uses 
64   PS_SYNTAX, and that's not necessarily the case. At least if the 
65   command terminates with a signal, we should report PS_PROTOCOL.
66 - revisit maximum allowed rcfile permissions, fix inconsistency
67   (silently allowing g+x).
68 - make UID code more efficient, parsing is O(n^2), should be no worse
69   than O(n log n), lookup is O(n), should be O(log n).
70 - help systematic debugging
71     - by making logging more strict (Postfix's msg_* as example??)
72     - by adding a --loggingtest or something that emits 
73       a set of test log messages at various severity levels, in order to 
74       make sure people get complete logs.
75     - by adding messages where fetchmail stuffed its output.
76 - Debian Bug #454291 fetchmail --quit: should check, that pid file 
77   really contains pid of fetchmail process (Dmitry Nezhevenko)
78   => use fcntl() lock?
79 - feature to skip first N or all messages upon first download, or fetch
80   last N.
81 - download only messages whose headers match a filter (by Toby, Usenet
82   Nov 2007 de.comm.software.mailserver
83   Message-ID: <1195033726.123704.296060@k79g2000hse.googlegroups.com>)
84 - feature request by Daniel Goering <g_daniel@gmx.net> on
85   fetchmail-devel 2007-11-15: populate .fetchids from current messages.
86   (it'll probably be useful to limit this to "all but the 10 latest" or
87   "all before date this-and-that")
88 - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374514
89   "Deleting fetchids file" vs. POP3 - probably unneeded if we use IMAP UIDs.
90 - CRYPTO: change SSL/TLS UI incompatibly, making it easier to use
91 - CRYPTO: allow selection of SSL/TLS Ciphers
92 - CRYPTO: perhaps switch to libgsasl and libgnutls (which doesn't talk SSLv2,
93   but we should abandon that anyways).
94 - CRYPTO: perhaps port to NSS? Check license and features and required procedure
95   changes. - Redhat Bugs #333741 (crypto consolidation), #346891 (port fetchmail to NSS)
96 - CRYPTO: make the SSL default v3 (rather than v23).
97 - CRYPTO: remove sslfingerprint? too easily abused (see NEWS)
98 - CRYPTO: force sslcertck
99 - CRYPTO: by default forbid cleartext or other compromising password
100   schemes over insecure connections?
101 - put more hints to the FAQ (should we call it FGA?) as first support place
102 - make sure we print socket error messages such as connection reset by
103   peer to hint users the problem is not in fetchmail
104 - require envelope option for multidrop ; if not found in header, defer message?
105 - > b) When the envelope header is specified, but it isn't found, a
106   > warning is logged and the mail is forwarded to the postmaster
107   > ("WARNING: Envelope header $HEADER found, cannot identify the
108   > recipient.  Forwarding to the postmaster")
109   Rob MacGregor 2007-03-16 Patch to the man page, fetchmail-devel@
110 - integrate Isaac Wilcox's test rig
111 - look at Tony Earnshaw's .spec file
112 - look at Gentoo patches
113 - remove dead replacement functions: strdup (Andreas Krennmair), ...
114 - more SMTP/LMTP error detail on message rejections even outside verbose mode.
115   Ian D. Allen, fetchmail-users. Two messages with examples.
116   What goes here? fetchmailrc location, server, port, user, folder, anything else?
117 - see if "AUTH SSH" can be made to work for POP3
118 - revisit BerliOS patches
119 - check recent list mail
120 - check Debian BTS and other bug trackers
121 - better logging (log all headers, log forward destination + method)
122 - check strict envelope N Received parsing,
123   see mail from Admin Att on fetchmail-users
124 - 6.3.4-pending-deletes.patch
125 - fetchmail -s with running daemon complains rather than silently
126   restarting daemon
127 - send warning message when connection fails?
128 - check FAQ O5 - do we really prefer From: over envelope?!?
129 - add code to allow safe authentication schemes if TLS fails
130 - make APOP an authenticator, integrate with regular auto authentication
131   but stuff it at the end
132 - allow forcing RETR (RETR vs. TOP, fetchmail-users, drbob 2008-01-11)
133 - CRYPTO: use SASL?
134 - make logfile more useful (redirect not only in daemon mode)
135 - close/reopen logfile on certain signals (for newsyslog/logrotate
136   support)
137 - for virtual mapping, we don't currently support local user aliases or 
138   regexp matching with replacement. This would be useful for hosting 
139   several virtual domains in one multidrop mailbox, as in 
140   qmail/courier's:
141
142   @one.example:bob-one
143   @two.example:bob-two
144
145   Result:
146   some@one.example maps to bob-one-some@serverdomain
147   another@two.example maps to bob-two-example@serverdomain
148
149   we can strip the bob-*, but but we don't support domain catchalls 
150   here, and we cannot currently delegate or rewrite the remaining 
151   one-* or two-* users in a useful way. All local parts of the upstream 
152   domains must be known and mapped in the configuration file.
153   (See fetchmail-users, Michelle Konzack, 2009-05-03, "4 multidrop but one 
154    destination server" and followup)
155
156   This probably entails some form of extended user mapping inside 
157   fetchmail, for map_name() in transact.c, and possibly 
158   find_server_names() ibidem.
159 - more verbose diagnostics, what, why, how, ... (what does fetchmail do, what
160   does it expect, what does it get instead, what does that mean, how can the
161   user fix it; references to the manual)
162
163
164 DOCUMENTATION:
165 - Add info whether Keywords are global, server or user keywords
166 - consolidate multidrop documentation
167 - HOWTO (on configuration, and on SSL in particular)