lsmail - list a mailbox
lsmail [--entities][--header][--nheader][--size] [--threads][--verbose][--help] mailboxes
List the contents of one or more mailboxes. Specifying more than one name is only useful when you read in threads, in which case the messages of both folders are merged.
-e) show the number of MIME-entities in messages.
When --threads is also given,
the number is appended to the subject.
Slows down lsmail significantly since a mail message must be fully parsed to get the entities information.
-s) also show size of message in non-threaded output.
only display mails whose HEADER-FIELD (for instance 'subject' or 'from') contains PATTERN.
do not display mails whose HEADER-FIELD contains PATTERN.
-not) list the messages in threads.
The threads are sorted by time: the thread with the oldest starting message comes first.
-?) Print a brief help
--noverbose) Be verbose about the progress of the program.
This is especially useful for debugging purposes.
Mark Overmeer (Mark@Overmeer.net). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Additions by Tassilo v. Parseval (email@example.com)
This code is beta, version 2.019