xref: /titanic_41/usr/src/cmd/mailx/misc/mailx.rc (revision c138f478d2bc94e73ab8f6a084e323bec25e62f5)
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# ident	"%Z%%M%	%I%	%E% SMI"
25#
26# The following 3 settings produce the familiar Solaris behavior.
27set appenddeadletter
28unset pipeignore
29unset replyall
30set append dot showname
31if t
32	# mailx-only defaults here
33	#
34	# automatically incorporate new messages as they arrive.
35	# would be nice if mailtool supported this as well.
36	set autoinc
37else
38	# mailtool-only defaults here
39	#
40	# this should probably not be mailtool-only, but for
41	# compatibility we only put it here.
42	set hold
43	# following so hierarchical menu is the default
44	set LISTER="ls -LF"
45	# default is to allow editing of message windows
46	set editmessagewindow
47	# have to allow ~ escapes even though not using tty
48	set escapeok
49endif
50
51# most mail headers are uninteresting to most people.  here we ignore all
52# the uninteresting headers that are at all common.  a better approach
53# might've been to retain only the interesting headers...
54
55# ignore uninteresting headers
56ignore apparently-to default-options errors-to in-reply-to precedence priority
57ignore received reply-to return-path return-receipt-to sender status via
58
59# ignore headers from news
60ignore approved company confirmed-by distribution expires followup-to keywords
61ignore lines message-id newsgroups organization path posted-date posting-number
62ignore references submitted-by summary
63
64# ignore strange headers from other mail systems
65ignore auto-forward-count auto-forwarded-from email-version
66ignore end-of-header end-of-protocol message-protocol message-service
67ignore message-type message-version mts-message-id report-version sent-by
68ignore transport-options ua-content-id ua-message-id
69
70# ignore content headers, but they'll still be saved
71ignore content-length content-type content-charset
72
73# ignore common non-standard headers
74ignore x-lines x-mailer x-postmark x-sequence x-zippy
75ignore x-sun-charset
76