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.
Options:
(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.
-e
(or -s) also show size of message in non-threaded output.
-s
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.
-t
-nothreads
-not
(or --help or -?) Print a brief help
--help
-?
(or --verbose or --noverbose) Be verbose about the progress of the program. This is especially useful for debugging purposes.
--verbose
--noverbose
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 (tassilo.parseval@post.rwth-aachen.de)
This code is beta, version 2.019
To install Mail::Box, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::Box
CPAN shell
perl -MCPAN -e shell install Mail::Box
For more information on module installation, please visit the detailed CPAN module installation guide.