be9e6dd99436cc47f1f37254eff2166c150bfe5f
[mmh] / 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
33 [POSSIBILITIES]
34
35 MAN PAGES
36 ---------
37 * Update mh-tailor man page.
38 * generate mh-chart man page from other man pages
39 * update default mode in man pages with sed
40
41 SEQUENCES
42 ---------
43 * Change so you can have more than 26 sequences.  Unfortunately,
44   given the way that the bit flags for sequences work, this is
45   not easy.
46 * Maybe add option gracefully handle empty sequences (-force).
47
48 ENVIRONMENT/PROFILE
49 -------------------
50 * Maybe add profile entry "Pager" to change the default pager?
51 * Should nmh check for EDITOR or PAGER environment variable?
52
53 POP
54 ---
55 * Clean up uip/spop.c (I dont' think it's needed any longer).
56 * Need to decide if want to support APOP, RPOP, MPOP.  APOP
57   and RPOP still work, but need autoconf support added.  Does
58   anyone still use this stuff?
59
60 OPTIONS
61 -------
62 * change switches to accept two dashes (--help)
63 * can we move option checking to its own function?  Currently each
64   command is doing that itself.
65 * make the option parsing code dynamic, so that there is no limit
66   to the number of command line arguments (this has been done for
67   most all the commands).
68 * Add switch descriptions to -help output.
69
70 COMP
71 ----
72 * add option so that prompter can be used to input addresses,
73   before the real editor is called to edit message.
74 * fix -nowhatnowproc switch. Right now whatnowproc starts the edit
75   session instead of comp, so -nowhatnowproc does nothing.
76
77 FLIST
78 -----
79 * add -format option so you can specify the look of the output
80   of flist.
81 * add Flist-Exclude profile component
82
83 FOLDER
84 ------
85 * add Folder-Order profile component (same as flist)
86 * add Folder-Exclude profile component
87
88 FORMATS
89 -------
90 * add escape %(sequence{foobar}) to detect arbitrary sequences.
91
92 FORW
93 ----
94 * Decode RFC-2047 headers in messages included when replying
95   or forwarding.
96 * Merge code for forw and repl.
97
98 INC
99 ---
100 * Add ability to do filtering (call filterproc) when incorporating mail
101 * Change inc to use libary function folder_addmsg().
102
103 MHBUILD
104 -------
105 * add ability to specify Content-Transfer-Encoding in composition
106   drafts.
107 * add support for Content-Disposition header (rfc1806).
108 * remove the code for caching from mhbuild.
109
110 MHL
111 ---
112 * remove naming hack in mhlsbr.c for adios and done.
113 * add ability to filter parts of the message by calling
114   an external filtering program.
115 * fix internal pager for mhl?
116
117 MHMAIL
118 ------
119 * add -attach option (send could use this).  This should
120   be done by hooking in mhbuildsbr.c
121
122 MHN/MHSHOW/MHLIST/MHSTORE
123 -------------------------
124 * add way so user can tell mhn to use internal method for
125   handling type, such as multipart/mixed.
126 * add way so user can tell mhn to use a certain `proc' such
127   as moreproc, for certain content types.
128 * add support for Content-Disposition header (rfc1806).
129 * merge the two places in which mhshowsbr.c reads display
130   strings.
131 * when storing to a folder, should we save the folder context
132   first, so that storage string of "+" stores to the new
133   folder?
134
135 MSH
136 ---
137 * change conditional includes in msh.c to use termios.h
138 * Add -version to mshcmd.c for each command.
139 * Change msh to use mbox style files, instead of mmdf.  Add options -mbox,
140   -mmdf to choose.
141 *) There are couple calls to copyip() which should be changed to
142    getarguments().  One problem is freeing the string getcopy'ed by
143    getarguments().
144
145 PICK
146 ----
147 * split regex code out into library.
148 * replace regex code with Henry Spencer's regex library.
149
150 POST
151 ----
152 * make -msgid the default
153 * factor msgid code into own function
154
155 PROMPTER
156 --------
157 * maybe add ability to use prompter just for headers, and
158   then use primary editor for editing message.
159
160 RCVSTORE
161 --------
162 * Change rcvstore so that it can store into multiple folders.
163 * Add folder locking.
164
165 REPL
166 ----
167 * Decode RFC-2047 headers in messages included when replying
168   or forwarding.
169 * Merge code for forw and repl.
170
171 SEND/SENDSBR
172 ------------
173 * Maybe add `-server' and `-client' to documentation.
174 * Add ability for returned messages from "send -push" to be
175   in MIME format (this is actually a change in mhmail).
176 * make -msgid the default.
177 * Add RFC-2047 encoding support for out-going messages.  This
178   will probably require hooking mhparse into sendsbr.c, and doing
179   a complete MIME parsing.  Then all handling of Content encoding
180   can be on the backend.
181
182 SLOCAL
183 -----
184 * Change slocal to use .slocalrc file, instead of .maildelivery?
185 * Add ability to use regular expressions in header matching.
186 * Add support for Berkeley db.
187 * Clean up output from -debug option.
188 * Add -debuglevel to control the amount of debug info that is output.
189 * Add -debuglog to specify file to save debugging output.
190 * Add -logfile (or -audit) to specify where to record info about successful
191   deliveries.
192
193 VMH
194 ---
195 * Fix vmh (or remove it).  vmh seems to be using internal
196   knowledge of curses.
197
198 MTA INTERFACE
199 -------------
200 * Fix locking code.  Add lockfile command.
201 * Think about support for DSN (Delivery Status Notification)
202 * Test nmh with qmail.  Add qmail's maildir format.
203 * Relax restrictions on what can be done with headers in send/post.
204 * figure out why smail.c and client.c need their own copies of
205   getcpy, copyip, etc... (funny linking problem)
206
207 GENERAL
208 -------
209 * see if the various versions of copyfile and copyf can be
210   merged.
211 * change time functions to use POSIX functions by default.
212 * Add MH-6.8.4 features into nmh (mostly done).
213 * Maybe should move etcpath to sbr and add to libmh.
214 * collect winsize, struct termio, etc... together into a ttyinfo
215   structure.
216 * change adios to take exit code argument.
217 * use wait3 if not waitpid (maybe)
218 * some of the calls to setjmp/longjmp should be replaced with
219   sigsetjmp/siglongjmp.
220 * When do we need to add -lresolv for SunOS 4.1.x?
221 * replace use of ftell with fgetpos.