Andreas Krennmair:
[apps/madmutt.git] / doc / muttrc.man.head
1 '\" t
2 .\" -*-nroff-*-
3 .\"
4 .\"     Copyright (C) 1996-2000 Michael R. Elkins <me@cs.hmc.edu>
5 .\"     Copyright (C) 1999-2000 Thomas Roessler <roessler@guug.de>
6 .\" 
7 .\"     This program is free software; you can redistribute it and/or modify
8 .\"     it under the terms of the GNU General Public License as published by
9 .\"     the Free Software Foundation; either version 2 of the License, or
10 .\"     (at your option) any later version.
11 .\" 
12 .\"     This program is distributed in the hope that it will be useful,
13 .\"     but WITHOUT ANY WARRANTY; without even the implied warranty of
14 .\"     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 .\"     GNU General Public License for more details.
16 .\" 
17 .\"     You should have received a copy of the GNU General Public License
18 .\"     along with this program; if not, write to the Free Software
19 .\"     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
20 .\"
21 .TH muttrc 5 "September 2002" Unix "User Manuals"
22 .SH NAME
23 muttrc \- Configuration file for the Mutt Mail User Agent
24 .SH DESCRIPTION
25 .PP
26 A mutt configuration file consists of a series of \(lqcommands\(rq.
27 Each line of the file may contain one or more commands.  When
28 multiple commands are used, they must be separated by a semicolon
29 (\(lq\fB;\fP\(rq).
30 .PP
31 The hash mark, or pound sign (\(lq\fB#\fP\(rq), is used as a
32 \(lqcomment\(rq character. You can use it to annotate your
33 initialization file. All text after the comment character to the end
34 of the line is ignored.
35 .PP
36 Single quotes (\(lq\fB'\fP\(rq) and double quotes (\(lq\fB"\fP\(rq)
37 can be used to quote strings which contain spaces or other special
38 characters.  The difference between the two types of quotes is
39 similar to that of many popular shell programs, namely that a single
40 quote is used to specify a literal string (one that is not
41 interpreted for shell variables or quoting with a backslash [see
42 next paragraph]), while double quotes indicate a string for which
43 should be evaluated.  For example, backtics are evaluated inside of
44 double quotes, but not for single quotes.
45 .PP
46 \fB\(rs\fP quotes the next character, just as in shells such as bash and zsh.
47 For example, if want to put quotes (\(lq\fB"\fP\(rq) inside of a
48 string, you can use \(lq\fB\(rs\fP\(rq to force the next character
49 to be a literal instead of interpreted character.
50 .PP
51 \(lq\fB\(rs\(rs\fP\(rq means to insert a literal \(lq\fB\(rs\fP\(rq into the
52 line.  \(lq\fB\(rsn\fP\(rq and \(lq\fB\(rsr\fP\(rq have their usual
53 C meanings of linefeed and carriage-return, respectively.
54 .PP
55 A \(lq\fB\(rs\fP\(rq at the end of a line can be used to split commands over
56 multiple lines, provided that the split points don't appear in the
57 middle of command names.
58 .PP
59 It is also possible to substitute the output of a Unix command in an
60 initialization file.  This is accomplished by enclosing the command
61 in backquotes (\fB`\fP\fIcommand\fP\fB`\fP).
62 .PP
63 UNIX environments can be accessed like the way it is done in shells
64 like sh and bash: Prepend the name of the environment by a dollar
65 (\(lq\fB\(Do\fP\(rq) sign.
66 .PP
67 .SH COMMANDS
68 .PP
69 .nf
70 \fBalias\fP \fIkey\fP \fIaddress\fP [\fB,\fP \fIaddress\fP [ ... ]]
71 \fBunalias\fP [\fB * \fP | \fIkey\fP ]
72 .fi
73 .IP
74 \fBalias\fP defines an alias \fIkey\fP for the given addresses.
75 \fBunalias\fP removes the alias corresponding to the given \fIkey\fP or
76 all aliases when \(lq\fB*\fP\(rq is used as an argument.
77 .PP
78 .nf
79 \fBalternates\fP \fIregexp\fP [ \fB,\fP \fIregexp\fP [ ... ]]
80 \fBunalternates\fP [\fB * \fP | \fIregexp\fP [ \fB,\fP \fIregexp\fP [ ... ]] ]
81 .fi
82 .IP
83 \fBalternates\fP is used to inform mutt about alternate addresses
84 where you receive mail; you can use regular expressions to specify
85 alternate addresses.  This affects mutt's idea about messages
86 from you, and messages addressed to you.  \fBunalternates\fP removes
87 a regular expression from the list of known alternates.
88 .PP
89 .nf
90 \fBalternative_order\fP \fItype\fP[\fB/\fP\fIsubtype\fP] [ ... ]
91 \fBunalternative_order\fP [\fB * \fP | \fItype\fP/\fIsubtype\fP] [...]
92 .fi
93 .IP
94 \fBalternative_order\fP command permits you to define an order of preference which is
95 used by mutt to determine which part of a
96 \fBmultipart/alternative\fP body to display.
97 A subtype of \(lq\fB*\fP\(rq matches any subtype, as does an empty
98 subtype.   \fBunalternative_order\fP removes entries from the
99 ordered list or deletes the entire list when \(lq\fB*\fP\(rq is used
100 as an argument.
101 .PP
102 .nf
103 \fBauto_view\fP \fItype\fP[\fB/\fP\fIsubtype\fP] [ ... ]
104 \fBunauto_view\fP \fItype\fP[\fB/\fP\fIsubtype\fP] [ ... ]
105 .fi
106 .IP
107 This commands permits you to specify that mutt should automatically
108 convert the given MIME types to text/plain when displaying messages.
109 For this to work, there must be a 
110 .BR mailcap (5)
111 entry for the given MIME type with the 
112 .B copiousoutput
113 flag set.  A subtype of \(lq\fB*\fP\(rq 
114 matches any subtype, as does an empty subtype.
115 .PP
116 .nf
117 \fBmime_lookup\fP \fItype\fP[\fB/\fP\fIsubtype\fP] [ ... ]
118 \fBunmime_lookup\fP \fItype\fP[\fB/\fP\fIsubtype\fP] [ ... ]
119 .fi
120 .IP
121 This command permits you to define a list of "data" MIME content
122 types for which mutt will try to determine the actual file type from
123 the file name, and not use a 
124 .BR mailcap (5)
125 entry given for the original MIME type.  For instance, you may add
126 the \fBapplication/octet-stream\fP MIME type to this list.
127 .TP
128 \fBbind\fP \fImap1,map2,...\fP \fIkey\fP \fIfunction\fP
129 This command binds the given \fIkey\fP for the given \fImap\fP or maps
130 to the given \fIfunction\fP. Multiple maps may be specified by
131 separating them with commas (no whitespace is allowed).
132 .IP
133 Valid maps are:
134 .BR generic ", " alias ", " attach ", " 
135 .BR browser ", " editor ", "
136 .BR index ", " compose ", " 
137 .BR pager ", " pgp ", " postpone ", "
138 .BR mix .
139 .IP
140 For more information on keys and functions, please consult the Mutt
141 Manual.
142 .TP
143 \fBaccount-hook\fP [\fB!\fP]\fIregexp\fP \fIcommand\fP
144 This hook is executed whenever you access a remote mailbox. Useful
145 to adjust configuration settings to different IMAP or POP servers.
146 .TP
147 \fBcharset-hook\fP \fIalias\fP \fIcharset\fP
148 This command defines an alias for a character set.  This is useful
149 to properly display messages which are tagged with a character set
150 name not known to mutt.
151 .TP
152 \fBiconv-hook\fP \fIcharset\fP \fIlocal-charset\fP
153 This command defines a system-specific name for a character set.
154 This is useful when your system's 
155 .BR iconv (3)
156 implementation does not understand MIME character set names (such as 
157 .BR iso-8859-1 ),
158 but instead insists on being fed with implementation-specific
159 character set names (such as
160 .BR 8859-1 ).
161 In this specific case, you'd put this into your configuration file:
162 .IP
163 .B "iconv-hook iso-8859-1 8859-1"
164 .TP
165 \fBmessage-hook\fP [\fB!\fP]\fIpattern\fP \fIcommand\fP
166 Before mutt displays (or formats for replying or forwarding) a
167 message which matches the given \fIpattern\fP (or, when it is
168 preceded by an exclamation mark, does not match the \fIpattern\fP),
169 the given \fIcommand\fP is executed.  When multiple
170 \fBmessage-hook\fPs match, they are  executed  in  the order in
171 which they occur in the configuration file.
172 .TP
173 \fBfolder-hook\fP [\fB!\fP]\fIregexp\fP \fIcommand\fP
174 When mutt enters a folder which matches \fIregexp\fP (or, when
175 \fIregexp\fP is preceded by an exclamation mark, does not match
176 \fIregexp\fP), the given \fIcommand\fP is executed.
177 .IP
178 When several \fBfolder-hook\fPs match a given mail folder, they are
179 executed in the order given in the configuration file.
180 .TP
181 \fBmacro\fP \fImap\fP \fIkey\fP \fIsequence\fP [ \fIdescription\fP ]
182 This command binds the given \fIsequence\fP of keys to the given
183 \fIkey\fP in the given \fImap\fP or maps.  For valid maps, see \fBbind\fP. To
184 specify multipe maps, put only a comma between the maps.
185 .PP
186 .nf
187 \fBcolor\fP \fIobject\fP \fIforeground\fP \fIbackground\fP [ \fI regexp\fP ]
188 \fBcolor\fP index \fIforeground\fP \fIbackground\fP [ \fI pattern\fP ]
189 \fBuncolor\fP index \fIpattern\fP [ \fIpattern\fP ... ]
190 .fi
191 .IP
192 If your terminal supports color, these commands can be used to
193 assign \fIforeground\fP/\fIbackgound\fP combinations to certain
194 objects.  Valid objects are:
195 .BR attachment ", " body ", " bold ", " header ", "
196 .BR hdrdefault ", " index ", " indicator ", " markers ", "
197 .BR message ", " normal ", " quoted ", " quoted\fIN\fP ", "
198 .BR search ", " signature ", " status ", " tilde ", " tree ", "
199 .BR underline .
200 The
201 .BR body " and " header
202 objects allow you to restrict the colorization to a regular
203 expression.  The \fBindex\fP object permits you to select colored
204 messages by pattern.
205 .IP
206 Valid colors include:
207 .BR white ", " black ", " green ", " magenta ", " blue ", "
208 .BR cyan ", " yellow ", " red ", " default ", " color\fIN\fP .
209 .PP
210 .nf
211 \fBmono\fP \fIobject\fP \fIattribute\fP [ \fIregexp\fP ]
212 \fBmono\fP index \fIattribute\fP [ \fIpattern\fP ]
213 .fi
214 .IP
215 For terminals which don't support color, you can still assign
216 attributes to objects.  Valid attributes include:
217 .BR none ", " bold ", " underline ", " 
218 .BR reverse ", and " standout .
219 .TP
220 [\fBun\fP]\fBignore\fP \fIpattern\fP [ \fIpattern\fP ... ]
221 The \fBignore\fP command permits you to specify header fields which
222 you usually don't wish to see.  Any header field whose tag
223 \fIbegins\fP with an \(lqignored\(rq pattern will be ignored.
224 .IP
225 The \fBunignore\fP command permits you to define exceptions from
226 the above mentioned list of ignored headers.
227 .PP
228 .nf
229 \fBlists\fP \fIregexp\fP [ \fIregexp\fP ... ]
230 \fBunlists\fP \fIregexp\fP [ \fIregexp\fP ... ]
231 \fBsubscribe\fP \fIregexp\fP [ \fIregexp\fP ... ]
232 \fBunsubscribe\fP \fIregexp\fP [ \fIregexp\fP ... ]
233 .fi
234 .IP
235 Mutt maintains two lists of mailing list address patterns, a list of
236 subscribed mailing lists, and a list of known mailing lists.  All
237 subscribed mailing lists are known.  Patterns use regular expressions.
238 .IP
239 The \fBlists\fP command adds a mailing list address to the list of
240 known mailing lists.  The \fBunlists\fP command removes a mailing
241 list from the lists of known and subscribed mailing lists.  The
242 \fBsubscribe\fP command adds a mailing list to the lists of known
243 and subscribed mailing lists.  The \fBunsubscribe\fP command removes
244 it from the list of subscribed mailing lists.
245 .TP
246 \fBmbox-hook\fP [\fB!\fP]\fIpattern\fP \fImailbox\fP
247 When mutt changes to a mail folder which matches \fIpattern\fP,
248 \fImailbox\fP will be used as the \(lqmbox\(rq folder, i.e., read
249 messages will be moved to that folder when the mail folder is left.
250 .IP
251 The first matching \fBmbox-hook\fP applies.
252 .PP
253 .nf
254 \fBmailboxes\fP \fIfilename\fP [ \fIfilename\fP ... ]
255 \fBunmailboxes\fP [ \fB*\fP | \fIfilename\fP ... ]
256 .fi
257 .IP
258 The \fBmailboxes\fP specifies folders which can receive mail and which will
259 be checked for new messages.  When changing folders, pressing space
260 will cycle through folders with new mail.  The \fBunmailboxes\fP
261 command is used to remove a file name from the list of folders which
262 can receive mail.  If "\fB*\fP" is specified as the file name, the
263 list is emptied.
264 .PP
265 .nf
266 \fBmy_hdr\fP \fIstring\fP
267 \fBunmy_hdr\fP \fIfield\fP
268 .fi
269 .IP
270 Using \fBmy_hdr\fP, you can define headers which will be added to
271 the messages you compose.  \fBunmy_hdr\fP will remove the given
272 user-defined headers.
273 .TP
274 \fBhdr_order\fP \fIheader1\fP \fIheader2\fP [ ... ]
275 With this command, you can specify an order in which mutt will
276 attempt to present headers to you when viewing messages.
277 .TP
278 \fBsave-hook\fP [\fB!\fP]\fIpattern\fP \fIfilename\fP
279 When a message matches \fIpattern\fP, the default file name when
280 saving it will be the given \fIfilename\fP.
281 .TP
282 \fBfcc-hook\fP [\fB!\fP]\fIpattern\fP \fIfilename\fP
283 When an outgoing message matches \fIpattern\fP, the default file
284 name for storing a copy (fcc) will be the given \fIfilename\fP.
285 .TP
286 \fBfcc-save-hook\fP [\fB!\fP]\fIpattern\fP \fIfilename\fP
287 This command is an abbreviation for identical \fBfcc-hook\fP and
288 \fBsave-hook\fP commands.
289 .TP
290 \fBsend-hook\fP [\fB!\fP]\fIpattern\fP \fIcommand\fP
291 When composing a message matching \fIpattern\fP, \fIcommand\fP is
292 executed.  When multiple \fBsend-hook\fPs match, they are executed
293 in the order in which they occur in the configuration file.
294 .TP
295 \fBsend2-hook\fP [\fB!\fP]\fIpattern\fP \fIcommand\fP
296 Whenever a message matching \fIpattern\fP is changed (either by
297 editing it or by using the compose menu), \fIcommand\fP
298 is executed. When multiple \fBsend2-hook\fPs match, they are
299 executed in the order in which they occur in the configuration file.
300 Possible applications include setting the $sendmail variable when a
301 message's from header is changed.
302 .IP
303 \fBsend2-hook\fP execution is not triggered by use of
304 \fBenter-command\fP from the compose menu.
305 .TP
306 \fBreply-hook\fP [\fB!\fP]\fIpattern\fP \fIcommand\fP
307 When replying to a message matching \fIpattern\fP, \fIcommand\fP is
308 executed.  When multiple \fBreply-hook\fPs match, they are executed
309 in the order in which they occur in the configuration file, but all
310 \fBreply-hook\fPs are matched and executed before \fBsend-hook\fPs,
311 regardless of their order in the configuration file.
312 .TP
313 \fBcrypt-hook\fP \fIpattern\fP \fIkey-id\fP
314 The crypt-hook command provides a method by which you can
315 specify the ID of the public key to be used when encrypting messages
316 to a certain recipient.  The meaning of "key ID" is to be taken
317 broadly: This can be a different e-mail address, a numerical key ID,
318 or even just an arbitrary search string.
319 .PP
320 .nf
321 \fBopen-hook\fP \fIregexp\fP "\fIcommand\fP"
322 \fBclose-hook\fP \fIregexp\fP "\fIcommand\fP"
323 \fBappend-hook\fP \fIregexp\fP "\fIcommand\fP"
324 .fi
325 .IP
326 These commands provide a way to handle compressed folders. The given
327 \fBregexp\fP specifies which folders are taken as compressed (e.g.
328 "\fI\\\\.gz$\fP"). The commands tell Mutt how to uncompress a folder
329 (\fBopen-hook\fP), compress a folder (\fBclose-hook\fP) or append a
330 compressed mail to a compressed folder (\fBappend-hook\fP). The
331 \fIcommand\fP string is the 
332 .BR printf (3)
333 like format string, and it should accept two parameters: \fB%f\fP,
334 which is replaced with the (compressed) folder name, and \fB%t\fP
335 which is replaced with the name of the temporary folder to which to
336 write.
337 .TP
338 \fBpush\fP \fIstring\fP
339 This command adds the named \fIstring\fP to the keyboard buffer.
340 .PP
341 .nf
342 \fBset\fP [\fBno\fP|\fBinv\fP]\fIvariable\fP[=\fIvalue\fP] [ ... ]
343 \fBtoggle\fP \fIvariable\fP [ ... ]
344 \fBunset\fP \fIvariable\fP [ ... ]
345 \fBreset\fP \fIvariable\fP [ ... ]
346 .fi
347 .IP
348 These commands are used to set and manipulate configuration
349 varibles.
350 .IP
351 Mutt knows four basic types of variables: boolean, number, string
352 and quadoption.  Boolean variables can be \fBset\fP (true),
353 \fBunset\fP (false), or \fBtoggle\fPd. Number variables can be assigned
354 a positive integer value.
355 .IP
356 String variables consist of any number of printable characters.
357 Strings must be enclosed in quotes if they contain spaces or tabs.
358 You may also use the \(lqC\(rq escape sequences \fB\\n\fP and
359 \fB\\t\fP for newline and tab, respectively.
360 .IP
361 Quadoption variables are used to control whether or not to be
362 prompted for certain actions, or to specify a default action.  A
363 value of \fByes\fP will cause the action to be carried out automatically
364 as if you had answered yes to the question.  Similarly, a value of
365 \fBno\fP will cause the the action to be carried out as if you had
366 answered \(lqno.\(rq A value of \fBask-yes\fP will cause a prompt
367 with a default answer of \(lqyes\(rq and \fBask-no\fP will provide a
368 default answer of \(lqno.\(rq
369 .IP
370 The \fBreset\fP command resets all given variables to the compile
371 time defaults.  If you reset the special variabe \fBall\fP, all
372 variables will reset to their system defaults.
373 .TP
374 \fBsource\fP \fIfilename\fP
375 The given file will be evaluated as a configuration file.
376 .TP
377 .nf
378 \fBspam\fP \fIpattern\fP \fIformat\fP
379 \fBnospam\fP \fIpattern\fP
380 .fi
381 These commands define spam-detection patterns from external spam
382 filters, so that mutt can sort, limit, and search on
383 ``spam tags'' or ``spam attributes'', or display them
384 in the index. See the Mutt manual for details.
385 .TP
386 \fBunhook\fP [\fB * \fP | \fIhook-type\fP ]
387 This command will remove all hooks of a given type, or all hooks
388 when \(lq\fB*\fP\(rq is used as an argument.  \fIhook-type\fP
389 can be any of the \fB-hook\fP commands documented above.
390 .SH PATTERNS
391 .PP
392 In various places with mutt, including some of the abovementioned
393 \fBhook\fP commands, you can specify patterns to match messages.
394 .SS Constructing Patterns
395 .PP
396 A simple pattern consists of an operator of the form
397 \(lq\fB~\fP\fIcharacter\fP\(rq, possibly followed by a parameter
398 against which mutt is supposed to match the object specified by
399 this operator.  (For a list of operators, see below.)
400 .PP
401 With some of these operators, the object to be matched consists of
402 several e-mail addresses.  In these cases, the object is matched if
403 at least one of these e-mail addresses matches. You can prepend a
404 hat (\(lq\fB^\fP\(rq) character to such a pattern to indicate that
405 \fIall\fP addresses must match in order to match the object.
406 .PP
407 You can construct complex patterns by combining simple patterns with
408 logical operators.  Logical AND is specified by simply concatenating
409 two simple patterns, for instance \(lq~C mutt-dev ~s bug\(rq.
410 Logical OR is specified by inserting a vertical bar (\(lq\fB|\fP\(rq)
411 between two patterns, for instance \(lq~C mutt-dev | ~s bug\(rq.
412 Additionally, you can negate a pattern by prepending a bang
413 (\(lq\fB!\fP\(rq) character.  For logical grouping, use braces
414 (\(lq()\(rq). Example: \(lq!(~t mutt|~c mutt) ~f elkins\(rq.
415 .SS Simple Patterns
416 .PP
417 Mutt understands the following simple patterns:
418 .PP
419 .TS
420 l l.
421 ~A      all messages
422 ~b \fIEXPR\fP   messages which contain \fIEXPR\fP in the message body
423 ~B \fIEXPR\fP   messages which contain \fIEXPR\fP in the whole message
424 ~c \fIEXPR\fP   messages carbon-copied to \fIEXPR\fP
425 ~C \fIEXPR\fP   message is either to: or cc: \fIEXPR\fP
426 ~D      deleted messages
427 ~d \fIMIN\fP-\fIMAX\fP  messages with \(lqdate-sent\(rq in a Date range
428 ~E      expired messages
429 ~e \fIEXPR\fP   message which contains \fIEXPR\fP in the \(lqSender\(rq field
430 ~F      flagged messages
431 ~f \fIEXPR\fP   messages originating from \fIEXPR\fP
432 ~g      PGP signed messages
433 ~G      PGP encrypted messages
434 ~H \fIEXPR\fP   messages with spam tags matching \fIEXPR\fP
435 ~h \fIEXPR\fP   messages which contain \fIEXPR\fP in the message header
436 ~k      message contains PGP key material
437 ~i \fIEXPR\fP   message which match \fIEXPR\fP in the \(lqMessage-ID\(rq field
438 ~L \fIEXPR\fP   message is either originated or received by \fIEXPR\fP
439 ~l      message is addressed to a known mailing list
440 ~m \fIMIN\fP-\fIMAX\fP  message in the range \fIMIN\fP to \fIMAX\fP
441 ~n \fIMIN\fP-\fIMAX\fP  messages with a score in the range \fIMIN\fP to \fIMAX\fP
442 ~N      new messages
443 ~O      old messages
444 ~p      message is addressed to you (consults $alternates)
445 ~P      message is from you (consults $alternates)
446 ~Q      messages which have been replied to
447 ~R      read messages
448 ~r \fIMIN\fP-\fIMAX\fP  messages with \(lqdate-received\(rq in a Date range
449 ~S      superseded messages
450 ~s \fIEXPR\fP   messages having \fIEXPR\fP in the \(lqSubject\(rq field.
451 ~T      tagged messages
452 ~t \fIEXPR\fP   messages addressed to \fIEXPR\fP
453 ~U      unread messages
454 ~v      message is part of a collapsed thread.
455 ~x \fIEXPR\fP   messages which contain \fIEXPR\fP in the \(lqReferences\(rq field
456 ~z \fIMIN\fP-\fIMAX\fP  messages with a size in the range \fIMIN\fP to \fIMAX\fP
457 ~=      duplicated messages (see $duplicate_threads)
458 ~$      unreferenced message (requries threaded view)
459 .TE
460 .PP
461 In the above, \fIEXPR\fP is a regular expression.
462 .PP
463 With the \fB~m\fP, \fB~n\fP, and \fB~z\fP operators, you can also
464 specify ranges in the forms \fB<\fP\fIMAX\fP, \fB>\fP\fIMIN\fP,
465 \fIMIN\fP\fB-\fP, and \fB-\fP\fIMAX\fP.
466 .SS Matching dates
467 .PP
468 The \fB~d\fP and \fB~r\fP operators are used to match date ranges,
469 which are interpreted to be given in your local time zone.
470 .PP
471 A date is of the form
472 \fIDD\fP[\fB/\fP\fIMM\fP[\fB/\fP[\fIcc\fP]\fIYY\fP]], that is, a
473 two-digit date, optionally followed by a two-digit month, optionally
474 followed by a year specifications.  Omitted fields default to the
475 current month and year.
476 .PP
477 Mutt understands either two or four digit year specifications.  When
478 given a two-digit year, mutt will interpret values less than 70 as
479 lying in the 21st century (i.e., \(lq38\(rq means 2038 and not 1938,
480 and \(lq00\(rq is interpreted as 2000), and values
481 greater than or equal to 70 as lying in the 20th century.
482 .PP
483 Note that this behaviour \fIis\fP Y2K compliant, but that mutt
484 \fIdoes\fP have a Y2.07K problem.
485 .PP
486 If a date range consists of a single date, the operator in question
487 will match that precise date.  If the date range consists of a dash
488 (\(lq\fB-\fP\(rq), followed by a date, this range will match any
489 date before and up to the date given.  Similarly, a date followed by
490 a dash matches the date given and any later point of time.  Two
491 dates, separated by a dash, match any date which lies in the given
492 range of time.
493 .PP
494 You can also modify any absolute date by giving an error range.  An
495 error range consists of one of the characters
496 .BR + ,
497 .BR - ,
498 .BR * ,
499 followed by a positive number, followed by one of the unit
500 characters
501 .BR y ,
502 .BR m ,
503 .BR w ", or"
504 .BR d ,
505 specifying a unit of years, months, weeks, or days.  
506 .B +
507 increases the maximum date matched by the given interval of time,
508 .B - 
509 decreases the minimum date matched by the given interval of time, and
510 .B *
511 increases the maximum date and decreases the minimum date matched by
512 the given interval of time.  It is possible to give multiple error
513 margins, which cumulate.  Example:
514 .B "1/1/2001-1w+2w*3d"
515 .PP
516 You can also specify offsets relative to the current date.  An
517 offset is specified as one of the characters
518 .BR < ,
519 .BR > ,
520 .BR = ,
521 followed by a positive number, followed by one of the unit
522 characters
523 .BR y ,
524 .BR m ,
525 .BR w ", or"
526 .BR d .
527 .B >
528 matches dates which are older than the specified amount of time, an
529 offset which begins with the character
530 .B < 
531 matches dates which are more recent than the specified amount of time,
532 and an offset which begins with the character
533 .B =
534 matches points of time which are precisely the given amount of time
535 ago.
536 .SH CONFIGURATION VARIABLES