mailx.rc revision 5422785d352a2bb398daceab3d1898a8aa64d006
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# CDDL HEADER START
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# The contents of this file are subject to the terms of the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Common Development and Distribution License, Version 1.0 only
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# (the "License"). You may not use this file except in compliance
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# with the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# or http://www.opensolaris.org/os/licensing.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# See the License for the specific language governing permissions
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# and limitations under the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# When distributing Covered Code, include this CDDL HEADER in each
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# If applicable, add the following below this CDDL HEADER, with the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# fields enclosed by brackets "[]" replaced with your own identifying
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# information: Portions Copyright [yyyy] [name of copyright owner]
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# CDDL HEADER END
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Copyright 2000 Sun Microsystems, Inc. All rights reserved.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Use is subject to license terms.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# The following 3 settings produce the familiar Solaris behavior.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterset appenddeadletter
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterunset pipeignore
dcb3caf4c6fd4b16b6902c12b5436e3a89cf47e6Peter Majorunset replyall
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterset append dot showname
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterif t
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster # mailx-only defaults here
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster #
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster # automatically incorporate new messages as they arrive.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster # would be nice if mailtool supported this as well.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster set autoinc
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterelse
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster # mailtool-only defaults here
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster #
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster # this should probably not be mailtool-only, but for
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster # compatibility we only put it here.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster set hold
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster # following so hierarchical menu is the default
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster set LISTER="ls -LF"
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster # default is to allow editing of message windows
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster set editmessagewindow
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterendif
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# most mail headers are uninteresting to most people. here we ignore all
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# the uninteresting headers that are at all common. a better approach
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# might've been to retain only the interesting headers...
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# ignore uninteresting headers
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterignore apparently-to default-options errors-to in-reply-to precedence priority
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterignore received reply-to return-path return-receipt-to sender status via
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# ignore headers from news
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterignore approved company confirmed-by distribution expires followup-to keywords
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterignore lines message-id newsgroups organization path posted-date posting-number
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterignore references submitted-by summary
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# ignore strange headers from other mail systems
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterignore auto-forward-count auto-forwarded-from email-version
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterignore end-of-header end-of-protocol message-protocol message-service
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterignore message-type message-version mts-message-id report-version sent-by
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterignore transport-options ua-content-id ua-message-id
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# ignore content headers, but they'll still be saved
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterignore content-length content-type content-charset
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# ignore common non-standard headers
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterignore x-lines x-mailer x-postmark x-sequence x-zippy
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterignore x-sun-charset
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster