LISTMAIL

Section: User Commands (1)
Index Return to Main Contents
 

NAME

listmail - list the table_of_contents file of a Mail.app mailbox  

SYNOPSIS

listmail [ -nvt ] [ mbox ... ]  

DESCRIPTION

Mail.app creates a list of all messages for each mailbox and stores it in the table_of_contents file in the mailbox directory. Listmail outputs the contents of this file in readable form. Its primary use is as a debugging tool for corrupted mailboxes, but others uses are imaginable.

Any number of existing mailboxes may be given as arguments. If the mailboxes are in the locations where Mail.app would look for them the pathname and the `.mbox' extension may be dropped.

Listmail accepts two options. If it is invoked with -n it will list the table_of_contents immediately even if the mailbox is locked by another program. There is no danger of data corruption as listmail never writes any data. If the -n option is not given listmail will wait for the mailbox to become available just like the other programs in this suite. The option -v causes listmail to be more verbose about what it does. The opposite is achieved with the option -t. If it is set listmail will only spew the message count to the standard output.

 

SEE ALSO

appnmail(1)

 

BUGS

This program by necessity depends on the internal format of Mail.app files. While it cooperates correctly with NS 2.x and 3.[0123] no guarantee can be made that this won't change in the future.  

AUTHOR

Carl Edman <cedman@princeton.edu>, Department of Physics, Princeton University.

The task was made considerably easier by Chris Paris <cap+@cmu.edu> decoding of the Mail.app transmission and storage formats.


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
BUGS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 19:46:30 GMT, September 18, 2024