xref: /titanic_52/usr/src/cmd/mailx/misc/mailx.rc (revision 6a72db4a7fa12c3e0d1c1cf91a07390739fa0fbf)
1# CDDL HEADER START
2#
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.
7#
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.
12#
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]
18#
19# CDDL HEADER END
20#
21# Copyright 2000 Sun Microsystems, Inc.  All rights reserved.
22# Use is subject to license terms.
23#
24# The following 3 settings produce the familiar Solaris behavior.
25set appenddeadletter
26unset pipeignore
27unset replyall
28set append dot showname
29if 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
35else
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
45endif
46
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...
50
51# ignore uninteresting headers
52ignore apparently-to default-options errors-to in-reply-to precedence priority
53ignore received reply-to return-path return-receipt-to sender status via
54
55# ignore headers from news
56ignore approved company confirmed-by distribution expires followup-to keywords
57ignore lines message-id newsgroups organization path posted-date posting-number
58ignore references submitted-by summary
59
60# ignore strange headers from other mail systems
61ignore auto-forward-count auto-forwarded-from email-version
62ignore end-of-header end-of-protocol message-protocol message-service
63ignore message-type message-version mts-message-id report-version sent-by
64ignore transport-options ua-content-id ua-message-id
65
66# ignore content headers, but they'll still be saved
67ignore content-length content-type content-charset
68
69# ignore common non-standard headers
70ignore x-lines x-mailer x-postmark x-sequence x-zippy
71ignore x-sun-charset
72