5481 CVE-2012-1750 mailx(1) tilde expansion vulnerability
[unleashed.git] / usr / src / cmd / mailx / misc / mailx.rc
bloba6dfa46fb2efcd2eeb7076a88fb9fc3d10ffd6f3
1 # CDDL HEADER START
3 # The contents of this file are subject to the terms of the
4 # Common Development and Distribution License, Version 1.0 only
5 # (the "License").  You may not use this file except in compliance
6 # with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
21 # Copyright 2000 Sun Microsystems, Inc.  All rights reserved.
22 # Use is subject to license terms.
24 # The following 3 settings produce the familiar Solaris behavior.
25 set appenddeadletter
26 unset pipeignore
27 unset replyall
28 set append dot showname
29 if t
30         # mailx-only defaults here
31         #
32         # automatically incorporate new messages as they arrive.
33         # would be nice if mailtool supported this as well.
34         set autoinc
35 else
36         # mailtool-only defaults here
37         #
38         # this should probably not be mailtool-only, but for
39         # compatibility we only put it here.
40         set hold
41         # following so hierarchical menu is the default
42         set LISTER="ls -LF"
43         # default is to allow editing of message windows
44         set editmessagewindow
45 endif
47 # most mail headers are uninteresting to most people.  here we ignore all
48 # the uninteresting headers that are at all common.  a better approach
49 # might've been to retain only the interesting headers...
51 # ignore uninteresting headers
52 ignore apparently-to default-options errors-to in-reply-to precedence priority
53 ignore received reply-to return-path return-receipt-to sender status via
55 # ignore headers from news
56 ignore approved company confirmed-by distribution expires followup-to keywords
57 ignore lines message-id newsgroups organization path posted-date posting-number
58 ignore references submitted-by summary
60 # ignore strange headers from other mail systems
61 ignore auto-forward-count auto-forwarded-from email-version
62 ignore end-of-header end-of-protocol message-protocol message-service
63 ignore message-type message-version mts-message-id report-version sent-by
64 ignore transport-options ua-content-id ua-message-id
66 # ignore content headers, but they'll still be saved
67 ignore content-length content-type content-charset
69 # ignore common non-standard headers
70 ignore x-lines x-mailer x-postmark x-sequence x-zippy
71 ignore x-sun-charset