ftp.nice.ch/pub/next/tools/inspectors/MailboxInspector.1.1.README

This is the README for MailboxInspector.1.1.NIHS.bs.tar.gz [Download] [Browse] [Up]

MailboxInspector
A NEXTSTEP Workspace Manager contents inspector for Mail.app *.mbox files.

by Tom Hageman
version 1.1  May 1997

This is an inspector for Mail.app's mailbox (.mbox) files.  Its chief function is to display,
in Workspace's Contents Inspector, whether the mailbox contains newly arrived messages, and if
so, how many.  This is particularly useful if you use procmail in conjunction with Carl
Edman's mailapp-utility appnmail to sort  incoming mail into various Mail.app mailboxes.  It
is unfortunate that Mail.app does not indicate the presence of new mail itself in its
Mailboxes panel 2, but anyhow at the time I didn't feel like grotting into the intestines of
Mail.app, so this inspector is the next best thing I could think of.  [Besides, a workspace
inspector should work for NeXTSTEP 3.2 and earlier whereas pre-3.3 Mail.app does not support
loadable bundles...].
It also displays the number and size of messages and (NeXTmail) attachments for a number of
categories: total, deleted messages, read (and not flagged or marked unread) messages, flagged
messages, messages marked unread, and new messages.  Finally it indicates whether the mailbox
is indexed (another fine EnhanceMail extension incidentally), and the size of the index store
if appropriate.
_____
2 [HYPE: EnhanceMail 2.0b5 and later adds exactly this type of functionality to Mail.app.]

INSTALLATION
You should install MailboxInspector.bundle somewhere in (a subdirectory of) your Workspace
search path, usually ~/Apps or ~/LocalApps.  (I like to install workspace inspectors in
/LocalApps/WMInspectors to keep the Apps directory from cluttering up with bundles.)

Note: if you have Jim Million's WrapperInspector installed, this MailboxInspector may be
obscured by it.  If this happens you have to remove the line that contains ``extension=mbox''
in WrapperInspector's bundle.registry file, and rebuild WrapperInspector.  Alternatively you
can patch the WrapperInspector.bundle/WrapperInspector binary itself using a binary editor and
change all occurrences of ``extension=mbox'' to something innocuous, e.g. ``extension=MboX''
(but that can be quite tedious if it is installed quad-fat...)

BUGS
This is not a beta release anymore, but it probably still contains some bugs.  If you
encounter any, please report them to <tom@basil.icce.rug.nl>.  Suggestions, improvements,
money etc. are also welcome.

This inspector knows by necessity of the internals of a *.mbox wrapper, so it may cease to
work if the names or format of the files therein are changed in a future OS upgrade.  The
mailbox table_of_contents access routines are stolen from Carl Edman's mailapp-utilities, so
if that stops to work, so will this inspector...

LEGALIA
This software is Copyright c 1996,1997 Tom Hageman.

This is free software; you can redistribute it and/or modify it under the terms of the GNU
General Public License as published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
the GNU General Public License [the file COPYING in the source distribution] for more details.

You should have received a copy of the GNU General Public License along with this software; if
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.

Except:
7 Some parts (specifically mailtoc.[ch]) are Copyright c 1993 Carl Edman, but otherwise
perfect freeware.

7 Icons are borrowed from Mail.app (3.3), Copyright c 1994 NeXT, Inc.

(I am not in any way affiliated to Carl Edman, other than being a satisfied user / harried
maintainer of some of his free software ;-)

HISTORY
Version	Remarks
1.1	Display table of contents size; add German localization by Gerald Erdmann
<gerald@stepman.com>.
1.0	Incorporate bugfixed mailtoc from mailapp-utilities 1.8.
0.9	First public release.

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.