HP-UX Reference (11i v2 03/08) - 1 User Commands A-M (vol 1)
m
mailx(1) mailx(1)
onehop When responding to a message that was originally sent to several recipients, the
other recipient addresses are normally forced to be relative to the originating
author’s machine for the response. This flag disables alteration of the recipients’
addresses, improving efficiency in a network where all machines can send directly
to all other machines (i.e., one hop away).
outfolder Cause the files used to record outgoing messages to be located in the directory
specified by the folder variable. Default is
nooutfolder. See folder above
and the
Save, Copy, fo
llowup, and Followup commands.
page Used with the pipe command to insert a form feed after each message sent through
the pipe. Default is nopage.
PAGER= command The command to use as a filter for paginating output. This can also be used to
specify the pager command-line options (for example,
set PAGER="more -c").
Default is
pg (see pg(1)), but many users prefer
more (see more(1)).
prompt= string Set the command mode prompt to string. Default is
?.
quiet Refrain from printing the opening message and version when entering
mailx.
Default is
noquiet.
record=filename Record all outgoing mail in filename. Disabled by default. See also
outfolder
above.
replyto=address Specify address to which responses are to be sent.
save Enable saving of messages in dead.letter on interrupt or delivery error. See
DEAD for a description of this file. Enabled by default.
screen=number Set the number of lines in a screen-full of headers for the headers command.
sendmail=command
Alternate command for delivering messages. Default is mail (see mail(1)).
sendwait Wait for background mailer to finish before returning. Default is nosendwait
.
SHELL=command The name of a preferred command interpreter. Default is the user’s login program
(see passwd(4), shells(4), and chsh(1)). Note: in the unusual case that a user’s login
program is a script file from which mailx is executed, rather than a shell, then
mailx requires that the user explicitly set SHELL=/usr/bin/sh
in his or her
$HOME/.mailrc file.
showto When displaying the header summary and the message is from you, print the
recipient’s name instead of the author’s name.
sign=string The variable that is inserted into the text of a message when the ˜a
(autograph)
command is given. No default (see also
˜i in the TILDE ESCAPES section).
Sign=string The variable inserted into the text of a message when the ˜A command is given.
No default (see also ˜i in the TILDE ESCAPES section).
SMARTMAILER When SMARTMAILER is set, various commands use the From: line instead of the
default From line.
toplines=number The number of lines of header to print with the top command. Default is 5.
VISUAL=command The name of a preferred screen editor. Default is vi (see vi(1)).
The following are environment variables taken from the execution environment and are not alterable
within
mailx.
HOME The user’s home directory. This is usually the current directory immediately after
login.
MAILRC The name of the mailer start-up file. Default is $HOME/.mailrc.
LC_COLLATE
LC_CTYPE LC_COLLATE and LC_CTYPE influence mailx when the command interpreter
(see the SHELL environment variable) is invoked. To determine the behavior of
LC_COLLATE and LC_CTYPE, see the corresponding shell manual entry for the
applicable command interpreter.
Section 1−−516 Hewlett-Packard Company − 9 − HP-UX 11i Version 2: August 2003