added some corrections to bin/statusbar; the xterm font size is
[home.git] / .mailrc
blob293ec178c88e26de4889d6aa686e7afa2454e6d6
1 # $Id: .mailrc,v 1.1 2016/11/30 14:36:27 fste Exp $
3 # mail, mailx Mail configuration file
6 # ------------------------------------------------------------------------------
7 # Copywhat (?) 2016 stefano ferro <fstef@cryptolab.net>
9 # This work is protected by the Berne Convention but nobody can tell us
10 # what we can do and what we can't, so we don't care.
11 # Anybody caught use, copy, hacking, and distribute this work for any 
12 # purpose, or otherwise experience it, without our permission. 
13 # Credit the creator of this work is a matter of ethics, not a matter 
14 # of law, so is up to you.
16 # THE WORK IS PROVIDED "AS IS" AND YOU USE IT AT YOUR OWN RISK.
17 # ------------------------------------------------------------------------------
19 #Mail options
21 #Options are controlled via set and unset commands. Options may be either
22 #binary, in which case it is only significant to see whether they are set or
23 #not; or string, in which case the actual value is of interest. The binary
24 #options include the following:
26 #append
27 #    Causes messages saved in mbox to be appended to the end rather than
28 #    prepended. This should always be set (perhaps in /etc/mail.rc).
29 set append
31 #ask, asksub
32 #    Causes mail to prompt you for the subject of each message you send. If you
33 #    respond with simply a newline, no subject field will be sent.
34 set ask, asksub
36 #askbcc
37 #    Causes you to be prompted for additional blind carbon copy recipients at
38 #    the end of each message. Responding with a newline indicates your
39 #    satisfaction with the current list.
41 #askcc
42 #    Causes you to be prompted for additional carbon copy recipients at the end
43 #    of each message. Responding with a newline indicates your satisfaction with
44 #    the current list.
46 #autoinc
47 #    Causes new mail to be automatically incorporated when it arrives. Setting
48 #    this is similar to issuing the inc command at each prompt, except that the
49 #    current message is not reset when new mail arrives.
51 #autoprint
52 #    Causes the delete command to behave like dp; thus, after deleting a
53 #    message, the next one will be typed automatically.
55 #debug
56 #    Setting the binary option debug is the same as specifying -d on the command
57 #    line and causes mail to output all sorts of information useful for
58 #    debugging mail.
60 #dot
61 #    The binary option dot causes mail to interpret a period alone on a line as
62 #    the terminator of a message you are sending.
63 set dot
65 #expandaddr
66 #    Causes mail to expand message recipient addresses, as explained in the
67 #    section Recipient address specifications.
69 #from
70 #    Causes mail to use the specified sender address in the “From:” field of the
71 #    message header. A stripped down version of the address is also used in the
72 #    message envelope. If unset, the message will not include an explicit sender
73 #    address and a default value will be added by the MTA, typically
74 #    “user@host”. This value can be overridden by specifying the -r flag on the
75 #    command line.
77 #hold
78 #    This option is used to hold messages in the system mailbox by default.
80 #ignore
81 #    Causes interrupt signals from your terminal to be ignored and echoed as
82 #    @'s.
83 ignore message-id received date fcc status resent-date resent-message-id resent-from in-reply-to
85 #ignoreeof
86 #    An option related to dot is ignoreeof which makes mail refuse to accept a
87 #    control-D as the end of a message. ignoreeof also applies to mail command
88 #    mode.
90 #keep
91 #    Setting this option causes mail to truncate your system mailbox instead of
92 #    deleting it when it's empty.
94 #keepsave
95 #    Messages saved with the save command are not normally saved in mbox at quit
96 #    time. Use this option to retain those messages.
98 #metoo
99 #    Usually, when a group is expanded that contains the sender, the sender is
100 #    removed from the expansion. Setting this option causes the sender to be
101 #    included in the group.
103 #noheader
104 #    Setting the option noheader is the same as giving the -N flag on the
105 #    command line.
107 #nosave
108 #    Normally, when you abort a message with two interrupt characters (usually
109 #    control-C), mail copies the partial letter to the file dead.letter in your
110 #    home directory. Setting the binary option nosave prevents this.
111 set nosave
113 #quiet
114 #    Suppresses the printing of the version when first invoked.
116 #Replyall
117 #    Reverses the sense of reply and Reply commands.
119 #searchheaders
120 #    If this option is set, then a message-list specifier in the form “/x:y”
121 #    will expand to all messages containing the substring ‘y’ in the header
122 #    field ‘x’. The string search is case insensitive. If ‘x’ is omitted, it
123 #    will default to the “Subject” header field. The form “/to:y” is a special
124 #    case, and will expand to all messages containing the substring ‘y’ in the
125 #    “To”, “Cc” or “Bcc” header fields. The check for “to” is case sensitive, so
126 #    that “/To:y” can be used to limit the search for ‘y’ to just the “To:”
127 #    field.
129 #skipempty
130 #    Don't send messages with an empty body.
131 set skipempty
133 #verbose
134 #    Setting the option verbose is the same as using the -v flag on the command
135 #    line. When mail runs in verbose mode, the actual delivery of messages is
136 #    displayed on the user's terminal.
138 #Option string values
141 #EDITOR
142 #    Pathname of the text editor to use in the edit command and ~e escape. If
143 #    not defined, /usr/bin/ex is used.
145 #LISTER
146 #    Pathname of the directory lister to use in the folders command. Default is
147 #    /bin/ls.
149 #MBOX
150 #    The name of the mbox file. It can be the name of a folder. The default is
151 #    “mbox” in the user's home directory.
153 #PAGER
154 #    Pathname of the program to use in the more command or when the crt variable
155 #    is set. The default paginator more(1) is used if this option is not
156 #    defined.
157 set PAGER=less
159 #SHELL
160 #    Pathname of the shell to use in the ! command and the ~! escape. A default
161 #    shell is used if this option is not defined.
163 #TMPDIR
164 #    Directory in which temporary files are stored.
166 #VISUAL
167 #    Pathname of the text editor to use in the visual command and ~v escape. If
168 #    not defined, /usr/bin/vi is used.
170 #crt
171 #    The valued option crt is used as a threshold to determine how long a
172 #    message must be before PAGER is used to read it. If crt is set without a
173 #    value, then the height of the terminal screen stored in the system is used
174 #    to compute the threshold (see stty(1)).
175 set crt
177 #escape
178 #    If defined, the first character of this option gives the character to use
179 #    in the place of ~ to denote escapes.
181 #folder
182 #    The name of the directory to use for storing folders of messages. If this
183 #    name begins with a ‘/’, mail considers it to be an absolute pathname;
184 #    otherwise, the folder directory is found relative to your home directory.
187 #indentprefix
188 #    String used by the ~m tilde escape for indenting messages, in place of the
189 #    normal tab character (‘^I’). Be sure to quote the value if it contains
190 #    spaces or tabs.
192 #record
193 #    If defined, gives the pathname of the file used to record all outgoing
194 #    mail. If not defined, then outgoing mail is not so saved.
196 #screen
197 #    Size of window of message headers for z.
199 #sendmail
200 #    Pathname to an alternative mail delivery system.
201 #set sendmail=/usr/local/bin/msmtp
203 #toplines
204 #    If defined, gives the number of lines of a message to be printed out with
205 #    the top command; normally, the first five lines are printed.