Next: mail, Previous: authentication, Up: Programs
GNU mailutils provides two commands for listing messages in a mailbox. These are from and frm.
The frm command outputs a header information of
the selected messages in a mailbox. By default, frm reads the
user's system mailbox and outputs the contents of From
and
Subject
headers for each message. If a folder is specified in
the command line, the program reads that folder rather than the default
mailbox.
The program uses following option groups: See mailbox.
The following command line options alter the behavior of the program:
From
Subject
pair.
To
header to the output. The output field
order is then: To
From
Subject
.
The from utility displays sender and subject of each message in a mailbox. By default, it reads the user's system mailbox. If the program is given a single argument, it is interpreted as a user name whose mailbox is to be read. Obviously, permissions are required to access that user's mailbox, so such invocations may be used only by superuser.
Option -f (--file) instructs the program to read the given mailbox.
The full list of options, supported by from follows:
From:
header is examined.