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.
(or -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.
(or -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.
(or -t or -nothreads or -not) list the messages in threads. The threads are sorted by time: the thread with the oldest starting message comes first.
(or --help or -?) Print a brief help
(or --verbose or --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
To install Mail::Box, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.