| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
mail
Following variables control the behavior of GNU mail:
Sign
Contains the filename holding users signature. The contents of this
file is appended to the end of a message being composed by ~A
escape.
appenddeadletter
If this variable is True, the contents of canceled letter is
appended to the user's `dead.letter' file. Otherwise it overwrites
its contents.
askbcc
When set to True the user will be prompted to enter Bcc
field before composing the message.
askcc
When set to True the user will be prompted to enter Cc
field before composing the message.
asksub
When set to True the user will be prompted to enter Subject
field before composing the message.
autoinc
Automatically incorporate newly arrived messages.
autoprint
Causes the delete command to behave like dp - thus, after deleting a message, the next one will be typed automatically.
datefield
By default the date in a header summary is taken from the SMTP
envelope of the message. Setting this variable tells mail
to use the date from Date: header field, converted to
localtime. Notice, that for messages lacking this field mail
will fall back to using SMTP envelope.
charset
The value of this variable controls the output character set for the
header fields encoding using RFC 2047. If the variable is unset, no
decoding is performed and the fields are printed as they are. If the
variable is set to `auto', mail tries to deduce the
name of the character set from the value of LC_ALL environment
variable. Otherwise, its value is taken as the name of the charset.
cmd
Contains default shell command for pipe.
columns
COLUMNS is used.
This variable contains the number of columns on terminal screen.
crt
The variable crt determines the minimum number of lines the body
of the message must contain in order to be piped through pager command
specified by environment variable PAGER. If crt is set
to a numeric value, this value is taken as the threshold. Otherwise,
if crt is set without a value, then the height of the terminal
screen is used to compute the threshold. The number of lines on
screen is controlled by screen variable.
decode-fallback
This variable controls the way to represent characters that cannot be rendered using current character set. It can have three values:
dot
If True, causes mail to interpret a period alone on a line as the
terminator of a message you are sending.
emptystart
If the mailbox is empty, mail normally prints `No mail for user' and
exits immediately. If this option is set, mail will start no matter is
the mailbox empty or not.
editheaders
When set, mail will include message headers in the text to
be the ~e and ~v escapes, thus allowing you to customize
the headers.
escape
If defined, the first character of this option gives the character to denoting escapes.
folder
The name of the directory to use for storing folders of messages. If
unset, $HOME is assumed.
header
Whether to run headers command automatically after entering
interactive mode.
hold
When set to True, the read or saved messages will be stored in
user's mailbox (`$HOME/mbox'). Otherwise, they will be held in
system mailbox also. This option is in effect only when operating
upon user's system mailbox.
ignore
When set to True, mail will ignore keyboard interrupts
when composing messages. Otherwise an interrupt will be taken as a
signal to abort composing.
ignoreeof
Controls whether typing EOF character terminates the letter being composed.
indentprefix
String used by the ~m tilde escape for indenting quoted messages.
keepsave
Controls whether saved messages should be kept in system mailbox too. This variable is in effect only when operating upon a user's system mailbox.
mailx
When set, enables mailx compatibility mode. This mode has the following effects:
mail will ask
for Cc and Bcc addresses after composing the body.
The default behavior is to ask for these values before composing
the body.
mail
will exit with zero status. By default it exits with zero status only
if the message was sent successfully.
metoo
Usually, when an alias is expanded that contains the sender, the sender is removed from the expansion. Setting this option causes the sender to be included in the group.
mode
Setting this variable does not affect the operation mode of the program.
regex
Setting this to True enables use of regular expressions in
`/.../' message specifications.
outfolder
Contains the directory in which files created by save,
write, etc. commands will be stored. When unset, current
directory is assumed.
page
If set to True, the pipe command will emit a linefeed
character after printing each message.
prompt
Contains the command prompt sequence.
quit
When set, causes keyboard interrupts to terminate the program.
rc
When this variable is set, mail will read the system-wide
configuration file upon startup. See 3.4.7 Personal and System-wide Configuration Files.
record
When set, any outgoing message will be saved to the named file.
replyprefix
Sets the prefix that will be used when constructing the subject line of a reply message.
replyregex
Sets the regular expression used to recognize subjects of reply
messages. If the Subject header of the message matches this
expression, the value of replyprefix will not be prepended to
it before replying. The expression should be a POSIX extended regular
expression. The comparison is case-insensitive.
For example, to recognize usual English, Polish, Norwegian and German reply subject styles, use:
set replyregex="^(re|odp|aw|ang)(\\[[0-9]+\\])?:[[:blank:]]" |
(Notice the quoting of backslash characters).
save
When set, the aborted messages will be stored in the user's
`dead.file'. See also appenddeadletter.
screen
LINES is used.
This variable contains the number of lines on terminal screen.
sendmail
Contains the URL of mail transport agent.
sign
Contains the user's signature. The contents of this variable is appended
to the end of a message being composed by ~a escape. Use
Sign variable, if your signature occupies more than one line.
subject
Contains default subject line. This will be used when asksub is
off.
toplines
Number of lines to be displayed by top and Top commands.
verbose
When set, the actual delivery of messages is displayed on the user's terminal.
xmailer
Controls whether the header `X-Mailer' should be added to outgoing messages. The default value of this header is
X-Mailer: mail (GNU Mailutils 0.6) |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |