Removed all POP support
[mmh] / docs / TODO
1 [TODO]
2
3 * fix msh/mmdf problems.
4 * Add IPv6 support.
5 * Check/fix compilation on 64-bit systems.
6 * Write different function to read configuration files, instead
7   of using m_getfld.c
8 * convert calls from sprintf/vsprintf to snprintf/vsnprintf
9 * convert calls from getcpy to strdup
10 * modularize access to context/profile list.
11 * add command printm to print messages
12 * finish changing to macros for msgstats and msgflags
13 * Add support for Mail-Followup-To and Mail-Reply-To
14 * Add support for profile entry "Mailing-Lists"
15 * let mhn and mhl accept files on standard in, and output to
16   standard out, when filtering files.
17 * Add switch -more to `show' to call moreproc.
18 * Add new command "show" at WhatNow? prompt.
19 * Add command to reverse the action of rmm [-nounlink] -- "urmm"?  "umm"?  "um"?
20 * Allow user customization of which kinds of text parts in multipart/alternative
21   messages are preferred.  It would be nice if one selectable behavior would be
22   to be prompted at runtime for which version to show.
23 * Add a new %-escape that makes temp files more permanent than %f, so that you
24   can use gnuclient -q or netscape -remote on message parts.  Put netscape
25   -remote in mhn.defaults for text/html once this is done.
26 * Change all man pages to group all the commandline options together in one
27   section with each as a separate mini-heading.  Having to dig through prose to
28   find what a particular option does is a pain in the nads.
29 * Add some way to configure whether you prefer to see text/plain or text/html
30   parts of multipart/alternative messages.
31 * Flag bogus/misspelled mts.conf "masquerade:" / --enable-masquerade options.
32 * Allow multiple simultaneous differing contexts, probably each tied to a parent
33   (terminal) process.
34
35 [POSSIBILITIES]
36
37 MAN PAGES
38 ---------
39 * Update mh-tailor man page.
40 * generate mh-chart man page from other man pages
41 * update default mode in man pages with sed
42
43 SEQUENCES
44 ---------
45 * Change so you can have more than 26 sequences.  Unfortunately,
46   given the way that the bit flags for sequences work, this is
47   not easy.
48 * Maybe add option gracefully handle empty sequences (-force).
49
50 ENVIRONMENT/PROFILE
51 -------------------
52 * Maybe add profile entry "Pager" to change the default pager?
53 * Should nmh check for EDITOR or PAGER environment variable?
54
55 OPTIONS
56 -------
57 * change switches to accept two dashes (--help)
58 * can we move option checking to its own function?  Currently each
59   command is doing that itself.
60 * make the option parsing code dynamic, so that there is no limit
61   to the number of command line arguments (this has been done for
62   most all the commands).
63 * Add switch descriptions to -help output.
64
65 COMP
66 ----
67 * add option so that prompter can be used to input addresses,
68   before the real editor is called to edit message.
69 * fix -nowhatnowproc switch. Right now whatnowproc starts the edit
70   session instead of comp, so -nowhatnowproc does nothing.
71
72 FLIST
73 -----
74 * add -format option so you can specify the look of the output
75   of flist.
76 * add Flist-Exclude profile component
77
78 FOLDER
79 ------
80 * add Folder-Order profile component (same as flist)
81 * add Folder-Exclude profile component
82
83 FORMATS
84 -------
85 * add escape %(sequence{foobar}) to detect arbitrary sequences.
86
87 FORW
88 ----
89 * Decode RFC-2047 headers in messages included when replying
90   or forwarding.
91 * Merge code for forw and repl.
92
93 INC
94 ---
95 * Add ability to do filtering (call filterproc) when incorporating mail
96 * Change inc to use libary function folder_addmsg().
97
98 MHBUILD
99 -------
100 * add ability to specify Content-Transfer-Encoding in composition
101   drafts.
102 * remove the code for caching from mhbuild.
103
104 MHL
105 ---
106 * remove naming hack in mhlsbr.c for adios and done.
107 * add ability to filter parts of the message by calling
108   an external filtering program.
109 * fix internal pager for mhl?
110
111 MHMAIL
112 ------
113 * add -attach option (send could use this).  This should
114   be done by hooking in mhbuildsbr.c
115
116 MHN/MHSHOW/MHLIST/MHSTORE
117 -------------------------
118 * add way so user can tell mhn to use internal method for
119   handling type, such as multipart/mixed.
120 * add way so user can tell mhn to use a certain `proc' such
121   as moreproc, for certain content types.
122 * add support for Content-Disposition header (rfc1806, rfc2183).
123 * merge the two places in which mhshowsbr.c reads display
124   strings.
125 * when storing to a folder, should we save the folder context
126   first, so that storage string of "+" stores to the new
127   folder?
128
129 MSH
130 ---
131 * change conditional includes in msh.c to use termios.h
132 * Add -version to mshcmd.c for each command.
133 * Change msh to use mbox style files, instead of mmdf.  Add options -mbox,
134   -mmdf to choose.
135 *) There are couple calls to copyip() which should be changed to
136    getarguments().  One problem is freeing the string getcopy'ed by
137    getarguments().
138
139 PICK
140 ----
141 * split regex code out into library.
142 * replace regex code with Henry Spencer's regex library.
143
144 POST
145 ----
146 * make -msgid the default
147 * factor msgid code into own function
148
149 PROMPTER
150 --------
151 * maybe add ability to use prompter just for headers, and
152   then use primary editor for editing message.
153
154 RCVSTORE
155 --------
156 * Change rcvstore so that it can store into multiple folders.
157 * Add folder locking.
158
159 REPL
160 ----
161 * Decode RFC-2047 headers in messages included when replying
162   or forwarding.
163 * Merge code for forw and repl.
164
165 SEND/SENDSBR
166 ------------
167 * Maybe add `-server' and `-client' to documentation.
168 * Add ability for returned messages from "send -push" to be
169   in MIME format (this is actually a change in mhmail).
170 * make -msgid the default.
171 * Add RFC-2047 encoding support for out-going messages.  This
172   will probably require hooking mhparse into sendsbr.c, and doing
173   a complete MIME parsing.  Then all handling of Content encoding
174   can be on the backend.
175
176 SLOCAL
177 -----
178 * Change slocal to use .slocalrc file, instead of .maildelivery?
179 * Add ability to use regular expressions in header matching.
180 * Add support for Berkeley db.
181 * Clean up output from -debug option.
182 * Add -debuglevel to control the amount of debug info that is output.
183 * Add -debuglog to specify file to save debugging output.
184 * Add -logfile (or -audit) to specify where to record info about successful
185   deliveries.
186
187 VMH
188 ---
189 * Fix vmh (or remove it).  vmh seems to be using internal
190   knowledge of curses.
191
192 MTA INTERFACE
193 -------------
194 * Fix locking code.  Add lockfile command.
195 * Think about support for DSN (Delivery Status Notification)
196 * Test nmh with qmail.  Add qmail's maildir format.
197 * Relax restrictions on what can be done with headers in send/post.
198 * figure out why smail.c and client.c need their own copies of
199   getcpy, copyip, etc... (funny linking problem)
200
201 GENERAL
202 -------
203 * see if the various versions of copyfile and copyf can be
204   merged.
205 * change time functions to use POSIX functions by default.
206 * Add MH-6.8.4 features into nmh (mostly done).
207 * Maybe should move etcpath to sbr and add to libmh.
208 * collect winsize, struct termio, etc... together into a ttyinfo
209   structure.
210 * change adios to take exit code argument.
211 * use wait3 if not waitpid (maybe)
212 * some of the calls to setjmp/longjmp should be replaced with
213   sigsetjmp/siglongjmp.
214 * When do we need to add -lresolv for SunOS 4.1.x?
215 * replace use of ftell with fgetpos.