By default, Sendmail delivers to local mailboxes by appending new messages to
the file /usr/mail/USER.ACCOUNT. Mailbox files will automatically be
created if they do not already exist. Each user has direct filesystem
read/write access to their own mailbox file. MPE usernames *must* be specified
in uppercase when addressing e-mail.
When the mailx program is run without
any parameters, it checks to see if there is any new mail in your
local mailbox file. A summary of the mailbox contents will be presented,
and then you can interact with your messages using a simplistic
user interface:
:HELLO USER.ACCOUNT
:XEQ SH.HPBIN.SYS -L
shell/iX> mailx
mailx version MPE/iX Shell and Utilities (A.01.01)
May 9 1997 05:04:05 Type ? for help.
"/usr/mail/USER.ACCOUNT": 1 message 1 new
>N 1 sender@some.host Mon Oct 29 16:48 22/908 test
message
? help
mailx commands
type [msglist] print messages
next goto and type next message
edit [message] edit message
from [msglist] print header summary of messages
delete [msglist] delete messages
save [msglist] file save messages by appending to "file"
undelete [msglist] remove deletion mark from messages
reply [msglist] reply to messages
preserve [msglist] prevent messages from going into MBOX
unread [msglist] mark messages as unread
mail [user ...] mail to specified users
quit quit, updating MAILBOX and MBOX
xit quit, no updates
headers print page of headers summary
!command escape to shell with "command"
cd [directory] change current directory
list complete set of command names
The shortest non-ambiguous abbreviation is allowed for commands
[msglist] or [message] are optional specifiers for message by subject,
author, number, or type. When unspecified, the current message is
assumed.
? type 1
Message 1:
From sender@some.host Mon Oct 29 16:48:18 2001
Received: from some.host (IDENT:root@some.host [12.34.56.78])
by my.host (8.12.1/8.12.1) with ESMTP id f9U0mGPr46792874
for <USER.ACCOUNT@my.host>; Mon, 29 Oct 2001 16:48:17 -0800
Received: from some.host (some.host [12.34.56.78])
by some.host (8.11.6/8.11.6) with ESMTP id f9U0m8O06413
for <USER.ACCOUNT@my.host>;
Mon, 29 Oct 2001 16:48:08 -0800
Message-ID: <3BDDF8C8.15625C@some.host>
Date: Mon, 29 Oct 2001 16:48:08 -0800
From: John Doe <sender@some.host>
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: Jane Doe <USER.ACCOUNT@my.host>
Subject: test message
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit Hi there!