### NetBSD mail(1) config file (~/.mailrc): ## Hold mail in system Inbox (/sdf/mail/$USER): set hold ## Set top of mail folder tree & cd into it; can ## be any name but "mail" or "Mail" is typical: # use '~/mail/': set folder=mail # allows simple folder changes, ex. 'fi Sent' instead of 'fi +/Sent': chdir mail ## Set non-std mbox and record names/locations. ## (default loc: ~/ ; '+' prefix => ~/mail/..): # ~/mbox is default: set MBOX=+Save # none is default: set record=+Sent ## Header fields to ignore & retain: ignore message-id received fcc status resent-date resent-message-id resent-from in-reply-to retain bcc cc date from subject to user-agent organization ## Add additional headers - these are added to outgoing ## messages unless editted/deleted in composition mode: Header User-Agent: NetBSD Mail version 9.1alpha 2009-02-25 Header Organization: SDF Public Access UNIX System ## uncomment to tweak the 'From:' field; default is ## SDF user GECOS field (use userinfo(1) to list): #Header From: SDFuser at SDF # Open even if no mail: set emptystart ## Email aliases: # use for contacting SDF membership: alias sdfhelp 'SDF membership ' # a list of users, both local and remote: alias wrkgrp sdfuser2 sdfuser3 rmtuser@remote.addr 'The Boss ' ## set alt. editor(s) and pager; these will override ## user's EDITOR, VISUAL, PAGER shell env. vars: # default is PAGER: #set PAGER=more # default is EDITOR: #set EDITOR=nano # default is VISUAL: #set VISUAL=$HOME/bin/veditor ## Set an alternate escape char for composition mode; this ## helps prevent command collision with ssh(1) which also uses ## the '~' character for session escapes: # set escape char to "`" (backtick): #set escape=` ## enable piping output of mailx cmds. In example, typing ## '|wc -w' gives word count for *body* of current msg: set enable-pipes # Set things to prompt for before sending: set append ask autoprint ## Set indent prefix (for Replys); use with '~m': set indentprefix="> " ## Set autograph string & alternate (use with '~a' & '~A'): set sign='SDFuser / SDF Public Access UNIX' set Sign='SDFuser of SDF' ## pipe html/text type messages thru lynx(1), the text ## web browser. This makes reading html msgs easier: set mime-decode-header mime-decode-message mime-decode-quote set mime-body-text-html="+/usr/pkg/bin/lynx -force_html -dump -stdin"