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