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