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