TODO  mailapp-utilities 2.2.1  1998/08/12

* Add Chris Paris' tnextmail + mailattach to the utilities.


* appnmail

  - make signal-safe.


* compactmail

  - make signal-safe.

  - safe compaction by copying instead of in-place, at least as an option.

  - detect and remove orphaned attachments, at least as an option.

  - find a way to preserve presence of EnhanceMail indexes.


* Rhapsody / MacOS X port

  - create/update *.mbox/attrs.plist.  Needed?

    (example:
	{
	    deletedCount = 1; 
	    deletedSize = 4952; 
	    totalCount = 5; 
	    totalSize = 12074; 
	    unreadCount = 1; 
	    viewerProps = {frame = "395 333 579 592 0 0 1280 1005 "; splitPos = 0.801603; }; 
	    // ...
	}
    )

  - investigate TOC incompatibilities.

    (Seems that Rhapsody format is now as follows:

      [struct message_index] header -- see mailtoc.h
      [variable-length data:]
      asciiz - From: (in MacRoman encoding as of RDR2? Other encodings allowed?)
      asciiz - Subject: (idem)
      asciiz - attachment filename - no attachment if empty string.
      long - attachment size.
      long - unknown, always 0? (was attachment time_t in NEXTSTEP.)
      long - priority?
      long - message time_t (new in Rhapsody.)

     NeXTmail type flag is now `n' instead of `r'.
     ASCII-mail type is now `\0' instead of ` ' -- seems to have been bug in RDR.
     But MailViewer seems to grok old TOC formats for now.)

     (MacOS X introduces a new magic number (900000) for the above format,
      supposedly to better support backward compatibility.
     Also a new 'h' type flag indicates text/html content)

[OK]  - appnmail should write correct version of message index into TOC.

  - RDR1 .lock seems to use DO portname instead of pid.  Consequences?
[OK] RDR2 again adds pid, now as 4th field.

[OK] Make MailProxy (delivery mode) work with non-default delivery protocol.

[OK] Support other mailers (PopOver) in MailProxy.

  - update manpages for Rhapsody, or provide Rhapsody-specific manpages
    where and if necessary.

  - Rename Rhapsody to MacOS X.

  - On OPENSTEP/MacOSXS, use innate NSString/NSData encoding conversion
    capabilities.

  - make MailProxy mailer registration extensible (now hardwired).

  - extract MailProxy cs. into a subproject/framework, and donate it to
    the MiscKit.
