HP-UX Reference (11i v1 05/09) - 1 User Commands A-M (vol 1)
m
mailfrom(1) mailfrom(1)
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
FILES
$HOME/.elm/elmrc
Your elm configuration file.
/var/mail Directory of incoming mailboxes.
AUTHOR
mailfrom was developed by HP.
SEE ALSO
elm(1), mail(1), mailx(1), readmail(1).
Section 1−−514 Hewlett-Packard Company − 2 − HP-UX 11i Version 1: September 2005