mailx.1 (2010 09)

m
mailx(1) mailx(1)
mimeheader=value
To add or disable MIME header when sending mail. value can be
yes or no.
LISTER=command The command (and options) to use when listing contents of the
folder directory.
The default is
ls.
NOMETAMAIL=value
To disable the usage of metamail to read MIME messages, set the value to
TRUE.
By default the
NOMETAMAIL variable is not set.
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
authors 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 (that is, 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, followup, 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, but many users prefer more (see pg(1) and 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.
10 Hewlett-Packard Company 10 HP-UX 11i Version 3: September 2010