mailfrom.1 (2010 09)

m
mailfrom(1) mailfrom(1)
RETURN VALUE
mailfrom returns the following values:
0 Messages matching status are present.
1 No messages matching status are present, but there are some messages.
2 There are no messages at all.
3 An error occurred.
If multiple mailboxes or folders are specified, the exit status only applies to the last one examined. This
can be used in scripts to determine what kind of mail a user has.
EXAMPLES
Display header information from all the messages in your mailbox.
mailfrom
Display header information from all new messages in your mailbox.
mailfrom -s new
Assuming you have the proper file permissions to read
guest’s mail, print out header information from
all new and unread messages in
guest’s incoming mailbox.
mailfrom -s new -s unread guest
Print only a summary of how many new, unread, and read messages are in your incoming mailbox.
mailfrom -q -S
AUTHOR
mailfrom was developed by HP.
FILES
$HOME/.elm/elmrc
Your elm configuration file.
/var/mail Directory of incoming mailboxes.
SEE ALSO
elm(1), mail(1), mailx(1), readmail(1).
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010