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